@adaline/gateway 1.0.0 → 1.2.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 +100 -100
- package/dist/index.d.ts +100 -100
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -197,7 +197,7 @@ interface AnalyticsRecorder {
|
|
|
197
197
|
|
|
198
198
|
declare class AnalyticsManager {
|
|
199
199
|
private static analytics;
|
|
200
|
-
static getAnalyticsRecorder(
|
|
200
|
+
static getAnalyticsRecorder(enableAnalytics: boolean): AnalyticsRecorder;
|
|
201
201
|
}
|
|
202
202
|
|
|
203
203
|
declare class PostAnalytics implements AnalyticsRecorder {
|
|
@@ -282,7 +282,7 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
|
|
|
282
282
|
value: {
|
|
283
283
|
type: "base64";
|
|
284
284
|
base64: string;
|
|
285
|
-
|
|
285
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
286
286
|
} | {
|
|
287
287
|
type: "url";
|
|
288
288
|
url: string;
|
|
@@ -342,7 +342,7 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
|
|
|
342
342
|
value: {
|
|
343
343
|
type: "base64";
|
|
344
344
|
base64: string;
|
|
345
|
-
|
|
345
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
346
346
|
} | {
|
|
347
347
|
type: "url";
|
|
348
348
|
url: string;
|
|
@@ -414,7 +414,7 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
|
|
|
414
414
|
value: {
|
|
415
415
|
type: "base64";
|
|
416
416
|
base64: string;
|
|
417
|
-
|
|
417
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
418
418
|
} | {
|
|
419
419
|
type: "url";
|
|
420
420
|
url: string;
|
|
@@ -474,7 +474,7 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
|
|
|
474
474
|
value: {
|
|
475
475
|
type: "base64";
|
|
476
476
|
base64: string;
|
|
477
|
-
|
|
477
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
478
478
|
} | {
|
|
479
479
|
type: "url";
|
|
480
480
|
url: string;
|
|
@@ -665,15 +665,15 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
|
|
|
665
665
|
value: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
666
666
|
type: z.ZodLiteral<"base64">;
|
|
667
667
|
base64: z.ZodString;
|
|
668
|
-
|
|
668
|
+
mediaType: z.ZodEnum<["png", "jpeg", "webp", "gif"]>;
|
|
669
669
|
}, "strip", z.ZodTypeAny, {
|
|
670
670
|
type: "base64";
|
|
671
671
|
base64: string;
|
|
672
|
-
|
|
672
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
673
673
|
}, {
|
|
674
674
|
type: "base64";
|
|
675
675
|
base64: string;
|
|
676
|
-
|
|
676
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
677
677
|
}>, z.ZodObject<{
|
|
678
678
|
type: z.ZodLiteral<"url">;
|
|
679
679
|
url: z.ZodString;
|
|
@@ -689,7 +689,7 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
|
|
|
689
689
|
value: {
|
|
690
690
|
type: "base64";
|
|
691
691
|
base64: string;
|
|
692
|
-
|
|
692
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
693
693
|
} | {
|
|
694
694
|
type: "url";
|
|
695
695
|
url: string;
|
|
@@ -701,7 +701,7 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
|
|
|
701
701
|
value: {
|
|
702
702
|
type: "base64";
|
|
703
703
|
base64: string;
|
|
704
|
-
|
|
704
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
705
705
|
} | {
|
|
706
706
|
type: "url";
|
|
707
707
|
url: string;
|
|
@@ -821,7 +821,7 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
|
|
|
821
821
|
value: {
|
|
822
822
|
type: "base64";
|
|
823
823
|
base64: string;
|
|
824
|
-
|
|
824
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
825
825
|
} | {
|
|
826
826
|
type: "url";
|
|
827
827
|
url: string;
|
|
@@ -866,7 +866,7 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
|
|
|
866
866
|
value: {
|
|
867
867
|
type: "base64";
|
|
868
868
|
base64: string;
|
|
869
|
-
|
|
869
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
870
870
|
} | {
|
|
871
871
|
type: "url";
|
|
872
872
|
url: string;
|
|
@@ -1038,7 +1038,7 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
|
|
|
1038
1038
|
value: {
|
|
1039
1039
|
type: "base64";
|
|
1040
1040
|
base64: string;
|
|
1041
|
-
|
|
1041
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
1042
1042
|
} | {
|
|
1043
1043
|
type: "url";
|
|
1044
1044
|
url: string;
|
|
@@ -1088,7 +1088,7 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
|
|
|
1088
1088
|
value: {
|
|
1089
1089
|
type: "base64";
|
|
1090
1090
|
base64: string;
|
|
1091
|
-
|
|
1091
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
1092
1092
|
} | {
|
|
1093
1093
|
type: "url";
|
|
1094
1094
|
url: string;
|
|
@@ -1148,7 +1148,7 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
|
|
|
1148
1148
|
value: {
|
|
1149
1149
|
type: "base64";
|
|
1150
1150
|
base64: string;
|
|
1151
|
-
|
|
1151
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
1152
1152
|
} | {
|
|
1153
1153
|
type: "url";
|
|
1154
1154
|
url: string;
|
|
@@ -1296,7 +1296,7 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
|
|
|
1296
1296
|
value: {
|
|
1297
1297
|
type: "base64";
|
|
1298
1298
|
base64: string;
|
|
1299
|
-
|
|
1299
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
1300
1300
|
} | {
|
|
1301
1301
|
type: "url";
|
|
1302
1302
|
url: string;
|
|
@@ -1346,7 +1346,7 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
|
|
|
1346
1346
|
value: {
|
|
1347
1347
|
type: "base64";
|
|
1348
1348
|
base64: string;
|
|
1349
|
-
|
|
1349
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
1350
1350
|
} | {
|
|
1351
1351
|
type: "url";
|
|
1352
1352
|
url: string;
|
|
@@ -1406,7 +1406,7 @@ declare const CompleteChatHandlerRequest: z.ZodObject<{
|
|
|
1406
1406
|
value: {
|
|
1407
1407
|
type: "base64";
|
|
1408
1408
|
base64: string;
|
|
1409
|
-
|
|
1409
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
1410
1410
|
} | {
|
|
1411
1411
|
type: "url";
|
|
1412
1412
|
url: string;
|
|
@@ -1495,15 +1495,15 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
|
|
|
1495
1495
|
value: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1496
1496
|
type: z.ZodLiteral<"base64">;
|
|
1497
1497
|
base64: z.ZodString;
|
|
1498
|
-
|
|
1498
|
+
mediaType: z.ZodEnum<["png", "jpeg", "webp", "gif"]>;
|
|
1499
1499
|
}, "strip", z.ZodTypeAny, {
|
|
1500
1500
|
type: "base64";
|
|
1501
1501
|
base64: string;
|
|
1502
|
-
|
|
1502
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
1503
1503
|
}, {
|
|
1504
1504
|
type: "base64";
|
|
1505
1505
|
base64: string;
|
|
1506
|
-
|
|
1506
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
1507
1507
|
}>, z.ZodObject<{
|
|
1508
1508
|
type: z.ZodLiteral<"url">;
|
|
1509
1509
|
url: z.ZodString;
|
|
@@ -1519,7 +1519,7 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
|
|
|
1519
1519
|
value: {
|
|
1520
1520
|
type: "base64";
|
|
1521
1521
|
base64: string;
|
|
1522
|
-
|
|
1522
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
1523
1523
|
} | {
|
|
1524
1524
|
type: "url";
|
|
1525
1525
|
url: string;
|
|
@@ -1531,7 +1531,7 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
|
|
|
1531
1531
|
value: {
|
|
1532
1532
|
type: "base64";
|
|
1533
1533
|
base64: string;
|
|
1534
|
-
|
|
1534
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
1535
1535
|
} | {
|
|
1536
1536
|
type: "url";
|
|
1537
1537
|
url: string;
|
|
@@ -1651,7 +1651,7 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
|
|
|
1651
1651
|
value: {
|
|
1652
1652
|
type: "base64";
|
|
1653
1653
|
base64: string;
|
|
1654
|
-
|
|
1654
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
1655
1655
|
} | {
|
|
1656
1656
|
type: "url";
|
|
1657
1657
|
url: string;
|
|
@@ -1696,7 +1696,7 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
|
|
|
1696
1696
|
value: {
|
|
1697
1697
|
type: "base64";
|
|
1698
1698
|
base64: string;
|
|
1699
|
-
|
|
1699
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
1700
1700
|
} | {
|
|
1701
1701
|
type: "url";
|
|
1702
1702
|
url: string;
|
|
@@ -1803,7 +1803,7 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
|
|
|
1803
1803
|
value: {
|
|
1804
1804
|
type: "base64";
|
|
1805
1805
|
base64: string;
|
|
1806
|
-
|
|
1806
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
1807
1807
|
} | {
|
|
1808
1808
|
type: "url";
|
|
1809
1809
|
url: string;
|
|
@@ -1863,7 +1863,7 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
|
|
|
1863
1863
|
value: {
|
|
1864
1864
|
type: "base64";
|
|
1865
1865
|
base64: string;
|
|
1866
|
-
|
|
1866
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
1867
1867
|
} | {
|
|
1868
1868
|
type: "url";
|
|
1869
1869
|
url: string;
|
|
@@ -1922,15 +1922,15 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
|
|
|
1922
1922
|
value: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1923
1923
|
type: z.ZodLiteral<"base64">;
|
|
1924
1924
|
base64: z.ZodString;
|
|
1925
|
-
|
|
1925
|
+
mediaType: z.ZodEnum<["png", "jpeg", "webp", "gif"]>;
|
|
1926
1926
|
}, "strip", z.ZodTypeAny, {
|
|
1927
1927
|
type: "base64";
|
|
1928
1928
|
base64: string;
|
|
1929
|
-
|
|
1929
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
1930
1930
|
}, {
|
|
1931
1931
|
type: "base64";
|
|
1932
1932
|
base64: string;
|
|
1933
|
-
|
|
1933
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
1934
1934
|
}>, z.ZodObject<{
|
|
1935
1935
|
type: z.ZodLiteral<"url">;
|
|
1936
1936
|
url: z.ZodString;
|
|
@@ -1946,7 +1946,7 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
|
|
|
1946
1946
|
value: {
|
|
1947
1947
|
type: "base64";
|
|
1948
1948
|
base64: string;
|
|
1949
|
-
|
|
1949
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
1950
1950
|
} | {
|
|
1951
1951
|
type: "url";
|
|
1952
1952
|
url: string;
|
|
@@ -1958,7 +1958,7 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
|
|
|
1958
1958
|
value: {
|
|
1959
1959
|
type: "base64";
|
|
1960
1960
|
base64: string;
|
|
1961
|
-
|
|
1961
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
1962
1962
|
} | {
|
|
1963
1963
|
type: "url";
|
|
1964
1964
|
url: string;
|
|
@@ -2078,7 +2078,7 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
|
|
|
2078
2078
|
value: {
|
|
2079
2079
|
type: "base64";
|
|
2080
2080
|
base64: string;
|
|
2081
|
-
|
|
2081
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
2082
2082
|
} | {
|
|
2083
2083
|
type: "url";
|
|
2084
2084
|
url: string;
|
|
@@ -2123,7 +2123,7 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
|
|
|
2123
2123
|
value: {
|
|
2124
2124
|
type: "base64";
|
|
2125
2125
|
base64: string;
|
|
2126
|
-
|
|
2126
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
2127
2127
|
} | {
|
|
2128
2128
|
type: "url";
|
|
2129
2129
|
url: string;
|
|
@@ -2220,7 +2220,7 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
|
|
|
2220
2220
|
value: {
|
|
2221
2221
|
type: "base64";
|
|
2222
2222
|
base64: string;
|
|
2223
|
-
|
|
2223
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
2224
2224
|
} | {
|
|
2225
2225
|
type: "url";
|
|
2226
2226
|
url: string;
|
|
@@ -2282,7 +2282,7 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
|
|
|
2282
2282
|
value: {
|
|
2283
2283
|
type: "base64";
|
|
2284
2284
|
base64: string;
|
|
2285
|
-
|
|
2285
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
2286
2286
|
} | {
|
|
2287
2287
|
type: "url";
|
|
2288
2288
|
url: string;
|
|
@@ -2360,7 +2360,7 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
|
|
|
2360
2360
|
value: {
|
|
2361
2361
|
type: "base64";
|
|
2362
2362
|
base64: string;
|
|
2363
|
-
|
|
2363
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
2364
2364
|
} | {
|
|
2365
2365
|
type: "url";
|
|
2366
2366
|
url: string;
|
|
@@ -2420,7 +2420,7 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
|
|
|
2420
2420
|
value: {
|
|
2421
2421
|
type: "base64";
|
|
2422
2422
|
base64: string;
|
|
2423
|
-
|
|
2423
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
2424
2424
|
} | {
|
|
2425
2425
|
type: "url";
|
|
2426
2426
|
url: string;
|
|
@@ -2492,7 +2492,7 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
|
|
|
2492
2492
|
value: {
|
|
2493
2493
|
type: "base64";
|
|
2494
2494
|
base64: string;
|
|
2495
|
-
|
|
2495
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
2496
2496
|
} | {
|
|
2497
2497
|
type: "url";
|
|
2498
2498
|
url: string;
|
|
@@ -2552,7 +2552,7 @@ declare const CompleteChatHandlerResponse: z.ZodObject<{
|
|
|
2552
2552
|
value: {
|
|
2553
2553
|
type: "base64";
|
|
2554
2554
|
base64: string;
|
|
2555
|
-
|
|
2555
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
2556
2556
|
} | {
|
|
2557
2557
|
type: "url";
|
|
2558
2558
|
url: string;
|
|
@@ -4106,15 +4106,15 @@ declare const ProxyCompleteChatHandlerResponse: z.ZodObject<{
|
|
|
4106
4106
|
value: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
4107
4107
|
type: z.ZodLiteral<"base64">;
|
|
4108
4108
|
base64: z.ZodString;
|
|
4109
|
-
|
|
4109
|
+
mediaType: z.ZodEnum<["png", "jpeg", "webp", "gif"]>;
|
|
4110
4110
|
}, "strip", z.ZodTypeAny, {
|
|
4111
4111
|
type: "base64";
|
|
4112
4112
|
base64: string;
|
|
4113
|
-
|
|
4113
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
4114
4114
|
}, {
|
|
4115
4115
|
type: "base64";
|
|
4116
4116
|
base64: string;
|
|
4117
|
-
|
|
4117
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
4118
4118
|
}>, z.ZodObject<{
|
|
4119
4119
|
type: z.ZodLiteral<"url">;
|
|
4120
4120
|
url: z.ZodString;
|
|
@@ -4130,7 +4130,7 @@ declare const ProxyCompleteChatHandlerResponse: z.ZodObject<{
|
|
|
4130
4130
|
value: {
|
|
4131
4131
|
type: "base64";
|
|
4132
4132
|
base64: string;
|
|
4133
|
-
|
|
4133
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
4134
4134
|
} | {
|
|
4135
4135
|
type: "url";
|
|
4136
4136
|
url: string;
|
|
@@ -4142,7 +4142,7 @@ declare const ProxyCompleteChatHandlerResponse: z.ZodObject<{
|
|
|
4142
4142
|
value: {
|
|
4143
4143
|
type: "base64";
|
|
4144
4144
|
base64: string;
|
|
4145
|
-
|
|
4145
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
4146
4146
|
} | {
|
|
4147
4147
|
type: "url";
|
|
4148
4148
|
url: string;
|
|
@@ -4262,7 +4262,7 @@ declare const ProxyCompleteChatHandlerResponse: z.ZodObject<{
|
|
|
4262
4262
|
value: {
|
|
4263
4263
|
type: "base64";
|
|
4264
4264
|
base64: string;
|
|
4265
|
-
|
|
4265
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
4266
4266
|
} | {
|
|
4267
4267
|
type: "url";
|
|
4268
4268
|
url: string;
|
|
@@ -4307,7 +4307,7 @@ declare const ProxyCompleteChatHandlerResponse: z.ZodObject<{
|
|
|
4307
4307
|
value: {
|
|
4308
4308
|
type: "base64";
|
|
4309
4309
|
base64: string;
|
|
4310
|
-
|
|
4310
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
4311
4311
|
} | {
|
|
4312
4312
|
type: "url";
|
|
4313
4313
|
url: string;
|
|
@@ -4404,7 +4404,7 @@ declare const ProxyCompleteChatHandlerResponse: z.ZodObject<{
|
|
|
4404
4404
|
value: {
|
|
4405
4405
|
type: "base64";
|
|
4406
4406
|
base64: string;
|
|
4407
|
-
|
|
4407
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
4408
4408
|
} | {
|
|
4409
4409
|
type: "url";
|
|
4410
4410
|
url: string;
|
|
@@ -4466,7 +4466,7 @@ declare const ProxyCompleteChatHandlerResponse: z.ZodObject<{
|
|
|
4466
4466
|
value: {
|
|
4467
4467
|
type: "base64";
|
|
4468
4468
|
base64: string;
|
|
4469
|
-
|
|
4469
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
4470
4470
|
} | {
|
|
4471
4471
|
type: "url";
|
|
4472
4472
|
url: string;
|
|
@@ -4537,7 +4537,7 @@ declare const ProxyCompleteChatHandlerResponse: z.ZodObject<{
|
|
|
4537
4537
|
value: {
|
|
4538
4538
|
type: "base64";
|
|
4539
4539
|
base64: string;
|
|
4540
|
-
|
|
4540
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
4541
4541
|
} | {
|
|
4542
4542
|
type: "url";
|
|
4543
4543
|
url: string;
|
|
@@ -4608,7 +4608,7 @@ declare const ProxyCompleteChatHandlerResponse: z.ZodObject<{
|
|
|
4608
4608
|
value: {
|
|
4609
4609
|
type: "base64";
|
|
4610
4610
|
base64: string;
|
|
4611
|
-
|
|
4611
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
4612
4612
|
} | {
|
|
4613
4613
|
type: "url";
|
|
4614
4614
|
url: string;
|
|
@@ -5797,15 +5797,15 @@ declare const StreamChatHandlerRequest: z.ZodObject<{
|
|
|
5797
5797
|
value: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
5798
5798
|
type: z.ZodLiteral<"base64">;
|
|
5799
5799
|
base64: z.ZodString;
|
|
5800
|
-
|
|
5800
|
+
mediaType: z.ZodEnum<["png", "jpeg", "webp", "gif"]>;
|
|
5801
5801
|
}, "strip", z.ZodTypeAny, {
|
|
5802
5802
|
type: "base64";
|
|
5803
5803
|
base64: string;
|
|
5804
|
-
|
|
5804
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
5805
5805
|
}, {
|
|
5806
5806
|
type: "base64";
|
|
5807
5807
|
base64: string;
|
|
5808
|
-
|
|
5808
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
5809
5809
|
}>, z.ZodObject<{
|
|
5810
5810
|
type: z.ZodLiteral<"url">;
|
|
5811
5811
|
url: z.ZodString;
|
|
@@ -5821,7 +5821,7 @@ declare const StreamChatHandlerRequest: z.ZodObject<{
|
|
|
5821
5821
|
value: {
|
|
5822
5822
|
type: "base64";
|
|
5823
5823
|
base64: string;
|
|
5824
|
-
|
|
5824
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
5825
5825
|
} | {
|
|
5826
5826
|
type: "url";
|
|
5827
5827
|
url: string;
|
|
@@ -5833,7 +5833,7 @@ declare const StreamChatHandlerRequest: z.ZodObject<{
|
|
|
5833
5833
|
value: {
|
|
5834
5834
|
type: "base64";
|
|
5835
5835
|
base64: string;
|
|
5836
|
-
|
|
5836
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
5837
5837
|
} | {
|
|
5838
5838
|
type: "url";
|
|
5839
5839
|
url: string;
|
|
@@ -5953,7 +5953,7 @@ declare const StreamChatHandlerRequest: z.ZodObject<{
|
|
|
5953
5953
|
value: {
|
|
5954
5954
|
type: "base64";
|
|
5955
5955
|
base64: string;
|
|
5956
|
-
|
|
5956
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
5957
5957
|
} | {
|
|
5958
5958
|
type: "url";
|
|
5959
5959
|
url: string;
|
|
@@ -5998,7 +5998,7 @@ declare const StreamChatHandlerRequest: z.ZodObject<{
|
|
|
5998
5998
|
value: {
|
|
5999
5999
|
type: "base64";
|
|
6000
6000
|
base64: string;
|
|
6001
|
-
|
|
6001
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
6002
6002
|
} | {
|
|
6003
6003
|
type: "url";
|
|
6004
6004
|
url: string;
|
|
@@ -6170,7 +6170,7 @@ declare const StreamChatHandlerRequest: z.ZodObject<{
|
|
|
6170
6170
|
value: {
|
|
6171
6171
|
type: "base64";
|
|
6172
6172
|
base64: string;
|
|
6173
|
-
|
|
6173
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
6174
6174
|
} | {
|
|
6175
6175
|
type: "url";
|
|
6176
6176
|
url: string;
|
|
@@ -6295,7 +6295,7 @@ declare const StreamChatHandlerRequest: z.ZodObject<{
|
|
|
6295
6295
|
value: {
|
|
6296
6296
|
type: "base64";
|
|
6297
6297
|
base64: string;
|
|
6298
|
-
|
|
6298
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
6299
6299
|
} | {
|
|
6300
6300
|
type: "url";
|
|
6301
6301
|
url: string;
|
|
@@ -6361,15 +6361,15 @@ declare const StreamChatHandlerResponse: z.ZodObject<{
|
|
|
6361
6361
|
value: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
6362
6362
|
type: z.ZodLiteral<"base64">;
|
|
6363
6363
|
base64: z.ZodString;
|
|
6364
|
-
|
|
6364
|
+
mediaType: z.ZodEnum<["png", "jpeg", "webp", "gif"]>;
|
|
6365
6365
|
}, "strip", z.ZodTypeAny, {
|
|
6366
6366
|
type: "base64";
|
|
6367
6367
|
base64: string;
|
|
6368
|
-
|
|
6368
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
6369
6369
|
}, {
|
|
6370
6370
|
type: "base64";
|
|
6371
6371
|
base64: string;
|
|
6372
|
-
|
|
6372
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
6373
6373
|
}>, z.ZodObject<{
|
|
6374
6374
|
type: z.ZodLiteral<"url">;
|
|
6375
6375
|
url: z.ZodString;
|
|
@@ -6385,7 +6385,7 @@ declare const StreamChatHandlerResponse: z.ZodObject<{
|
|
|
6385
6385
|
value: {
|
|
6386
6386
|
type: "base64";
|
|
6387
6387
|
base64: string;
|
|
6388
|
-
|
|
6388
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
6389
6389
|
} | {
|
|
6390
6390
|
type: "url";
|
|
6391
6391
|
url: string;
|
|
@@ -6397,7 +6397,7 @@ declare const StreamChatHandlerResponse: z.ZodObject<{
|
|
|
6397
6397
|
value: {
|
|
6398
6398
|
type: "base64";
|
|
6399
6399
|
base64: string;
|
|
6400
|
-
|
|
6400
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
6401
6401
|
} | {
|
|
6402
6402
|
type: "url";
|
|
6403
6403
|
url: string;
|
|
@@ -6517,7 +6517,7 @@ declare const StreamChatHandlerResponse: z.ZodObject<{
|
|
|
6517
6517
|
value: {
|
|
6518
6518
|
type: "base64";
|
|
6519
6519
|
base64: string;
|
|
6520
|
-
|
|
6520
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
6521
6521
|
} | {
|
|
6522
6522
|
type: "url";
|
|
6523
6523
|
url: string;
|
|
@@ -6562,7 +6562,7 @@ declare const StreamChatHandlerResponse: z.ZodObject<{
|
|
|
6562
6562
|
value: {
|
|
6563
6563
|
type: "base64";
|
|
6564
6564
|
base64: string;
|
|
6565
|
-
|
|
6565
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
6566
6566
|
} | {
|
|
6567
6567
|
type: "url";
|
|
6568
6568
|
url: string;
|
|
@@ -6669,7 +6669,7 @@ declare const StreamChatHandlerResponse: z.ZodObject<{
|
|
|
6669
6669
|
value: {
|
|
6670
6670
|
type: "base64";
|
|
6671
6671
|
base64: string;
|
|
6672
|
-
|
|
6672
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
6673
6673
|
} | {
|
|
6674
6674
|
type: "url";
|
|
6675
6675
|
url: string;
|
|
@@ -6729,7 +6729,7 @@ declare const StreamChatHandlerResponse: z.ZodObject<{
|
|
|
6729
6729
|
value: {
|
|
6730
6730
|
type: "base64";
|
|
6731
6731
|
base64: string;
|
|
6732
|
-
|
|
6732
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
6733
6733
|
} | {
|
|
6734
6734
|
type: "url";
|
|
6735
6735
|
url: string;
|
|
@@ -7077,7 +7077,7 @@ declare const StreamChatHandlerResponse: z.ZodObject<{
|
|
|
7077
7077
|
value: {
|
|
7078
7078
|
type: "base64";
|
|
7079
7079
|
base64: string;
|
|
7080
|
-
|
|
7080
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
7081
7081
|
} | {
|
|
7082
7082
|
type: "url";
|
|
7083
7083
|
url: string;
|
|
@@ -7188,7 +7188,7 @@ declare const StreamChatHandlerResponse: z.ZodObject<{
|
|
|
7188
7188
|
value: {
|
|
7189
7189
|
type: "base64";
|
|
7190
7190
|
base64: string;
|
|
7191
|
-
|
|
7191
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
7192
7192
|
} | {
|
|
7193
7193
|
type: "url";
|
|
7194
7194
|
url: string;
|
|
@@ -7345,7 +7345,7 @@ declare const GatewayOptions: z.ZodObject<{
|
|
|
7345
7345
|
value: {
|
|
7346
7346
|
type: "base64";
|
|
7347
7347
|
base64: string;
|
|
7348
|
-
|
|
7348
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
7349
7349
|
} | {
|
|
7350
7350
|
type: "url";
|
|
7351
7351
|
url: string;
|
|
@@ -7405,7 +7405,7 @@ declare const GatewayOptions: z.ZodObject<{
|
|
|
7405
7405
|
value: {
|
|
7406
7406
|
type: "base64";
|
|
7407
7407
|
base64: string;
|
|
7408
|
-
|
|
7408
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
7409
7409
|
} | {
|
|
7410
7410
|
type: "url";
|
|
7411
7411
|
url: string;
|
|
@@ -7477,7 +7477,7 @@ declare const GatewayOptions: z.ZodObject<{
|
|
|
7477
7477
|
value: {
|
|
7478
7478
|
type: "base64";
|
|
7479
7479
|
base64: string;
|
|
7480
|
-
|
|
7480
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
7481
7481
|
} | {
|
|
7482
7482
|
type: "url";
|
|
7483
7483
|
url: string;
|
|
@@ -7537,7 +7537,7 @@ declare const GatewayOptions: z.ZodObject<{
|
|
|
7537
7537
|
value: {
|
|
7538
7538
|
type: "base64";
|
|
7539
7539
|
base64: string;
|
|
7540
|
-
|
|
7540
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
7541
7541
|
} | {
|
|
7542
7542
|
type: "url";
|
|
7543
7543
|
url: string;
|
|
@@ -7679,7 +7679,7 @@ declare const GatewayOptions: z.ZodObject<{
|
|
|
7679
7679
|
tracer?: Tracer | undefined;
|
|
7680
7680
|
meter?: Meter | undefined;
|
|
7681
7681
|
}>>;
|
|
7682
|
-
|
|
7682
|
+
enableAnalytics: z.ZodOptional<z.ZodBoolean>;
|
|
7683
7683
|
enableProxyAgent: z.ZodOptional<z.ZodBoolean>;
|
|
7684
7684
|
}, "strip", z.ZodTypeAny, {
|
|
7685
7685
|
enableProxyAgent?: boolean | undefined;
|
|
@@ -7718,7 +7718,7 @@ declare const GatewayOptions: z.ZodObject<{
|
|
|
7718
7718
|
value: {
|
|
7719
7719
|
type: "base64";
|
|
7720
7720
|
base64: string;
|
|
7721
|
-
|
|
7721
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
7722
7722
|
} | {
|
|
7723
7723
|
type: "url";
|
|
7724
7724
|
url: string;
|
|
@@ -7778,7 +7778,7 @@ declare const GatewayOptions: z.ZodObject<{
|
|
|
7778
7778
|
value: {
|
|
7779
7779
|
type: "base64";
|
|
7780
7780
|
base64: string;
|
|
7781
|
-
|
|
7781
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
7782
7782
|
} | {
|
|
7783
7783
|
type: "url";
|
|
7784
7784
|
url: string;
|
|
@@ -7875,7 +7875,7 @@ declare const GatewayOptions: z.ZodObject<{
|
|
|
7875
7875
|
tracer?: Tracer | undefined;
|
|
7876
7876
|
meter?: Meter | undefined;
|
|
7877
7877
|
} | undefined;
|
|
7878
|
-
|
|
7878
|
+
enableAnalytics?: boolean | undefined;
|
|
7879
7879
|
}, {
|
|
7880
7880
|
enableProxyAgent?: boolean | undefined;
|
|
7881
7881
|
queueOptions?: {
|
|
@@ -7913,7 +7913,7 @@ declare const GatewayOptions: z.ZodObject<{
|
|
|
7913
7913
|
value: {
|
|
7914
7914
|
type: "base64";
|
|
7915
7915
|
base64: string;
|
|
7916
|
-
|
|
7916
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
7917
7917
|
} | {
|
|
7918
7918
|
type: "url";
|
|
7919
7919
|
url: string;
|
|
@@ -7973,7 +7973,7 @@ declare const GatewayOptions: z.ZodObject<{
|
|
|
7973
7973
|
value: {
|
|
7974
7974
|
type: "base64";
|
|
7975
7975
|
base64: string;
|
|
7976
|
-
|
|
7976
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
7977
7977
|
} | {
|
|
7978
7978
|
type: "url";
|
|
7979
7979
|
url: string;
|
|
@@ -8070,7 +8070,7 @@ declare const GatewayOptions: z.ZodObject<{
|
|
|
8070
8070
|
tracer?: Tracer | undefined;
|
|
8071
8071
|
meter?: Meter | undefined;
|
|
8072
8072
|
} | undefined;
|
|
8073
|
-
|
|
8073
|
+
enableAnalytics?: boolean | undefined;
|
|
8074
8074
|
}>;
|
|
8075
8075
|
type GatewayOptionsType = z.infer<typeof GatewayOptions>;
|
|
8076
8076
|
declare const GatewayCompleteChatRequest: z.ZodObject<{
|
|
@@ -8216,15 +8216,15 @@ declare const GatewayCompleteChatRequest: z.ZodObject<{
|
|
|
8216
8216
|
value: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
8217
8217
|
type: z.ZodLiteral<"base64">;
|
|
8218
8218
|
base64: z.ZodString;
|
|
8219
|
-
|
|
8219
|
+
mediaType: z.ZodEnum<["png", "jpeg", "webp", "gif"]>;
|
|
8220
8220
|
}, "strip", z.ZodTypeAny, {
|
|
8221
8221
|
type: "base64";
|
|
8222
8222
|
base64: string;
|
|
8223
|
-
|
|
8223
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
8224
8224
|
}, {
|
|
8225
8225
|
type: "base64";
|
|
8226
8226
|
base64: string;
|
|
8227
|
-
|
|
8227
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
8228
8228
|
}>, z.ZodObject<{
|
|
8229
8229
|
type: z.ZodLiteral<"url">;
|
|
8230
8230
|
url: z.ZodString;
|
|
@@ -8240,7 +8240,7 @@ declare const GatewayCompleteChatRequest: z.ZodObject<{
|
|
|
8240
8240
|
value: {
|
|
8241
8241
|
type: "base64";
|
|
8242
8242
|
base64: string;
|
|
8243
|
-
|
|
8243
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
8244
8244
|
} | {
|
|
8245
8245
|
type: "url";
|
|
8246
8246
|
url: string;
|
|
@@ -8252,7 +8252,7 @@ declare const GatewayCompleteChatRequest: z.ZodObject<{
|
|
|
8252
8252
|
value: {
|
|
8253
8253
|
type: "base64";
|
|
8254
8254
|
base64: string;
|
|
8255
|
-
|
|
8255
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
8256
8256
|
} | {
|
|
8257
8257
|
type: "url";
|
|
8258
8258
|
url: string;
|
|
@@ -8372,7 +8372,7 @@ declare const GatewayCompleteChatRequest: z.ZodObject<{
|
|
|
8372
8372
|
value: {
|
|
8373
8373
|
type: "base64";
|
|
8374
8374
|
base64: string;
|
|
8375
|
-
|
|
8375
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
8376
8376
|
} | {
|
|
8377
8377
|
type: "url";
|
|
8378
8378
|
url: string;
|
|
@@ -8417,7 +8417,7 @@ declare const GatewayCompleteChatRequest: z.ZodObject<{
|
|
|
8417
8417
|
value: {
|
|
8418
8418
|
type: "base64";
|
|
8419
8419
|
base64: string;
|
|
8420
|
-
|
|
8420
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
8421
8421
|
} | {
|
|
8422
8422
|
type: "url";
|
|
8423
8423
|
url: string;
|
|
@@ -8598,7 +8598,7 @@ declare const GatewayCompleteChatRequest: z.ZodObject<{
|
|
|
8598
8598
|
value: {
|
|
8599
8599
|
type: "base64";
|
|
8600
8600
|
base64: string;
|
|
8601
|
-
|
|
8601
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
8602
8602
|
} | {
|
|
8603
8603
|
type: "url";
|
|
8604
8604
|
url: string;
|
|
@@ -8724,7 +8724,7 @@ declare const GatewayCompleteChatRequest: z.ZodObject<{
|
|
|
8724
8724
|
value: {
|
|
8725
8725
|
type: "base64";
|
|
8726
8726
|
base64: string;
|
|
8727
|
-
|
|
8727
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
8728
8728
|
} | {
|
|
8729
8729
|
type: "url";
|
|
8730
8730
|
url: string;
|
|
@@ -8911,15 +8911,15 @@ declare const GatewayStreamChatRequest: z.ZodObject<{
|
|
|
8911
8911
|
value: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
8912
8912
|
type: z.ZodLiteral<"base64">;
|
|
8913
8913
|
base64: z.ZodString;
|
|
8914
|
-
|
|
8914
|
+
mediaType: z.ZodEnum<["png", "jpeg", "webp", "gif"]>;
|
|
8915
8915
|
}, "strip", z.ZodTypeAny, {
|
|
8916
8916
|
type: "base64";
|
|
8917
8917
|
base64: string;
|
|
8918
|
-
|
|
8918
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
8919
8919
|
}, {
|
|
8920
8920
|
type: "base64";
|
|
8921
8921
|
base64: string;
|
|
8922
|
-
|
|
8922
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
8923
8923
|
}>, z.ZodObject<{
|
|
8924
8924
|
type: z.ZodLiteral<"url">;
|
|
8925
8925
|
url: z.ZodString;
|
|
@@ -8935,7 +8935,7 @@ declare const GatewayStreamChatRequest: z.ZodObject<{
|
|
|
8935
8935
|
value: {
|
|
8936
8936
|
type: "base64";
|
|
8937
8937
|
base64: string;
|
|
8938
|
-
|
|
8938
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
8939
8939
|
} | {
|
|
8940
8940
|
type: "url";
|
|
8941
8941
|
url: string;
|
|
@@ -8947,7 +8947,7 @@ declare const GatewayStreamChatRequest: z.ZodObject<{
|
|
|
8947
8947
|
value: {
|
|
8948
8948
|
type: "base64";
|
|
8949
8949
|
base64: string;
|
|
8950
|
-
|
|
8950
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
8951
8951
|
} | {
|
|
8952
8952
|
type: "url";
|
|
8953
8953
|
url: string;
|
|
@@ -9067,7 +9067,7 @@ declare const GatewayStreamChatRequest: z.ZodObject<{
|
|
|
9067
9067
|
value: {
|
|
9068
9068
|
type: "base64";
|
|
9069
9069
|
base64: string;
|
|
9070
|
-
|
|
9070
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
9071
9071
|
} | {
|
|
9072
9072
|
type: "url";
|
|
9073
9073
|
url: string;
|
|
@@ -9112,7 +9112,7 @@ declare const GatewayStreamChatRequest: z.ZodObject<{
|
|
|
9112
9112
|
value: {
|
|
9113
9113
|
type: "base64";
|
|
9114
9114
|
base64: string;
|
|
9115
|
-
|
|
9115
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
9116
9116
|
} | {
|
|
9117
9117
|
type: "url";
|
|
9118
9118
|
url: string;
|
|
@@ -9291,7 +9291,7 @@ declare const GatewayStreamChatRequest: z.ZodObject<{
|
|
|
9291
9291
|
value: {
|
|
9292
9292
|
type: "base64";
|
|
9293
9293
|
base64: string;
|
|
9294
|
-
|
|
9294
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
9295
9295
|
} | {
|
|
9296
9296
|
type: "url";
|
|
9297
9297
|
url: string;
|
|
@@ -9417,7 +9417,7 @@ declare const GatewayStreamChatRequest: z.ZodObject<{
|
|
|
9417
9417
|
value: {
|
|
9418
9418
|
type: "base64";
|
|
9419
9419
|
base64: string;
|
|
9420
|
-
|
|
9420
|
+
mediaType: "png" | "jpeg" | "webp" | "gif";
|
|
9421
9421
|
} | {
|
|
9422
9422
|
type: "url";
|
|
9423
9423
|
url: string;
|