@rstreamlabs/tunnels 3.8.3 → 3.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/dist/index.d.mts +272 -244
- package/dist/index.d.ts +272 -244
- package/dist/index.js +74 -7
- package/dist/index.mjs +71 -7
- package/package.json +4 -4
package/dist/index.d.ts
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 {
|
|
@@ -414,12 +414,12 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
414
414
|
internal: "internal";
|
|
415
415
|
}>;
|
|
416
416
|
transport: z.ZodOptional<z.ZodEnum<{
|
|
417
|
-
http: "http";
|
|
418
|
-
rstream: "rstream";
|
|
419
417
|
tls: "tls";
|
|
420
418
|
tcp: "tcp";
|
|
421
419
|
dtls: "dtls";
|
|
422
420
|
quic: "quic";
|
|
421
|
+
http: "http";
|
|
422
|
+
rstream: "rstream";
|
|
423
423
|
}>>;
|
|
424
424
|
}, z.core.$strip>>;
|
|
425
425
|
http: z.ZodOptional<z.ZodObject<{
|
|
@@ -456,8 +456,8 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
456
456
|
}, z.core.$strip>, z.ZodObject<{
|
|
457
457
|
kind: z.ZodLiteral<"token">;
|
|
458
458
|
source: z.ZodOptional<z.ZodEnum<{
|
|
459
|
-
query: "query";
|
|
460
459
|
unknown: "unknown";
|
|
460
|
+
query: "query";
|
|
461
461
|
authorization: "authorization";
|
|
462
462
|
client: "client";
|
|
463
463
|
}>>;
|
|
@@ -483,8 +483,8 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
483
483
|
}, z.core.$strip>, z.ZodObject<{
|
|
484
484
|
kind: z.ZodLiteral<"token">;
|
|
485
485
|
source: z.ZodOptional<z.ZodEnum<{
|
|
486
|
-
query: "query";
|
|
487
486
|
unknown: "unknown";
|
|
487
|
+
query: "query";
|
|
488
488
|
authorization: "authorization";
|
|
489
489
|
client: "client";
|
|
490
490
|
}>>;
|
|
@@ -504,48 +504,48 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
504
504
|
why: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
505
505
|
reason: z.ZodLiteral<"missing_token">;
|
|
506
506
|
source: z.ZodEnum<{
|
|
507
|
-
query: "query";
|
|
508
507
|
unknown: "unknown";
|
|
508
|
+
query: "query";
|
|
509
509
|
authorization: "authorization";
|
|
510
510
|
client: "client";
|
|
511
511
|
}>;
|
|
512
512
|
}, z.core.$strip>, z.ZodObject<{
|
|
513
513
|
reason: z.ZodLiteral<"invalid_token">;
|
|
514
514
|
source: z.ZodEnum<{
|
|
515
|
-
query: "query";
|
|
516
515
|
unknown: "unknown";
|
|
516
|
+
query: "query";
|
|
517
517
|
authorization: "authorization";
|
|
518
518
|
client: "client";
|
|
519
519
|
}>;
|
|
520
520
|
}, z.core.$strip>, z.ZodObject<{
|
|
521
521
|
reason: z.ZodLiteral<"expired_token">;
|
|
522
522
|
source: z.ZodEnum<{
|
|
523
|
-
query: "query";
|
|
524
523
|
unknown: "unknown";
|
|
524
|
+
query: "query";
|
|
525
525
|
authorization: "authorization";
|
|
526
526
|
client: "client";
|
|
527
527
|
}>;
|
|
528
528
|
}, z.core.$strip>, z.ZodObject<{
|
|
529
529
|
reason: z.ZodLiteral<"invalid_secret">;
|
|
530
530
|
source: z.ZodEnum<{
|
|
531
|
-
query: "query";
|
|
532
531
|
unknown: "unknown";
|
|
532
|
+
query: "query";
|
|
533
533
|
authorization: "authorization";
|
|
534
534
|
client: "client";
|
|
535
535
|
}>;
|
|
536
536
|
}, z.core.$strip>, z.ZodObject<{
|
|
537
537
|
reason: z.ZodLiteral<"user_mismatch">;
|
|
538
538
|
source: z.ZodEnum<{
|
|
539
|
-
query: "query";
|
|
540
539
|
unknown: "unknown";
|
|
540
|
+
query: "query";
|
|
541
541
|
authorization: "authorization";
|
|
542
542
|
client: "client";
|
|
543
543
|
}>;
|
|
544
544
|
}, z.core.$strip>, z.ZodObject<{
|
|
545
545
|
reason: z.ZodLiteral<"insufficient_scope">;
|
|
546
546
|
source: z.ZodEnum<{
|
|
547
|
-
query: "query";
|
|
548
547
|
unknown: "unknown";
|
|
548
|
+
query: "query";
|
|
549
549
|
authorization: "authorization";
|
|
550
550
|
client: "client";
|
|
551
551
|
}>;
|
|
@@ -560,8 +560,8 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
560
560
|
}>;
|
|
561
561
|
value: z.ZodOptional<z.ZodString>;
|
|
562
562
|
source: z.ZodEnum<{
|
|
563
|
-
query: "query";
|
|
564
563
|
unknown: "unknown";
|
|
564
|
+
query: "query";
|
|
565
565
|
authorization: "authorization";
|
|
566
566
|
client: "client";
|
|
567
567
|
}>;
|
|
@@ -641,48 +641,48 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
641
641
|
why: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
642
642
|
reason: z.ZodLiteral<"missing_token">;
|
|
643
643
|
source: z.ZodEnum<{
|
|
644
|
-
query: "query";
|
|
645
644
|
unknown: "unknown";
|
|
645
|
+
query: "query";
|
|
646
646
|
authorization: "authorization";
|
|
647
647
|
client: "client";
|
|
648
648
|
}>;
|
|
649
649
|
}, z.core.$strip>, z.ZodObject<{
|
|
650
650
|
reason: z.ZodLiteral<"invalid_token">;
|
|
651
651
|
source: z.ZodEnum<{
|
|
652
|
-
query: "query";
|
|
653
652
|
unknown: "unknown";
|
|
653
|
+
query: "query";
|
|
654
654
|
authorization: "authorization";
|
|
655
655
|
client: "client";
|
|
656
656
|
}>;
|
|
657
657
|
}, z.core.$strip>, z.ZodObject<{
|
|
658
658
|
reason: z.ZodLiteral<"expired_token">;
|
|
659
659
|
source: z.ZodEnum<{
|
|
660
|
-
query: "query";
|
|
661
660
|
unknown: "unknown";
|
|
661
|
+
query: "query";
|
|
662
662
|
authorization: "authorization";
|
|
663
663
|
client: "client";
|
|
664
664
|
}>;
|
|
665
665
|
}, z.core.$strip>, z.ZodObject<{
|
|
666
666
|
reason: z.ZodLiteral<"invalid_secret">;
|
|
667
667
|
source: z.ZodEnum<{
|
|
668
|
-
query: "query";
|
|
669
668
|
unknown: "unknown";
|
|
669
|
+
query: "query";
|
|
670
670
|
authorization: "authorization";
|
|
671
671
|
client: "client";
|
|
672
672
|
}>;
|
|
673
673
|
}, z.core.$strip>, z.ZodObject<{
|
|
674
674
|
reason: z.ZodLiteral<"user_mismatch">;
|
|
675
675
|
source: z.ZodEnum<{
|
|
676
|
-
query: "query";
|
|
677
676
|
unknown: "unknown";
|
|
677
|
+
query: "query";
|
|
678
678
|
authorization: "authorization";
|
|
679
679
|
client: "client";
|
|
680
680
|
}>;
|
|
681
681
|
}, z.core.$strip>, z.ZodObject<{
|
|
682
682
|
reason: z.ZodLiteral<"insufficient_scope">;
|
|
683
683
|
source: z.ZodEnum<{
|
|
684
|
-
query: "query";
|
|
685
684
|
unknown: "unknown";
|
|
685
|
+
query: "query";
|
|
686
686
|
authorization: "authorization";
|
|
687
687
|
client: "client";
|
|
688
688
|
}>;
|
|
@@ -697,8 +697,8 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
697
697
|
}>;
|
|
698
698
|
value: z.ZodOptional<z.ZodString>;
|
|
699
699
|
source: z.ZodEnum<{
|
|
700
|
-
query: "query";
|
|
701
700
|
unknown: "unknown";
|
|
701
|
+
query: "query";
|
|
702
702
|
authorization: "authorization";
|
|
703
703
|
client: "client";
|
|
704
704
|
}>;
|
|
@@ -740,8 +740,8 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
740
740
|
}>>;
|
|
741
741
|
controller: z.ZodOptional<z.ZodBoolean>;
|
|
742
742
|
recording_mode: z.ZodOptional<z.ZodEnum<{
|
|
743
|
-
recorded: "recorded";
|
|
744
743
|
private: "private";
|
|
744
|
+
recorded: "recorded";
|
|
745
745
|
}>>;
|
|
746
746
|
encryption_mode: z.ZodOptional<z.ZodEnum<{
|
|
747
747
|
managed: "managed";
|
|
@@ -772,9 +772,9 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
772
772
|
webtransport: "webtransport";
|
|
773
773
|
}>>;
|
|
774
774
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
775
|
+
api: "api";
|
|
775
776
|
human: "human";
|
|
776
777
|
codex: "codex";
|
|
777
|
-
api: "api";
|
|
778
778
|
automation: "automation";
|
|
779
779
|
ci: "ci";
|
|
780
780
|
"scheduled-job": "scheduled-job";
|
|
@@ -782,8 +782,8 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
782
782
|
origin_id: z.ZodOptional<z.ZodString>;
|
|
783
783
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
784
784
|
agent: "agent";
|
|
785
|
-
user: "user";
|
|
786
785
|
app: "app";
|
|
786
|
+
user: "user";
|
|
787
787
|
"service-account": "service-account";
|
|
788
788
|
}>>;
|
|
789
789
|
device_id: z.ZodOptional<z.ZodString>;
|
|
@@ -820,10 +820,10 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
820
820
|
server: "server";
|
|
821
821
|
}>;
|
|
822
822
|
reason: z.ZodEnum<{
|
|
823
|
-
unknown: "unknown";
|
|
824
823
|
error: "error";
|
|
825
|
-
|
|
824
|
+
unknown: "unknown";
|
|
826
825
|
timeout: "timeout";
|
|
826
|
+
closed: "closed";
|
|
827
827
|
reset: "reset";
|
|
828
828
|
}>;
|
|
829
829
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -851,48 +851,48 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
851
851
|
why: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
852
852
|
reason: z.ZodLiteral<"missing_token">;
|
|
853
853
|
source: z.ZodEnum<{
|
|
854
|
-
query: "query";
|
|
855
854
|
unknown: "unknown";
|
|
855
|
+
query: "query";
|
|
856
856
|
authorization: "authorization";
|
|
857
857
|
client: "client";
|
|
858
858
|
}>;
|
|
859
859
|
}, z.core.$strip>, z.ZodObject<{
|
|
860
860
|
reason: z.ZodLiteral<"invalid_token">;
|
|
861
861
|
source: z.ZodEnum<{
|
|
862
|
-
query: "query";
|
|
863
862
|
unknown: "unknown";
|
|
863
|
+
query: "query";
|
|
864
864
|
authorization: "authorization";
|
|
865
865
|
client: "client";
|
|
866
866
|
}>;
|
|
867
867
|
}, z.core.$strip>, z.ZodObject<{
|
|
868
868
|
reason: z.ZodLiteral<"expired_token">;
|
|
869
869
|
source: z.ZodEnum<{
|
|
870
|
-
query: "query";
|
|
871
870
|
unknown: "unknown";
|
|
871
|
+
query: "query";
|
|
872
872
|
authorization: "authorization";
|
|
873
873
|
client: "client";
|
|
874
874
|
}>;
|
|
875
875
|
}, z.core.$strip>, z.ZodObject<{
|
|
876
876
|
reason: z.ZodLiteral<"invalid_secret">;
|
|
877
877
|
source: z.ZodEnum<{
|
|
878
|
-
query: "query";
|
|
879
878
|
unknown: "unknown";
|
|
879
|
+
query: "query";
|
|
880
880
|
authorization: "authorization";
|
|
881
881
|
client: "client";
|
|
882
882
|
}>;
|
|
883
883
|
}, z.core.$strip>, z.ZodObject<{
|
|
884
884
|
reason: z.ZodLiteral<"user_mismatch">;
|
|
885
885
|
source: z.ZodEnum<{
|
|
886
|
-
query: "query";
|
|
887
886
|
unknown: "unknown";
|
|
887
|
+
query: "query";
|
|
888
888
|
authorization: "authorization";
|
|
889
889
|
client: "client";
|
|
890
890
|
}>;
|
|
891
891
|
}, z.core.$strip>, z.ZodObject<{
|
|
892
892
|
reason: z.ZodLiteral<"insufficient_scope">;
|
|
893
893
|
source: z.ZodEnum<{
|
|
894
|
-
query: "query";
|
|
895
894
|
unknown: "unknown";
|
|
895
|
+
query: "query";
|
|
896
896
|
authorization: "authorization";
|
|
897
897
|
client: "client";
|
|
898
898
|
}>;
|
|
@@ -907,8 +907,8 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
907
907
|
}>;
|
|
908
908
|
value: z.ZodOptional<z.ZodString>;
|
|
909
909
|
source: z.ZodEnum<{
|
|
910
|
-
query: "query";
|
|
911
910
|
unknown: "unknown";
|
|
911
|
+
query: "query";
|
|
912
912
|
authorization: "authorization";
|
|
913
913
|
client: "client";
|
|
914
914
|
}>;
|
|
@@ -964,10 +964,10 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
964
964
|
server: "server";
|
|
965
965
|
}>;
|
|
966
966
|
reason: z.ZodEnum<{
|
|
967
|
-
unknown: "unknown";
|
|
968
967
|
error: "error";
|
|
969
|
-
|
|
968
|
+
unknown: "unknown";
|
|
970
969
|
timeout: "timeout";
|
|
970
|
+
closed: "closed";
|
|
971
971
|
reset: "reset";
|
|
972
972
|
}>;
|
|
973
973
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1373,10 +1373,10 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1373
1373
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
1374
1374
|
group_id: z.ZodOptional<z.ZodString>;
|
|
1375
1375
|
status: z.ZodEnum<{
|
|
1376
|
-
opening: "opening";
|
|
1377
1376
|
active: "active";
|
|
1378
|
-
closing: "closing";
|
|
1379
1377
|
closed: "closed";
|
|
1378
|
+
opening: "opening";
|
|
1379
|
+
closing: "closing";
|
|
1380
1380
|
errored: "errored";
|
|
1381
1381
|
}>;
|
|
1382
1382
|
session_mode: z.ZodEnum<{
|
|
@@ -1384,8 +1384,8 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1384
1384
|
"non-interactive": "non-interactive";
|
|
1385
1385
|
}>;
|
|
1386
1386
|
recording_mode: z.ZodEnum<{
|
|
1387
|
-
recorded: "recorded";
|
|
1388
1387
|
private: "private";
|
|
1388
|
+
recorded: "recorded";
|
|
1389
1389
|
}>;
|
|
1390
1390
|
encryption_mode: z.ZodEnum<{
|
|
1391
1391
|
managed: "managed";
|
|
@@ -1404,9 +1404,9 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1404
1404
|
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
1405
1405
|
context: z.ZodOptional<z.ZodObject<{
|
|
1406
1406
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
1407
|
+
api: "api";
|
|
1407
1408
|
human: "human";
|
|
1408
1409
|
codex: "codex";
|
|
1409
|
-
api: "api";
|
|
1410
1410
|
automation: "automation";
|
|
1411
1411
|
ci: "ci";
|
|
1412
1412
|
"scheduled-job": "scheduled-job";
|
|
@@ -1415,8 +1415,8 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1415
1415
|
purpose: z.ZodOptional<z.ZodString>;
|
|
1416
1416
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
1417
1417
|
agent: "agent";
|
|
1418
|
-
user: "user";
|
|
1419
1418
|
app: "app";
|
|
1419
|
+
user: "user";
|
|
1420
1420
|
"service-account": "service-account";
|
|
1421
1421
|
}>>;
|
|
1422
1422
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -1456,10 +1456,10 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1456
1456
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
1457
1457
|
group_id: z.ZodOptional<z.ZodString>;
|
|
1458
1458
|
status: z.ZodEnum<{
|
|
1459
|
-
opening: "opening";
|
|
1460
1459
|
active: "active";
|
|
1461
|
-
closing: "closing";
|
|
1462
1460
|
closed: "closed";
|
|
1461
|
+
opening: "opening";
|
|
1462
|
+
closing: "closing";
|
|
1463
1463
|
errored: "errored";
|
|
1464
1464
|
}>;
|
|
1465
1465
|
session_mode: z.ZodEnum<{
|
|
@@ -1467,8 +1467,8 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1467
1467
|
"non-interactive": "non-interactive";
|
|
1468
1468
|
}>;
|
|
1469
1469
|
recording_mode: z.ZodEnum<{
|
|
1470
|
-
recorded: "recorded";
|
|
1471
1470
|
private: "private";
|
|
1471
|
+
recorded: "recorded";
|
|
1472
1472
|
}>;
|
|
1473
1473
|
encryption_mode: z.ZodEnum<{
|
|
1474
1474
|
managed: "managed";
|
|
@@ -1487,9 +1487,9 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1487
1487
|
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
1488
1488
|
context: z.ZodOptional<z.ZodObject<{
|
|
1489
1489
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
1490
|
+
api: "api";
|
|
1490
1491
|
human: "human";
|
|
1491
1492
|
codex: "codex";
|
|
1492
|
-
api: "api";
|
|
1493
1493
|
automation: "automation";
|
|
1494
1494
|
ci: "ci";
|
|
1495
1495
|
"scheduled-job": "scheduled-job";
|
|
@@ -1498,8 +1498,8 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1498
1498
|
purpose: z.ZodOptional<z.ZodString>;
|
|
1499
1499
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
1500
1500
|
agent: "agent";
|
|
1501
|
-
user: "user";
|
|
1502
1501
|
app: "app";
|
|
1502
|
+
user: "user";
|
|
1503
1503
|
"service-account": "service-account";
|
|
1504
1504
|
}>>;
|
|
1505
1505
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -1526,9 +1526,9 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1526
1526
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
1527
1527
|
context: z.ZodOptional<z.ZodObject<{
|
|
1528
1528
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
1529
|
+
api: "api";
|
|
1529
1530
|
human: "human";
|
|
1530
1531
|
codex: "codex";
|
|
1531
|
-
api: "api";
|
|
1532
1532
|
automation: "automation";
|
|
1533
1533
|
ci: "ci";
|
|
1534
1534
|
"scheduled-job": "scheduled-job";
|
|
@@ -1537,8 +1537,8 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1537
1537
|
purpose: z.ZodOptional<z.ZodString>;
|
|
1538
1538
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
1539
1539
|
agent: "agent";
|
|
1540
|
-
user: "user";
|
|
1541
1540
|
app: "app";
|
|
1541
|
+
user: "user";
|
|
1542
1542
|
"service-account": "service-account";
|
|
1543
1543
|
}>>;
|
|
1544
1544
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -1569,10 +1569,10 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1569
1569
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
1570
1570
|
group_id: z.ZodOptional<z.ZodString>;
|
|
1571
1571
|
status: z.ZodEnum<{
|
|
1572
|
-
opening: "opening";
|
|
1573
1572
|
active: "active";
|
|
1574
|
-
closing: "closing";
|
|
1575
1573
|
closed: "closed";
|
|
1574
|
+
opening: "opening";
|
|
1575
|
+
closing: "closing";
|
|
1576
1576
|
errored: "errored";
|
|
1577
1577
|
}>;
|
|
1578
1578
|
session_mode: z.ZodEnum<{
|
|
@@ -1580,8 +1580,8 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1580
1580
|
"non-interactive": "non-interactive";
|
|
1581
1581
|
}>;
|
|
1582
1582
|
recording_mode: z.ZodEnum<{
|
|
1583
|
-
recorded: "recorded";
|
|
1584
1583
|
private: "private";
|
|
1584
|
+
recorded: "recorded";
|
|
1585
1585
|
}>;
|
|
1586
1586
|
encryption_mode: z.ZodEnum<{
|
|
1587
1587
|
managed: "managed";
|
|
@@ -1600,9 +1600,9 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1600
1600
|
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
1601
1601
|
context: z.ZodOptional<z.ZodObject<{
|
|
1602
1602
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
1603
|
+
api: "api";
|
|
1603
1604
|
human: "human";
|
|
1604
1605
|
codex: "codex";
|
|
1605
|
-
api: "api";
|
|
1606
1606
|
automation: "automation";
|
|
1607
1607
|
ci: "ci";
|
|
1608
1608
|
"scheduled-job": "scheduled-job";
|
|
@@ -1611,8 +1611,8 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1611
1611
|
purpose: z.ZodOptional<z.ZodString>;
|
|
1612
1612
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
1613
1613
|
agent: "agent";
|
|
1614
|
-
user: "user";
|
|
1615
1614
|
app: "app";
|
|
1615
|
+
user: "user";
|
|
1616
1616
|
"service-account": "service-account";
|
|
1617
1617
|
}>>;
|
|
1618
1618
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -1736,9 +1736,9 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1736
1736
|
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
1737
1737
|
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
1738
1738
|
status: z.ZodEnum<{
|
|
1739
|
+
refused: "refused";
|
|
1739
1740
|
pending: "pending";
|
|
1740
1741
|
granted: "granted";
|
|
1741
|
-
refused: "refused";
|
|
1742
1742
|
revoked: "revoked";
|
|
1743
1743
|
expired: "expired";
|
|
1744
1744
|
}>;
|
|
@@ -1765,9 +1765,9 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1765
1765
|
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
1766
1766
|
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
1767
1767
|
status: z.ZodEnum<{
|
|
1768
|
+
refused: "refused";
|
|
1768
1769
|
pending: "pending";
|
|
1769
1770
|
granted: "granted";
|
|
1770
|
-
refused: "refused";
|
|
1771
1771
|
revoked: "revoked";
|
|
1772
1772
|
expired: "expired";
|
|
1773
1773
|
}>;
|
|
@@ -1794,9 +1794,9 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1794
1794
|
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
1795
1795
|
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
1796
1796
|
status: z.ZodEnum<{
|
|
1797
|
+
refused: "refused";
|
|
1797
1798
|
pending: "pending";
|
|
1798
1799
|
granted: "granted";
|
|
1799
|
-
refused: "refused";
|
|
1800
1800
|
revoked: "revoked";
|
|
1801
1801
|
expired: "expired";
|
|
1802
1802
|
}>;
|
|
@@ -1823,9 +1823,9 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1823
1823
|
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
1824
1824
|
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
1825
1825
|
status: z.ZodEnum<{
|
|
1826
|
+
refused: "refused";
|
|
1826
1827
|
pending: "pending";
|
|
1827
1828
|
granted: "granted";
|
|
1828
|
-
refused: "refused";
|
|
1829
1829
|
revoked: "revoked";
|
|
1830
1830
|
expired: "expired";
|
|
1831
1831
|
}>;
|
|
@@ -2042,10 +2042,10 @@ declare const webhookEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2042
2042
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
2043
2043
|
group_id: z.ZodOptional<z.ZodString>;
|
|
2044
2044
|
status: z.ZodEnum<{
|
|
2045
|
-
opening: "opening";
|
|
2046
2045
|
active: "active";
|
|
2047
|
-
closing: "closing";
|
|
2048
2046
|
closed: "closed";
|
|
2047
|
+
opening: "opening";
|
|
2048
|
+
closing: "closing";
|
|
2049
2049
|
errored: "errored";
|
|
2050
2050
|
}>;
|
|
2051
2051
|
session_mode: z.ZodEnum<{
|
|
@@ -2053,8 +2053,8 @@ declare const webhookEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2053
2053
|
"non-interactive": "non-interactive";
|
|
2054
2054
|
}>;
|
|
2055
2055
|
recording_mode: z.ZodEnum<{
|
|
2056
|
-
recorded: "recorded";
|
|
2057
2056
|
private: "private";
|
|
2057
|
+
recorded: "recorded";
|
|
2058
2058
|
}>;
|
|
2059
2059
|
encryption_mode: z.ZodEnum<{
|
|
2060
2060
|
managed: "managed";
|
|
@@ -2073,9 +2073,9 @@ declare const webhookEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2073
2073
|
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
2074
2074
|
context: z.ZodOptional<z.ZodObject<{
|
|
2075
2075
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
2076
|
+
api: "api";
|
|
2076
2077
|
human: "human";
|
|
2077
2078
|
codex: "codex";
|
|
2078
|
-
api: "api";
|
|
2079
2079
|
automation: "automation";
|
|
2080
2080
|
ci: "ci";
|
|
2081
2081
|
"scheduled-job": "scheduled-job";
|
|
@@ -2084,8 +2084,8 @@ declare const webhookEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2084
2084
|
purpose: z.ZodOptional<z.ZodString>;
|
|
2085
2085
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
2086
2086
|
agent: "agent";
|
|
2087
|
-
user: "user";
|
|
2088
2087
|
app: "app";
|
|
2088
|
+
user: "user";
|
|
2089
2089
|
"service-account": "service-account";
|
|
2090
2090
|
}>>;
|
|
2091
2091
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -2125,10 +2125,10 @@ declare const webhookEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2125
2125
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
2126
2126
|
group_id: z.ZodOptional<z.ZodString>;
|
|
2127
2127
|
status: z.ZodEnum<{
|
|
2128
|
-
opening: "opening";
|
|
2129
2128
|
active: "active";
|
|
2130
|
-
closing: "closing";
|
|
2131
2129
|
closed: "closed";
|
|
2130
|
+
opening: "opening";
|
|
2131
|
+
closing: "closing";
|
|
2132
2132
|
errored: "errored";
|
|
2133
2133
|
}>;
|
|
2134
2134
|
session_mode: z.ZodEnum<{
|
|
@@ -2136,8 +2136,8 @@ declare const webhookEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2136
2136
|
"non-interactive": "non-interactive";
|
|
2137
2137
|
}>;
|
|
2138
2138
|
recording_mode: z.ZodEnum<{
|
|
2139
|
-
recorded: "recorded";
|
|
2140
2139
|
private: "private";
|
|
2140
|
+
recorded: "recorded";
|
|
2141
2141
|
}>;
|
|
2142
2142
|
encryption_mode: z.ZodEnum<{
|
|
2143
2143
|
managed: "managed";
|
|
@@ -2156,9 +2156,9 @@ declare const webhookEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2156
2156
|
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
2157
2157
|
context: z.ZodOptional<z.ZodObject<{
|
|
2158
2158
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
2159
|
+
api: "api";
|
|
2159
2160
|
human: "human";
|
|
2160
2161
|
codex: "codex";
|
|
2161
|
-
api: "api";
|
|
2162
2162
|
automation: "automation";
|
|
2163
2163
|
ci: "ci";
|
|
2164
2164
|
"scheduled-job": "scheduled-job";
|
|
@@ -2167,8 +2167,8 @@ declare const webhookEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2167
2167
|
purpose: z.ZodOptional<z.ZodString>;
|
|
2168
2168
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
2169
2169
|
agent: "agent";
|
|
2170
|
-
user: "user";
|
|
2171
2170
|
app: "app";
|
|
2171
|
+
user: "user";
|
|
2172
2172
|
"service-account": "service-account";
|
|
2173
2173
|
}>>;
|
|
2174
2174
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -2195,9 +2195,9 @@ declare const webhookEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2195
2195
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
2196
2196
|
context: z.ZodOptional<z.ZodObject<{
|
|
2197
2197
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
2198
|
+
api: "api";
|
|
2198
2199
|
human: "human";
|
|
2199
2200
|
codex: "codex";
|
|
2200
|
-
api: "api";
|
|
2201
2201
|
automation: "automation";
|
|
2202
2202
|
ci: "ci";
|
|
2203
2203
|
"scheduled-job": "scheduled-job";
|
|
@@ -2206,8 +2206,8 @@ declare const webhookEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2206
2206
|
purpose: z.ZodOptional<z.ZodString>;
|
|
2207
2207
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
2208
2208
|
agent: "agent";
|
|
2209
|
-
user: "user";
|
|
2210
2209
|
app: "app";
|
|
2210
|
+
user: "user";
|
|
2211
2211
|
"service-account": "service-account";
|
|
2212
2212
|
}>>;
|
|
2213
2213
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -2238,10 +2238,10 @@ declare const webhookEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2238
2238
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
2239
2239
|
group_id: z.ZodOptional<z.ZodString>;
|
|
2240
2240
|
status: z.ZodEnum<{
|
|
2241
|
-
opening: "opening";
|
|
2242
2241
|
active: "active";
|
|
2243
|
-
closing: "closing";
|
|
2244
2242
|
closed: "closed";
|
|
2243
|
+
opening: "opening";
|
|
2244
|
+
closing: "closing";
|
|
2245
2245
|
errored: "errored";
|
|
2246
2246
|
}>;
|
|
2247
2247
|
session_mode: z.ZodEnum<{
|
|
@@ -2249,8 +2249,8 @@ declare const webhookEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2249
2249
|
"non-interactive": "non-interactive";
|
|
2250
2250
|
}>;
|
|
2251
2251
|
recording_mode: z.ZodEnum<{
|
|
2252
|
-
recorded: "recorded";
|
|
2253
2252
|
private: "private";
|
|
2253
|
+
recorded: "recorded";
|
|
2254
2254
|
}>;
|
|
2255
2255
|
encryption_mode: z.ZodEnum<{
|
|
2256
2256
|
managed: "managed";
|
|
@@ -2269,9 +2269,9 @@ declare const webhookEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2269
2269
|
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
2270
2270
|
context: z.ZodOptional<z.ZodObject<{
|
|
2271
2271
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
2272
|
+
api: "api";
|
|
2272
2273
|
human: "human";
|
|
2273
2274
|
codex: "codex";
|
|
2274
|
-
api: "api";
|
|
2275
2275
|
automation: "automation";
|
|
2276
2276
|
ci: "ci";
|
|
2277
2277
|
"scheduled-job": "scheduled-job";
|
|
@@ -2280,8 +2280,8 @@ declare const webhookEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2280
2280
|
purpose: z.ZodOptional<z.ZodString>;
|
|
2281
2281
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
2282
2282
|
agent: "agent";
|
|
2283
|
-
user: "user";
|
|
2284
2283
|
app: "app";
|
|
2284
|
+
user: "user";
|
|
2285
2285
|
"service-account": "service-account";
|
|
2286
2286
|
}>>;
|
|
2287
2287
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -2405,9 +2405,9 @@ declare const webhookEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2405
2405
|
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
2406
2406
|
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
2407
2407
|
status: z.ZodEnum<{
|
|
2408
|
+
refused: "refused";
|
|
2408
2409
|
pending: "pending";
|
|
2409
2410
|
granted: "granted";
|
|
2410
|
-
refused: "refused";
|
|
2411
2411
|
revoked: "revoked";
|
|
2412
2412
|
expired: "expired";
|
|
2413
2413
|
}>;
|
|
@@ -2434,9 +2434,9 @@ declare const webhookEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2434
2434
|
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
2435
2435
|
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
2436
2436
|
status: z.ZodEnum<{
|
|
2437
|
+
refused: "refused";
|
|
2437
2438
|
pending: "pending";
|
|
2438
2439
|
granted: "granted";
|
|
2439
|
-
refused: "refused";
|
|
2440
2440
|
revoked: "revoked";
|
|
2441
2441
|
expired: "expired";
|
|
2442
2442
|
}>;
|
|
@@ -2463,9 +2463,9 @@ declare const webhookEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2463
2463
|
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
2464
2464
|
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
2465
2465
|
status: z.ZodEnum<{
|
|
2466
|
+
refused: "refused";
|
|
2466
2467
|
pending: "pending";
|
|
2467
2468
|
granted: "granted";
|
|
2468
|
-
refused: "refused";
|
|
2469
2469
|
revoked: "revoked";
|
|
2470
2470
|
expired: "expired";
|
|
2471
2471
|
}>;
|
|
@@ -2492,9 +2492,9 @@ declare const webhookEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
2492
2492
|
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
2493
2493
|
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
2494
2494
|
status: z.ZodEnum<{
|
|
2495
|
+
refused: "refused";
|
|
2495
2496
|
pending: "pending";
|
|
2496
2497
|
granted: "granted";
|
|
2497
|
-
refused: "refused";
|
|
2498
2498
|
revoked: "revoked";
|
|
2499
2499
|
expired: "expired";
|
|
2500
2500
|
}>;
|
|
@@ -2547,12 +2547,12 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
2547
2547
|
internal: "internal";
|
|
2548
2548
|
}>;
|
|
2549
2549
|
transport: z.ZodOptional<z.ZodEnum<{
|
|
2550
|
-
http: "http";
|
|
2551
|
-
rstream: "rstream";
|
|
2552
2550
|
tls: "tls";
|
|
2553
2551
|
tcp: "tcp";
|
|
2554
2552
|
dtls: "dtls";
|
|
2555
2553
|
quic: "quic";
|
|
2554
|
+
http: "http";
|
|
2555
|
+
rstream: "rstream";
|
|
2556
2556
|
}>>;
|
|
2557
2557
|
}, z.core.$strip>>;
|
|
2558
2558
|
http: z.ZodOptional<z.ZodObject<{
|
|
@@ -2589,8 +2589,8 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
2589
2589
|
}, z.core.$strip>, z.ZodObject<{
|
|
2590
2590
|
kind: z.ZodLiteral<"token">;
|
|
2591
2591
|
source: z.ZodOptional<z.ZodEnum<{
|
|
2592
|
-
query: "query";
|
|
2593
2592
|
unknown: "unknown";
|
|
2593
|
+
query: "query";
|
|
2594
2594
|
authorization: "authorization";
|
|
2595
2595
|
client: "client";
|
|
2596
2596
|
}>>;
|
|
@@ -2616,8 +2616,8 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
2616
2616
|
}, z.core.$strip>, z.ZodObject<{
|
|
2617
2617
|
kind: z.ZodLiteral<"token">;
|
|
2618
2618
|
source: z.ZodOptional<z.ZodEnum<{
|
|
2619
|
-
query: "query";
|
|
2620
2619
|
unknown: "unknown";
|
|
2620
|
+
query: "query";
|
|
2621
2621
|
authorization: "authorization";
|
|
2622
2622
|
client: "client";
|
|
2623
2623
|
}>>;
|
|
@@ -2637,48 +2637,48 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
2637
2637
|
why: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2638
2638
|
reason: z.ZodLiteral<"missing_token">;
|
|
2639
2639
|
source: z.ZodEnum<{
|
|
2640
|
-
query: "query";
|
|
2641
2640
|
unknown: "unknown";
|
|
2641
|
+
query: "query";
|
|
2642
2642
|
authorization: "authorization";
|
|
2643
2643
|
client: "client";
|
|
2644
2644
|
}>;
|
|
2645
2645
|
}, z.core.$strip>, z.ZodObject<{
|
|
2646
2646
|
reason: z.ZodLiteral<"invalid_token">;
|
|
2647
2647
|
source: z.ZodEnum<{
|
|
2648
|
-
query: "query";
|
|
2649
2648
|
unknown: "unknown";
|
|
2649
|
+
query: "query";
|
|
2650
2650
|
authorization: "authorization";
|
|
2651
2651
|
client: "client";
|
|
2652
2652
|
}>;
|
|
2653
2653
|
}, z.core.$strip>, z.ZodObject<{
|
|
2654
2654
|
reason: z.ZodLiteral<"expired_token">;
|
|
2655
2655
|
source: z.ZodEnum<{
|
|
2656
|
-
query: "query";
|
|
2657
2656
|
unknown: "unknown";
|
|
2657
|
+
query: "query";
|
|
2658
2658
|
authorization: "authorization";
|
|
2659
2659
|
client: "client";
|
|
2660
2660
|
}>;
|
|
2661
2661
|
}, z.core.$strip>, z.ZodObject<{
|
|
2662
2662
|
reason: z.ZodLiteral<"invalid_secret">;
|
|
2663
2663
|
source: z.ZodEnum<{
|
|
2664
|
-
query: "query";
|
|
2665
2664
|
unknown: "unknown";
|
|
2665
|
+
query: "query";
|
|
2666
2666
|
authorization: "authorization";
|
|
2667
2667
|
client: "client";
|
|
2668
2668
|
}>;
|
|
2669
2669
|
}, z.core.$strip>, z.ZodObject<{
|
|
2670
2670
|
reason: z.ZodLiteral<"user_mismatch">;
|
|
2671
2671
|
source: z.ZodEnum<{
|
|
2672
|
-
query: "query";
|
|
2673
2672
|
unknown: "unknown";
|
|
2673
|
+
query: "query";
|
|
2674
2674
|
authorization: "authorization";
|
|
2675
2675
|
client: "client";
|
|
2676
2676
|
}>;
|
|
2677
2677
|
}, z.core.$strip>, z.ZodObject<{
|
|
2678
2678
|
reason: z.ZodLiteral<"insufficient_scope">;
|
|
2679
2679
|
source: z.ZodEnum<{
|
|
2680
|
-
query: "query";
|
|
2681
2680
|
unknown: "unknown";
|
|
2681
|
+
query: "query";
|
|
2682
2682
|
authorization: "authorization";
|
|
2683
2683
|
client: "client";
|
|
2684
2684
|
}>;
|
|
@@ -2693,8 +2693,8 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
2693
2693
|
}>;
|
|
2694
2694
|
value: z.ZodOptional<z.ZodString>;
|
|
2695
2695
|
source: z.ZodEnum<{
|
|
2696
|
-
query: "query";
|
|
2697
2696
|
unknown: "unknown";
|
|
2697
|
+
query: "query";
|
|
2698
2698
|
authorization: "authorization";
|
|
2699
2699
|
client: "client";
|
|
2700
2700
|
}>;
|
|
@@ -2774,48 +2774,48 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
2774
2774
|
why: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2775
2775
|
reason: z.ZodLiteral<"missing_token">;
|
|
2776
2776
|
source: z.ZodEnum<{
|
|
2777
|
-
query: "query";
|
|
2778
2777
|
unknown: "unknown";
|
|
2778
|
+
query: "query";
|
|
2779
2779
|
authorization: "authorization";
|
|
2780
2780
|
client: "client";
|
|
2781
2781
|
}>;
|
|
2782
2782
|
}, z.core.$strip>, z.ZodObject<{
|
|
2783
2783
|
reason: z.ZodLiteral<"invalid_token">;
|
|
2784
2784
|
source: z.ZodEnum<{
|
|
2785
|
-
query: "query";
|
|
2786
2785
|
unknown: "unknown";
|
|
2786
|
+
query: "query";
|
|
2787
2787
|
authorization: "authorization";
|
|
2788
2788
|
client: "client";
|
|
2789
2789
|
}>;
|
|
2790
2790
|
}, z.core.$strip>, z.ZodObject<{
|
|
2791
2791
|
reason: z.ZodLiteral<"expired_token">;
|
|
2792
2792
|
source: z.ZodEnum<{
|
|
2793
|
-
query: "query";
|
|
2794
2793
|
unknown: "unknown";
|
|
2794
|
+
query: "query";
|
|
2795
2795
|
authorization: "authorization";
|
|
2796
2796
|
client: "client";
|
|
2797
2797
|
}>;
|
|
2798
2798
|
}, z.core.$strip>, z.ZodObject<{
|
|
2799
2799
|
reason: z.ZodLiteral<"invalid_secret">;
|
|
2800
2800
|
source: z.ZodEnum<{
|
|
2801
|
-
query: "query";
|
|
2802
2801
|
unknown: "unknown";
|
|
2802
|
+
query: "query";
|
|
2803
2803
|
authorization: "authorization";
|
|
2804
2804
|
client: "client";
|
|
2805
2805
|
}>;
|
|
2806
2806
|
}, z.core.$strip>, z.ZodObject<{
|
|
2807
2807
|
reason: z.ZodLiteral<"user_mismatch">;
|
|
2808
2808
|
source: z.ZodEnum<{
|
|
2809
|
-
query: "query";
|
|
2810
2809
|
unknown: "unknown";
|
|
2810
|
+
query: "query";
|
|
2811
2811
|
authorization: "authorization";
|
|
2812
2812
|
client: "client";
|
|
2813
2813
|
}>;
|
|
2814
2814
|
}, z.core.$strip>, z.ZodObject<{
|
|
2815
2815
|
reason: z.ZodLiteral<"insufficient_scope">;
|
|
2816
2816
|
source: z.ZodEnum<{
|
|
2817
|
-
query: "query";
|
|
2818
2817
|
unknown: "unknown";
|
|
2818
|
+
query: "query";
|
|
2819
2819
|
authorization: "authorization";
|
|
2820
2820
|
client: "client";
|
|
2821
2821
|
}>;
|
|
@@ -2830,8 +2830,8 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
2830
2830
|
}>;
|
|
2831
2831
|
value: z.ZodOptional<z.ZodString>;
|
|
2832
2832
|
source: z.ZodEnum<{
|
|
2833
|
-
query: "query";
|
|
2834
2833
|
unknown: "unknown";
|
|
2834
|
+
query: "query";
|
|
2835
2835
|
authorization: "authorization";
|
|
2836
2836
|
client: "client";
|
|
2837
2837
|
}>;
|
|
@@ -2873,8 +2873,8 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
2873
2873
|
}>>;
|
|
2874
2874
|
controller: z.ZodOptional<z.ZodBoolean>;
|
|
2875
2875
|
recording_mode: z.ZodOptional<z.ZodEnum<{
|
|
2876
|
-
recorded: "recorded";
|
|
2877
2876
|
private: "private";
|
|
2877
|
+
recorded: "recorded";
|
|
2878
2878
|
}>>;
|
|
2879
2879
|
encryption_mode: z.ZodOptional<z.ZodEnum<{
|
|
2880
2880
|
managed: "managed";
|
|
@@ -2905,9 +2905,9 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
2905
2905
|
webtransport: "webtransport";
|
|
2906
2906
|
}>>;
|
|
2907
2907
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
2908
|
+
api: "api";
|
|
2908
2909
|
human: "human";
|
|
2909
2910
|
codex: "codex";
|
|
2910
|
-
api: "api";
|
|
2911
2911
|
automation: "automation";
|
|
2912
2912
|
ci: "ci";
|
|
2913
2913
|
"scheduled-job": "scheduled-job";
|
|
@@ -2915,8 +2915,8 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
2915
2915
|
origin_id: z.ZodOptional<z.ZodString>;
|
|
2916
2916
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
2917
2917
|
agent: "agent";
|
|
2918
|
-
user: "user";
|
|
2919
2918
|
app: "app";
|
|
2919
|
+
user: "user";
|
|
2920
2920
|
"service-account": "service-account";
|
|
2921
2921
|
}>>;
|
|
2922
2922
|
device_id: z.ZodOptional<z.ZodString>;
|
|
@@ -2953,10 +2953,10 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
2953
2953
|
server: "server";
|
|
2954
2954
|
}>;
|
|
2955
2955
|
reason: z.ZodEnum<{
|
|
2956
|
-
unknown: "unknown";
|
|
2957
2956
|
error: "error";
|
|
2958
|
-
|
|
2957
|
+
unknown: "unknown";
|
|
2959
2958
|
timeout: "timeout";
|
|
2959
|
+
closed: "closed";
|
|
2960
2960
|
reset: "reset";
|
|
2961
2961
|
}>;
|
|
2962
2962
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2984,48 +2984,48 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
2984
2984
|
why: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2985
2985
|
reason: z.ZodLiteral<"missing_token">;
|
|
2986
2986
|
source: z.ZodEnum<{
|
|
2987
|
-
query: "query";
|
|
2988
2987
|
unknown: "unknown";
|
|
2988
|
+
query: "query";
|
|
2989
2989
|
authorization: "authorization";
|
|
2990
2990
|
client: "client";
|
|
2991
2991
|
}>;
|
|
2992
2992
|
}, z.core.$strip>, z.ZodObject<{
|
|
2993
2993
|
reason: z.ZodLiteral<"invalid_token">;
|
|
2994
2994
|
source: z.ZodEnum<{
|
|
2995
|
-
query: "query";
|
|
2996
2995
|
unknown: "unknown";
|
|
2996
|
+
query: "query";
|
|
2997
2997
|
authorization: "authorization";
|
|
2998
2998
|
client: "client";
|
|
2999
2999
|
}>;
|
|
3000
3000
|
}, z.core.$strip>, z.ZodObject<{
|
|
3001
3001
|
reason: z.ZodLiteral<"expired_token">;
|
|
3002
3002
|
source: z.ZodEnum<{
|
|
3003
|
-
query: "query";
|
|
3004
3003
|
unknown: "unknown";
|
|
3004
|
+
query: "query";
|
|
3005
3005
|
authorization: "authorization";
|
|
3006
3006
|
client: "client";
|
|
3007
3007
|
}>;
|
|
3008
3008
|
}, z.core.$strip>, z.ZodObject<{
|
|
3009
3009
|
reason: z.ZodLiteral<"invalid_secret">;
|
|
3010
3010
|
source: z.ZodEnum<{
|
|
3011
|
-
query: "query";
|
|
3012
3011
|
unknown: "unknown";
|
|
3012
|
+
query: "query";
|
|
3013
3013
|
authorization: "authorization";
|
|
3014
3014
|
client: "client";
|
|
3015
3015
|
}>;
|
|
3016
3016
|
}, z.core.$strip>, z.ZodObject<{
|
|
3017
3017
|
reason: z.ZodLiteral<"user_mismatch">;
|
|
3018
3018
|
source: z.ZodEnum<{
|
|
3019
|
-
query: "query";
|
|
3020
3019
|
unknown: "unknown";
|
|
3020
|
+
query: "query";
|
|
3021
3021
|
authorization: "authorization";
|
|
3022
3022
|
client: "client";
|
|
3023
3023
|
}>;
|
|
3024
3024
|
}, z.core.$strip>, z.ZodObject<{
|
|
3025
3025
|
reason: z.ZodLiteral<"insufficient_scope">;
|
|
3026
3026
|
source: z.ZodEnum<{
|
|
3027
|
-
query: "query";
|
|
3028
3027
|
unknown: "unknown";
|
|
3028
|
+
query: "query";
|
|
3029
3029
|
authorization: "authorization";
|
|
3030
3030
|
client: "client";
|
|
3031
3031
|
}>;
|
|
@@ -3040,8 +3040,8 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
3040
3040
|
}>;
|
|
3041
3041
|
value: z.ZodOptional<z.ZodString>;
|
|
3042
3042
|
source: z.ZodEnum<{
|
|
3043
|
-
query: "query";
|
|
3044
3043
|
unknown: "unknown";
|
|
3044
|
+
query: "query";
|
|
3045
3045
|
authorization: "authorization";
|
|
3046
3046
|
client: "client";
|
|
3047
3047
|
}>;
|
|
@@ -3097,10 +3097,10 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
3097
3097
|
server: "server";
|
|
3098
3098
|
}>;
|
|
3099
3099
|
reason: z.ZodEnum<{
|
|
3100
|
-
unknown: "unknown";
|
|
3101
3100
|
error: "error";
|
|
3102
|
-
|
|
3101
|
+
unknown: "unknown";
|
|
3103
3102
|
timeout: "timeout";
|
|
3103
|
+
closed: "closed";
|
|
3104
3104
|
reset: "reset";
|
|
3105
3105
|
}>;
|
|
3106
3106
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -3506,10 +3506,10 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
3506
3506
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
3507
3507
|
group_id: z.ZodOptional<z.ZodString>;
|
|
3508
3508
|
status: z.ZodEnum<{
|
|
3509
|
-
opening: "opening";
|
|
3510
3509
|
active: "active";
|
|
3511
|
-
closing: "closing";
|
|
3512
3510
|
closed: "closed";
|
|
3511
|
+
opening: "opening";
|
|
3512
|
+
closing: "closing";
|
|
3513
3513
|
errored: "errored";
|
|
3514
3514
|
}>;
|
|
3515
3515
|
session_mode: z.ZodEnum<{
|
|
@@ -3517,8 +3517,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
3517
3517
|
"non-interactive": "non-interactive";
|
|
3518
3518
|
}>;
|
|
3519
3519
|
recording_mode: z.ZodEnum<{
|
|
3520
|
-
recorded: "recorded";
|
|
3521
3520
|
private: "private";
|
|
3521
|
+
recorded: "recorded";
|
|
3522
3522
|
}>;
|
|
3523
3523
|
encryption_mode: z.ZodEnum<{
|
|
3524
3524
|
managed: "managed";
|
|
@@ -3537,9 +3537,9 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
3537
3537
|
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
3538
3538
|
context: z.ZodOptional<z.ZodObject<{
|
|
3539
3539
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
3540
|
+
api: "api";
|
|
3540
3541
|
human: "human";
|
|
3541
3542
|
codex: "codex";
|
|
3542
|
-
api: "api";
|
|
3543
3543
|
automation: "automation";
|
|
3544
3544
|
ci: "ci";
|
|
3545
3545
|
"scheduled-job": "scheduled-job";
|
|
@@ -3548,8 +3548,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
3548
3548
|
purpose: z.ZodOptional<z.ZodString>;
|
|
3549
3549
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
3550
3550
|
agent: "agent";
|
|
3551
|
-
user: "user";
|
|
3552
3551
|
app: "app";
|
|
3552
|
+
user: "user";
|
|
3553
3553
|
"service-account": "service-account";
|
|
3554
3554
|
}>>;
|
|
3555
3555
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -3589,10 +3589,10 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
3589
3589
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
3590
3590
|
group_id: z.ZodOptional<z.ZodString>;
|
|
3591
3591
|
status: z.ZodEnum<{
|
|
3592
|
-
opening: "opening";
|
|
3593
3592
|
active: "active";
|
|
3594
|
-
closing: "closing";
|
|
3595
3593
|
closed: "closed";
|
|
3594
|
+
opening: "opening";
|
|
3595
|
+
closing: "closing";
|
|
3596
3596
|
errored: "errored";
|
|
3597
3597
|
}>;
|
|
3598
3598
|
session_mode: z.ZodEnum<{
|
|
@@ -3600,8 +3600,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
3600
3600
|
"non-interactive": "non-interactive";
|
|
3601
3601
|
}>;
|
|
3602
3602
|
recording_mode: z.ZodEnum<{
|
|
3603
|
-
recorded: "recorded";
|
|
3604
3603
|
private: "private";
|
|
3604
|
+
recorded: "recorded";
|
|
3605
3605
|
}>;
|
|
3606
3606
|
encryption_mode: z.ZodEnum<{
|
|
3607
3607
|
managed: "managed";
|
|
@@ -3620,9 +3620,9 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
3620
3620
|
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
3621
3621
|
context: z.ZodOptional<z.ZodObject<{
|
|
3622
3622
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
3623
|
+
api: "api";
|
|
3623
3624
|
human: "human";
|
|
3624
3625
|
codex: "codex";
|
|
3625
|
-
api: "api";
|
|
3626
3626
|
automation: "automation";
|
|
3627
3627
|
ci: "ci";
|
|
3628
3628
|
"scheduled-job": "scheduled-job";
|
|
@@ -3631,8 +3631,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
3631
3631
|
purpose: z.ZodOptional<z.ZodString>;
|
|
3632
3632
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
3633
3633
|
agent: "agent";
|
|
3634
|
-
user: "user";
|
|
3635
3634
|
app: "app";
|
|
3635
|
+
user: "user";
|
|
3636
3636
|
"service-account": "service-account";
|
|
3637
3637
|
}>>;
|
|
3638
3638
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -3659,9 +3659,9 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
3659
3659
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
3660
3660
|
context: z.ZodOptional<z.ZodObject<{
|
|
3661
3661
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
3662
|
+
api: "api";
|
|
3662
3663
|
human: "human";
|
|
3663
3664
|
codex: "codex";
|
|
3664
|
-
api: "api";
|
|
3665
3665
|
automation: "automation";
|
|
3666
3666
|
ci: "ci";
|
|
3667
3667
|
"scheduled-job": "scheduled-job";
|
|
@@ -3670,8 +3670,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
3670
3670
|
purpose: z.ZodOptional<z.ZodString>;
|
|
3671
3671
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
3672
3672
|
agent: "agent";
|
|
3673
|
-
user: "user";
|
|
3674
3673
|
app: "app";
|
|
3674
|
+
user: "user";
|
|
3675
3675
|
"service-account": "service-account";
|
|
3676
3676
|
}>>;
|
|
3677
3677
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -3702,10 +3702,10 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
3702
3702
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
3703
3703
|
group_id: z.ZodOptional<z.ZodString>;
|
|
3704
3704
|
status: z.ZodEnum<{
|
|
3705
|
-
opening: "opening";
|
|
3706
3705
|
active: "active";
|
|
3707
|
-
closing: "closing";
|
|
3708
3706
|
closed: "closed";
|
|
3707
|
+
opening: "opening";
|
|
3708
|
+
closing: "closing";
|
|
3709
3709
|
errored: "errored";
|
|
3710
3710
|
}>;
|
|
3711
3711
|
session_mode: z.ZodEnum<{
|
|
@@ -3713,8 +3713,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
3713
3713
|
"non-interactive": "non-interactive";
|
|
3714
3714
|
}>;
|
|
3715
3715
|
recording_mode: z.ZodEnum<{
|
|
3716
|
-
recorded: "recorded";
|
|
3717
3716
|
private: "private";
|
|
3717
|
+
recorded: "recorded";
|
|
3718
3718
|
}>;
|
|
3719
3719
|
encryption_mode: z.ZodEnum<{
|
|
3720
3720
|
managed: "managed";
|
|
@@ -3733,9 +3733,9 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
3733
3733
|
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
3734
3734
|
context: z.ZodOptional<z.ZodObject<{
|
|
3735
3735
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
3736
|
+
api: "api";
|
|
3736
3737
|
human: "human";
|
|
3737
3738
|
codex: "codex";
|
|
3738
|
-
api: "api";
|
|
3739
3739
|
automation: "automation";
|
|
3740
3740
|
ci: "ci";
|
|
3741
3741
|
"scheduled-job": "scheduled-job";
|
|
@@ -3744,8 +3744,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
3744
3744
|
purpose: z.ZodOptional<z.ZodString>;
|
|
3745
3745
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
3746
3746
|
agent: "agent";
|
|
3747
|
-
user: "user";
|
|
3748
3747
|
app: "app";
|
|
3748
|
+
user: "user";
|
|
3749
3749
|
"service-account": "service-account";
|
|
3750
3750
|
}>>;
|
|
3751
3751
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -3869,9 +3869,9 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
3869
3869
|
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
3870
3870
|
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
3871
3871
|
status: z.ZodEnum<{
|
|
3872
|
+
refused: "refused";
|
|
3872
3873
|
pending: "pending";
|
|
3873
3874
|
granted: "granted";
|
|
3874
|
-
refused: "refused";
|
|
3875
3875
|
revoked: "revoked";
|
|
3876
3876
|
expired: "expired";
|
|
3877
3877
|
}>;
|
|
@@ -3898,9 +3898,9 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
3898
3898
|
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
3899
3899
|
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
3900
3900
|
status: z.ZodEnum<{
|
|
3901
|
+
refused: "refused";
|
|
3901
3902
|
pending: "pending";
|
|
3902
3903
|
granted: "granted";
|
|
3903
|
-
refused: "refused";
|
|
3904
3904
|
revoked: "revoked";
|
|
3905
3905
|
expired: "expired";
|
|
3906
3906
|
}>;
|
|
@@ -3927,9 +3927,9 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
3927
3927
|
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
3928
3928
|
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
3929
3929
|
status: z.ZodEnum<{
|
|
3930
|
+
refused: "refused";
|
|
3930
3931
|
pending: "pending";
|
|
3931
3932
|
granted: "granted";
|
|
3932
|
-
refused: "refused";
|
|
3933
3933
|
revoked: "revoked";
|
|
3934
3934
|
expired: "expired";
|
|
3935
3935
|
}>;
|
|
@@ -3956,9 +3956,9 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
3956
3956
|
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
3957
3957
|
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
3958
3958
|
status: z.ZodEnum<{
|
|
3959
|
+
refused: "refused";
|
|
3959
3960
|
pending: "pending";
|
|
3960
3961
|
granted: "granted";
|
|
3961
|
-
refused: "refused";
|
|
3962
3962
|
revoked: "revoked";
|
|
3963
3963
|
expired: "expired";
|
|
3964
3964
|
}>;
|
|
@@ -4174,10 +4174,10 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4174
4174
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
4175
4175
|
group_id: z.ZodOptional<z.ZodString>;
|
|
4176
4176
|
status: z.ZodEnum<{
|
|
4177
|
-
opening: "opening";
|
|
4178
4177
|
active: "active";
|
|
4179
|
-
closing: "closing";
|
|
4180
4178
|
closed: "closed";
|
|
4179
|
+
opening: "opening";
|
|
4180
|
+
closing: "closing";
|
|
4181
4181
|
errored: "errored";
|
|
4182
4182
|
}>;
|
|
4183
4183
|
session_mode: z.ZodEnum<{
|
|
@@ -4185,8 +4185,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4185
4185
|
"non-interactive": "non-interactive";
|
|
4186
4186
|
}>;
|
|
4187
4187
|
recording_mode: z.ZodEnum<{
|
|
4188
|
-
recorded: "recorded";
|
|
4189
4188
|
private: "private";
|
|
4189
|
+
recorded: "recorded";
|
|
4190
4190
|
}>;
|
|
4191
4191
|
encryption_mode: z.ZodEnum<{
|
|
4192
4192
|
managed: "managed";
|
|
@@ -4205,9 +4205,9 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4205
4205
|
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
4206
4206
|
context: z.ZodOptional<z.ZodObject<{
|
|
4207
4207
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
4208
|
+
api: "api";
|
|
4208
4209
|
human: "human";
|
|
4209
4210
|
codex: "codex";
|
|
4210
|
-
api: "api";
|
|
4211
4211
|
automation: "automation";
|
|
4212
4212
|
ci: "ci";
|
|
4213
4213
|
"scheduled-job": "scheduled-job";
|
|
@@ -4216,8 +4216,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4216
4216
|
purpose: z.ZodOptional<z.ZodString>;
|
|
4217
4217
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
4218
4218
|
agent: "agent";
|
|
4219
|
-
user: "user";
|
|
4220
4219
|
app: "app";
|
|
4220
|
+
user: "user";
|
|
4221
4221
|
"service-account": "service-account";
|
|
4222
4222
|
}>>;
|
|
4223
4223
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -4257,10 +4257,10 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4257
4257
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
4258
4258
|
group_id: z.ZodOptional<z.ZodString>;
|
|
4259
4259
|
status: z.ZodEnum<{
|
|
4260
|
-
opening: "opening";
|
|
4261
4260
|
active: "active";
|
|
4262
|
-
closing: "closing";
|
|
4263
4261
|
closed: "closed";
|
|
4262
|
+
opening: "opening";
|
|
4263
|
+
closing: "closing";
|
|
4264
4264
|
errored: "errored";
|
|
4265
4265
|
}>;
|
|
4266
4266
|
session_mode: z.ZodEnum<{
|
|
@@ -4268,8 +4268,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4268
4268
|
"non-interactive": "non-interactive";
|
|
4269
4269
|
}>;
|
|
4270
4270
|
recording_mode: z.ZodEnum<{
|
|
4271
|
-
recorded: "recorded";
|
|
4272
4271
|
private: "private";
|
|
4272
|
+
recorded: "recorded";
|
|
4273
4273
|
}>;
|
|
4274
4274
|
encryption_mode: z.ZodEnum<{
|
|
4275
4275
|
managed: "managed";
|
|
@@ -4288,9 +4288,9 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4288
4288
|
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
4289
4289
|
context: z.ZodOptional<z.ZodObject<{
|
|
4290
4290
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
4291
|
+
api: "api";
|
|
4291
4292
|
human: "human";
|
|
4292
4293
|
codex: "codex";
|
|
4293
|
-
api: "api";
|
|
4294
4294
|
automation: "automation";
|
|
4295
4295
|
ci: "ci";
|
|
4296
4296
|
"scheduled-job": "scheduled-job";
|
|
@@ -4299,8 +4299,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4299
4299
|
purpose: z.ZodOptional<z.ZodString>;
|
|
4300
4300
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
4301
4301
|
agent: "agent";
|
|
4302
|
-
user: "user";
|
|
4303
4302
|
app: "app";
|
|
4303
|
+
user: "user";
|
|
4304
4304
|
"service-account": "service-account";
|
|
4305
4305
|
}>>;
|
|
4306
4306
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -4327,9 +4327,9 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4327
4327
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
4328
4328
|
context: z.ZodOptional<z.ZodObject<{
|
|
4329
4329
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
4330
|
+
api: "api";
|
|
4330
4331
|
human: "human";
|
|
4331
4332
|
codex: "codex";
|
|
4332
|
-
api: "api";
|
|
4333
4333
|
automation: "automation";
|
|
4334
4334
|
ci: "ci";
|
|
4335
4335
|
"scheduled-job": "scheduled-job";
|
|
@@ -4338,8 +4338,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4338
4338
|
purpose: z.ZodOptional<z.ZodString>;
|
|
4339
4339
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
4340
4340
|
agent: "agent";
|
|
4341
|
-
user: "user";
|
|
4342
4341
|
app: "app";
|
|
4342
|
+
user: "user";
|
|
4343
4343
|
"service-account": "service-account";
|
|
4344
4344
|
}>>;
|
|
4345
4345
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -4370,10 +4370,10 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4370
4370
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
4371
4371
|
group_id: z.ZodOptional<z.ZodString>;
|
|
4372
4372
|
status: z.ZodEnum<{
|
|
4373
|
-
opening: "opening";
|
|
4374
4373
|
active: "active";
|
|
4375
|
-
closing: "closing";
|
|
4376
4374
|
closed: "closed";
|
|
4375
|
+
opening: "opening";
|
|
4376
|
+
closing: "closing";
|
|
4377
4377
|
errored: "errored";
|
|
4378
4378
|
}>;
|
|
4379
4379
|
session_mode: z.ZodEnum<{
|
|
@@ -4381,8 +4381,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4381
4381
|
"non-interactive": "non-interactive";
|
|
4382
4382
|
}>;
|
|
4383
4383
|
recording_mode: z.ZodEnum<{
|
|
4384
|
-
recorded: "recorded";
|
|
4385
4384
|
private: "private";
|
|
4385
|
+
recorded: "recorded";
|
|
4386
4386
|
}>;
|
|
4387
4387
|
encryption_mode: z.ZodEnum<{
|
|
4388
4388
|
managed: "managed";
|
|
@@ -4401,9 +4401,9 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4401
4401
|
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
4402
4402
|
context: z.ZodOptional<z.ZodObject<{
|
|
4403
4403
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
4404
|
+
api: "api";
|
|
4404
4405
|
human: "human";
|
|
4405
4406
|
codex: "codex";
|
|
4406
|
-
api: "api";
|
|
4407
4407
|
automation: "automation";
|
|
4408
4408
|
ci: "ci";
|
|
4409
4409
|
"scheduled-job": "scheduled-job";
|
|
@@ -4412,8 +4412,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4412
4412
|
purpose: z.ZodOptional<z.ZodString>;
|
|
4413
4413
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
4414
4414
|
agent: "agent";
|
|
4415
|
-
user: "user";
|
|
4416
4415
|
app: "app";
|
|
4416
|
+
user: "user";
|
|
4417
4417
|
"service-account": "service-account";
|
|
4418
4418
|
}>>;
|
|
4419
4419
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -4537,9 +4537,9 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4537
4537
|
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
4538
4538
|
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
4539
4539
|
status: z.ZodEnum<{
|
|
4540
|
+
refused: "refused";
|
|
4540
4541
|
pending: "pending";
|
|
4541
4542
|
granted: "granted";
|
|
4542
|
-
refused: "refused";
|
|
4543
4543
|
revoked: "revoked";
|
|
4544
4544
|
expired: "expired";
|
|
4545
4545
|
}>;
|
|
@@ -4566,9 +4566,9 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4566
4566
|
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
4567
4567
|
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
4568
4568
|
status: z.ZodEnum<{
|
|
4569
|
+
refused: "refused";
|
|
4569
4570
|
pending: "pending";
|
|
4570
4571
|
granted: "granted";
|
|
4571
|
-
refused: "refused";
|
|
4572
4572
|
revoked: "revoked";
|
|
4573
4573
|
expired: "expired";
|
|
4574
4574
|
}>;
|
|
@@ -4595,9 +4595,9 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4595
4595
|
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
4596
4596
|
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
4597
4597
|
status: z.ZodEnum<{
|
|
4598
|
+
refused: "refused";
|
|
4598
4599
|
pending: "pending";
|
|
4599
4600
|
granted: "granted";
|
|
4600
|
-
refused: "refused";
|
|
4601
4601
|
revoked: "revoked";
|
|
4602
4602
|
expired: "expired";
|
|
4603
4603
|
}>;
|
|
@@ -4624,9 +4624,9 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4624
4624
|
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
4625
4625
|
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
4626
4626
|
status: z.ZodEnum<{
|
|
4627
|
+
refused: "refused";
|
|
4627
4628
|
pending: "pending";
|
|
4628
4629
|
granted: "granted";
|
|
4629
|
-
refused: "refused";
|
|
4630
4630
|
revoked: "revoked";
|
|
4631
4631
|
expired: "expired";
|
|
4632
4632
|
}>;
|
|
@@ -4678,12 +4678,12 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4678
4678
|
internal: "internal";
|
|
4679
4679
|
}>;
|
|
4680
4680
|
transport: z.ZodOptional<z.ZodEnum<{
|
|
4681
|
-
http: "http";
|
|
4682
|
-
rstream: "rstream";
|
|
4683
4681
|
tls: "tls";
|
|
4684
4682
|
tcp: "tcp";
|
|
4685
4683
|
dtls: "dtls";
|
|
4686
4684
|
quic: "quic";
|
|
4685
|
+
http: "http";
|
|
4686
|
+
rstream: "rstream";
|
|
4687
4687
|
}>>;
|
|
4688
4688
|
}, z.core.$strip>>;
|
|
4689
4689
|
http: z.ZodOptional<z.ZodObject<{
|
|
@@ -4720,8 +4720,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4720
4720
|
}, z.core.$strip>, z.ZodObject<{
|
|
4721
4721
|
kind: z.ZodLiteral<"token">;
|
|
4722
4722
|
source: z.ZodOptional<z.ZodEnum<{
|
|
4723
|
-
query: "query";
|
|
4724
4723
|
unknown: "unknown";
|
|
4724
|
+
query: "query";
|
|
4725
4725
|
authorization: "authorization";
|
|
4726
4726
|
client: "client";
|
|
4727
4727
|
}>>;
|
|
@@ -4747,8 +4747,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4747
4747
|
}, z.core.$strip>, z.ZodObject<{
|
|
4748
4748
|
kind: z.ZodLiteral<"token">;
|
|
4749
4749
|
source: z.ZodOptional<z.ZodEnum<{
|
|
4750
|
-
query: "query";
|
|
4751
4750
|
unknown: "unknown";
|
|
4751
|
+
query: "query";
|
|
4752
4752
|
authorization: "authorization";
|
|
4753
4753
|
client: "client";
|
|
4754
4754
|
}>>;
|
|
@@ -4768,48 +4768,48 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4768
4768
|
why: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4769
4769
|
reason: z.ZodLiteral<"missing_token">;
|
|
4770
4770
|
source: z.ZodEnum<{
|
|
4771
|
-
query: "query";
|
|
4772
4771
|
unknown: "unknown";
|
|
4772
|
+
query: "query";
|
|
4773
4773
|
authorization: "authorization";
|
|
4774
4774
|
client: "client";
|
|
4775
4775
|
}>;
|
|
4776
4776
|
}, z.core.$strip>, z.ZodObject<{
|
|
4777
4777
|
reason: z.ZodLiteral<"invalid_token">;
|
|
4778
4778
|
source: z.ZodEnum<{
|
|
4779
|
-
query: "query";
|
|
4780
4779
|
unknown: "unknown";
|
|
4780
|
+
query: "query";
|
|
4781
4781
|
authorization: "authorization";
|
|
4782
4782
|
client: "client";
|
|
4783
4783
|
}>;
|
|
4784
4784
|
}, z.core.$strip>, z.ZodObject<{
|
|
4785
4785
|
reason: z.ZodLiteral<"expired_token">;
|
|
4786
4786
|
source: z.ZodEnum<{
|
|
4787
|
-
query: "query";
|
|
4788
4787
|
unknown: "unknown";
|
|
4788
|
+
query: "query";
|
|
4789
4789
|
authorization: "authorization";
|
|
4790
4790
|
client: "client";
|
|
4791
4791
|
}>;
|
|
4792
4792
|
}, z.core.$strip>, z.ZodObject<{
|
|
4793
4793
|
reason: z.ZodLiteral<"invalid_secret">;
|
|
4794
4794
|
source: z.ZodEnum<{
|
|
4795
|
-
query: "query";
|
|
4796
4795
|
unknown: "unknown";
|
|
4796
|
+
query: "query";
|
|
4797
4797
|
authorization: "authorization";
|
|
4798
4798
|
client: "client";
|
|
4799
4799
|
}>;
|
|
4800
4800
|
}, z.core.$strip>, z.ZodObject<{
|
|
4801
4801
|
reason: z.ZodLiteral<"user_mismatch">;
|
|
4802
4802
|
source: z.ZodEnum<{
|
|
4803
|
-
query: "query";
|
|
4804
4803
|
unknown: "unknown";
|
|
4804
|
+
query: "query";
|
|
4805
4805
|
authorization: "authorization";
|
|
4806
4806
|
client: "client";
|
|
4807
4807
|
}>;
|
|
4808
4808
|
}, z.core.$strip>, z.ZodObject<{
|
|
4809
4809
|
reason: z.ZodLiteral<"insufficient_scope">;
|
|
4810
4810
|
source: z.ZodEnum<{
|
|
4811
|
-
query: "query";
|
|
4812
4811
|
unknown: "unknown";
|
|
4812
|
+
query: "query";
|
|
4813
4813
|
authorization: "authorization";
|
|
4814
4814
|
client: "client";
|
|
4815
4815
|
}>;
|
|
@@ -4824,8 +4824,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4824
4824
|
}>;
|
|
4825
4825
|
value: z.ZodOptional<z.ZodString>;
|
|
4826
4826
|
source: z.ZodEnum<{
|
|
4827
|
-
query: "query";
|
|
4828
4827
|
unknown: "unknown";
|
|
4828
|
+
query: "query";
|
|
4829
4829
|
authorization: "authorization";
|
|
4830
4830
|
client: "client";
|
|
4831
4831
|
}>;
|
|
@@ -4905,48 +4905,48 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4905
4905
|
why: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4906
4906
|
reason: z.ZodLiteral<"missing_token">;
|
|
4907
4907
|
source: z.ZodEnum<{
|
|
4908
|
-
query: "query";
|
|
4909
4908
|
unknown: "unknown";
|
|
4909
|
+
query: "query";
|
|
4910
4910
|
authorization: "authorization";
|
|
4911
4911
|
client: "client";
|
|
4912
4912
|
}>;
|
|
4913
4913
|
}, z.core.$strip>, z.ZodObject<{
|
|
4914
4914
|
reason: z.ZodLiteral<"invalid_token">;
|
|
4915
4915
|
source: z.ZodEnum<{
|
|
4916
|
-
query: "query";
|
|
4917
4916
|
unknown: "unknown";
|
|
4917
|
+
query: "query";
|
|
4918
4918
|
authorization: "authorization";
|
|
4919
4919
|
client: "client";
|
|
4920
4920
|
}>;
|
|
4921
4921
|
}, z.core.$strip>, z.ZodObject<{
|
|
4922
4922
|
reason: z.ZodLiteral<"expired_token">;
|
|
4923
4923
|
source: z.ZodEnum<{
|
|
4924
|
-
query: "query";
|
|
4925
4924
|
unknown: "unknown";
|
|
4925
|
+
query: "query";
|
|
4926
4926
|
authorization: "authorization";
|
|
4927
4927
|
client: "client";
|
|
4928
4928
|
}>;
|
|
4929
4929
|
}, z.core.$strip>, z.ZodObject<{
|
|
4930
4930
|
reason: z.ZodLiteral<"invalid_secret">;
|
|
4931
4931
|
source: z.ZodEnum<{
|
|
4932
|
-
query: "query";
|
|
4933
4932
|
unknown: "unknown";
|
|
4933
|
+
query: "query";
|
|
4934
4934
|
authorization: "authorization";
|
|
4935
4935
|
client: "client";
|
|
4936
4936
|
}>;
|
|
4937
4937
|
}, z.core.$strip>, z.ZodObject<{
|
|
4938
4938
|
reason: z.ZodLiteral<"user_mismatch">;
|
|
4939
4939
|
source: z.ZodEnum<{
|
|
4940
|
-
query: "query";
|
|
4941
4940
|
unknown: "unknown";
|
|
4941
|
+
query: "query";
|
|
4942
4942
|
authorization: "authorization";
|
|
4943
4943
|
client: "client";
|
|
4944
4944
|
}>;
|
|
4945
4945
|
}, z.core.$strip>, z.ZodObject<{
|
|
4946
4946
|
reason: z.ZodLiteral<"insufficient_scope">;
|
|
4947
4947
|
source: z.ZodEnum<{
|
|
4948
|
-
query: "query";
|
|
4949
4948
|
unknown: "unknown";
|
|
4949
|
+
query: "query";
|
|
4950
4950
|
authorization: "authorization";
|
|
4951
4951
|
client: "client";
|
|
4952
4952
|
}>;
|
|
@@ -4961,8 +4961,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
4961
4961
|
}>;
|
|
4962
4962
|
value: z.ZodOptional<z.ZodString>;
|
|
4963
4963
|
source: z.ZodEnum<{
|
|
4964
|
-
query: "query";
|
|
4965
4964
|
unknown: "unknown";
|
|
4965
|
+
query: "query";
|
|
4966
4966
|
authorization: "authorization";
|
|
4967
4967
|
client: "client";
|
|
4968
4968
|
}>;
|
|
@@ -5004,8 +5004,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
5004
5004
|
}>>;
|
|
5005
5005
|
controller: z.ZodOptional<z.ZodBoolean>;
|
|
5006
5006
|
recording_mode: z.ZodOptional<z.ZodEnum<{
|
|
5007
|
-
recorded: "recorded";
|
|
5008
5007
|
private: "private";
|
|
5008
|
+
recorded: "recorded";
|
|
5009
5009
|
}>>;
|
|
5010
5010
|
encryption_mode: z.ZodOptional<z.ZodEnum<{
|
|
5011
5011
|
managed: "managed";
|
|
@@ -5036,9 +5036,9 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
5036
5036
|
webtransport: "webtransport";
|
|
5037
5037
|
}>>;
|
|
5038
5038
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
5039
|
+
api: "api";
|
|
5039
5040
|
human: "human";
|
|
5040
5041
|
codex: "codex";
|
|
5041
|
-
api: "api";
|
|
5042
5042
|
automation: "automation";
|
|
5043
5043
|
ci: "ci";
|
|
5044
5044
|
"scheduled-job": "scheduled-job";
|
|
@@ -5046,8 +5046,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
5046
5046
|
origin_id: z.ZodOptional<z.ZodString>;
|
|
5047
5047
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
5048
5048
|
agent: "agent";
|
|
5049
|
-
user: "user";
|
|
5050
5049
|
app: "app";
|
|
5050
|
+
user: "user";
|
|
5051
5051
|
"service-account": "service-account";
|
|
5052
5052
|
}>>;
|
|
5053
5053
|
device_id: z.ZodOptional<z.ZodString>;
|
|
@@ -5084,10 +5084,10 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
5084
5084
|
server: "server";
|
|
5085
5085
|
}>;
|
|
5086
5086
|
reason: z.ZodEnum<{
|
|
5087
|
-
unknown: "unknown";
|
|
5088
5087
|
error: "error";
|
|
5089
|
-
|
|
5088
|
+
unknown: "unknown";
|
|
5090
5089
|
timeout: "timeout";
|
|
5090
|
+
closed: "closed";
|
|
5091
5091
|
reset: "reset";
|
|
5092
5092
|
}>;
|
|
5093
5093
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -5115,48 +5115,48 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
5115
5115
|
why: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5116
5116
|
reason: z.ZodLiteral<"missing_token">;
|
|
5117
5117
|
source: z.ZodEnum<{
|
|
5118
|
-
query: "query";
|
|
5119
5118
|
unknown: "unknown";
|
|
5119
|
+
query: "query";
|
|
5120
5120
|
authorization: "authorization";
|
|
5121
5121
|
client: "client";
|
|
5122
5122
|
}>;
|
|
5123
5123
|
}, z.core.$strip>, z.ZodObject<{
|
|
5124
5124
|
reason: z.ZodLiteral<"invalid_token">;
|
|
5125
5125
|
source: z.ZodEnum<{
|
|
5126
|
-
query: "query";
|
|
5127
5126
|
unknown: "unknown";
|
|
5127
|
+
query: "query";
|
|
5128
5128
|
authorization: "authorization";
|
|
5129
5129
|
client: "client";
|
|
5130
5130
|
}>;
|
|
5131
5131
|
}, z.core.$strip>, z.ZodObject<{
|
|
5132
5132
|
reason: z.ZodLiteral<"expired_token">;
|
|
5133
5133
|
source: z.ZodEnum<{
|
|
5134
|
-
query: "query";
|
|
5135
5134
|
unknown: "unknown";
|
|
5135
|
+
query: "query";
|
|
5136
5136
|
authorization: "authorization";
|
|
5137
5137
|
client: "client";
|
|
5138
5138
|
}>;
|
|
5139
5139
|
}, z.core.$strip>, z.ZodObject<{
|
|
5140
5140
|
reason: z.ZodLiteral<"invalid_secret">;
|
|
5141
5141
|
source: z.ZodEnum<{
|
|
5142
|
-
query: "query";
|
|
5143
5142
|
unknown: "unknown";
|
|
5143
|
+
query: "query";
|
|
5144
5144
|
authorization: "authorization";
|
|
5145
5145
|
client: "client";
|
|
5146
5146
|
}>;
|
|
5147
5147
|
}, z.core.$strip>, z.ZodObject<{
|
|
5148
5148
|
reason: z.ZodLiteral<"user_mismatch">;
|
|
5149
5149
|
source: z.ZodEnum<{
|
|
5150
|
-
query: "query";
|
|
5151
5150
|
unknown: "unknown";
|
|
5151
|
+
query: "query";
|
|
5152
5152
|
authorization: "authorization";
|
|
5153
5153
|
client: "client";
|
|
5154
5154
|
}>;
|
|
5155
5155
|
}, z.core.$strip>, z.ZodObject<{
|
|
5156
5156
|
reason: z.ZodLiteral<"insufficient_scope">;
|
|
5157
5157
|
source: z.ZodEnum<{
|
|
5158
|
-
query: "query";
|
|
5159
5158
|
unknown: "unknown";
|
|
5159
|
+
query: "query";
|
|
5160
5160
|
authorization: "authorization";
|
|
5161
5161
|
client: "client";
|
|
5162
5162
|
}>;
|
|
@@ -5171,8 +5171,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
5171
5171
|
}>;
|
|
5172
5172
|
value: z.ZodOptional<z.ZodString>;
|
|
5173
5173
|
source: z.ZodEnum<{
|
|
5174
|
-
query: "query";
|
|
5175
5174
|
unknown: "unknown";
|
|
5175
|
+
query: "query";
|
|
5176
5176
|
authorization: "authorization";
|
|
5177
5177
|
client: "client";
|
|
5178
5178
|
}>;
|
|
@@ -5228,10 +5228,10 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
5228
5228
|
server: "server";
|
|
5229
5229
|
}>;
|
|
5230
5230
|
reason: z.ZodEnum<{
|
|
5231
|
-
unknown: "unknown";
|
|
5232
5231
|
error: "error";
|
|
5233
|
-
|
|
5232
|
+
unknown: "unknown";
|
|
5234
5233
|
timeout: "timeout";
|
|
5234
|
+
closed: "closed";
|
|
5235
5235
|
reset: "reset";
|
|
5236
5236
|
}>;
|
|
5237
5237
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -5291,8 +5291,8 @@ declare const webTTYTransportSchema: z.ZodEnum<{
|
|
|
5291
5291
|
webtransport: "webtransport";
|
|
5292
5292
|
}>;
|
|
5293
5293
|
declare const webTTYRecordingModeSchema: z.ZodEnum<{
|
|
5294
|
-
recorded: "recorded";
|
|
5295
5294
|
private: "private";
|
|
5295
|
+
recorded: "recorded";
|
|
5296
5296
|
}>;
|
|
5297
5297
|
declare const webTTYEncryptionModeSchema: z.ZodEnum<{
|
|
5298
5298
|
managed: "managed";
|
|
@@ -5303,9 +5303,9 @@ declare const webTTYSessionModeSchema: z.ZodEnum<{
|
|
|
5303
5303
|
"non-interactive": "non-interactive";
|
|
5304
5304
|
}>;
|
|
5305
5305
|
declare const webTTYOriginSchema: z.ZodEnum<{
|
|
5306
|
+
api: "api";
|
|
5306
5307
|
human: "human";
|
|
5307
5308
|
codex: "codex";
|
|
5308
|
-
api: "api";
|
|
5309
5309
|
automation: "automation";
|
|
5310
5310
|
ci: "ci";
|
|
5311
5311
|
"scheduled-job": "scheduled-job";
|
|
@@ -5316,9 +5316,9 @@ declare const webTTYParticipantRoleSchema: z.ZodEnum<{
|
|
|
5316
5316
|
}>;
|
|
5317
5317
|
declare const webTTYContextMetadataSchema: z.ZodObject<{
|
|
5318
5318
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
5319
|
+
api: "api";
|
|
5319
5320
|
human: "human";
|
|
5320
5321
|
codex: "codex";
|
|
5321
|
-
api: "api";
|
|
5322
5322
|
automation: "automation";
|
|
5323
5323
|
ci: "ci";
|
|
5324
5324
|
"scheduled-job": "scheduled-job";
|
|
@@ -5327,8 +5327,8 @@ declare const webTTYContextMetadataSchema: z.ZodObject<{
|
|
|
5327
5327
|
purpose: z.ZodOptional<z.ZodString>;
|
|
5328
5328
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
5329
5329
|
agent: "agent";
|
|
5330
|
-
user: "user";
|
|
5331
5330
|
app: "app";
|
|
5331
|
+
user: "user";
|
|
5332
5332
|
"service-account": "service-account";
|
|
5333
5333
|
}>>;
|
|
5334
5334
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -5352,8 +5352,8 @@ declare const webTTYCapabilitiesSchema: z.ZodObject<{
|
|
|
5352
5352
|
webtransport: "webtransport";
|
|
5353
5353
|
}>>;
|
|
5354
5354
|
recording_modes: z.ZodArray<z.ZodEnum<{
|
|
5355
|
-
recorded: "recorded";
|
|
5356
5355
|
private: "private";
|
|
5356
|
+
recorded: "recorded";
|
|
5357
5357
|
}>>;
|
|
5358
5358
|
encryption_modes: z.ZodArray<z.ZodEnum<{
|
|
5359
5359
|
managed: "managed";
|
|
@@ -5383,10 +5383,10 @@ declare const webTTYSessionSchema: z.ZodObject<{
|
|
|
5383
5383
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
5384
5384
|
group_id: z.ZodOptional<z.ZodString>;
|
|
5385
5385
|
status: z.ZodEnum<{
|
|
5386
|
-
opening: "opening";
|
|
5387
5386
|
active: "active";
|
|
5388
|
-
closing: "closing";
|
|
5389
5387
|
closed: "closed";
|
|
5388
|
+
opening: "opening";
|
|
5389
|
+
closing: "closing";
|
|
5390
5390
|
errored: "errored";
|
|
5391
5391
|
}>;
|
|
5392
5392
|
session_mode: z.ZodEnum<{
|
|
@@ -5394,8 +5394,8 @@ declare const webTTYSessionSchema: z.ZodObject<{
|
|
|
5394
5394
|
"non-interactive": "non-interactive";
|
|
5395
5395
|
}>;
|
|
5396
5396
|
recording_mode: z.ZodEnum<{
|
|
5397
|
-
recorded: "recorded";
|
|
5398
5397
|
private: "private";
|
|
5398
|
+
recorded: "recorded";
|
|
5399
5399
|
}>;
|
|
5400
5400
|
encryption_mode: z.ZodEnum<{
|
|
5401
5401
|
managed: "managed";
|
|
@@ -5414,9 +5414,9 @@ declare const webTTYSessionSchema: z.ZodObject<{
|
|
|
5414
5414
|
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
5415
5415
|
context: z.ZodOptional<z.ZodObject<{
|
|
5416
5416
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
5417
|
+
api: "api";
|
|
5417
5418
|
human: "human";
|
|
5418
5419
|
codex: "codex";
|
|
5419
|
-
api: "api";
|
|
5420
5420
|
automation: "automation";
|
|
5421
5421
|
ci: "ci";
|
|
5422
5422
|
"scheduled-job": "scheduled-job";
|
|
@@ -5425,8 +5425,8 @@ declare const webTTYSessionSchema: z.ZodObject<{
|
|
|
5425
5425
|
purpose: z.ZodOptional<z.ZodString>;
|
|
5426
5426
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
5427
5427
|
agent: "agent";
|
|
5428
|
-
user: "user";
|
|
5429
5428
|
app: "app";
|
|
5429
|
+
user: "user";
|
|
5430
5430
|
"service-account": "service-account";
|
|
5431
5431
|
}>>;
|
|
5432
5432
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -5454,9 +5454,9 @@ declare const webTTYSessionGroupSchema: z.ZodObject<{
|
|
|
5454
5454
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
5455
5455
|
context: z.ZodOptional<z.ZodObject<{
|
|
5456
5456
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
5457
|
+
api: "api";
|
|
5457
5458
|
human: "human";
|
|
5458
5459
|
codex: "codex";
|
|
5459
|
-
api: "api";
|
|
5460
5460
|
automation: "automation";
|
|
5461
5461
|
ci: "ci";
|
|
5462
5462
|
"scheduled-job": "scheduled-job";
|
|
@@ -5465,8 +5465,8 @@ declare const webTTYSessionGroupSchema: z.ZodObject<{
|
|
|
5465
5465
|
purpose: z.ZodOptional<z.ZodString>;
|
|
5466
5466
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
5467
5467
|
agent: "agent";
|
|
5468
|
-
user: "user";
|
|
5469
5468
|
app: "app";
|
|
5469
|
+
user: "user";
|
|
5470
5470
|
"service-account": "service-account";
|
|
5471
5471
|
}>>;
|
|
5472
5472
|
agent_name: z.ZodOptional<z.ZodString>;
|
|
@@ -5596,9 +5596,9 @@ declare const webTTYControlRequestSchema: z.ZodObject<{
|
|
|
5596
5596
|
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
5597
5597
|
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
5598
5598
|
status: z.ZodEnum<{
|
|
5599
|
+
refused: "refused";
|
|
5599
5600
|
pending: "pending";
|
|
5600
5601
|
granted: "granted";
|
|
5601
|
-
refused: "refused";
|
|
5602
5602
|
revoked: "revoked";
|
|
5603
5603
|
expired: "expired";
|
|
5604
5604
|
}>;
|
|
@@ -5617,18 +5617,18 @@ declare const listWebTTYSessionsParamsSchema: z.ZodObject<{
|
|
|
5617
5617
|
user_id: z.ZodOptional<z.ZodString>;
|
|
5618
5618
|
group_id: z.ZodOptional<z.ZodString>;
|
|
5619
5619
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
5620
|
+
api: "api";
|
|
5620
5621
|
human: "human";
|
|
5621
5622
|
codex: "codex";
|
|
5622
|
-
api: "api";
|
|
5623
5623
|
automation: "automation";
|
|
5624
5624
|
ci: "ci";
|
|
5625
5625
|
"scheduled-job": "scheduled-job";
|
|
5626
5626
|
}>>;
|
|
5627
5627
|
status: z.ZodOptional<z.ZodEnum<{
|
|
5628
|
-
opening: "opening";
|
|
5629
5628
|
active: "active";
|
|
5630
|
-
closing: "closing";
|
|
5631
5629
|
closed: "closed";
|
|
5630
|
+
opening: "opening";
|
|
5631
|
+
closing: "closing";
|
|
5632
5632
|
errored: "errored";
|
|
5633
5633
|
}>>;
|
|
5634
5634
|
started_from: z.ZodOptional<z.ZodString>;
|
|
@@ -5640,9 +5640,9 @@ declare const listWebTTYSessionGroupsParamsSchema: z.ZodObject<{
|
|
|
5640
5640
|
filters: z.ZodOptional<z.ZodObject<{
|
|
5641
5641
|
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
5642
5642
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
5643
|
+
api: "api";
|
|
5643
5644
|
human: "human";
|
|
5644
5645
|
codex: "codex";
|
|
5645
|
-
api: "api";
|
|
5646
5646
|
automation: "automation";
|
|
5647
5647
|
ci: "ci";
|
|
5648
5648
|
"scheduled-job": "scheduled-job";
|
|
@@ -5663,9 +5663,9 @@ declare const listWebTTYControlRequestsParamsSchema: z.ZodObject<{
|
|
|
5663
5663
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
5664
5664
|
filters: z.ZodOptional<z.ZodObject<{
|
|
5665
5665
|
status: z.ZodOptional<z.ZodEnum<{
|
|
5666
|
+
refused: "refused";
|
|
5666
5667
|
pending: "pending";
|
|
5667
5668
|
granted: "granted";
|
|
5668
|
-
refused: "refused";
|
|
5669
5669
|
revoked: "revoked";
|
|
5670
5670
|
expired: "expired";
|
|
5671
5671
|
}>>;
|
|
@@ -5879,12 +5879,12 @@ declare const streamEntrySchema: z.ZodObject<{
|
|
|
5879
5879
|
internal: "internal";
|
|
5880
5880
|
}>;
|
|
5881
5881
|
transport: z.ZodOptional<z.ZodEnum<{
|
|
5882
|
-
http: "http";
|
|
5883
|
-
rstream: "rstream";
|
|
5884
5882
|
tls: "tls";
|
|
5885
5883
|
tcp: "tcp";
|
|
5886
5884
|
dtls: "dtls";
|
|
5887
5885
|
quic: "quic";
|
|
5886
|
+
http: "http";
|
|
5887
|
+
rstream: "rstream";
|
|
5888
5888
|
}>>;
|
|
5889
5889
|
}, z.core.$strip>;
|
|
5890
5890
|
declare const streamWebTTYMetadataSchema: z.ZodObject<{
|
|
@@ -5898,8 +5898,8 @@ declare const streamWebTTYMetadataSchema: z.ZodObject<{
|
|
|
5898
5898
|
}>>;
|
|
5899
5899
|
controller: z.ZodOptional<z.ZodBoolean>;
|
|
5900
5900
|
recording_mode: z.ZodOptional<z.ZodEnum<{
|
|
5901
|
-
recorded: "recorded";
|
|
5902
5901
|
private: "private";
|
|
5902
|
+
recorded: "recorded";
|
|
5903
5903
|
}>>;
|
|
5904
5904
|
encryption_mode: z.ZodOptional<z.ZodEnum<{
|
|
5905
5905
|
managed: "managed";
|
|
@@ -5930,9 +5930,9 @@ declare const streamWebTTYMetadataSchema: z.ZodObject<{
|
|
|
5930
5930
|
webtransport: "webtransport";
|
|
5931
5931
|
}>>;
|
|
5932
5932
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
5933
|
+
api: "api";
|
|
5933
5934
|
human: "human";
|
|
5934
5935
|
codex: "codex";
|
|
5935
|
-
api: "api";
|
|
5936
5936
|
automation: "automation";
|
|
5937
5937
|
ci: "ci";
|
|
5938
5938
|
"scheduled-job": "scheduled-job";
|
|
@@ -5940,8 +5940,8 @@ declare const streamWebTTYMetadataSchema: z.ZodObject<{
|
|
|
5940
5940
|
origin_id: z.ZodOptional<z.ZodString>;
|
|
5941
5941
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
5942
5942
|
agent: "agent";
|
|
5943
|
-
user: "user";
|
|
5944
5943
|
app: "app";
|
|
5944
|
+
user: "user";
|
|
5945
5945
|
"service-account": "service-account";
|
|
5946
5946
|
}>>;
|
|
5947
5947
|
device_id: z.ZodOptional<z.ZodString>;
|
|
@@ -5980,12 +5980,12 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
5980
5980
|
internal: "internal";
|
|
5981
5981
|
}>;
|
|
5982
5982
|
transport: z.ZodOptional<z.ZodEnum<{
|
|
5983
|
-
http: "http";
|
|
5984
|
-
rstream: "rstream";
|
|
5985
5983
|
tls: "tls";
|
|
5986
5984
|
tcp: "tcp";
|
|
5987
5985
|
dtls: "dtls";
|
|
5988
5986
|
quic: "quic";
|
|
5987
|
+
http: "http";
|
|
5988
|
+
rstream: "rstream";
|
|
5989
5989
|
}>>;
|
|
5990
5990
|
}, z.core.$strip>>;
|
|
5991
5991
|
http: z.ZodOptional<z.ZodObject<{
|
|
@@ -6022,8 +6022,8 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
6022
6022
|
}, z.core.$strip>, z.ZodObject<{
|
|
6023
6023
|
kind: z.ZodLiteral<"token">;
|
|
6024
6024
|
source: z.ZodOptional<z.ZodEnum<{
|
|
6025
|
-
query: "query";
|
|
6026
6025
|
unknown: "unknown";
|
|
6026
|
+
query: "query";
|
|
6027
6027
|
authorization: "authorization";
|
|
6028
6028
|
client: "client";
|
|
6029
6029
|
}>>;
|
|
@@ -6049,8 +6049,8 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
6049
6049
|
}, z.core.$strip>, z.ZodObject<{
|
|
6050
6050
|
kind: z.ZodLiteral<"token">;
|
|
6051
6051
|
source: z.ZodOptional<z.ZodEnum<{
|
|
6052
|
-
query: "query";
|
|
6053
6052
|
unknown: "unknown";
|
|
6053
|
+
query: "query";
|
|
6054
6054
|
authorization: "authorization";
|
|
6055
6055
|
client: "client";
|
|
6056
6056
|
}>>;
|
|
@@ -6070,48 +6070,48 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
6070
6070
|
why: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6071
6071
|
reason: z.ZodLiteral<"missing_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_token">;
|
|
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<"expired_token">;
|
|
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<"invalid_secret">;
|
|
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
|
}>;
|
|
6102
6102
|
}, z.core.$strip>, z.ZodObject<{
|
|
6103
6103
|
reason: z.ZodLiteral<"user_mismatch">;
|
|
6104
6104
|
source: z.ZodEnum<{
|
|
6105
|
-
query: "query";
|
|
6106
6105
|
unknown: "unknown";
|
|
6106
|
+
query: "query";
|
|
6107
6107
|
authorization: "authorization";
|
|
6108
6108
|
client: "client";
|
|
6109
6109
|
}>;
|
|
6110
6110
|
}, z.core.$strip>, z.ZodObject<{
|
|
6111
6111
|
reason: z.ZodLiteral<"insufficient_scope">;
|
|
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
|
}>;
|
|
@@ -6126,8 +6126,8 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
6126
6126
|
}>;
|
|
6127
6127
|
value: z.ZodOptional<z.ZodString>;
|
|
6128
6128
|
source: z.ZodEnum<{
|
|
6129
|
-
query: "query";
|
|
6130
6129
|
unknown: "unknown";
|
|
6130
|
+
query: "query";
|
|
6131
6131
|
authorization: "authorization";
|
|
6132
6132
|
client: "client";
|
|
6133
6133
|
}>;
|
|
@@ -6207,48 +6207,48 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
6207
6207
|
why: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6208
6208
|
reason: z.ZodLiteral<"missing_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_token">;
|
|
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<"expired_token">;
|
|
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<"invalid_secret">;
|
|
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
|
}>;
|
|
6239
6239
|
}, z.core.$strip>, z.ZodObject<{
|
|
6240
6240
|
reason: z.ZodLiteral<"user_mismatch">;
|
|
6241
6241
|
source: z.ZodEnum<{
|
|
6242
|
-
query: "query";
|
|
6243
6242
|
unknown: "unknown";
|
|
6243
|
+
query: "query";
|
|
6244
6244
|
authorization: "authorization";
|
|
6245
6245
|
client: "client";
|
|
6246
6246
|
}>;
|
|
6247
6247
|
}, z.core.$strip>, z.ZodObject<{
|
|
6248
6248
|
reason: z.ZodLiteral<"insufficient_scope">;
|
|
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
|
}>;
|
|
@@ -6263,8 +6263,8 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
6263
6263
|
}>;
|
|
6264
6264
|
value: z.ZodOptional<z.ZodString>;
|
|
6265
6265
|
source: z.ZodEnum<{
|
|
6266
|
-
query: "query";
|
|
6267
6266
|
unknown: "unknown";
|
|
6267
|
+
query: "query";
|
|
6268
6268
|
authorization: "authorization";
|
|
6269
6269
|
client: "client";
|
|
6270
6270
|
}>;
|
|
@@ -6306,8 +6306,8 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
6306
6306
|
}>>;
|
|
6307
6307
|
controller: z.ZodOptional<z.ZodBoolean>;
|
|
6308
6308
|
recording_mode: z.ZodOptional<z.ZodEnum<{
|
|
6309
|
-
recorded: "recorded";
|
|
6310
6309
|
private: "private";
|
|
6310
|
+
recorded: "recorded";
|
|
6311
6311
|
}>>;
|
|
6312
6312
|
encryption_mode: z.ZodOptional<z.ZodEnum<{
|
|
6313
6313
|
managed: "managed";
|
|
@@ -6338,9 +6338,9 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
6338
6338
|
webtransport: "webtransport";
|
|
6339
6339
|
}>>;
|
|
6340
6340
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
6341
|
+
api: "api";
|
|
6341
6342
|
human: "human";
|
|
6342
6343
|
codex: "codex";
|
|
6343
|
-
api: "api";
|
|
6344
6344
|
automation: "automation";
|
|
6345
6345
|
ci: "ci";
|
|
6346
6346
|
"scheduled-job": "scheduled-job";
|
|
@@ -6348,8 +6348,8 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
6348
6348
|
origin_id: z.ZodOptional<z.ZodString>;
|
|
6349
6349
|
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
6350
6350
|
agent: "agent";
|
|
6351
|
-
user: "user";
|
|
6352
6351
|
app: "app";
|
|
6352
|
+
user: "user";
|
|
6353
6353
|
"service-account": "service-account";
|
|
6354
6354
|
}>>;
|
|
6355
6355
|
device_id: z.ZodOptional<z.ZodString>;
|
|
@@ -6386,10 +6386,10 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
6386
6386
|
server: "server";
|
|
6387
6387
|
}>;
|
|
6388
6388
|
reason: z.ZodEnum<{
|
|
6389
|
-
unknown: "unknown";
|
|
6390
6389
|
error: "error";
|
|
6391
|
-
|
|
6390
|
+
unknown: "unknown";
|
|
6392
6391
|
timeout: "timeout";
|
|
6392
|
+
closed: "closed";
|
|
6393
6393
|
reset: "reset";
|
|
6394
6394
|
}>;
|
|
6395
6395
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -6417,48 +6417,48 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
6417
6417
|
why: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6418
6418
|
reason: z.ZodLiteral<"missing_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_token">;
|
|
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<"expired_token">;
|
|
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<"invalid_secret">;
|
|
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
|
}>;
|
|
6449
6449
|
}, z.core.$strip>, z.ZodObject<{
|
|
6450
6450
|
reason: z.ZodLiteral<"user_mismatch">;
|
|
6451
6451
|
source: z.ZodEnum<{
|
|
6452
|
-
query: "query";
|
|
6453
6452
|
unknown: "unknown";
|
|
6453
|
+
query: "query";
|
|
6454
6454
|
authorization: "authorization";
|
|
6455
6455
|
client: "client";
|
|
6456
6456
|
}>;
|
|
6457
6457
|
}, z.core.$strip>, z.ZodObject<{
|
|
6458
6458
|
reason: z.ZodLiteral<"insufficient_scope">;
|
|
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
|
}>;
|
|
@@ -6473,8 +6473,8 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
6473
6473
|
}>;
|
|
6474
6474
|
value: z.ZodOptional<z.ZodString>;
|
|
6475
6475
|
source: z.ZodEnum<{
|
|
6476
|
-
query: "query";
|
|
6477
6476
|
unknown: "unknown";
|
|
6477
|
+
query: "query";
|
|
6478
6478
|
authorization: "authorization";
|
|
6479
6479
|
client: "client";
|
|
6480
6480
|
}>;
|
|
@@ -6530,10 +6530,10 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
6530
6530
|
server: "server";
|
|
6531
6531
|
}>;
|
|
6532
6532
|
reason: z.ZodEnum<{
|
|
6533
|
-
unknown: "unknown";
|
|
6534
6533
|
error: "error";
|
|
6535
|
-
|
|
6534
|
+
unknown: "unknown";
|
|
6536
6535
|
timeout: "timeout";
|
|
6536
|
+
closed: "closed";
|
|
6537
6537
|
reset: "reset";
|
|
6538
6538
|
}>;
|
|
6539
6539
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -6619,6 +6619,12 @@ declare class Watch {
|
|
|
6619
6619
|
disconnect(): void;
|
|
6620
6620
|
}
|
|
6621
6621
|
|
|
6622
|
+
declare const webttyTransportSchema: z.ZodEnum<{
|
|
6623
|
+
plain: "plain";
|
|
6624
|
+
websocket: "websocket";
|
|
6625
|
+
webtransport: "webtransport";
|
|
6626
|
+
}>;
|
|
6627
|
+
type WebTTYTransport = z.infer<typeof webttyTransportSchema>;
|
|
6622
6628
|
declare const webttyServerSchema: z.ZodObject<{
|
|
6623
6629
|
tunnel_id: z.ZodString;
|
|
6624
6630
|
tunnel_name: z.ZodOptional<z.ZodString>;
|
|
@@ -6628,10 +6634,21 @@ declare const webttyServerSchema: z.ZodObject<{
|
|
|
6628
6634
|
publish: z.ZodOptional<z.ZodBoolean>;
|
|
6629
6635
|
workspace_id: z.ZodOptional<z.ZodString>;
|
|
6630
6636
|
project_id: z.ZodOptional<z.ZodString>;
|
|
6631
|
-
tunnel_protocol: z.ZodEnum<{
|
|
6637
|
+
tunnel_protocol: z.ZodOptional<z.ZodEnum<{
|
|
6632
6638
|
http: "http";
|
|
6633
6639
|
webtty: "webtty";
|
|
6634
|
-
}
|
|
6640
|
+
}>>;
|
|
6641
|
+
tunnel_type: z.ZodOptional<z.ZodEnum<{
|
|
6642
|
+
bytestream: "bytestream";
|
|
6643
|
+
datagram: "datagram";
|
|
6644
|
+
}>>;
|
|
6645
|
+
http_version: z.ZodOptional<z.ZodString>;
|
|
6646
|
+
transport: z.ZodOptional<z.ZodEnum<{
|
|
6647
|
+
plain: "plain";
|
|
6648
|
+
websocket: "websocket";
|
|
6649
|
+
webtransport: "webtransport";
|
|
6650
|
+
}>>;
|
|
6651
|
+
transport_error: z.ZodOptional<z.ZodString>;
|
|
6635
6652
|
managed: z.ZodBoolean;
|
|
6636
6653
|
host: z.ZodString;
|
|
6637
6654
|
token_auth: z.ZodBoolean;
|
|
@@ -6661,6 +6678,10 @@ declare const webttyServerSchema: z.ZodObject<{
|
|
|
6661
6678
|
"read-write": "read-write";
|
|
6662
6679
|
"read-only": "read-only";
|
|
6663
6680
|
}>>;
|
|
6681
|
+
fs_backend: z.ZodOptional<z.ZodEnum<{
|
|
6682
|
+
webdav: "webdav";
|
|
6683
|
+
webrtc: "webrtc";
|
|
6684
|
+
}>>;
|
|
6664
6685
|
os_family: z.ZodOptional<z.ZodEnum<{
|
|
6665
6686
|
linux: "linux";
|
|
6666
6687
|
macos: "macos";
|
|
@@ -6679,6 +6700,13 @@ declare const webttyServerSchema: z.ZodObject<{
|
|
|
6679
6700
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodString>>>;
|
|
6680
6701
|
}, z.core.$strip>;
|
|
6681
6702
|
type WebTTYServer = z.infer<typeof webttyServerSchema>;
|
|
6682
|
-
declare function parseWebTTYServers(tunnels: Tunnel[]
|
|
6703
|
+
declare function parseWebTTYServers(tunnels: Tunnel[], options?: {
|
|
6704
|
+
includePrivate?: boolean;
|
|
6705
|
+
}): WebTTYServer[];
|
|
6706
|
+
declare function resolveWebTTYServerTransport(server: Pick<WebTTYServer, "transport" | "transport_error" | "tunnel_type" | "http_version">, requested?: WebTTYTransport): WebTTYTransport;
|
|
6707
|
+
declare function resolveWebTTYBrowserEndpoint(server: WebTTYServer): {
|
|
6708
|
+
url: string;
|
|
6709
|
+
transport: "websocket" | "webtransport";
|
|
6710
|
+
};
|
|
6683
6711
|
|
|
6684
|
-
export { type AttachWebTTYParticipantParams, type BuildWebhookHeadersOptions, type Client, type ClientFilter, type CreateAPITURNCredentialsOptions, type CreateAPPTURNCredentialsOptions, type CreateAuthTokenFromClientCredentialsOptions, type CreatePATTURNCredentialsOptions, type CreateTURNCredentialsOptions, type CreateWebTTYControlRequestParams, type DetachWebTTYParticipantParams, type Event, type InitialState, type ListClientsParams, type ListClientsResponse, type ListTunnelsParams, type ListTunnelsResponse, type ListWebTTYControlRequestsParams, type ListWebTTYKeyGrantDecryptMaterialParams, type ListWebTTYSessionGroupsParams, type ListWebTTYSessionsParams, type ProjectLogEvent, type ReadWebTTYSessionEventsParams, type ResolveWebTTYControlRequestParams, type RstreamAuth, RstreamAuthResource, RstreamAuthResource as RstreamAuthRessource, RstreamTunnelsClient as RstreamClient, RstreamClientsResource, RstreamClientsResource as RstreamClientsRessource, RstreamTURNResource, RstreamTunnelsClient, type RstreamTunnelsConfig, RstreamTunnelsResource, RstreamTunnelsResource as RstreamTunnelsRessource, RstreamWebTTYResource, RstreamWebhookResource, RstreamWebhookResource as RstreamWebhookRessource, type StreamEndpoint, type StreamEntry, type StreamSummary, type StreamTLSInfo, type TURNCredentialMode, type TunnelFilter, RstreamTunnelsClient as Tunnels, type TunnelsResolutionConfig, WEBHOOK_DELIVERY_ID_HEADER, WEBHOOK_EVENT_ID_HEADER, WEBHOOK_EVENT_TYPE_HEADER, WEBHOOK_ID_HEADER, WEBHOOK_SIGNATURE_HEADER, Watch, type WatchConfig, type WatchWsEvents, type WebTTYCapabilities, type WebTTYControlRequest, type WebTTYKeyGrant, type WebTTYKeyGrantDecryptMaterial, type WebTTYParticipant, type WebTTYParticipantLive, type WebTTYServer, type WebTTYSession, type WebTTYSessionEvent, type WebTTYSessionGroup, type WebTTYSessionLive, type WebhookEvent, type WebhookHeaders, type WebhookPayload, type WsEvent, attachWebTTYParticipantParamsSchema, buildWebhookHeaders, clientFilterSchema, clientSchema, createAPITURNCredentials, createAPPTURNCredentials, createAuthTokenFromClientCredentials, createPATTURNCredentials, createTURNCredentials, createWebTTYControlRequestParamsSchema, detachWebTTYParticipantParamsSchema, eventSchema, formatStreamAccessPath, formatTunnelHost, generateWebhookSigningSecret, listClientsParamsSchema, listClientsResponseSchema, listTunnelsParamsSchema, listTunnelsResponseSchema, listWebTTYControlRequestsParamsSchema, listWebTTYKeyGrantDecryptMaterialParamsSchema, listWebTTYSessionGroupsParamsSchema, listWebTTYSessionsParamsSchema, normalizeEngineAddress, parseWebTTYServers, projectLogEventsSchema, readWebTTYSessionEventsParamsSchema, resolveControlPlaneCredentials, resolveManagedTunnelsProject, resolveTunnelsAPIURL, resolveTunnelsCredentials, resolveTunnelsEngine, resolveTunnelsRegion, resolveWebTTYControlRequestParamsSchema, signWebhookPayload, streamEndpointSchema, streamEntrySchema, streamSummaryEventSchema, streamSummarySchema, streamTLSInfoSchema, streamWebTTYMetadataSchema, tunnelFilterSchema, turnCredentialModeSchema, webTTYCapabilitiesSchema, webTTYContextMetadataSchema, webTTYControlRequestSchema, webTTYCryptoMetadataSchema, webTTYEncryptionModeSchema, webTTYKeyGrantDecryptMaterialSchema, webTTYKeyGrantSchema, webTTYOriginSchema, webTTYParticipantLiveSchema, webTTYParticipantRoleSchema, webTTYParticipantSchema, webTTYRecordingModeSchema, webTTYSessionEventSchema, webTTYSessionGroupSchema, webTTYSessionLiveSchema, webTTYSessionModeSchema, webTTYSessionSchema, webTTYTransportSchema, webhookEventsSchema, webttyServerSchema, wsEventsSchema };
|
|
6712
|
+
export { type AttachWebTTYParticipantParams, type BuildWebhookHeadersOptions, type Client, type ClientFilter, type CreateAPITURNCredentialsOptions, type CreateAPPTURNCredentialsOptions, type CreateAuthTokenFromClientCredentialsOptions, type CreatePATTURNCredentialsOptions, type CreateTURNCredentialsOptions, type CreateWebTTYControlRequestParams, type DetachWebTTYParticipantParams, type Event, type InitialState, type ListClientsParams, type ListClientsResponse, type ListTunnelsParams, type ListTunnelsResponse, type ListWebTTYControlRequestsParams, type ListWebTTYKeyGrantDecryptMaterialParams, type ListWebTTYSessionGroupsParams, type ListWebTTYSessionsParams, type ProjectLogEvent, type ReadWebTTYSessionEventsParams, type ResolveWebTTYControlRequestParams, type RstreamAuth, RstreamAuthResource, RstreamAuthResource as RstreamAuthRessource, RstreamTunnelsClient as RstreamClient, RstreamClientsResource, RstreamClientsResource as RstreamClientsRessource, RstreamTURNResource, RstreamTunnelsClient, type RstreamTunnelsConfig, RstreamTunnelsResource, RstreamTunnelsResource as RstreamTunnelsRessource, RstreamWebTTYResource, RstreamWebhookResource, RstreamWebhookResource as RstreamWebhookRessource, type StreamEndpoint, type StreamEntry, type StreamSummary, type StreamTLSInfo, type TURNCredentialMode, type TunnelFilter, RstreamTunnelsClient as Tunnels, type TunnelsResolutionConfig, WEBHOOK_DELIVERY_ID_HEADER, WEBHOOK_EVENT_ID_HEADER, WEBHOOK_EVENT_TYPE_HEADER, WEBHOOK_ID_HEADER, WEBHOOK_SIGNATURE_HEADER, Watch, type WatchConfig, type WatchWsEvents, type WebTTYCapabilities, type WebTTYControlRequest, type WebTTYKeyGrant, type WebTTYKeyGrantDecryptMaterial, type WebTTYParticipant, type WebTTYParticipantLive, type WebTTYServer, type WebTTYSession, type WebTTYSessionEvent, type WebTTYSessionGroup, type WebTTYSessionLive, type WebTTYTransport, type WebhookEvent, type WebhookHeaders, type WebhookPayload, type WsEvent, attachWebTTYParticipantParamsSchema, buildWebhookHeaders, clientFilterSchema, clientSchema, createAPITURNCredentials, createAPPTURNCredentials, createAuthTokenFromClientCredentials, createPATTURNCredentials, createTURNCredentials, createWebTTYControlRequestParamsSchema, detachWebTTYParticipantParamsSchema, eventSchema, formatStreamAccessPath, formatTunnelHost, generateWebhookSigningSecret, listClientsParamsSchema, listClientsResponseSchema, listTunnelsParamsSchema, listTunnelsResponseSchema, listWebTTYControlRequestsParamsSchema, listWebTTYKeyGrantDecryptMaterialParamsSchema, listWebTTYSessionGroupsParamsSchema, listWebTTYSessionsParamsSchema, normalizeEngineAddress, parseWebTTYServers, projectLogEventsSchema, readWebTTYSessionEventsParamsSchema, resolveControlPlaneCredentials, resolveManagedTunnelsProject, resolveTunnelsAPIURL, resolveTunnelsCredentials, resolveTunnelsEngine, resolveTunnelsRegion, resolveWebTTYBrowserEndpoint, resolveWebTTYControlRequestParamsSchema, resolveWebTTYServerTransport, signWebhookPayload, streamEndpointSchema, streamEntrySchema, streamSummaryEventSchema, streamSummarySchema, streamTLSInfoSchema, streamWebTTYMetadataSchema, tunnelFilterSchema, turnCredentialModeSchema, webTTYCapabilitiesSchema, webTTYContextMetadataSchema, webTTYControlRequestSchema, webTTYCryptoMetadataSchema, webTTYEncryptionModeSchema, webTTYKeyGrantDecryptMaterialSchema, webTTYKeyGrantSchema, webTTYOriginSchema, webTTYParticipantLiveSchema, webTTYParticipantRoleSchema, webTTYParticipantSchema, webTTYRecordingModeSchema, webTTYSessionEventSchema, webTTYSessionGroupSchema, webTTYSessionLiveSchema, webTTYSessionModeSchema, webTTYSessionSchema, webTTYTransportSchema, webhookEventsSchema, webttyServerSchema, webttyTransportSchema, wsEventsSchema };
|