@rstreamlabs/tunnels 3.8.0 → 3.8.1
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 +220 -220
- package/dist/index.d.ts +220 -220
- package/dist/index.js +84 -13
- package/dist/index.mjs +84 -13
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -94,18 +94,18 @@ declare class RstreamClientsResource {
|
|
|
94
94
|
|
|
95
95
|
declare const tunnelFilterSchema: z.ZodObject<{
|
|
96
96
|
id: z.ZodOptional<z.ZodString>;
|
|
97
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
97
98
|
status: z.ZodOptional<z.ZodEnum<{
|
|
98
99
|
online: "online";
|
|
99
100
|
offline: "offline";
|
|
100
101
|
}>>;
|
|
101
102
|
user_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
102
103
|
labels: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
103
|
-
client_id: z.ZodOptional<z.ZodString>;
|
|
104
|
-
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
105
104
|
type: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
106
105
|
bytestream: "bytestream";
|
|
107
106
|
datagram: "datagram";
|
|
108
107
|
}>>>;
|
|
108
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
109
109
|
publish: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
110
110
|
protocol: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
111
111
|
tls: "tls";
|
|
@@ -127,18 +127,18 @@ declare const listTunnelsParamsSchema: z.ZodObject<{
|
|
|
127
127
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
128
128
|
filters: z.ZodOptional<z.ZodObject<{
|
|
129
129
|
id: z.ZodOptional<z.ZodString>;
|
|
130
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
130
131
|
status: z.ZodOptional<z.ZodEnum<{
|
|
131
132
|
online: "online";
|
|
132
133
|
offline: "offline";
|
|
133
134
|
}>>;
|
|
134
135
|
user_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
135
136
|
labels: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
136
|
-
client_id: z.ZodOptional<z.ZodString>;
|
|
137
|
-
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
138
137
|
type: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
139
138
|
bytestream: "bytestream";
|
|
140
139
|
datagram: "datagram";
|
|
141
140
|
}>>>;
|
|
141
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
142
142
|
publish: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
143
143
|
protocol: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
144
144
|
tls: "tls";
|
|
@@ -226,9 +226,9 @@ declare class RstreamTunnelsResource {
|
|
|
226
226
|
}
|
|
227
227
|
|
|
228
228
|
declare const turnCredentialModeSchema: z.ZodEnum<{
|
|
229
|
-
api: "api";
|
|
230
229
|
app: "app";
|
|
231
230
|
pat: "pat";
|
|
231
|
+
api: "api";
|
|
232
232
|
}>;
|
|
233
233
|
type TURNCredentialMode = z.infer<typeof turnCredentialModeSchema>;
|
|
234
234
|
interface CreateAPITURNCredentialsOptions {
|
|
@@ -404,12 +404,12 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
404
404
|
internal: "internal";
|
|
405
405
|
}>;
|
|
406
406
|
transport: z.ZodOptional<z.ZodEnum<{
|
|
407
|
-
http: "http";
|
|
408
|
-
rstream: "rstream";
|
|
409
407
|
tls: "tls";
|
|
410
408
|
tcp: "tcp";
|
|
411
409
|
dtls: "dtls";
|
|
412
410
|
quic: "quic";
|
|
411
|
+
http: "http";
|
|
412
|
+
rstream: "rstream";
|
|
413
413
|
}>>;
|
|
414
414
|
}, z.core.$strip>>;
|
|
415
415
|
http: z.ZodOptional<z.ZodObject<{
|
|
@@ -446,8 +446,8 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
446
446
|
}, z.core.$strip>, z.ZodObject<{
|
|
447
447
|
kind: z.ZodLiteral<"token">;
|
|
448
448
|
source: z.ZodOptional<z.ZodEnum<{
|
|
449
|
-
query: "query";
|
|
450
449
|
unknown: "unknown";
|
|
450
|
+
query: "query";
|
|
451
451
|
authorization: "authorization";
|
|
452
452
|
client: "client";
|
|
453
453
|
}>>;
|
|
@@ -473,8 +473,8 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
473
473
|
}, z.core.$strip>, z.ZodObject<{
|
|
474
474
|
kind: z.ZodLiteral<"token">;
|
|
475
475
|
source: z.ZodOptional<z.ZodEnum<{
|
|
476
|
-
query: "query";
|
|
477
476
|
unknown: "unknown";
|
|
477
|
+
query: "query";
|
|
478
478
|
authorization: "authorization";
|
|
479
479
|
client: "client";
|
|
480
480
|
}>>;
|
|
@@ -494,48 +494,48 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
494
494
|
why: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
495
495
|
reason: z.ZodLiteral<"missing_token">;
|
|
496
496
|
source: z.ZodEnum<{
|
|
497
|
-
query: "query";
|
|
498
497
|
unknown: "unknown";
|
|
498
|
+
query: "query";
|
|
499
499
|
authorization: "authorization";
|
|
500
500
|
client: "client";
|
|
501
501
|
}>;
|
|
502
502
|
}, z.core.$strip>, z.ZodObject<{
|
|
503
503
|
reason: z.ZodLiteral<"invalid_token">;
|
|
504
504
|
source: z.ZodEnum<{
|
|
505
|
-
query: "query";
|
|
506
505
|
unknown: "unknown";
|
|
506
|
+
query: "query";
|
|
507
507
|
authorization: "authorization";
|
|
508
508
|
client: "client";
|
|
509
509
|
}>;
|
|
510
510
|
}, z.core.$strip>, z.ZodObject<{
|
|
511
511
|
reason: z.ZodLiteral<"expired_token">;
|
|
512
512
|
source: z.ZodEnum<{
|
|
513
|
-
query: "query";
|
|
514
513
|
unknown: "unknown";
|
|
514
|
+
query: "query";
|
|
515
515
|
authorization: "authorization";
|
|
516
516
|
client: "client";
|
|
517
517
|
}>;
|
|
518
518
|
}, z.core.$strip>, z.ZodObject<{
|
|
519
519
|
reason: z.ZodLiteral<"invalid_secret">;
|
|
520
520
|
source: z.ZodEnum<{
|
|
521
|
-
query: "query";
|
|
522
521
|
unknown: "unknown";
|
|
522
|
+
query: "query";
|
|
523
523
|
authorization: "authorization";
|
|
524
524
|
client: "client";
|
|
525
525
|
}>;
|
|
526
526
|
}, z.core.$strip>, z.ZodObject<{
|
|
527
527
|
reason: z.ZodLiteral<"user_mismatch">;
|
|
528
528
|
source: z.ZodEnum<{
|
|
529
|
-
query: "query";
|
|
530
529
|
unknown: "unknown";
|
|
530
|
+
query: "query";
|
|
531
531
|
authorization: "authorization";
|
|
532
532
|
client: "client";
|
|
533
533
|
}>;
|
|
534
534
|
}, z.core.$strip>, z.ZodObject<{
|
|
535
535
|
reason: z.ZodLiteral<"insufficient_scope">;
|
|
536
536
|
source: z.ZodEnum<{
|
|
537
|
-
query: "query";
|
|
538
537
|
unknown: "unknown";
|
|
538
|
+
query: "query";
|
|
539
539
|
authorization: "authorization";
|
|
540
540
|
client: "client";
|
|
541
541
|
}>;
|
|
@@ -550,8 +550,8 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
550
550
|
}>;
|
|
551
551
|
value: z.ZodOptional<z.ZodString>;
|
|
552
552
|
source: z.ZodEnum<{
|
|
553
|
-
query: "query";
|
|
554
553
|
unknown: "unknown";
|
|
554
|
+
query: "query";
|
|
555
555
|
authorization: "authorization";
|
|
556
556
|
client: "client";
|
|
557
557
|
}>;
|
|
@@ -631,48 +631,48 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
631
631
|
why: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
632
632
|
reason: z.ZodLiteral<"missing_token">;
|
|
633
633
|
source: z.ZodEnum<{
|
|
634
|
-
query: "query";
|
|
635
634
|
unknown: "unknown";
|
|
635
|
+
query: "query";
|
|
636
636
|
authorization: "authorization";
|
|
637
637
|
client: "client";
|
|
638
638
|
}>;
|
|
639
639
|
}, z.core.$strip>, z.ZodObject<{
|
|
640
640
|
reason: z.ZodLiteral<"invalid_token">;
|
|
641
641
|
source: z.ZodEnum<{
|
|
642
|
-
query: "query";
|
|
643
642
|
unknown: "unknown";
|
|
643
|
+
query: "query";
|
|
644
644
|
authorization: "authorization";
|
|
645
645
|
client: "client";
|
|
646
646
|
}>;
|
|
647
647
|
}, z.core.$strip>, z.ZodObject<{
|
|
648
648
|
reason: z.ZodLiteral<"expired_token">;
|
|
649
649
|
source: z.ZodEnum<{
|
|
650
|
-
query: "query";
|
|
651
650
|
unknown: "unknown";
|
|
651
|
+
query: "query";
|
|
652
652
|
authorization: "authorization";
|
|
653
653
|
client: "client";
|
|
654
654
|
}>;
|
|
655
655
|
}, z.core.$strip>, z.ZodObject<{
|
|
656
656
|
reason: z.ZodLiteral<"invalid_secret">;
|
|
657
657
|
source: z.ZodEnum<{
|
|
658
|
-
query: "query";
|
|
659
658
|
unknown: "unknown";
|
|
659
|
+
query: "query";
|
|
660
660
|
authorization: "authorization";
|
|
661
661
|
client: "client";
|
|
662
662
|
}>;
|
|
663
663
|
}, z.core.$strip>, z.ZodObject<{
|
|
664
664
|
reason: z.ZodLiteral<"user_mismatch">;
|
|
665
665
|
source: z.ZodEnum<{
|
|
666
|
-
query: "query";
|
|
667
666
|
unknown: "unknown";
|
|
667
|
+
query: "query";
|
|
668
668
|
authorization: "authorization";
|
|
669
669
|
client: "client";
|
|
670
670
|
}>;
|
|
671
671
|
}, z.core.$strip>, z.ZodObject<{
|
|
672
672
|
reason: z.ZodLiteral<"insufficient_scope">;
|
|
673
673
|
source: z.ZodEnum<{
|
|
674
|
-
query: "query";
|
|
675
674
|
unknown: "unknown";
|
|
675
|
+
query: "query";
|
|
676
676
|
authorization: "authorization";
|
|
677
677
|
client: "client";
|
|
678
678
|
}>;
|
|
@@ -687,8 +687,8 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
687
687
|
}>;
|
|
688
688
|
value: z.ZodOptional<z.ZodString>;
|
|
689
689
|
source: z.ZodEnum<{
|
|
690
|
-
query: "query";
|
|
691
690
|
unknown: "unknown";
|
|
691
|
+
query: "query";
|
|
692
692
|
authorization: "authorization";
|
|
693
693
|
client: "client";
|
|
694
694
|
}>;
|
|
@@ -762,9 +762,9 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
762
762
|
webtransport: "webtransport";
|
|
763
763
|
}>>;
|
|
764
764
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
765
|
+
api: "api";
|
|
765
766
|
human: "human";
|
|
766
767
|
codex: "codex";
|
|
767
|
-
api: "api";
|
|
768
768
|
automation: "automation";
|
|
769
769
|
ci: "ci";
|
|
770
770
|
"scheduled-job": "scheduled-job";
|
|
@@ -772,8 +772,8 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
772
772
|
origin_id: z.ZodOptional<z.ZodString>;
|
|
773
773
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
774
774
|
agent: "agent";
|
|
775
|
-
user: "user";
|
|
776
775
|
app: "app";
|
|
776
|
+
user: "user";
|
|
777
777
|
"service-account": "service-account";
|
|
778
778
|
}>>;
|
|
779
779
|
device_id: z.ZodOptional<z.ZodString>;
|
|
@@ -810,10 +810,10 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
810
810
|
server: "server";
|
|
811
811
|
}>;
|
|
812
812
|
reason: z.ZodEnum<{
|
|
813
|
-
unknown: "unknown";
|
|
814
813
|
error: "error";
|
|
815
|
-
|
|
814
|
+
unknown: "unknown";
|
|
816
815
|
timeout: "timeout";
|
|
816
|
+
closed: "closed";
|
|
817
817
|
reset: "reset";
|
|
818
818
|
}>;
|
|
819
819
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -841,48 +841,48 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
841
841
|
why: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
842
842
|
reason: z.ZodLiteral<"missing_token">;
|
|
843
843
|
source: z.ZodEnum<{
|
|
844
|
-
query: "query";
|
|
845
844
|
unknown: "unknown";
|
|
845
|
+
query: "query";
|
|
846
846
|
authorization: "authorization";
|
|
847
847
|
client: "client";
|
|
848
848
|
}>;
|
|
849
849
|
}, z.core.$strip>, z.ZodObject<{
|
|
850
850
|
reason: z.ZodLiteral<"invalid_token">;
|
|
851
851
|
source: z.ZodEnum<{
|
|
852
|
-
query: "query";
|
|
853
852
|
unknown: "unknown";
|
|
853
|
+
query: "query";
|
|
854
854
|
authorization: "authorization";
|
|
855
855
|
client: "client";
|
|
856
856
|
}>;
|
|
857
857
|
}, z.core.$strip>, z.ZodObject<{
|
|
858
858
|
reason: z.ZodLiteral<"expired_token">;
|
|
859
859
|
source: z.ZodEnum<{
|
|
860
|
-
query: "query";
|
|
861
860
|
unknown: "unknown";
|
|
861
|
+
query: "query";
|
|
862
862
|
authorization: "authorization";
|
|
863
863
|
client: "client";
|
|
864
864
|
}>;
|
|
865
865
|
}, z.core.$strip>, z.ZodObject<{
|
|
866
866
|
reason: z.ZodLiteral<"invalid_secret">;
|
|
867
867
|
source: z.ZodEnum<{
|
|
868
|
-
query: "query";
|
|
869
868
|
unknown: "unknown";
|
|
869
|
+
query: "query";
|
|
870
870
|
authorization: "authorization";
|
|
871
871
|
client: "client";
|
|
872
872
|
}>;
|
|
873
873
|
}, z.core.$strip>, z.ZodObject<{
|
|
874
874
|
reason: z.ZodLiteral<"user_mismatch">;
|
|
875
875
|
source: z.ZodEnum<{
|
|
876
|
-
query: "query";
|
|
877
876
|
unknown: "unknown";
|
|
877
|
+
query: "query";
|
|
878
878
|
authorization: "authorization";
|
|
879
879
|
client: "client";
|
|
880
880
|
}>;
|
|
881
881
|
}, z.core.$strip>, z.ZodObject<{
|
|
882
882
|
reason: z.ZodLiteral<"insufficient_scope">;
|
|
883
883
|
source: z.ZodEnum<{
|
|
884
|
-
query: "query";
|
|
885
884
|
unknown: "unknown";
|
|
885
|
+
query: "query";
|
|
886
886
|
authorization: "authorization";
|
|
887
887
|
client: "client";
|
|
888
888
|
}>;
|
|
@@ -897,8 +897,8 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
897
897
|
}>;
|
|
898
898
|
value: z.ZodOptional<z.ZodString>;
|
|
899
899
|
source: z.ZodEnum<{
|
|
900
|
-
query: "query";
|
|
901
900
|
unknown: "unknown";
|
|
901
|
+
query: "query";
|
|
902
902
|
authorization: "authorization";
|
|
903
903
|
client: "client";
|
|
904
904
|
}>;
|
|
@@ -954,10 +954,10 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
954
954
|
server: "server";
|
|
955
955
|
}>;
|
|
956
956
|
reason: z.ZodEnum<{
|
|
957
|
-
unknown: "unknown";
|
|
958
957
|
error: "error";
|
|
959
|
-
|
|
958
|
+
unknown: "unknown";
|
|
960
959
|
timeout: "timeout";
|
|
960
|
+
closed: "closed";
|
|
961
961
|
reset: "reset";
|
|
962
962
|
}>;
|
|
963
963
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1363,10 +1363,10 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1363
1363
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
1364
1364
|
group_id: z.ZodOptional<z.ZodString>;
|
|
1365
1365
|
status: z.ZodEnum<{
|
|
1366
|
-
opening: "opening";
|
|
1367
1366
|
active: "active";
|
|
1368
|
-
closing: "closing";
|
|
1369
1367
|
closed: "closed";
|
|
1368
|
+
opening: "opening";
|
|
1369
|
+
closing: "closing";
|
|
1370
1370
|
errored: "errored";
|
|
1371
1371
|
}>;
|
|
1372
1372
|
session_mode: z.ZodEnum<{
|
|
@@ -1394,9 +1394,9 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1394
1394
|
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
1395
1395
|
context: z.ZodOptional<z.ZodObject<{
|
|
1396
1396
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
1397
|
+
api: "api";
|
|
1397
1398
|
human: "human";
|
|
1398
1399
|
codex: "codex";
|
|
1399
|
-
api: "api";
|
|
1400
1400
|
automation: "automation";
|
|
1401
1401
|
ci: "ci";
|
|
1402
1402
|
"scheduled-job": "scheduled-job";
|
|
@@ -1405,8 +1405,8 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1405
1405
|
purpose: z.ZodOptional<z.ZodString>;
|
|
1406
1406
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
1407
1407
|
agent: "agent";
|
|
1408
|
-
user: "user";
|
|
1409
1408
|
app: "app";
|
|
1409
|
+
user: "user";
|
|
1410
1410
|
"service-account": "service-account";
|
|
1411
1411
|
}>>;
|
|
1412
1412
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -1446,10 +1446,10 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1446
1446
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
1447
1447
|
group_id: z.ZodOptional<z.ZodString>;
|
|
1448
1448
|
status: z.ZodEnum<{
|
|
1449
|
-
opening: "opening";
|
|
1450
1449
|
active: "active";
|
|
1451
|
-
closing: "closing";
|
|
1452
1450
|
closed: "closed";
|
|
1451
|
+
opening: "opening";
|
|
1452
|
+
closing: "closing";
|
|
1453
1453
|
errored: "errored";
|
|
1454
1454
|
}>;
|
|
1455
1455
|
session_mode: z.ZodEnum<{
|
|
@@ -1477,9 +1477,9 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1477
1477
|
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
1478
1478
|
context: z.ZodOptional<z.ZodObject<{
|
|
1479
1479
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
1480
|
+
api: "api";
|
|
1480
1481
|
human: "human";
|
|
1481
1482
|
codex: "codex";
|
|
1482
|
-
api: "api";
|
|
1483
1483
|
automation: "automation";
|
|
1484
1484
|
ci: "ci";
|
|
1485
1485
|
"scheduled-job": "scheduled-job";
|
|
@@ -1488,8 +1488,8 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1488
1488
|
purpose: z.ZodOptional<z.ZodString>;
|
|
1489
1489
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
1490
1490
|
agent: "agent";
|
|
1491
|
-
user: "user";
|
|
1492
1491
|
app: "app";
|
|
1492
|
+
user: "user";
|
|
1493
1493
|
"service-account": "service-account";
|
|
1494
1494
|
}>>;
|
|
1495
1495
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -1516,9 +1516,9 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1516
1516
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
1517
1517
|
context: z.ZodOptional<z.ZodObject<{
|
|
1518
1518
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
1519
|
+
api: "api";
|
|
1519
1520
|
human: "human";
|
|
1520
1521
|
codex: "codex";
|
|
1521
|
-
api: "api";
|
|
1522
1522
|
automation: "automation";
|
|
1523
1523
|
ci: "ci";
|
|
1524
1524
|
"scheduled-job": "scheduled-job";
|
|
@@ -1527,8 +1527,8 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1527
1527
|
purpose: z.ZodOptional<z.ZodString>;
|
|
1528
1528
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
1529
1529
|
agent: "agent";
|
|
1530
|
-
user: "user";
|
|
1531
1530
|
app: "app";
|
|
1531
|
+
user: "user";
|
|
1532
1532
|
"service-account": "service-account";
|
|
1533
1533
|
}>>;
|
|
1534
1534
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -1559,10 +1559,10 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1559
1559
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
1560
1560
|
group_id: z.ZodOptional<z.ZodString>;
|
|
1561
1561
|
status: z.ZodEnum<{
|
|
1562
|
-
opening: "opening";
|
|
1563
1562
|
active: "active";
|
|
1564
|
-
closing: "closing";
|
|
1565
1563
|
closed: "closed";
|
|
1564
|
+
opening: "opening";
|
|
1565
|
+
closing: "closing";
|
|
1566
1566
|
errored: "errored";
|
|
1567
1567
|
}>;
|
|
1568
1568
|
session_mode: z.ZodEnum<{
|
|
@@ -1590,9 +1590,9 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1590
1590
|
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
1591
1591
|
context: z.ZodOptional<z.ZodObject<{
|
|
1592
1592
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
1593
|
+
api: "api";
|
|
1593
1594
|
human: "human";
|
|
1594
1595
|
codex: "codex";
|
|
1595
|
-
api: "api";
|
|
1596
1596
|
automation: "automation";
|
|
1597
1597
|
ci: "ci";
|
|
1598
1598
|
"scheduled-job": "scheduled-job";
|
|
@@ -1601,8 +1601,8 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1601
1601
|
purpose: z.ZodOptional<z.ZodString>;
|
|
1602
1602
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
1603
1603
|
agent: "agent";
|
|
1604
|
-
user: "user";
|
|
1605
1604
|
app: "app";
|
|
1605
|
+
user: "user";
|
|
1606
1606
|
"service-account": "service-account";
|
|
1607
1607
|
}>>;
|
|
1608
1608
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -1726,9 +1726,9 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1726
1726
|
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
1727
1727
|
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
1728
1728
|
status: z.ZodEnum<{
|
|
1729
|
+
refused: "refused";
|
|
1729
1730
|
pending: "pending";
|
|
1730
1731
|
granted: "granted";
|
|
1731
|
-
refused: "refused";
|
|
1732
1732
|
revoked: "revoked";
|
|
1733
1733
|
expired: "expired";
|
|
1734
1734
|
}>;
|
|
@@ -1755,9 +1755,9 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1755
1755
|
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
1756
1756
|
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
1757
1757
|
status: z.ZodEnum<{
|
|
1758
|
+
refused: "refused";
|
|
1758
1759
|
pending: "pending";
|
|
1759
1760
|
granted: "granted";
|
|
1760
|
-
refused: "refused";
|
|
1761
1761
|
revoked: "revoked";
|
|
1762
1762
|
expired: "expired";
|
|
1763
1763
|
}>;
|
|
@@ -1784,9 +1784,9 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1784
1784
|
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
1785
1785
|
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
1786
1786
|
status: z.ZodEnum<{
|
|
1787
|
+
refused: "refused";
|
|
1787
1788
|
pending: "pending";
|
|
1788
1789
|
granted: "granted";
|
|
1789
|
-
refused: "refused";
|
|
1790
1790
|
revoked: "revoked";
|
|
1791
1791
|
expired: "expired";
|
|
1792
1792
|
}>;
|
|
@@ -1813,9 +1813,9 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1813
1813
|
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
1814
1814
|
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
1815
1815
|
status: z.ZodEnum<{
|
|
1816
|
+
refused: "refused";
|
|
1816
1817
|
pending: "pending";
|
|
1817
1818
|
granted: "granted";
|
|
1818
|
-
refused: "refused";
|
|
1819
1819
|
revoked: "revoked";
|
|
1820
1820
|
expired: "expired";
|
|
1821
1821
|
}>;
|
|
@@ -2032,10 +2032,10 @@ declare const webhookEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2032
2032
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
2033
2033
|
group_id: z.ZodOptional<z.ZodString>;
|
|
2034
2034
|
status: z.ZodEnum<{
|
|
2035
|
-
opening: "opening";
|
|
2036
2035
|
active: "active";
|
|
2037
|
-
closing: "closing";
|
|
2038
2036
|
closed: "closed";
|
|
2037
|
+
opening: "opening";
|
|
2038
|
+
closing: "closing";
|
|
2039
2039
|
errored: "errored";
|
|
2040
2040
|
}>;
|
|
2041
2041
|
session_mode: z.ZodEnum<{
|
|
@@ -2063,9 +2063,9 @@ declare const webhookEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2063
2063
|
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
2064
2064
|
context: z.ZodOptional<z.ZodObject<{
|
|
2065
2065
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
2066
|
+
api: "api";
|
|
2066
2067
|
human: "human";
|
|
2067
2068
|
codex: "codex";
|
|
2068
|
-
api: "api";
|
|
2069
2069
|
automation: "automation";
|
|
2070
2070
|
ci: "ci";
|
|
2071
2071
|
"scheduled-job": "scheduled-job";
|
|
@@ -2074,8 +2074,8 @@ declare const webhookEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2074
2074
|
purpose: z.ZodOptional<z.ZodString>;
|
|
2075
2075
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
2076
2076
|
agent: "agent";
|
|
2077
|
-
user: "user";
|
|
2078
2077
|
app: "app";
|
|
2078
|
+
user: "user";
|
|
2079
2079
|
"service-account": "service-account";
|
|
2080
2080
|
}>>;
|
|
2081
2081
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -2115,10 +2115,10 @@ declare const webhookEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2115
2115
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
2116
2116
|
group_id: z.ZodOptional<z.ZodString>;
|
|
2117
2117
|
status: z.ZodEnum<{
|
|
2118
|
-
opening: "opening";
|
|
2119
2118
|
active: "active";
|
|
2120
|
-
closing: "closing";
|
|
2121
2119
|
closed: "closed";
|
|
2120
|
+
opening: "opening";
|
|
2121
|
+
closing: "closing";
|
|
2122
2122
|
errored: "errored";
|
|
2123
2123
|
}>;
|
|
2124
2124
|
session_mode: z.ZodEnum<{
|
|
@@ -2146,9 +2146,9 @@ declare const webhookEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2146
2146
|
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
2147
2147
|
context: z.ZodOptional<z.ZodObject<{
|
|
2148
2148
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
2149
|
+
api: "api";
|
|
2149
2150
|
human: "human";
|
|
2150
2151
|
codex: "codex";
|
|
2151
|
-
api: "api";
|
|
2152
2152
|
automation: "automation";
|
|
2153
2153
|
ci: "ci";
|
|
2154
2154
|
"scheduled-job": "scheduled-job";
|
|
@@ -2157,8 +2157,8 @@ declare const webhookEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2157
2157
|
purpose: z.ZodOptional<z.ZodString>;
|
|
2158
2158
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
2159
2159
|
agent: "agent";
|
|
2160
|
-
user: "user";
|
|
2161
2160
|
app: "app";
|
|
2161
|
+
user: "user";
|
|
2162
2162
|
"service-account": "service-account";
|
|
2163
2163
|
}>>;
|
|
2164
2164
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -2185,9 +2185,9 @@ declare const webhookEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2185
2185
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
2186
2186
|
context: z.ZodOptional<z.ZodObject<{
|
|
2187
2187
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
2188
|
+
api: "api";
|
|
2188
2189
|
human: "human";
|
|
2189
2190
|
codex: "codex";
|
|
2190
|
-
api: "api";
|
|
2191
2191
|
automation: "automation";
|
|
2192
2192
|
ci: "ci";
|
|
2193
2193
|
"scheduled-job": "scheduled-job";
|
|
@@ -2196,8 +2196,8 @@ declare const webhookEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2196
2196
|
purpose: z.ZodOptional<z.ZodString>;
|
|
2197
2197
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
2198
2198
|
agent: "agent";
|
|
2199
|
-
user: "user";
|
|
2200
2199
|
app: "app";
|
|
2200
|
+
user: "user";
|
|
2201
2201
|
"service-account": "service-account";
|
|
2202
2202
|
}>>;
|
|
2203
2203
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -2228,10 +2228,10 @@ declare const webhookEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2228
2228
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
2229
2229
|
group_id: z.ZodOptional<z.ZodString>;
|
|
2230
2230
|
status: z.ZodEnum<{
|
|
2231
|
-
opening: "opening";
|
|
2232
2231
|
active: "active";
|
|
2233
|
-
closing: "closing";
|
|
2234
2232
|
closed: "closed";
|
|
2233
|
+
opening: "opening";
|
|
2234
|
+
closing: "closing";
|
|
2235
2235
|
errored: "errored";
|
|
2236
2236
|
}>;
|
|
2237
2237
|
session_mode: z.ZodEnum<{
|
|
@@ -2259,9 +2259,9 @@ declare const webhookEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2259
2259
|
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
2260
2260
|
context: z.ZodOptional<z.ZodObject<{
|
|
2261
2261
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
2262
|
+
api: "api";
|
|
2262
2263
|
human: "human";
|
|
2263
2264
|
codex: "codex";
|
|
2264
|
-
api: "api";
|
|
2265
2265
|
automation: "automation";
|
|
2266
2266
|
ci: "ci";
|
|
2267
2267
|
"scheduled-job": "scheduled-job";
|
|
@@ -2270,8 +2270,8 @@ declare const webhookEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2270
2270
|
purpose: z.ZodOptional<z.ZodString>;
|
|
2271
2271
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
2272
2272
|
agent: "agent";
|
|
2273
|
-
user: "user";
|
|
2274
2273
|
app: "app";
|
|
2274
|
+
user: "user";
|
|
2275
2275
|
"service-account": "service-account";
|
|
2276
2276
|
}>>;
|
|
2277
2277
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -2395,9 +2395,9 @@ declare const webhookEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2395
2395
|
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
2396
2396
|
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
2397
2397
|
status: z.ZodEnum<{
|
|
2398
|
+
refused: "refused";
|
|
2398
2399
|
pending: "pending";
|
|
2399
2400
|
granted: "granted";
|
|
2400
|
-
refused: "refused";
|
|
2401
2401
|
revoked: "revoked";
|
|
2402
2402
|
expired: "expired";
|
|
2403
2403
|
}>;
|
|
@@ -2424,9 +2424,9 @@ declare const webhookEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2424
2424
|
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
2425
2425
|
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
2426
2426
|
status: z.ZodEnum<{
|
|
2427
|
+
refused: "refused";
|
|
2427
2428
|
pending: "pending";
|
|
2428
2429
|
granted: "granted";
|
|
2429
|
-
refused: "refused";
|
|
2430
2430
|
revoked: "revoked";
|
|
2431
2431
|
expired: "expired";
|
|
2432
2432
|
}>;
|
|
@@ -2453,9 +2453,9 @@ declare const webhookEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2453
2453
|
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
2454
2454
|
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
2455
2455
|
status: z.ZodEnum<{
|
|
2456
|
+
refused: "refused";
|
|
2456
2457
|
pending: "pending";
|
|
2457
2458
|
granted: "granted";
|
|
2458
|
-
refused: "refused";
|
|
2459
2459
|
revoked: "revoked";
|
|
2460
2460
|
expired: "expired";
|
|
2461
2461
|
}>;
|
|
@@ -2482,9 +2482,9 @@ declare const webhookEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2482
2482
|
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
2483
2483
|
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
2484
2484
|
status: z.ZodEnum<{
|
|
2485
|
+
refused: "refused";
|
|
2485
2486
|
pending: "pending";
|
|
2486
2487
|
granted: "granted";
|
|
2487
|
-
refused: "refused";
|
|
2488
2488
|
revoked: "revoked";
|
|
2489
2489
|
expired: "expired";
|
|
2490
2490
|
}>;
|
|
@@ -2537,12 +2537,12 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
2537
2537
|
internal: "internal";
|
|
2538
2538
|
}>;
|
|
2539
2539
|
transport: z.ZodOptional<z.ZodEnum<{
|
|
2540
|
-
http: "http";
|
|
2541
|
-
rstream: "rstream";
|
|
2542
2540
|
tls: "tls";
|
|
2543
2541
|
tcp: "tcp";
|
|
2544
2542
|
dtls: "dtls";
|
|
2545
2543
|
quic: "quic";
|
|
2544
|
+
http: "http";
|
|
2545
|
+
rstream: "rstream";
|
|
2546
2546
|
}>>;
|
|
2547
2547
|
}, z.core.$strip>>;
|
|
2548
2548
|
http: z.ZodOptional<z.ZodObject<{
|
|
@@ -2579,8 +2579,8 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
2579
2579
|
}, z.core.$strip>, z.ZodObject<{
|
|
2580
2580
|
kind: z.ZodLiteral<"token">;
|
|
2581
2581
|
source: z.ZodOptional<z.ZodEnum<{
|
|
2582
|
-
query: "query";
|
|
2583
2582
|
unknown: "unknown";
|
|
2583
|
+
query: "query";
|
|
2584
2584
|
authorization: "authorization";
|
|
2585
2585
|
client: "client";
|
|
2586
2586
|
}>>;
|
|
@@ -2606,8 +2606,8 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
2606
2606
|
}, z.core.$strip>, z.ZodObject<{
|
|
2607
2607
|
kind: z.ZodLiteral<"token">;
|
|
2608
2608
|
source: z.ZodOptional<z.ZodEnum<{
|
|
2609
|
-
query: "query";
|
|
2610
2609
|
unknown: "unknown";
|
|
2610
|
+
query: "query";
|
|
2611
2611
|
authorization: "authorization";
|
|
2612
2612
|
client: "client";
|
|
2613
2613
|
}>>;
|
|
@@ -2627,48 +2627,48 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
2627
2627
|
why: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2628
2628
|
reason: z.ZodLiteral<"missing_token">;
|
|
2629
2629
|
source: z.ZodEnum<{
|
|
2630
|
-
query: "query";
|
|
2631
2630
|
unknown: "unknown";
|
|
2631
|
+
query: "query";
|
|
2632
2632
|
authorization: "authorization";
|
|
2633
2633
|
client: "client";
|
|
2634
2634
|
}>;
|
|
2635
2635
|
}, z.core.$strip>, z.ZodObject<{
|
|
2636
2636
|
reason: z.ZodLiteral<"invalid_token">;
|
|
2637
2637
|
source: z.ZodEnum<{
|
|
2638
|
-
query: "query";
|
|
2639
2638
|
unknown: "unknown";
|
|
2639
|
+
query: "query";
|
|
2640
2640
|
authorization: "authorization";
|
|
2641
2641
|
client: "client";
|
|
2642
2642
|
}>;
|
|
2643
2643
|
}, z.core.$strip>, z.ZodObject<{
|
|
2644
2644
|
reason: z.ZodLiteral<"expired_token">;
|
|
2645
2645
|
source: z.ZodEnum<{
|
|
2646
|
-
query: "query";
|
|
2647
2646
|
unknown: "unknown";
|
|
2647
|
+
query: "query";
|
|
2648
2648
|
authorization: "authorization";
|
|
2649
2649
|
client: "client";
|
|
2650
2650
|
}>;
|
|
2651
2651
|
}, z.core.$strip>, z.ZodObject<{
|
|
2652
2652
|
reason: z.ZodLiteral<"invalid_secret">;
|
|
2653
2653
|
source: z.ZodEnum<{
|
|
2654
|
-
query: "query";
|
|
2655
2654
|
unknown: "unknown";
|
|
2655
|
+
query: "query";
|
|
2656
2656
|
authorization: "authorization";
|
|
2657
2657
|
client: "client";
|
|
2658
2658
|
}>;
|
|
2659
2659
|
}, z.core.$strip>, z.ZodObject<{
|
|
2660
2660
|
reason: z.ZodLiteral<"user_mismatch">;
|
|
2661
2661
|
source: z.ZodEnum<{
|
|
2662
|
-
query: "query";
|
|
2663
2662
|
unknown: "unknown";
|
|
2663
|
+
query: "query";
|
|
2664
2664
|
authorization: "authorization";
|
|
2665
2665
|
client: "client";
|
|
2666
2666
|
}>;
|
|
2667
2667
|
}, z.core.$strip>, z.ZodObject<{
|
|
2668
2668
|
reason: z.ZodLiteral<"insufficient_scope">;
|
|
2669
2669
|
source: z.ZodEnum<{
|
|
2670
|
-
query: "query";
|
|
2671
2670
|
unknown: "unknown";
|
|
2671
|
+
query: "query";
|
|
2672
2672
|
authorization: "authorization";
|
|
2673
2673
|
client: "client";
|
|
2674
2674
|
}>;
|
|
@@ -2683,8 +2683,8 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
2683
2683
|
}>;
|
|
2684
2684
|
value: z.ZodOptional<z.ZodString>;
|
|
2685
2685
|
source: z.ZodEnum<{
|
|
2686
|
-
query: "query";
|
|
2687
2686
|
unknown: "unknown";
|
|
2687
|
+
query: "query";
|
|
2688
2688
|
authorization: "authorization";
|
|
2689
2689
|
client: "client";
|
|
2690
2690
|
}>;
|
|
@@ -2764,48 +2764,48 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
2764
2764
|
why: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2765
2765
|
reason: z.ZodLiteral<"missing_token">;
|
|
2766
2766
|
source: z.ZodEnum<{
|
|
2767
|
-
query: "query";
|
|
2768
2767
|
unknown: "unknown";
|
|
2768
|
+
query: "query";
|
|
2769
2769
|
authorization: "authorization";
|
|
2770
2770
|
client: "client";
|
|
2771
2771
|
}>;
|
|
2772
2772
|
}, z.core.$strip>, z.ZodObject<{
|
|
2773
2773
|
reason: z.ZodLiteral<"invalid_token">;
|
|
2774
2774
|
source: z.ZodEnum<{
|
|
2775
|
-
query: "query";
|
|
2776
2775
|
unknown: "unknown";
|
|
2776
|
+
query: "query";
|
|
2777
2777
|
authorization: "authorization";
|
|
2778
2778
|
client: "client";
|
|
2779
2779
|
}>;
|
|
2780
2780
|
}, z.core.$strip>, z.ZodObject<{
|
|
2781
2781
|
reason: z.ZodLiteral<"expired_token">;
|
|
2782
2782
|
source: z.ZodEnum<{
|
|
2783
|
-
query: "query";
|
|
2784
2783
|
unknown: "unknown";
|
|
2784
|
+
query: "query";
|
|
2785
2785
|
authorization: "authorization";
|
|
2786
2786
|
client: "client";
|
|
2787
2787
|
}>;
|
|
2788
2788
|
}, z.core.$strip>, z.ZodObject<{
|
|
2789
2789
|
reason: z.ZodLiteral<"invalid_secret">;
|
|
2790
2790
|
source: z.ZodEnum<{
|
|
2791
|
-
query: "query";
|
|
2792
2791
|
unknown: "unknown";
|
|
2792
|
+
query: "query";
|
|
2793
2793
|
authorization: "authorization";
|
|
2794
2794
|
client: "client";
|
|
2795
2795
|
}>;
|
|
2796
2796
|
}, z.core.$strip>, z.ZodObject<{
|
|
2797
2797
|
reason: z.ZodLiteral<"user_mismatch">;
|
|
2798
2798
|
source: z.ZodEnum<{
|
|
2799
|
-
query: "query";
|
|
2800
2799
|
unknown: "unknown";
|
|
2800
|
+
query: "query";
|
|
2801
2801
|
authorization: "authorization";
|
|
2802
2802
|
client: "client";
|
|
2803
2803
|
}>;
|
|
2804
2804
|
}, z.core.$strip>, z.ZodObject<{
|
|
2805
2805
|
reason: z.ZodLiteral<"insufficient_scope">;
|
|
2806
2806
|
source: z.ZodEnum<{
|
|
2807
|
-
query: "query";
|
|
2808
2807
|
unknown: "unknown";
|
|
2808
|
+
query: "query";
|
|
2809
2809
|
authorization: "authorization";
|
|
2810
2810
|
client: "client";
|
|
2811
2811
|
}>;
|
|
@@ -2820,8 +2820,8 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
2820
2820
|
}>;
|
|
2821
2821
|
value: z.ZodOptional<z.ZodString>;
|
|
2822
2822
|
source: z.ZodEnum<{
|
|
2823
|
-
query: "query";
|
|
2824
2823
|
unknown: "unknown";
|
|
2824
|
+
query: "query";
|
|
2825
2825
|
authorization: "authorization";
|
|
2826
2826
|
client: "client";
|
|
2827
2827
|
}>;
|
|
@@ -2895,9 +2895,9 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
2895
2895
|
webtransport: "webtransport";
|
|
2896
2896
|
}>>;
|
|
2897
2897
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
2898
|
+
api: "api";
|
|
2898
2899
|
human: "human";
|
|
2899
2900
|
codex: "codex";
|
|
2900
|
-
api: "api";
|
|
2901
2901
|
automation: "automation";
|
|
2902
2902
|
ci: "ci";
|
|
2903
2903
|
"scheduled-job": "scheduled-job";
|
|
@@ -2905,8 +2905,8 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
2905
2905
|
origin_id: z.ZodOptional<z.ZodString>;
|
|
2906
2906
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
2907
2907
|
agent: "agent";
|
|
2908
|
-
user: "user";
|
|
2909
2908
|
app: "app";
|
|
2909
|
+
user: "user";
|
|
2910
2910
|
"service-account": "service-account";
|
|
2911
2911
|
}>>;
|
|
2912
2912
|
device_id: z.ZodOptional<z.ZodString>;
|
|
@@ -2943,10 +2943,10 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
2943
2943
|
server: "server";
|
|
2944
2944
|
}>;
|
|
2945
2945
|
reason: z.ZodEnum<{
|
|
2946
|
-
unknown: "unknown";
|
|
2947
2946
|
error: "error";
|
|
2948
|
-
|
|
2947
|
+
unknown: "unknown";
|
|
2949
2948
|
timeout: "timeout";
|
|
2949
|
+
closed: "closed";
|
|
2950
2950
|
reset: "reset";
|
|
2951
2951
|
}>;
|
|
2952
2952
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2974,48 +2974,48 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
2974
2974
|
why: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2975
2975
|
reason: z.ZodLiteral<"missing_token">;
|
|
2976
2976
|
source: z.ZodEnum<{
|
|
2977
|
-
query: "query";
|
|
2978
2977
|
unknown: "unknown";
|
|
2978
|
+
query: "query";
|
|
2979
2979
|
authorization: "authorization";
|
|
2980
2980
|
client: "client";
|
|
2981
2981
|
}>;
|
|
2982
2982
|
}, z.core.$strip>, z.ZodObject<{
|
|
2983
2983
|
reason: z.ZodLiteral<"invalid_token">;
|
|
2984
2984
|
source: z.ZodEnum<{
|
|
2985
|
-
query: "query";
|
|
2986
2985
|
unknown: "unknown";
|
|
2986
|
+
query: "query";
|
|
2987
2987
|
authorization: "authorization";
|
|
2988
2988
|
client: "client";
|
|
2989
2989
|
}>;
|
|
2990
2990
|
}, z.core.$strip>, z.ZodObject<{
|
|
2991
2991
|
reason: z.ZodLiteral<"expired_token">;
|
|
2992
2992
|
source: z.ZodEnum<{
|
|
2993
|
-
query: "query";
|
|
2994
2993
|
unknown: "unknown";
|
|
2994
|
+
query: "query";
|
|
2995
2995
|
authorization: "authorization";
|
|
2996
2996
|
client: "client";
|
|
2997
2997
|
}>;
|
|
2998
2998
|
}, z.core.$strip>, z.ZodObject<{
|
|
2999
2999
|
reason: z.ZodLiteral<"invalid_secret">;
|
|
3000
3000
|
source: z.ZodEnum<{
|
|
3001
|
-
query: "query";
|
|
3002
3001
|
unknown: "unknown";
|
|
3002
|
+
query: "query";
|
|
3003
3003
|
authorization: "authorization";
|
|
3004
3004
|
client: "client";
|
|
3005
3005
|
}>;
|
|
3006
3006
|
}, z.core.$strip>, z.ZodObject<{
|
|
3007
3007
|
reason: z.ZodLiteral<"user_mismatch">;
|
|
3008
3008
|
source: z.ZodEnum<{
|
|
3009
|
-
query: "query";
|
|
3010
3009
|
unknown: "unknown";
|
|
3010
|
+
query: "query";
|
|
3011
3011
|
authorization: "authorization";
|
|
3012
3012
|
client: "client";
|
|
3013
3013
|
}>;
|
|
3014
3014
|
}, z.core.$strip>, z.ZodObject<{
|
|
3015
3015
|
reason: z.ZodLiteral<"insufficient_scope">;
|
|
3016
3016
|
source: z.ZodEnum<{
|
|
3017
|
-
query: "query";
|
|
3018
3017
|
unknown: "unknown";
|
|
3018
|
+
query: "query";
|
|
3019
3019
|
authorization: "authorization";
|
|
3020
3020
|
client: "client";
|
|
3021
3021
|
}>;
|
|
@@ -3030,8 +3030,8 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
3030
3030
|
}>;
|
|
3031
3031
|
value: z.ZodOptional<z.ZodString>;
|
|
3032
3032
|
source: z.ZodEnum<{
|
|
3033
|
-
query: "query";
|
|
3034
3033
|
unknown: "unknown";
|
|
3034
|
+
query: "query";
|
|
3035
3035
|
authorization: "authorization";
|
|
3036
3036
|
client: "client";
|
|
3037
3037
|
}>;
|
|
@@ -3087,10 +3087,10 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
3087
3087
|
server: "server";
|
|
3088
3088
|
}>;
|
|
3089
3089
|
reason: z.ZodEnum<{
|
|
3090
|
-
unknown: "unknown";
|
|
3091
3090
|
error: "error";
|
|
3092
|
-
|
|
3091
|
+
unknown: "unknown";
|
|
3093
3092
|
timeout: "timeout";
|
|
3093
|
+
closed: "closed";
|
|
3094
3094
|
reset: "reset";
|
|
3095
3095
|
}>;
|
|
3096
3096
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -3496,10 +3496,10 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
3496
3496
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
3497
3497
|
group_id: z.ZodOptional<z.ZodString>;
|
|
3498
3498
|
status: z.ZodEnum<{
|
|
3499
|
-
opening: "opening";
|
|
3500
3499
|
active: "active";
|
|
3501
|
-
closing: "closing";
|
|
3502
3500
|
closed: "closed";
|
|
3501
|
+
opening: "opening";
|
|
3502
|
+
closing: "closing";
|
|
3503
3503
|
errored: "errored";
|
|
3504
3504
|
}>;
|
|
3505
3505
|
session_mode: z.ZodEnum<{
|
|
@@ -3527,9 +3527,9 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
3527
3527
|
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
3528
3528
|
context: z.ZodOptional<z.ZodObject<{
|
|
3529
3529
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
3530
|
+
api: "api";
|
|
3530
3531
|
human: "human";
|
|
3531
3532
|
codex: "codex";
|
|
3532
|
-
api: "api";
|
|
3533
3533
|
automation: "automation";
|
|
3534
3534
|
ci: "ci";
|
|
3535
3535
|
"scheduled-job": "scheduled-job";
|
|
@@ -3538,8 +3538,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
3538
3538
|
purpose: z.ZodOptional<z.ZodString>;
|
|
3539
3539
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
3540
3540
|
agent: "agent";
|
|
3541
|
-
user: "user";
|
|
3542
3541
|
app: "app";
|
|
3542
|
+
user: "user";
|
|
3543
3543
|
"service-account": "service-account";
|
|
3544
3544
|
}>>;
|
|
3545
3545
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -3579,10 +3579,10 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
3579
3579
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
3580
3580
|
group_id: z.ZodOptional<z.ZodString>;
|
|
3581
3581
|
status: z.ZodEnum<{
|
|
3582
|
-
opening: "opening";
|
|
3583
3582
|
active: "active";
|
|
3584
|
-
closing: "closing";
|
|
3585
3583
|
closed: "closed";
|
|
3584
|
+
opening: "opening";
|
|
3585
|
+
closing: "closing";
|
|
3586
3586
|
errored: "errored";
|
|
3587
3587
|
}>;
|
|
3588
3588
|
session_mode: z.ZodEnum<{
|
|
@@ -3610,9 +3610,9 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
3610
3610
|
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
3611
3611
|
context: z.ZodOptional<z.ZodObject<{
|
|
3612
3612
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
3613
|
+
api: "api";
|
|
3613
3614
|
human: "human";
|
|
3614
3615
|
codex: "codex";
|
|
3615
|
-
api: "api";
|
|
3616
3616
|
automation: "automation";
|
|
3617
3617
|
ci: "ci";
|
|
3618
3618
|
"scheduled-job": "scheduled-job";
|
|
@@ -3621,8 +3621,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
3621
3621
|
purpose: z.ZodOptional<z.ZodString>;
|
|
3622
3622
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
3623
3623
|
agent: "agent";
|
|
3624
|
-
user: "user";
|
|
3625
3624
|
app: "app";
|
|
3625
|
+
user: "user";
|
|
3626
3626
|
"service-account": "service-account";
|
|
3627
3627
|
}>>;
|
|
3628
3628
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -3649,9 +3649,9 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
3649
3649
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
3650
3650
|
context: z.ZodOptional<z.ZodObject<{
|
|
3651
3651
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
3652
|
+
api: "api";
|
|
3652
3653
|
human: "human";
|
|
3653
3654
|
codex: "codex";
|
|
3654
|
-
api: "api";
|
|
3655
3655
|
automation: "automation";
|
|
3656
3656
|
ci: "ci";
|
|
3657
3657
|
"scheduled-job": "scheduled-job";
|
|
@@ -3660,8 +3660,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
3660
3660
|
purpose: z.ZodOptional<z.ZodString>;
|
|
3661
3661
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
3662
3662
|
agent: "agent";
|
|
3663
|
-
user: "user";
|
|
3664
3663
|
app: "app";
|
|
3664
|
+
user: "user";
|
|
3665
3665
|
"service-account": "service-account";
|
|
3666
3666
|
}>>;
|
|
3667
3667
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -3692,10 +3692,10 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
3692
3692
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
3693
3693
|
group_id: z.ZodOptional<z.ZodString>;
|
|
3694
3694
|
status: z.ZodEnum<{
|
|
3695
|
-
opening: "opening";
|
|
3696
3695
|
active: "active";
|
|
3697
|
-
closing: "closing";
|
|
3698
3696
|
closed: "closed";
|
|
3697
|
+
opening: "opening";
|
|
3698
|
+
closing: "closing";
|
|
3699
3699
|
errored: "errored";
|
|
3700
3700
|
}>;
|
|
3701
3701
|
session_mode: z.ZodEnum<{
|
|
@@ -3723,9 +3723,9 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
3723
3723
|
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
3724
3724
|
context: z.ZodOptional<z.ZodObject<{
|
|
3725
3725
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
3726
|
+
api: "api";
|
|
3726
3727
|
human: "human";
|
|
3727
3728
|
codex: "codex";
|
|
3728
|
-
api: "api";
|
|
3729
3729
|
automation: "automation";
|
|
3730
3730
|
ci: "ci";
|
|
3731
3731
|
"scheduled-job": "scheduled-job";
|
|
@@ -3734,8 +3734,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
3734
3734
|
purpose: z.ZodOptional<z.ZodString>;
|
|
3735
3735
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
3736
3736
|
agent: "agent";
|
|
3737
|
-
user: "user";
|
|
3738
3737
|
app: "app";
|
|
3738
|
+
user: "user";
|
|
3739
3739
|
"service-account": "service-account";
|
|
3740
3740
|
}>>;
|
|
3741
3741
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -3859,9 +3859,9 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
3859
3859
|
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
3860
3860
|
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
3861
3861
|
status: z.ZodEnum<{
|
|
3862
|
+
refused: "refused";
|
|
3862
3863
|
pending: "pending";
|
|
3863
3864
|
granted: "granted";
|
|
3864
|
-
refused: "refused";
|
|
3865
3865
|
revoked: "revoked";
|
|
3866
3866
|
expired: "expired";
|
|
3867
3867
|
}>;
|
|
@@ -3888,9 +3888,9 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
3888
3888
|
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
3889
3889
|
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
3890
3890
|
status: z.ZodEnum<{
|
|
3891
|
+
refused: "refused";
|
|
3891
3892
|
pending: "pending";
|
|
3892
3893
|
granted: "granted";
|
|
3893
|
-
refused: "refused";
|
|
3894
3894
|
revoked: "revoked";
|
|
3895
3895
|
expired: "expired";
|
|
3896
3896
|
}>;
|
|
@@ -3917,9 +3917,9 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
3917
3917
|
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
3918
3918
|
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
3919
3919
|
status: z.ZodEnum<{
|
|
3920
|
+
refused: "refused";
|
|
3920
3921
|
pending: "pending";
|
|
3921
3922
|
granted: "granted";
|
|
3922
|
-
refused: "refused";
|
|
3923
3923
|
revoked: "revoked";
|
|
3924
3924
|
expired: "expired";
|
|
3925
3925
|
}>;
|
|
@@ -3946,9 +3946,9 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
3946
3946
|
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
3947
3947
|
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
3948
3948
|
status: z.ZodEnum<{
|
|
3949
|
+
refused: "refused";
|
|
3949
3950
|
pending: "pending";
|
|
3950
3951
|
granted: "granted";
|
|
3951
|
-
refused: "refused";
|
|
3952
3952
|
revoked: "revoked";
|
|
3953
3953
|
expired: "expired";
|
|
3954
3954
|
}>;
|
|
@@ -4164,10 +4164,10 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4164
4164
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
4165
4165
|
group_id: z.ZodOptional<z.ZodString>;
|
|
4166
4166
|
status: z.ZodEnum<{
|
|
4167
|
-
opening: "opening";
|
|
4168
4167
|
active: "active";
|
|
4169
|
-
closing: "closing";
|
|
4170
4168
|
closed: "closed";
|
|
4169
|
+
opening: "opening";
|
|
4170
|
+
closing: "closing";
|
|
4171
4171
|
errored: "errored";
|
|
4172
4172
|
}>;
|
|
4173
4173
|
session_mode: z.ZodEnum<{
|
|
@@ -4195,9 +4195,9 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4195
4195
|
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
4196
4196
|
context: z.ZodOptional<z.ZodObject<{
|
|
4197
4197
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
4198
|
+
api: "api";
|
|
4198
4199
|
human: "human";
|
|
4199
4200
|
codex: "codex";
|
|
4200
|
-
api: "api";
|
|
4201
4201
|
automation: "automation";
|
|
4202
4202
|
ci: "ci";
|
|
4203
4203
|
"scheduled-job": "scheduled-job";
|
|
@@ -4206,8 +4206,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4206
4206
|
purpose: z.ZodOptional<z.ZodString>;
|
|
4207
4207
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
4208
4208
|
agent: "agent";
|
|
4209
|
-
user: "user";
|
|
4210
4209
|
app: "app";
|
|
4210
|
+
user: "user";
|
|
4211
4211
|
"service-account": "service-account";
|
|
4212
4212
|
}>>;
|
|
4213
4213
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -4247,10 +4247,10 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4247
4247
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
4248
4248
|
group_id: z.ZodOptional<z.ZodString>;
|
|
4249
4249
|
status: z.ZodEnum<{
|
|
4250
|
-
opening: "opening";
|
|
4251
4250
|
active: "active";
|
|
4252
|
-
closing: "closing";
|
|
4253
4251
|
closed: "closed";
|
|
4252
|
+
opening: "opening";
|
|
4253
|
+
closing: "closing";
|
|
4254
4254
|
errored: "errored";
|
|
4255
4255
|
}>;
|
|
4256
4256
|
session_mode: z.ZodEnum<{
|
|
@@ -4278,9 +4278,9 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4278
4278
|
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
4279
4279
|
context: z.ZodOptional<z.ZodObject<{
|
|
4280
4280
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
4281
|
+
api: "api";
|
|
4281
4282
|
human: "human";
|
|
4282
4283
|
codex: "codex";
|
|
4283
|
-
api: "api";
|
|
4284
4284
|
automation: "automation";
|
|
4285
4285
|
ci: "ci";
|
|
4286
4286
|
"scheduled-job": "scheduled-job";
|
|
@@ -4289,8 +4289,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4289
4289
|
purpose: z.ZodOptional<z.ZodString>;
|
|
4290
4290
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
4291
4291
|
agent: "agent";
|
|
4292
|
-
user: "user";
|
|
4293
4292
|
app: "app";
|
|
4293
|
+
user: "user";
|
|
4294
4294
|
"service-account": "service-account";
|
|
4295
4295
|
}>>;
|
|
4296
4296
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -4317,9 +4317,9 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4317
4317
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
4318
4318
|
context: z.ZodOptional<z.ZodObject<{
|
|
4319
4319
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
4320
|
+
api: "api";
|
|
4320
4321
|
human: "human";
|
|
4321
4322
|
codex: "codex";
|
|
4322
|
-
api: "api";
|
|
4323
4323
|
automation: "automation";
|
|
4324
4324
|
ci: "ci";
|
|
4325
4325
|
"scheduled-job": "scheduled-job";
|
|
@@ -4328,8 +4328,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4328
4328
|
purpose: z.ZodOptional<z.ZodString>;
|
|
4329
4329
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
4330
4330
|
agent: "agent";
|
|
4331
|
-
user: "user";
|
|
4332
4331
|
app: "app";
|
|
4332
|
+
user: "user";
|
|
4333
4333
|
"service-account": "service-account";
|
|
4334
4334
|
}>>;
|
|
4335
4335
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -4360,10 +4360,10 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4360
4360
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
4361
4361
|
group_id: z.ZodOptional<z.ZodString>;
|
|
4362
4362
|
status: z.ZodEnum<{
|
|
4363
|
-
opening: "opening";
|
|
4364
4363
|
active: "active";
|
|
4365
|
-
closing: "closing";
|
|
4366
4364
|
closed: "closed";
|
|
4365
|
+
opening: "opening";
|
|
4366
|
+
closing: "closing";
|
|
4367
4367
|
errored: "errored";
|
|
4368
4368
|
}>;
|
|
4369
4369
|
session_mode: z.ZodEnum<{
|
|
@@ -4391,9 +4391,9 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4391
4391
|
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
4392
4392
|
context: z.ZodOptional<z.ZodObject<{
|
|
4393
4393
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
4394
|
+
api: "api";
|
|
4394
4395
|
human: "human";
|
|
4395
4396
|
codex: "codex";
|
|
4396
|
-
api: "api";
|
|
4397
4397
|
automation: "automation";
|
|
4398
4398
|
ci: "ci";
|
|
4399
4399
|
"scheduled-job": "scheduled-job";
|
|
@@ -4402,8 +4402,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4402
4402
|
purpose: z.ZodOptional<z.ZodString>;
|
|
4403
4403
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
4404
4404
|
agent: "agent";
|
|
4405
|
-
user: "user";
|
|
4406
4405
|
app: "app";
|
|
4406
|
+
user: "user";
|
|
4407
4407
|
"service-account": "service-account";
|
|
4408
4408
|
}>>;
|
|
4409
4409
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -4527,9 +4527,9 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4527
4527
|
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
4528
4528
|
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
4529
4529
|
status: z.ZodEnum<{
|
|
4530
|
+
refused: "refused";
|
|
4530
4531
|
pending: "pending";
|
|
4531
4532
|
granted: "granted";
|
|
4532
|
-
refused: "refused";
|
|
4533
4533
|
revoked: "revoked";
|
|
4534
4534
|
expired: "expired";
|
|
4535
4535
|
}>;
|
|
@@ -4556,9 +4556,9 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4556
4556
|
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
4557
4557
|
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
4558
4558
|
status: z.ZodEnum<{
|
|
4559
|
+
refused: "refused";
|
|
4559
4560
|
pending: "pending";
|
|
4560
4561
|
granted: "granted";
|
|
4561
|
-
refused: "refused";
|
|
4562
4562
|
revoked: "revoked";
|
|
4563
4563
|
expired: "expired";
|
|
4564
4564
|
}>;
|
|
@@ -4585,9 +4585,9 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4585
4585
|
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
4586
4586
|
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
4587
4587
|
status: z.ZodEnum<{
|
|
4588
|
+
refused: "refused";
|
|
4588
4589
|
pending: "pending";
|
|
4589
4590
|
granted: "granted";
|
|
4590
|
-
refused: "refused";
|
|
4591
4591
|
revoked: "revoked";
|
|
4592
4592
|
expired: "expired";
|
|
4593
4593
|
}>;
|
|
@@ -4614,9 +4614,9 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4614
4614
|
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
4615
4615
|
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
4616
4616
|
status: z.ZodEnum<{
|
|
4617
|
+
refused: "refused";
|
|
4617
4618
|
pending: "pending";
|
|
4618
4619
|
granted: "granted";
|
|
4619
|
-
refused: "refused";
|
|
4620
4620
|
revoked: "revoked";
|
|
4621
4621
|
expired: "expired";
|
|
4622
4622
|
}>;
|
|
@@ -4668,12 +4668,12 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4668
4668
|
internal: "internal";
|
|
4669
4669
|
}>;
|
|
4670
4670
|
transport: z.ZodOptional<z.ZodEnum<{
|
|
4671
|
-
http: "http";
|
|
4672
|
-
rstream: "rstream";
|
|
4673
4671
|
tls: "tls";
|
|
4674
4672
|
tcp: "tcp";
|
|
4675
4673
|
dtls: "dtls";
|
|
4676
4674
|
quic: "quic";
|
|
4675
|
+
http: "http";
|
|
4676
|
+
rstream: "rstream";
|
|
4677
4677
|
}>>;
|
|
4678
4678
|
}, z.core.$strip>>;
|
|
4679
4679
|
http: z.ZodOptional<z.ZodObject<{
|
|
@@ -4710,8 +4710,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4710
4710
|
}, z.core.$strip>, z.ZodObject<{
|
|
4711
4711
|
kind: z.ZodLiteral<"token">;
|
|
4712
4712
|
source: z.ZodOptional<z.ZodEnum<{
|
|
4713
|
-
query: "query";
|
|
4714
4713
|
unknown: "unknown";
|
|
4714
|
+
query: "query";
|
|
4715
4715
|
authorization: "authorization";
|
|
4716
4716
|
client: "client";
|
|
4717
4717
|
}>>;
|
|
@@ -4737,8 +4737,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4737
4737
|
}, z.core.$strip>, z.ZodObject<{
|
|
4738
4738
|
kind: z.ZodLiteral<"token">;
|
|
4739
4739
|
source: z.ZodOptional<z.ZodEnum<{
|
|
4740
|
-
query: "query";
|
|
4741
4740
|
unknown: "unknown";
|
|
4741
|
+
query: "query";
|
|
4742
4742
|
authorization: "authorization";
|
|
4743
4743
|
client: "client";
|
|
4744
4744
|
}>>;
|
|
@@ -4758,48 +4758,48 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4758
4758
|
why: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4759
4759
|
reason: z.ZodLiteral<"missing_token">;
|
|
4760
4760
|
source: z.ZodEnum<{
|
|
4761
|
-
query: "query";
|
|
4762
4761
|
unknown: "unknown";
|
|
4762
|
+
query: "query";
|
|
4763
4763
|
authorization: "authorization";
|
|
4764
4764
|
client: "client";
|
|
4765
4765
|
}>;
|
|
4766
4766
|
}, z.core.$strip>, z.ZodObject<{
|
|
4767
4767
|
reason: z.ZodLiteral<"invalid_token">;
|
|
4768
4768
|
source: z.ZodEnum<{
|
|
4769
|
-
query: "query";
|
|
4770
4769
|
unknown: "unknown";
|
|
4770
|
+
query: "query";
|
|
4771
4771
|
authorization: "authorization";
|
|
4772
4772
|
client: "client";
|
|
4773
4773
|
}>;
|
|
4774
4774
|
}, z.core.$strip>, z.ZodObject<{
|
|
4775
4775
|
reason: z.ZodLiteral<"expired_token">;
|
|
4776
4776
|
source: z.ZodEnum<{
|
|
4777
|
-
query: "query";
|
|
4778
4777
|
unknown: "unknown";
|
|
4778
|
+
query: "query";
|
|
4779
4779
|
authorization: "authorization";
|
|
4780
4780
|
client: "client";
|
|
4781
4781
|
}>;
|
|
4782
4782
|
}, z.core.$strip>, z.ZodObject<{
|
|
4783
4783
|
reason: z.ZodLiteral<"invalid_secret">;
|
|
4784
4784
|
source: z.ZodEnum<{
|
|
4785
|
-
query: "query";
|
|
4786
4785
|
unknown: "unknown";
|
|
4786
|
+
query: "query";
|
|
4787
4787
|
authorization: "authorization";
|
|
4788
4788
|
client: "client";
|
|
4789
4789
|
}>;
|
|
4790
4790
|
}, z.core.$strip>, z.ZodObject<{
|
|
4791
4791
|
reason: z.ZodLiteral<"user_mismatch">;
|
|
4792
4792
|
source: z.ZodEnum<{
|
|
4793
|
-
query: "query";
|
|
4794
4793
|
unknown: "unknown";
|
|
4794
|
+
query: "query";
|
|
4795
4795
|
authorization: "authorization";
|
|
4796
4796
|
client: "client";
|
|
4797
4797
|
}>;
|
|
4798
4798
|
}, z.core.$strip>, z.ZodObject<{
|
|
4799
4799
|
reason: z.ZodLiteral<"insufficient_scope">;
|
|
4800
4800
|
source: z.ZodEnum<{
|
|
4801
|
-
query: "query";
|
|
4802
4801
|
unknown: "unknown";
|
|
4802
|
+
query: "query";
|
|
4803
4803
|
authorization: "authorization";
|
|
4804
4804
|
client: "client";
|
|
4805
4805
|
}>;
|
|
@@ -4814,8 +4814,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4814
4814
|
}>;
|
|
4815
4815
|
value: z.ZodOptional<z.ZodString>;
|
|
4816
4816
|
source: z.ZodEnum<{
|
|
4817
|
-
query: "query";
|
|
4818
4817
|
unknown: "unknown";
|
|
4818
|
+
query: "query";
|
|
4819
4819
|
authorization: "authorization";
|
|
4820
4820
|
client: "client";
|
|
4821
4821
|
}>;
|
|
@@ -4895,48 +4895,48 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4895
4895
|
why: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4896
4896
|
reason: z.ZodLiteral<"missing_token">;
|
|
4897
4897
|
source: z.ZodEnum<{
|
|
4898
|
-
query: "query";
|
|
4899
4898
|
unknown: "unknown";
|
|
4899
|
+
query: "query";
|
|
4900
4900
|
authorization: "authorization";
|
|
4901
4901
|
client: "client";
|
|
4902
4902
|
}>;
|
|
4903
4903
|
}, z.core.$strip>, z.ZodObject<{
|
|
4904
4904
|
reason: z.ZodLiteral<"invalid_token">;
|
|
4905
4905
|
source: z.ZodEnum<{
|
|
4906
|
-
query: "query";
|
|
4907
4906
|
unknown: "unknown";
|
|
4907
|
+
query: "query";
|
|
4908
4908
|
authorization: "authorization";
|
|
4909
4909
|
client: "client";
|
|
4910
4910
|
}>;
|
|
4911
4911
|
}, z.core.$strip>, z.ZodObject<{
|
|
4912
4912
|
reason: z.ZodLiteral<"expired_token">;
|
|
4913
4913
|
source: z.ZodEnum<{
|
|
4914
|
-
query: "query";
|
|
4915
4914
|
unknown: "unknown";
|
|
4915
|
+
query: "query";
|
|
4916
4916
|
authorization: "authorization";
|
|
4917
4917
|
client: "client";
|
|
4918
4918
|
}>;
|
|
4919
4919
|
}, z.core.$strip>, z.ZodObject<{
|
|
4920
4920
|
reason: z.ZodLiteral<"invalid_secret">;
|
|
4921
4921
|
source: z.ZodEnum<{
|
|
4922
|
-
query: "query";
|
|
4923
4922
|
unknown: "unknown";
|
|
4923
|
+
query: "query";
|
|
4924
4924
|
authorization: "authorization";
|
|
4925
4925
|
client: "client";
|
|
4926
4926
|
}>;
|
|
4927
4927
|
}, z.core.$strip>, z.ZodObject<{
|
|
4928
4928
|
reason: z.ZodLiteral<"user_mismatch">;
|
|
4929
4929
|
source: z.ZodEnum<{
|
|
4930
|
-
query: "query";
|
|
4931
4930
|
unknown: "unknown";
|
|
4931
|
+
query: "query";
|
|
4932
4932
|
authorization: "authorization";
|
|
4933
4933
|
client: "client";
|
|
4934
4934
|
}>;
|
|
4935
4935
|
}, z.core.$strip>, z.ZodObject<{
|
|
4936
4936
|
reason: z.ZodLiteral<"insufficient_scope">;
|
|
4937
4937
|
source: z.ZodEnum<{
|
|
4938
|
-
query: "query";
|
|
4939
4938
|
unknown: "unknown";
|
|
4939
|
+
query: "query";
|
|
4940
4940
|
authorization: "authorization";
|
|
4941
4941
|
client: "client";
|
|
4942
4942
|
}>;
|
|
@@ -4951,8 +4951,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4951
4951
|
}>;
|
|
4952
4952
|
value: z.ZodOptional<z.ZodString>;
|
|
4953
4953
|
source: z.ZodEnum<{
|
|
4954
|
-
query: "query";
|
|
4955
4954
|
unknown: "unknown";
|
|
4955
|
+
query: "query";
|
|
4956
4956
|
authorization: "authorization";
|
|
4957
4957
|
client: "client";
|
|
4958
4958
|
}>;
|
|
@@ -5026,9 +5026,9 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
5026
5026
|
webtransport: "webtransport";
|
|
5027
5027
|
}>>;
|
|
5028
5028
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
5029
|
+
api: "api";
|
|
5029
5030
|
human: "human";
|
|
5030
5031
|
codex: "codex";
|
|
5031
|
-
api: "api";
|
|
5032
5032
|
automation: "automation";
|
|
5033
5033
|
ci: "ci";
|
|
5034
5034
|
"scheduled-job": "scheduled-job";
|
|
@@ -5036,8 +5036,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
5036
5036
|
origin_id: z.ZodOptional<z.ZodString>;
|
|
5037
5037
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
5038
5038
|
agent: "agent";
|
|
5039
|
-
user: "user";
|
|
5040
5039
|
app: "app";
|
|
5040
|
+
user: "user";
|
|
5041
5041
|
"service-account": "service-account";
|
|
5042
5042
|
}>>;
|
|
5043
5043
|
device_id: z.ZodOptional<z.ZodString>;
|
|
@@ -5074,10 +5074,10 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
5074
5074
|
server: "server";
|
|
5075
5075
|
}>;
|
|
5076
5076
|
reason: z.ZodEnum<{
|
|
5077
|
-
unknown: "unknown";
|
|
5078
5077
|
error: "error";
|
|
5079
|
-
|
|
5078
|
+
unknown: "unknown";
|
|
5080
5079
|
timeout: "timeout";
|
|
5080
|
+
closed: "closed";
|
|
5081
5081
|
reset: "reset";
|
|
5082
5082
|
}>;
|
|
5083
5083
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -5105,48 +5105,48 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
5105
5105
|
why: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5106
5106
|
reason: z.ZodLiteral<"missing_token">;
|
|
5107
5107
|
source: z.ZodEnum<{
|
|
5108
|
-
query: "query";
|
|
5109
5108
|
unknown: "unknown";
|
|
5109
|
+
query: "query";
|
|
5110
5110
|
authorization: "authorization";
|
|
5111
5111
|
client: "client";
|
|
5112
5112
|
}>;
|
|
5113
5113
|
}, z.core.$strip>, z.ZodObject<{
|
|
5114
5114
|
reason: z.ZodLiteral<"invalid_token">;
|
|
5115
5115
|
source: z.ZodEnum<{
|
|
5116
|
-
query: "query";
|
|
5117
5116
|
unknown: "unknown";
|
|
5117
|
+
query: "query";
|
|
5118
5118
|
authorization: "authorization";
|
|
5119
5119
|
client: "client";
|
|
5120
5120
|
}>;
|
|
5121
5121
|
}, z.core.$strip>, z.ZodObject<{
|
|
5122
5122
|
reason: z.ZodLiteral<"expired_token">;
|
|
5123
5123
|
source: z.ZodEnum<{
|
|
5124
|
-
query: "query";
|
|
5125
5124
|
unknown: "unknown";
|
|
5125
|
+
query: "query";
|
|
5126
5126
|
authorization: "authorization";
|
|
5127
5127
|
client: "client";
|
|
5128
5128
|
}>;
|
|
5129
5129
|
}, z.core.$strip>, z.ZodObject<{
|
|
5130
5130
|
reason: z.ZodLiteral<"invalid_secret">;
|
|
5131
5131
|
source: z.ZodEnum<{
|
|
5132
|
-
query: "query";
|
|
5133
5132
|
unknown: "unknown";
|
|
5133
|
+
query: "query";
|
|
5134
5134
|
authorization: "authorization";
|
|
5135
5135
|
client: "client";
|
|
5136
5136
|
}>;
|
|
5137
5137
|
}, z.core.$strip>, z.ZodObject<{
|
|
5138
5138
|
reason: z.ZodLiteral<"user_mismatch">;
|
|
5139
5139
|
source: z.ZodEnum<{
|
|
5140
|
-
query: "query";
|
|
5141
5140
|
unknown: "unknown";
|
|
5141
|
+
query: "query";
|
|
5142
5142
|
authorization: "authorization";
|
|
5143
5143
|
client: "client";
|
|
5144
5144
|
}>;
|
|
5145
5145
|
}, z.core.$strip>, z.ZodObject<{
|
|
5146
5146
|
reason: z.ZodLiteral<"insufficient_scope">;
|
|
5147
5147
|
source: z.ZodEnum<{
|
|
5148
|
-
query: "query";
|
|
5149
5148
|
unknown: "unknown";
|
|
5149
|
+
query: "query";
|
|
5150
5150
|
authorization: "authorization";
|
|
5151
5151
|
client: "client";
|
|
5152
5152
|
}>;
|
|
@@ -5161,8 +5161,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
5161
5161
|
}>;
|
|
5162
5162
|
value: z.ZodOptional<z.ZodString>;
|
|
5163
5163
|
source: z.ZodEnum<{
|
|
5164
|
-
query: "query";
|
|
5165
5164
|
unknown: "unknown";
|
|
5165
|
+
query: "query";
|
|
5166
5166
|
authorization: "authorization";
|
|
5167
5167
|
client: "client";
|
|
5168
5168
|
}>;
|
|
@@ -5218,10 +5218,10 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
5218
5218
|
server: "server";
|
|
5219
5219
|
}>;
|
|
5220
5220
|
reason: z.ZodEnum<{
|
|
5221
|
-
unknown: "unknown";
|
|
5222
5221
|
error: "error";
|
|
5223
|
-
|
|
5222
|
+
unknown: "unknown";
|
|
5224
5223
|
timeout: "timeout";
|
|
5224
|
+
closed: "closed";
|
|
5225
5225
|
reset: "reset";
|
|
5226
5226
|
}>;
|
|
5227
5227
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -5293,9 +5293,9 @@ declare const webTTYSessionModeSchema: z.ZodEnum<{
|
|
|
5293
5293
|
"non-interactive": "non-interactive";
|
|
5294
5294
|
}>;
|
|
5295
5295
|
declare const webTTYOriginSchema: z.ZodEnum<{
|
|
5296
|
+
api: "api";
|
|
5296
5297
|
human: "human";
|
|
5297
5298
|
codex: "codex";
|
|
5298
|
-
api: "api";
|
|
5299
5299
|
automation: "automation";
|
|
5300
5300
|
ci: "ci";
|
|
5301
5301
|
"scheduled-job": "scheduled-job";
|
|
@@ -5306,9 +5306,9 @@ declare const webTTYParticipantRoleSchema: z.ZodEnum<{
|
|
|
5306
5306
|
}>;
|
|
5307
5307
|
declare const webTTYContextMetadataSchema: z.ZodObject<{
|
|
5308
5308
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
5309
|
+
api: "api";
|
|
5309
5310
|
human: "human";
|
|
5310
5311
|
codex: "codex";
|
|
5311
|
-
api: "api";
|
|
5312
5312
|
automation: "automation";
|
|
5313
5313
|
ci: "ci";
|
|
5314
5314
|
"scheduled-job": "scheduled-job";
|
|
@@ -5317,8 +5317,8 @@ declare const webTTYContextMetadataSchema: z.ZodObject<{
|
|
|
5317
5317
|
purpose: z.ZodOptional<z.ZodString>;
|
|
5318
5318
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
5319
5319
|
agent: "agent";
|
|
5320
|
-
user: "user";
|
|
5321
5320
|
app: "app";
|
|
5321
|
+
user: "user";
|
|
5322
5322
|
"service-account": "service-account";
|
|
5323
5323
|
}>>;
|
|
5324
5324
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -5373,10 +5373,10 @@ declare const webTTYSessionSchema: z.ZodObject<{
|
|
|
5373
5373
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
5374
5374
|
group_id: z.ZodOptional<z.ZodString>;
|
|
5375
5375
|
status: z.ZodEnum<{
|
|
5376
|
-
opening: "opening";
|
|
5377
5376
|
active: "active";
|
|
5378
|
-
closing: "closing";
|
|
5379
5377
|
closed: "closed";
|
|
5378
|
+
opening: "opening";
|
|
5379
|
+
closing: "closing";
|
|
5380
5380
|
errored: "errored";
|
|
5381
5381
|
}>;
|
|
5382
5382
|
session_mode: z.ZodEnum<{
|
|
@@ -5404,9 +5404,9 @@ declare const webTTYSessionSchema: z.ZodObject<{
|
|
|
5404
5404
|
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
5405
5405
|
context: z.ZodOptional<z.ZodObject<{
|
|
5406
5406
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
5407
|
+
api: "api";
|
|
5407
5408
|
human: "human";
|
|
5408
5409
|
codex: "codex";
|
|
5409
|
-
api: "api";
|
|
5410
5410
|
automation: "automation";
|
|
5411
5411
|
ci: "ci";
|
|
5412
5412
|
"scheduled-job": "scheduled-job";
|
|
@@ -5415,8 +5415,8 @@ declare const webTTYSessionSchema: z.ZodObject<{
|
|
|
5415
5415
|
purpose: z.ZodOptional<z.ZodString>;
|
|
5416
5416
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
5417
5417
|
agent: "agent";
|
|
5418
|
-
user: "user";
|
|
5419
5418
|
app: "app";
|
|
5419
|
+
user: "user";
|
|
5420
5420
|
"service-account": "service-account";
|
|
5421
5421
|
}>>;
|
|
5422
5422
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -5444,9 +5444,9 @@ declare const webTTYSessionGroupSchema: z.ZodObject<{
|
|
|
5444
5444
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
5445
5445
|
context: z.ZodOptional<z.ZodObject<{
|
|
5446
5446
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
5447
|
+
api: "api";
|
|
5447
5448
|
human: "human";
|
|
5448
5449
|
codex: "codex";
|
|
5449
|
-
api: "api";
|
|
5450
5450
|
automation: "automation";
|
|
5451
5451
|
ci: "ci";
|
|
5452
5452
|
"scheduled-job": "scheduled-job";
|
|
@@ -5455,8 +5455,8 @@ declare const webTTYSessionGroupSchema: z.ZodObject<{
|
|
|
5455
5455
|
purpose: z.ZodOptional<z.ZodString>;
|
|
5456
5456
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
5457
5457
|
agent: "agent";
|
|
5458
|
-
user: "user";
|
|
5459
5458
|
app: "app";
|
|
5459
|
+
user: "user";
|
|
5460
5460
|
"service-account": "service-account";
|
|
5461
5461
|
}>>;
|
|
5462
5462
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -5586,9 +5586,9 @@ declare const webTTYControlRequestSchema: z.ZodObject<{
|
|
|
5586
5586
|
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
5587
5587
|
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
5588
5588
|
status: z.ZodEnum<{
|
|
5589
|
+
refused: "refused";
|
|
5589
5590
|
pending: "pending";
|
|
5590
5591
|
granted: "granted";
|
|
5591
|
-
refused: "refused";
|
|
5592
5592
|
revoked: "revoked";
|
|
5593
5593
|
expired: "expired";
|
|
5594
5594
|
}>;
|
|
@@ -5607,18 +5607,18 @@ declare const listWebTTYSessionsParamsSchema: z.ZodObject<{
|
|
|
5607
5607
|
user_id: z.ZodOptional<z.ZodString>;
|
|
5608
5608
|
group_id: z.ZodOptional<z.ZodString>;
|
|
5609
5609
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
5610
|
+
api: "api";
|
|
5610
5611
|
human: "human";
|
|
5611
5612
|
codex: "codex";
|
|
5612
|
-
api: "api";
|
|
5613
5613
|
automation: "automation";
|
|
5614
5614
|
ci: "ci";
|
|
5615
5615
|
"scheduled-job": "scheduled-job";
|
|
5616
5616
|
}>>;
|
|
5617
5617
|
status: z.ZodOptional<z.ZodEnum<{
|
|
5618
|
-
opening: "opening";
|
|
5619
5618
|
active: "active";
|
|
5620
|
-
closing: "closing";
|
|
5621
5619
|
closed: "closed";
|
|
5620
|
+
opening: "opening";
|
|
5621
|
+
closing: "closing";
|
|
5622
5622
|
errored: "errored";
|
|
5623
5623
|
}>>;
|
|
5624
5624
|
started_from: z.ZodOptional<z.ZodString>;
|
|
@@ -5630,9 +5630,9 @@ declare const listWebTTYSessionGroupsParamsSchema: z.ZodObject<{
|
|
|
5630
5630
|
filters: z.ZodOptional<z.ZodObject<{
|
|
5631
5631
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
5632
5632
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
5633
|
+
api: "api";
|
|
5633
5634
|
human: "human";
|
|
5634
5635
|
codex: "codex";
|
|
5635
|
-
api: "api";
|
|
5636
5636
|
automation: "automation";
|
|
5637
5637
|
ci: "ci";
|
|
5638
5638
|
"scheduled-job": "scheduled-job";
|
|
@@ -5653,9 +5653,9 @@ declare const listWebTTYControlRequestsParamsSchema: z.ZodObject<{
|
|
|
5653
5653
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
5654
5654
|
filters: z.ZodOptional<z.ZodObject<{
|
|
5655
5655
|
status: z.ZodOptional<z.ZodEnum<{
|
|
5656
|
+
refused: "refused";
|
|
5656
5657
|
pending: "pending";
|
|
5657
5658
|
granted: "granted";
|
|
5658
|
-
refused: "refused";
|
|
5659
5659
|
revoked: "revoked";
|
|
5660
5660
|
expired: "expired";
|
|
5661
5661
|
}>>;
|
|
@@ -5863,12 +5863,12 @@ declare const streamEntrySchema: z.ZodObject<{
|
|
|
5863
5863
|
internal: "internal";
|
|
5864
5864
|
}>;
|
|
5865
5865
|
transport: z.ZodOptional<z.ZodEnum<{
|
|
5866
|
-
http: "http";
|
|
5867
|
-
rstream: "rstream";
|
|
5868
5866
|
tls: "tls";
|
|
5869
5867
|
tcp: "tcp";
|
|
5870
5868
|
dtls: "dtls";
|
|
5871
5869
|
quic: "quic";
|
|
5870
|
+
http: "http";
|
|
5871
|
+
rstream: "rstream";
|
|
5872
5872
|
}>>;
|
|
5873
5873
|
}, z.core.$strip>;
|
|
5874
5874
|
declare const streamWebTTYMetadataSchema: z.ZodObject<{
|
|
@@ -5914,9 +5914,9 @@ declare const streamWebTTYMetadataSchema: z.ZodObject<{
|
|
|
5914
5914
|
webtransport: "webtransport";
|
|
5915
5915
|
}>>;
|
|
5916
5916
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
5917
|
+
api: "api";
|
|
5917
5918
|
human: "human";
|
|
5918
5919
|
codex: "codex";
|
|
5919
|
-
api: "api";
|
|
5920
5920
|
automation: "automation";
|
|
5921
5921
|
ci: "ci";
|
|
5922
5922
|
"scheduled-job": "scheduled-job";
|
|
@@ -5924,8 +5924,8 @@ declare const streamWebTTYMetadataSchema: z.ZodObject<{
|
|
|
5924
5924
|
origin_id: z.ZodOptional<z.ZodString>;
|
|
5925
5925
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
5926
5926
|
agent: "agent";
|
|
5927
|
-
user: "user";
|
|
5928
5927
|
app: "app";
|
|
5928
|
+
user: "user";
|
|
5929
5929
|
"service-account": "service-account";
|
|
5930
5930
|
}>>;
|
|
5931
5931
|
device_id: z.ZodOptional<z.ZodString>;
|
|
@@ -5964,12 +5964,12 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
5964
5964
|
internal: "internal";
|
|
5965
5965
|
}>;
|
|
5966
5966
|
transport: z.ZodOptional<z.ZodEnum<{
|
|
5967
|
-
http: "http";
|
|
5968
|
-
rstream: "rstream";
|
|
5969
5967
|
tls: "tls";
|
|
5970
5968
|
tcp: "tcp";
|
|
5971
5969
|
dtls: "dtls";
|
|
5972
5970
|
quic: "quic";
|
|
5971
|
+
http: "http";
|
|
5972
|
+
rstream: "rstream";
|
|
5973
5973
|
}>>;
|
|
5974
5974
|
}, z.core.$strip>>;
|
|
5975
5975
|
http: z.ZodOptional<z.ZodObject<{
|
|
@@ -6006,8 +6006,8 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
6006
6006
|
}, z.core.$strip>, z.ZodObject<{
|
|
6007
6007
|
kind: z.ZodLiteral<"token">;
|
|
6008
6008
|
source: z.ZodOptional<z.ZodEnum<{
|
|
6009
|
-
query: "query";
|
|
6010
6009
|
unknown: "unknown";
|
|
6010
|
+
query: "query";
|
|
6011
6011
|
authorization: "authorization";
|
|
6012
6012
|
client: "client";
|
|
6013
6013
|
}>>;
|
|
@@ -6033,8 +6033,8 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
6033
6033
|
}, z.core.$strip>, z.ZodObject<{
|
|
6034
6034
|
kind: z.ZodLiteral<"token">;
|
|
6035
6035
|
source: z.ZodOptional<z.ZodEnum<{
|
|
6036
|
-
query: "query";
|
|
6037
6036
|
unknown: "unknown";
|
|
6037
|
+
query: "query";
|
|
6038
6038
|
authorization: "authorization";
|
|
6039
6039
|
client: "client";
|
|
6040
6040
|
}>>;
|
|
@@ -6054,48 +6054,48 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
6054
6054
|
why: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6055
6055
|
reason: z.ZodLiteral<"missing_token">;
|
|
6056
6056
|
source: z.ZodEnum<{
|
|
6057
|
-
query: "query";
|
|
6058
6057
|
unknown: "unknown";
|
|
6058
|
+
query: "query";
|
|
6059
6059
|
authorization: "authorization";
|
|
6060
6060
|
client: "client";
|
|
6061
6061
|
}>;
|
|
6062
6062
|
}, z.core.$strip>, z.ZodObject<{
|
|
6063
6063
|
reason: z.ZodLiteral<"invalid_token">;
|
|
6064
6064
|
source: z.ZodEnum<{
|
|
6065
|
-
query: "query";
|
|
6066
6065
|
unknown: "unknown";
|
|
6066
|
+
query: "query";
|
|
6067
6067
|
authorization: "authorization";
|
|
6068
6068
|
client: "client";
|
|
6069
6069
|
}>;
|
|
6070
6070
|
}, z.core.$strip>, z.ZodObject<{
|
|
6071
6071
|
reason: z.ZodLiteral<"expired_token">;
|
|
6072
6072
|
source: z.ZodEnum<{
|
|
6073
|
-
query: "query";
|
|
6074
6073
|
unknown: "unknown";
|
|
6074
|
+
query: "query";
|
|
6075
6075
|
authorization: "authorization";
|
|
6076
6076
|
client: "client";
|
|
6077
6077
|
}>;
|
|
6078
6078
|
}, z.core.$strip>, z.ZodObject<{
|
|
6079
6079
|
reason: z.ZodLiteral<"invalid_secret">;
|
|
6080
6080
|
source: z.ZodEnum<{
|
|
6081
|
-
query: "query";
|
|
6082
6081
|
unknown: "unknown";
|
|
6082
|
+
query: "query";
|
|
6083
6083
|
authorization: "authorization";
|
|
6084
6084
|
client: "client";
|
|
6085
6085
|
}>;
|
|
6086
6086
|
}, z.core.$strip>, z.ZodObject<{
|
|
6087
6087
|
reason: z.ZodLiteral<"user_mismatch">;
|
|
6088
6088
|
source: z.ZodEnum<{
|
|
6089
|
-
query: "query";
|
|
6090
6089
|
unknown: "unknown";
|
|
6090
|
+
query: "query";
|
|
6091
6091
|
authorization: "authorization";
|
|
6092
6092
|
client: "client";
|
|
6093
6093
|
}>;
|
|
6094
6094
|
}, z.core.$strip>, z.ZodObject<{
|
|
6095
6095
|
reason: z.ZodLiteral<"insufficient_scope">;
|
|
6096
6096
|
source: z.ZodEnum<{
|
|
6097
|
-
query: "query";
|
|
6098
6097
|
unknown: "unknown";
|
|
6098
|
+
query: "query";
|
|
6099
6099
|
authorization: "authorization";
|
|
6100
6100
|
client: "client";
|
|
6101
6101
|
}>;
|
|
@@ -6110,8 +6110,8 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
6110
6110
|
}>;
|
|
6111
6111
|
value: z.ZodOptional<z.ZodString>;
|
|
6112
6112
|
source: z.ZodEnum<{
|
|
6113
|
-
query: "query";
|
|
6114
6113
|
unknown: "unknown";
|
|
6114
|
+
query: "query";
|
|
6115
6115
|
authorization: "authorization";
|
|
6116
6116
|
client: "client";
|
|
6117
6117
|
}>;
|
|
@@ -6191,48 +6191,48 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
6191
6191
|
why: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6192
6192
|
reason: z.ZodLiteral<"missing_token">;
|
|
6193
6193
|
source: z.ZodEnum<{
|
|
6194
|
-
query: "query";
|
|
6195
6194
|
unknown: "unknown";
|
|
6195
|
+
query: "query";
|
|
6196
6196
|
authorization: "authorization";
|
|
6197
6197
|
client: "client";
|
|
6198
6198
|
}>;
|
|
6199
6199
|
}, z.core.$strip>, z.ZodObject<{
|
|
6200
6200
|
reason: z.ZodLiteral<"invalid_token">;
|
|
6201
6201
|
source: z.ZodEnum<{
|
|
6202
|
-
query: "query";
|
|
6203
6202
|
unknown: "unknown";
|
|
6203
|
+
query: "query";
|
|
6204
6204
|
authorization: "authorization";
|
|
6205
6205
|
client: "client";
|
|
6206
6206
|
}>;
|
|
6207
6207
|
}, z.core.$strip>, z.ZodObject<{
|
|
6208
6208
|
reason: z.ZodLiteral<"expired_token">;
|
|
6209
6209
|
source: z.ZodEnum<{
|
|
6210
|
-
query: "query";
|
|
6211
6210
|
unknown: "unknown";
|
|
6211
|
+
query: "query";
|
|
6212
6212
|
authorization: "authorization";
|
|
6213
6213
|
client: "client";
|
|
6214
6214
|
}>;
|
|
6215
6215
|
}, z.core.$strip>, z.ZodObject<{
|
|
6216
6216
|
reason: z.ZodLiteral<"invalid_secret">;
|
|
6217
6217
|
source: z.ZodEnum<{
|
|
6218
|
-
query: "query";
|
|
6219
6218
|
unknown: "unknown";
|
|
6219
|
+
query: "query";
|
|
6220
6220
|
authorization: "authorization";
|
|
6221
6221
|
client: "client";
|
|
6222
6222
|
}>;
|
|
6223
6223
|
}, z.core.$strip>, z.ZodObject<{
|
|
6224
6224
|
reason: z.ZodLiteral<"user_mismatch">;
|
|
6225
6225
|
source: z.ZodEnum<{
|
|
6226
|
-
query: "query";
|
|
6227
6226
|
unknown: "unknown";
|
|
6227
|
+
query: "query";
|
|
6228
6228
|
authorization: "authorization";
|
|
6229
6229
|
client: "client";
|
|
6230
6230
|
}>;
|
|
6231
6231
|
}, z.core.$strip>, z.ZodObject<{
|
|
6232
6232
|
reason: z.ZodLiteral<"insufficient_scope">;
|
|
6233
6233
|
source: z.ZodEnum<{
|
|
6234
|
-
query: "query";
|
|
6235
6234
|
unknown: "unknown";
|
|
6235
|
+
query: "query";
|
|
6236
6236
|
authorization: "authorization";
|
|
6237
6237
|
client: "client";
|
|
6238
6238
|
}>;
|
|
@@ -6247,8 +6247,8 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
6247
6247
|
}>;
|
|
6248
6248
|
value: z.ZodOptional<z.ZodString>;
|
|
6249
6249
|
source: z.ZodEnum<{
|
|
6250
|
-
query: "query";
|
|
6251
6250
|
unknown: "unknown";
|
|
6251
|
+
query: "query";
|
|
6252
6252
|
authorization: "authorization";
|
|
6253
6253
|
client: "client";
|
|
6254
6254
|
}>;
|
|
@@ -6322,9 +6322,9 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
6322
6322
|
webtransport: "webtransport";
|
|
6323
6323
|
}>>;
|
|
6324
6324
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
6325
|
+
api: "api";
|
|
6325
6326
|
human: "human";
|
|
6326
6327
|
codex: "codex";
|
|
6327
|
-
api: "api";
|
|
6328
6328
|
automation: "automation";
|
|
6329
6329
|
ci: "ci";
|
|
6330
6330
|
"scheduled-job": "scheduled-job";
|
|
@@ -6332,8 +6332,8 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
6332
6332
|
origin_id: z.ZodOptional<z.ZodString>;
|
|
6333
6333
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
6334
6334
|
agent: "agent";
|
|
6335
|
-
user: "user";
|
|
6336
6335
|
app: "app";
|
|
6336
|
+
user: "user";
|
|
6337
6337
|
"service-account": "service-account";
|
|
6338
6338
|
}>>;
|
|
6339
6339
|
device_id: z.ZodOptional<z.ZodString>;
|
|
@@ -6370,10 +6370,10 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
6370
6370
|
server: "server";
|
|
6371
6371
|
}>;
|
|
6372
6372
|
reason: z.ZodEnum<{
|
|
6373
|
-
unknown: "unknown";
|
|
6374
6373
|
error: "error";
|
|
6375
|
-
|
|
6374
|
+
unknown: "unknown";
|
|
6376
6375
|
timeout: "timeout";
|
|
6376
|
+
closed: "closed";
|
|
6377
6377
|
reset: "reset";
|
|
6378
6378
|
}>;
|
|
6379
6379
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -6401,48 +6401,48 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
6401
6401
|
why: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6402
6402
|
reason: z.ZodLiteral<"missing_token">;
|
|
6403
6403
|
source: z.ZodEnum<{
|
|
6404
|
-
query: "query";
|
|
6405
6404
|
unknown: "unknown";
|
|
6405
|
+
query: "query";
|
|
6406
6406
|
authorization: "authorization";
|
|
6407
6407
|
client: "client";
|
|
6408
6408
|
}>;
|
|
6409
6409
|
}, z.core.$strip>, z.ZodObject<{
|
|
6410
6410
|
reason: z.ZodLiteral<"invalid_token">;
|
|
6411
6411
|
source: z.ZodEnum<{
|
|
6412
|
-
query: "query";
|
|
6413
6412
|
unknown: "unknown";
|
|
6413
|
+
query: "query";
|
|
6414
6414
|
authorization: "authorization";
|
|
6415
6415
|
client: "client";
|
|
6416
6416
|
}>;
|
|
6417
6417
|
}, z.core.$strip>, z.ZodObject<{
|
|
6418
6418
|
reason: z.ZodLiteral<"expired_token">;
|
|
6419
6419
|
source: z.ZodEnum<{
|
|
6420
|
-
query: "query";
|
|
6421
6420
|
unknown: "unknown";
|
|
6421
|
+
query: "query";
|
|
6422
6422
|
authorization: "authorization";
|
|
6423
6423
|
client: "client";
|
|
6424
6424
|
}>;
|
|
6425
6425
|
}, z.core.$strip>, z.ZodObject<{
|
|
6426
6426
|
reason: z.ZodLiteral<"invalid_secret">;
|
|
6427
6427
|
source: z.ZodEnum<{
|
|
6428
|
-
query: "query";
|
|
6429
6428
|
unknown: "unknown";
|
|
6429
|
+
query: "query";
|
|
6430
6430
|
authorization: "authorization";
|
|
6431
6431
|
client: "client";
|
|
6432
6432
|
}>;
|
|
6433
6433
|
}, z.core.$strip>, z.ZodObject<{
|
|
6434
6434
|
reason: z.ZodLiteral<"user_mismatch">;
|
|
6435
6435
|
source: z.ZodEnum<{
|
|
6436
|
-
query: "query";
|
|
6437
6436
|
unknown: "unknown";
|
|
6437
|
+
query: "query";
|
|
6438
6438
|
authorization: "authorization";
|
|
6439
6439
|
client: "client";
|
|
6440
6440
|
}>;
|
|
6441
6441
|
}, z.core.$strip>, z.ZodObject<{
|
|
6442
6442
|
reason: z.ZodLiteral<"insufficient_scope">;
|
|
6443
6443
|
source: z.ZodEnum<{
|
|
6444
|
-
query: "query";
|
|
6445
6444
|
unknown: "unknown";
|
|
6445
|
+
query: "query";
|
|
6446
6446
|
authorization: "authorization";
|
|
6447
6447
|
client: "client";
|
|
6448
6448
|
}>;
|
|
@@ -6457,8 +6457,8 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
6457
6457
|
}>;
|
|
6458
6458
|
value: z.ZodOptional<z.ZodString>;
|
|
6459
6459
|
source: z.ZodEnum<{
|
|
6460
|
-
query: "query";
|
|
6461
6460
|
unknown: "unknown";
|
|
6461
|
+
query: "query";
|
|
6462
6462
|
authorization: "authorization";
|
|
6463
6463
|
client: "client";
|
|
6464
6464
|
}>;
|
|
@@ -6514,10 +6514,10 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
6514
6514
|
server: "server";
|
|
6515
6515
|
}>;
|
|
6516
6516
|
reason: z.ZodEnum<{
|
|
6517
|
-
unknown: "unknown";
|
|
6518
6517
|
error: "error";
|
|
6519
|
-
|
|
6518
|
+
unknown: "unknown";
|
|
6520
6519
|
timeout: "timeout";
|
|
6520
|
+
closed: "closed";
|
|
6521
6521
|
reset: "reset";
|
|
6522
6522
|
}>;
|
|
6523
6523
|
message: z.ZodOptional<z.ZodString>;
|