optio-contracts 0.2.7 → 0.3.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.
|
@@ -126,16 +126,16 @@ export declare const processesContract: {
|
|
|
126
126
|
reason: string;
|
|
127
127
|
}>, z.ZodObject<{
|
|
128
128
|
requestId: z.ZodString;
|
|
129
|
-
type: z.ZodLiteral<"
|
|
129
|
+
type: z.ZodLiteral<"client">;
|
|
130
130
|
keyword: z.ZodString;
|
|
131
131
|
data: z.ZodUnknown;
|
|
132
132
|
}, "strip", z.ZodTypeAny, {
|
|
133
|
-
type: "
|
|
133
|
+
type: "client";
|
|
134
134
|
requestId: string;
|
|
135
135
|
keyword: string;
|
|
136
136
|
data?: unknown;
|
|
137
137
|
}, {
|
|
138
|
-
type: "
|
|
138
|
+
type: "client";
|
|
139
139
|
requestId: string;
|
|
140
140
|
keyword: string;
|
|
141
141
|
data?: unknown;
|
|
@@ -190,7 +190,7 @@ export declare const processesContract: {
|
|
|
190
190
|
requestId: string;
|
|
191
191
|
reason: string;
|
|
192
192
|
} | {
|
|
193
|
-
type: "
|
|
193
|
+
type: "client";
|
|
194
194
|
requestId: string;
|
|
195
195
|
keyword: string;
|
|
196
196
|
data?: unknown;
|
|
@@ -244,7 +244,7 @@ export declare const processesContract: {
|
|
|
244
244
|
requestId: string;
|
|
245
245
|
reason: string;
|
|
246
246
|
} | {
|
|
247
|
-
type: "
|
|
247
|
+
type: "client";
|
|
248
248
|
requestId: string;
|
|
249
249
|
keyword: string;
|
|
250
250
|
data?: unknown;
|
|
@@ -302,7 +302,7 @@ export declare const processesContract: {
|
|
|
302
302
|
requestId: string;
|
|
303
303
|
reason: string;
|
|
304
304
|
} | {
|
|
305
|
-
type: "
|
|
305
|
+
type: "client";
|
|
306
306
|
requestId: string;
|
|
307
307
|
keyword: string;
|
|
308
308
|
data?: unknown;
|
|
@@ -360,7 +360,7 @@ export declare const processesContract: {
|
|
|
360
360
|
requestId: string;
|
|
361
361
|
reason: string;
|
|
362
362
|
} | {
|
|
363
|
-
type: "
|
|
363
|
+
type: "client";
|
|
364
364
|
requestId: string;
|
|
365
365
|
keyword: string;
|
|
366
366
|
data?: unknown;
|
|
@@ -488,16 +488,16 @@ export declare const processesContract: {
|
|
|
488
488
|
reason: string;
|
|
489
489
|
}>, z.ZodObject<{
|
|
490
490
|
requestId: z.ZodString;
|
|
491
|
-
type: z.ZodLiteral<"
|
|
491
|
+
type: z.ZodLiteral<"client">;
|
|
492
492
|
keyword: z.ZodString;
|
|
493
493
|
data: z.ZodUnknown;
|
|
494
494
|
}, "strip", z.ZodTypeAny, {
|
|
495
|
-
type: "
|
|
495
|
+
type: "client";
|
|
496
496
|
requestId: string;
|
|
497
497
|
keyword: string;
|
|
498
498
|
data?: unknown;
|
|
499
499
|
}, {
|
|
500
|
-
type: "
|
|
500
|
+
type: "client";
|
|
501
501
|
requestId: string;
|
|
502
502
|
keyword: string;
|
|
503
503
|
data?: unknown;
|
|
@@ -552,7 +552,7 @@ export declare const processesContract: {
|
|
|
552
552
|
requestId: string;
|
|
553
553
|
reason: string;
|
|
554
554
|
} | {
|
|
555
|
-
type: "
|
|
555
|
+
type: "client";
|
|
556
556
|
requestId: string;
|
|
557
557
|
keyword: string;
|
|
558
558
|
data?: unknown;
|
|
@@ -606,7 +606,7 @@ export declare const processesContract: {
|
|
|
606
606
|
requestId: string;
|
|
607
607
|
reason: string;
|
|
608
608
|
} | {
|
|
609
|
-
type: "
|
|
609
|
+
type: "client";
|
|
610
610
|
requestId: string;
|
|
611
611
|
keyword: string;
|
|
612
612
|
data?: unknown;
|
|
@@ -741,16 +741,16 @@ export declare const processesContract: {
|
|
|
741
741
|
reason: string;
|
|
742
742
|
}>, z.ZodObject<{
|
|
743
743
|
requestId: z.ZodString;
|
|
744
|
-
type: z.ZodLiteral<"
|
|
744
|
+
type: z.ZodLiteral<"client">;
|
|
745
745
|
keyword: z.ZodString;
|
|
746
746
|
data: z.ZodUnknown;
|
|
747
747
|
}, "strip", z.ZodTypeAny, {
|
|
748
|
-
type: "
|
|
748
|
+
type: "client";
|
|
749
749
|
requestId: string;
|
|
750
750
|
keyword: string;
|
|
751
751
|
data?: unknown;
|
|
752
752
|
}, {
|
|
753
|
-
type: "
|
|
753
|
+
type: "client";
|
|
754
754
|
requestId: string;
|
|
755
755
|
keyword: string;
|
|
756
756
|
data?: unknown;
|
|
@@ -852,16 +852,16 @@ export declare const processesContract: {
|
|
|
852
852
|
reason: string;
|
|
853
853
|
}>, z.ZodObject<{
|
|
854
854
|
requestId: z.ZodString;
|
|
855
|
-
type: z.ZodLiteral<"
|
|
855
|
+
type: z.ZodLiteral<"client">;
|
|
856
856
|
keyword: z.ZodString;
|
|
857
857
|
data: z.ZodUnknown;
|
|
858
858
|
}, "strip", z.ZodTypeAny, {
|
|
859
|
-
type: "
|
|
859
|
+
type: "client";
|
|
860
860
|
requestId: string;
|
|
861
861
|
keyword: string;
|
|
862
862
|
data?: unknown;
|
|
863
863
|
}, {
|
|
864
|
-
type: "
|
|
864
|
+
type: "client";
|
|
865
865
|
requestId: string;
|
|
866
866
|
keyword: string;
|
|
867
867
|
data?: unknown;
|
|
@@ -919,7 +919,7 @@ export declare const processesContract: {
|
|
|
919
919
|
requestId: string;
|
|
920
920
|
reason: string;
|
|
921
921
|
} | {
|
|
922
|
-
type: "
|
|
922
|
+
type: "client";
|
|
923
923
|
requestId: string;
|
|
924
924
|
keyword: string;
|
|
925
925
|
data?: unknown;
|
|
@@ -974,7 +974,7 @@ export declare const processesContract: {
|
|
|
974
974
|
requestId: string;
|
|
975
975
|
reason: string;
|
|
976
976
|
} | {
|
|
977
|
-
type: "
|
|
977
|
+
type: "client";
|
|
978
978
|
requestId: string;
|
|
979
979
|
keyword: string;
|
|
980
980
|
data?: unknown;
|
|
@@ -1058,7 +1058,7 @@ export declare const processesContract: {
|
|
|
1058
1058
|
requestId: string;
|
|
1059
1059
|
reason: string;
|
|
1060
1060
|
} | {
|
|
1061
|
-
type: "
|
|
1061
|
+
type: "client";
|
|
1062
1062
|
requestId: string;
|
|
1063
1063
|
keyword: string;
|
|
1064
1064
|
data?: unknown;
|
|
@@ -1085,7 +1085,7 @@ export declare const processesContract: {
|
|
|
1085
1085
|
requestId: string;
|
|
1086
1086
|
reason: string;
|
|
1087
1087
|
} | {
|
|
1088
|
-
type: "
|
|
1088
|
+
type: "client";
|
|
1089
1089
|
requestId: string;
|
|
1090
1090
|
keyword: string;
|
|
1091
1091
|
data?: unknown;
|
|
@@ -1168,7 +1168,7 @@ export declare const processesContract: {
|
|
|
1168
1168
|
requestId: string;
|
|
1169
1169
|
reason: string;
|
|
1170
1170
|
} | {
|
|
1171
|
-
type: "
|
|
1171
|
+
type: "client";
|
|
1172
1172
|
requestId: string;
|
|
1173
1173
|
keyword: string;
|
|
1174
1174
|
data?: unknown;
|
|
@@ -1195,7 +1195,7 @@ export declare const processesContract: {
|
|
|
1195
1195
|
requestId: string;
|
|
1196
1196
|
reason: string;
|
|
1197
1197
|
} | {
|
|
1198
|
-
type: "
|
|
1198
|
+
type: "client";
|
|
1199
1199
|
requestId: string;
|
|
1200
1200
|
keyword: string;
|
|
1201
1201
|
data?: unknown;
|
|
@@ -1503,16 +1503,16 @@ export declare const processesContract: {
|
|
|
1503
1503
|
reason: string;
|
|
1504
1504
|
}>, z.ZodObject<{
|
|
1505
1505
|
requestId: z.ZodString;
|
|
1506
|
-
type: z.ZodLiteral<"
|
|
1506
|
+
type: z.ZodLiteral<"client">;
|
|
1507
1507
|
keyword: z.ZodString;
|
|
1508
1508
|
data: z.ZodUnknown;
|
|
1509
1509
|
}, "strip", z.ZodTypeAny, {
|
|
1510
|
-
type: "
|
|
1510
|
+
type: "client";
|
|
1511
1511
|
requestId: string;
|
|
1512
1512
|
keyword: string;
|
|
1513
1513
|
data?: unknown;
|
|
1514
1514
|
}, {
|
|
1515
|
-
type: "
|
|
1515
|
+
type: "client";
|
|
1516
1516
|
requestId: string;
|
|
1517
1517
|
keyword: string;
|
|
1518
1518
|
data?: unknown;
|
|
@@ -1567,7 +1567,7 @@ export declare const processesContract: {
|
|
|
1567
1567
|
requestId: string;
|
|
1568
1568
|
reason: string;
|
|
1569
1569
|
} | {
|
|
1570
|
-
type: "
|
|
1570
|
+
type: "client";
|
|
1571
1571
|
requestId: string;
|
|
1572
1572
|
keyword: string;
|
|
1573
1573
|
data?: unknown;
|
|
@@ -1621,7 +1621,7 @@ export declare const processesContract: {
|
|
|
1621
1621
|
requestId: string;
|
|
1622
1622
|
reason: string;
|
|
1623
1623
|
} | {
|
|
1624
|
-
type: "
|
|
1624
|
+
type: "client";
|
|
1625
1625
|
requestId: string;
|
|
1626
1626
|
keyword: string;
|
|
1627
1627
|
data?: unknown;
|
|
@@ -1767,16 +1767,16 @@ export declare const processesContract: {
|
|
|
1767
1767
|
reason: string;
|
|
1768
1768
|
}>, z.ZodObject<{
|
|
1769
1769
|
requestId: z.ZodString;
|
|
1770
|
-
type: z.ZodLiteral<"
|
|
1770
|
+
type: z.ZodLiteral<"client">;
|
|
1771
1771
|
keyword: z.ZodString;
|
|
1772
1772
|
data: z.ZodUnknown;
|
|
1773
1773
|
}, "strip", z.ZodTypeAny, {
|
|
1774
|
-
type: "
|
|
1774
|
+
type: "client";
|
|
1775
1775
|
requestId: string;
|
|
1776
1776
|
keyword: string;
|
|
1777
1777
|
data?: unknown;
|
|
1778
1778
|
}, {
|
|
1779
|
-
type: "
|
|
1779
|
+
type: "client";
|
|
1780
1780
|
requestId: string;
|
|
1781
1781
|
keyword: string;
|
|
1782
1782
|
data?: unknown;
|
|
@@ -1831,7 +1831,7 @@ export declare const processesContract: {
|
|
|
1831
1831
|
requestId: string;
|
|
1832
1832
|
reason: string;
|
|
1833
1833
|
} | {
|
|
1834
|
-
type: "
|
|
1834
|
+
type: "client";
|
|
1835
1835
|
requestId: string;
|
|
1836
1836
|
keyword: string;
|
|
1837
1837
|
data?: unknown;
|
|
@@ -1885,7 +1885,7 @@ export declare const processesContract: {
|
|
|
1885
1885
|
requestId: string;
|
|
1886
1886
|
reason: string;
|
|
1887
1887
|
} | {
|
|
1888
|
-
type: "
|
|
1888
|
+
type: "client";
|
|
1889
1889
|
requestId: string;
|
|
1890
1890
|
keyword: string;
|
|
1891
1891
|
data?: unknown;
|
|
@@ -2031,16 +2031,16 @@ export declare const processesContract: {
|
|
|
2031
2031
|
reason: string;
|
|
2032
2032
|
}>, z.ZodObject<{
|
|
2033
2033
|
requestId: z.ZodString;
|
|
2034
|
-
type: z.ZodLiteral<"
|
|
2034
|
+
type: z.ZodLiteral<"client">;
|
|
2035
2035
|
keyword: z.ZodString;
|
|
2036
2036
|
data: z.ZodUnknown;
|
|
2037
2037
|
}, "strip", z.ZodTypeAny, {
|
|
2038
|
-
type: "
|
|
2038
|
+
type: "client";
|
|
2039
2039
|
requestId: string;
|
|
2040
2040
|
keyword: string;
|
|
2041
2041
|
data?: unknown;
|
|
2042
2042
|
}, {
|
|
2043
|
-
type: "
|
|
2043
|
+
type: "client";
|
|
2044
2044
|
requestId: string;
|
|
2045
2045
|
keyword: string;
|
|
2046
2046
|
data?: unknown;
|
|
@@ -2095,7 +2095,7 @@ export declare const processesContract: {
|
|
|
2095
2095
|
requestId: string;
|
|
2096
2096
|
reason: string;
|
|
2097
2097
|
} | {
|
|
2098
|
-
type: "
|
|
2098
|
+
type: "client";
|
|
2099
2099
|
requestId: string;
|
|
2100
2100
|
keyword: string;
|
|
2101
2101
|
data?: unknown;
|
|
@@ -2149,7 +2149,7 @@ export declare const processesContract: {
|
|
|
2149
2149
|
requestId: string;
|
|
2150
2150
|
reason: string;
|
|
2151
2151
|
} | {
|
|
2152
|
-
type: "
|
|
2152
|
+
type: "client";
|
|
2153
2153
|
requestId: string;
|
|
2154
2154
|
keyword: string;
|
|
2155
2155
|
data?: unknown;
|
|
@@ -108,16 +108,16 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
|
|
|
108
108
|
reason: string;
|
|
109
109
|
}>, z.ZodObject<{
|
|
110
110
|
requestId: z.ZodString;
|
|
111
|
-
type: z.ZodLiteral<"
|
|
111
|
+
type: z.ZodLiteral<"client">;
|
|
112
112
|
keyword: z.ZodString;
|
|
113
113
|
data: z.ZodUnknown;
|
|
114
114
|
}, "strip", z.ZodTypeAny, {
|
|
115
|
-
type: "
|
|
115
|
+
type: "client";
|
|
116
116
|
requestId: string;
|
|
117
117
|
keyword: string;
|
|
118
118
|
data?: unknown;
|
|
119
119
|
}, {
|
|
120
|
-
type: "
|
|
120
|
+
type: "client";
|
|
121
121
|
requestId: string;
|
|
122
122
|
keyword: string;
|
|
123
123
|
data?: unknown;
|
|
@@ -172,7 +172,7 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
|
|
|
172
172
|
requestId: string;
|
|
173
173
|
reason: string;
|
|
174
174
|
} | {
|
|
175
|
-
type: "
|
|
175
|
+
type: "client";
|
|
176
176
|
requestId: string;
|
|
177
177
|
keyword: string;
|
|
178
178
|
data?: unknown;
|
|
@@ -226,7 +226,7 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
|
|
|
226
226
|
requestId: string;
|
|
227
227
|
reason: string;
|
|
228
228
|
} | {
|
|
229
|
-
type: "
|
|
229
|
+
type: "client";
|
|
230
230
|
requestId: string;
|
|
231
231
|
keyword: string;
|
|
232
232
|
data?: unknown;
|
|
@@ -283,7 +283,7 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
|
|
|
283
283
|
requestId: string;
|
|
284
284
|
reason: string;
|
|
285
285
|
} | {
|
|
286
|
-
type: "
|
|
286
|
+
type: "client";
|
|
287
287
|
requestId: string;
|
|
288
288
|
keyword: string;
|
|
289
289
|
data?: unknown;
|
|
@@ -340,7 +340,7 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
|
|
|
340
340
|
requestId: string;
|
|
341
341
|
reason: string;
|
|
342
342
|
} | {
|
|
343
|
-
type: "
|
|
343
|
+
type: "client";
|
|
344
344
|
requestId: string;
|
|
345
345
|
keyword: string;
|
|
346
346
|
data?: unknown;
|
|
@@ -459,16 +459,16 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
|
|
|
459
459
|
reason: string;
|
|
460
460
|
}>, z.ZodObject<{
|
|
461
461
|
requestId: z.ZodString;
|
|
462
|
-
type: z.ZodLiteral<"
|
|
462
|
+
type: z.ZodLiteral<"client">;
|
|
463
463
|
keyword: z.ZodString;
|
|
464
464
|
data: z.ZodUnknown;
|
|
465
465
|
}, "strip", z.ZodTypeAny, {
|
|
466
|
-
type: "
|
|
466
|
+
type: "client";
|
|
467
467
|
requestId: string;
|
|
468
468
|
keyword: string;
|
|
469
469
|
data?: unknown;
|
|
470
470
|
}, {
|
|
471
|
-
type: "
|
|
471
|
+
type: "client";
|
|
472
472
|
requestId: string;
|
|
473
473
|
keyword: string;
|
|
474
474
|
data?: unknown;
|
|
@@ -523,7 +523,7 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
|
|
|
523
523
|
requestId: string;
|
|
524
524
|
reason: string;
|
|
525
525
|
} | {
|
|
526
|
-
type: "
|
|
526
|
+
type: "client";
|
|
527
527
|
requestId: string;
|
|
528
528
|
keyword: string;
|
|
529
529
|
data?: unknown;
|
|
@@ -577,7 +577,7 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
|
|
|
577
577
|
requestId: string;
|
|
578
578
|
reason: string;
|
|
579
579
|
} | {
|
|
580
|
-
type: "
|
|
580
|
+
type: "client";
|
|
581
581
|
requestId: string;
|
|
582
582
|
keyword: string;
|
|
583
583
|
data?: unknown;
|
|
@@ -634,7 +634,7 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
|
|
|
634
634
|
requestId: string;
|
|
635
635
|
reason: string;
|
|
636
636
|
} | {
|
|
637
|
-
type: "
|
|
637
|
+
type: "client";
|
|
638
638
|
requestId: string;
|
|
639
639
|
keyword: string;
|
|
640
640
|
data?: unknown;
|
|
@@ -691,7 +691,7 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
|
|
|
691
691
|
requestId: string;
|
|
692
692
|
reason: string;
|
|
693
693
|
} | {
|
|
694
|
-
type: "
|
|
694
|
+
type: "client";
|
|
695
695
|
requestId: string;
|
|
696
696
|
keyword: string;
|
|
697
697
|
data?: unknown;
|
|
@@ -810,16 +810,16 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
|
|
|
810
810
|
reason: string;
|
|
811
811
|
}>, z.ZodObject<{
|
|
812
812
|
requestId: z.ZodString;
|
|
813
|
-
type: z.ZodLiteral<"
|
|
813
|
+
type: z.ZodLiteral<"client">;
|
|
814
814
|
keyword: z.ZodString;
|
|
815
815
|
data: z.ZodUnknown;
|
|
816
816
|
}, "strip", z.ZodTypeAny, {
|
|
817
|
-
type: "
|
|
817
|
+
type: "client";
|
|
818
818
|
requestId: string;
|
|
819
819
|
keyword: string;
|
|
820
820
|
data?: unknown;
|
|
821
821
|
}, {
|
|
822
|
-
type: "
|
|
822
|
+
type: "client";
|
|
823
823
|
requestId: string;
|
|
824
824
|
keyword: string;
|
|
825
825
|
data?: unknown;
|
|
@@ -874,7 +874,7 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
|
|
|
874
874
|
requestId: string;
|
|
875
875
|
reason: string;
|
|
876
876
|
} | {
|
|
877
|
-
type: "
|
|
877
|
+
type: "client";
|
|
878
878
|
requestId: string;
|
|
879
879
|
keyword: string;
|
|
880
880
|
data?: unknown;
|
|
@@ -928,7 +928,7 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
|
|
|
928
928
|
requestId: string;
|
|
929
929
|
reason: string;
|
|
930
930
|
} | {
|
|
931
|
-
type: "
|
|
931
|
+
type: "client";
|
|
932
932
|
requestId: string;
|
|
933
933
|
keyword: string;
|
|
934
934
|
data?: unknown;
|
|
@@ -985,7 +985,7 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
|
|
|
985
985
|
requestId: string;
|
|
986
986
|
reason: string;
|
|
987
987
|
} | {
|
|
988
|
-
type: "
|
|
988
|
+
type: "client";
|
|
989
989
|
requestId: string;
|
|
990
990
|
keyword: string;
|
|
991
991
|
data?: unknown;
|
|
@@ -1042,7 +1042,7 @@ export declare const optioEngineContract: import("@clamator/protocol").Contract<
|
|
|
1042
1042
|
requestId: string;
|
|
1043
1043
|
reason: string;
|
|
1044
1044
|
} | {
|
|
1045
|
-
type: "
|
|
1045
|
+
type: "client";
|
|
1046
1046
|
requestId: string;
|
|
1047
1047
|
keyword: string;
|
|
1048
1048
|
data?: unknown;
|
|
@@ -40,16 +40,16 @@ export declare const SessionEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodO
|
|
|
40
40
|
reason: string;
|
|
41
41
|
}>, z.ZodObject<{
|
|
42
42
|
requestId: z.ZodString;
|
|
43
|
-
type: z.ZodLiteral<"
|
|
43
|
+
type: z.ZodLiteral<"client">;
|
|
44
44
|
keyword: z.ZodString;
|
|
45
45
|
data: z.ZodUnknown;
|
|
46
46
|
}, "strip", z.ZodTypeAny, {
|
|
47
|
-
type: "
|
|
47
|
+
type: "client";
|
|
48
48
|
requestId: string;
|
|
49
49
|
keyword: string;
|
|
50
50
|
data?: unknown;
|
|
51
51
|
}, {
|
|
52
|
-
type: "
|
|
52
|
+
type: "client";
|
|
53
53
|
requestId: string;
|
|
54
54
|
keyword: string;
|
|
55
55
|
data?: unknown;
|
|
@@ -148,16 +148,16 @@ export declare const ProcessSchema: z.ZodObject<{
|
|
|
148
148
|
reason: string;
|
|
149
149
|
}>, z.ZodObject<{
|
|
150
150
|
requestId: z.ZodString;
|
|
151
|
-
type: z.ZodLiteral<"
|
|
151
|
+
type: z.ZodLiteral<"client">;
|
|
152
152
|
keyword: z.ZodString;
|
|
153
153
|
data: z.ZodUnknown;
|
|
154
154
|
}, "strip", z.ZodTypeAny, {
|
|
155
|
-
type: "
|
|
155
|
+
type: "client";
|
|
156
156
|
requestId: string;
|
|
157
157
|
keyword: string;
|
|
158
158
|
data?: unknown;
|
|
159
159
|
}, {
|
|
160
|
-
type: "
|
|
160
|
+
type: "client";
|
|
161
161
|
requestId: string;
|
|
162
162
|
keyword: string;
|
|
163
163
|
data?: unknown;
|
|
@@ -212,7 +212,7 @@ export declare const ProcessSchema: z.ZodObject<{
|
|
|
212
212
|
requestId: string;
|
|
213
213
|
reason: string;
|
|
214
214
|
} | {
|
|
215
|
-
type: "
|
|
215
|
+
type: "client";
|
|
216
216
|
requestId: string;
|
|
217
217
|
keyword: string;
|
|
218
218
|
data?: unknown;
|
|
@@ -266,7 +266,7 @@ export declare const ProcessSchema: z.ZodObject<{
|
|
|
266
266
|
requestId: string;
|
|
267
267
|
reason: string;
|
|
268
268
|
} | {
|
|
269
|
-
type: "
|
|
269
|
+
type: "client";
|
|
270
270
|
requestId: string;
|
|
271
271
|
keyword: string;
|
|
272
272
|
data?: unknown;
|
package/dist/schemas/process.js
CHANGED
|
@@ -29,7 +29,7 @@ export const BrowserOpenRequestSchema = z.object({
|
|
|
29
29
|
});
|
|
30
30
|
export const SessionEventSchema = z.discriminatedUnion('type', [
|
|
31
31
|
z.object({ requestId: z.string(), type: z.literal('attention'), reason: z.string() }),
|
|
32
|
-
z.object({ requestId: z.string(), type: z.literal('
|
|
32
|
+
z.object({ requestId: z.string(), type: z.literal('client'), keyword: z.string(), data: z.unknown() }),
|
|
33
33
|
]);
|
|
34
34
|
export const ProcessSchema = z.object({
|
|
35
35
|
_id: ObjectIdSchema,
|
|
@@ -22,16 +22,16 @@ export declare const SessionEventsStreamMessageSchema: z.ZodObject<{
|
|
|
22
22
|
reason: string;
|
|
23
23
|
}>, z.ZodObject<{
|
|
24
24
|
requestId: z.ZodString;
|
|
25
|
-
type: z.ZodLiteral<"
|
|
25
|
+
type: z.ZodLiteral<"client">;
|
|
26
26
|
keyword: z.ZodString;
|
|
27
27
|
data: z.ZodUnknown;
|
|
28
28
|
}, "strip", z.ZodTypeAny, {
|
|
29
|
-
type: "
|
|
29
|
+
type: "client";
|
|
30
30
|
requestId: string;
|
|
31
31
|
keyword: string;
|
|
32
32
|
data?: unknown;
|
|
33
33
|
}, {
|
|
34
|
-
type: "
|
|
34
|
+
type: "client";
|
|
35
35
|
requestId: string;
|
|
36
36
|
keyword: string;
|
|
37
37
|
data?: unknown;
|
|
@@ -44,7 +44,7 @@ export declare const SessionEventsStreamMessageSchema: z.ZodObject<{
|
|
|
44
44
|
requestId: string;
|
|
45
45
|
reason: string;
|
|
46
46
|
} | {
|
|
47
|
-
type: "
|
|
47
|
+
type: "client";
|
|
48
48
|
requestId: string;
|
|
49
49
|
keyword: string;
|
|
50
50
|
data?: unknown;
|
|
@@ -57,7 +57,7 @@ export declare const SessionEventsStreamMessageSchema: z.ZodObject<{
|
|
|
57
57
|
requestId: string;
|
|
58
58
|
reason: string;
|
|
59
59
|
} | {
|
|
60
|
-
type: "
|
|
60
|
+
type: "client";
|
|
61
61
|
requestId: string;
|
|
62
62
|
keyword: string;
|
|
63
63
|
data?: unknown;
|