@rstreamlabs/tunnels 3.2.0 → 3.4.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 +58 -4
- package/dist/chunk-6OUCIT5G.mjs +1330 -0
- package/dist/index.d.mts +2977 -131
- package/dist/index.d.ts +2977 -131
- package/dist/index.js +926 -171
- package/dist/index.mjs +165 -9
- package/dist/openapi.d.mts +4 -1
- package/dist/openapi.d.ts +4 -1
- package/dist/openapi.js +479 -58
- package/dist/openapi.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-VUAM3LRU.mjs +0 -710
package/dist/index.d.mts
CHANGED
|
@@ -94,24 +94,25 @@ 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";
|
|
112
112
|
dtls: "dtls";
|
|
113
113
|
quic: "quic";
|
|
114
114
|
http: "http";
|
|
115
|
+
webtty: "webtty";
|
|
115
116
|
}>>>;
|
|
116
117
|
hostname: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
117
118
|
http_version: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
@@ -125,24 +126,25 @@ declare const listTunnelsParamsSchema: z.ZodObject<{
|
|
|
125
126
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
126
127
|
filters: z.ZodOptional<z.ZodObject<{
|
|
127
128
|
id: z.ZodOptional<z.ZodString>;
|
|
129
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
128
130
|
status: z.ZodOptional<z.ZodEnum<{
|
|
129
131
|
online: "online";
|
|
130
132
|
offline: "offline";
|
|
131
133
|
}>>;
|
|
132
134
|
user_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
133
135
|
labels: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
134
|
-
client_id: z.ZodOptional<z.ZodString>;
|
|
135
|
-
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
136
136
|
type: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
137
137
|
bytestream: "bytestream";
|
|
138
138
|
datagram: "datagram";
|
|
139
139
|
}>>>;
|
|
140
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
140
141
|
publish: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
141
142
|
protocol: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
142
143
|
tls: "tls";
|
|
143
144
|
dtls: "dtls";
|
|
144
145
|
quic: "quic";
|
|
145
146
|
http: "http";
|
|
147
|
+
webtty: "webtty";
|
|
146
148
|
}>>>;
|
|
147
149
|
hostname: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
148
150
|
http_version: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
@@ -179,6 +181,7 @@ declare const listTunnelsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
179
181
|
dtls: "dtls";
|
|
180
182
|
quic: "quic";
|
|
181
183
|
http: "http";
|
|
184
|
+
webtty: "webtty";
|
|
182
185
|
}>>;
|
|
183
186
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
184
187
|
geo_ip: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -331,6 +334,7 @@ declare const initialStateSchema: z.ZodObject<{
|
|
|
331
334
|
dtls: "dtls";
|
|
332
335
|
quic: "quic";
|
|
333
336
|
http: "http";
|
|
337
|
+
webtty: "webtty";
|
|
334
338
|
}>>;
|
|
335
339
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
336
340
|
geo_ip: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -386,6 +390,22 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
386
390
|
ech: z.ZodOptional<z.ZodBoolean>;
|
|
387
391
|
}, z.core.$strip>>;
|
|
388
392
|
}, z.core.$strip>;
|
|
393
|
+
entry: z.ZodOptional<z.ZodObject<{
|
|
394
|
+
kind: z.ZodEnum<{
|
|
395
|
+
published_tunnel: "published_tunnel";
|
|
396
|
+
private_rstream: "private_rstream";
|
|
397
|
+
proxy_egress: "proxy_egress";
|
|
398
|
+
internal: "internal";
|
|
399
|
+
}>;
|
|
400
|
+
transport: z.ZodOptional<z.ZodEnum<{
|
|
401
|
+
tls: "tls";
|
|
402
|
+
dtls: "dtls";
|
|
403
|
+
quic: "quic";
|
|
404
|
+
http: "http";
|
|
405
|
+
rstream: "rstream";
|
|
406
|
+
tcp: "tcp";
|
|
407
|
+
}>>;
|
|
408
|
+
}, z.core.$strip>>;
|
|
389
409
|
http: z.ZodOptional<z.ZodObject<{
|
|
390
410
|
protocol: z.ZodOptional<z.ZodEnum<{
|
|
391
411
|
"http/1.1": "http/1.1";
|
|
@@ -414,11 +434,14 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
414
434
|
}, z.core.$strip>, z.ZodObject<{
|
|
415
435
|
kind: z.ZodLiteral<"rstream_auth">;
|
|
416
436
|
source: z.ZodLiteral<"rstream_auth">;
|
|
437
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
438
|
+
kind: z.ZodLiteral<"rstream">;
|
|
439
|
+
source: z.ZodOptional<z.ZodLiteral<"private_rstream">>;
|
|
417
440
|
}, z.core.$strip>, z.ZodObject<{
|
|
418
441
|
kind: z.ZodLiteral<"token">;
|
|
419
442
|
source: z.ZodOptional<z.ZodEnum<{
|
|
420
|
-
query: "query";
|
|
421
443
|
unknown: "unknown";
|
|
444
|
+
query: "query";
|
|
422
445
|
authorization: "authorization";
|
|
423
446
|
client: "client";
|
|
424
447
|
}>>;
|
|
@@ -438,11 +461,14 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
438
461
|
}, z.core.$strip>, z.ZodObject<{
|
|
439
462
|
kind: z.ZodLiteral<"rstream_auth">;
|
|
440
463
|
source: z.ZodLiteral<"rstream_auth">;
|
|
464
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
465
|
+
kind: z.ZodLiteral<"rstream">;
|
|
466
|
+
source: z.ZodOptional<z.ZodLiteral<"private_rstream">>;
|
|
441
467
|
}, z.core.$strip>, z.ZodObject<{
|
|
442
468
|
kind: z.ZodLiteral<"token">;
|
|
443
469
|
source: z.ZodOptional<z.ZodEnum<{
|
|
444
|
-
query: "query";
|
|
445
470
|
unknown: "unknown";
|
|
471
|
+
query: "query";
|
|
446
472
|
authorization: "authorization";
|
|
447
473
|
client: "client";
|
|
448
474
|
}>>;
|
|
@@ -462,48 +488,48 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
462
488
|
why: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
463
489
|
reason: z.ZodLiteral<"missing_token">;
|
|
464
490
|
source: z.ZodEnum<{
|
|
465
|
-
query: "query";
|
|
466
491
|
unknown: "unknown";
|
|
492
|
+
query: "query";
|
|
467
493
|
authorization: "authorization";
|
|
468
494
|
client: "client";
|
|
469
495
|
}>;
|
|
470
496
|
}, z.core.$strip>, z.ZodObject<{
|
|
471
497
|
reason: z.ZodLiteral<"invalid_token">;
|
|
472
498
|
source: z.ZodEnum<{
|
|
473
|
-
query: "query";
|
|
474
499
|
unknown: "unknown";
|
|
500
|
+
query: "query";
|
|
475
501
|
authorization: "authorization";
|
|
476
502
|
client: "client";
|
|
477
503
|
}>;
|
|
478
504
|
}, z.core.$strip>, z.ZodObject<{
|
|
479
505
|
reason: z.ZodLiteral<"expired_token">;
|
|
480
506
|
source: z.ZodEnum<{
|
|
481
|
-
query: "query";
|
|
482
507
|
unknown: "unknown";
|
|
508
|
+
query: "query";
|
|
483
509
|
authorization: "authorization";
|
|
484
510
|
client: "client";
|
|
485
511
|
}>;
|
|
486
512
|
}, z.core.$strip>, z.ZodObject<{
|
|
487
513
|
reason: z.ZodLiteral<"invalid_secret">;
|
|
488
514
|
source: z.ZodEnum<{
|
|
489
|
-
query: "query";
|
|
490
515
|
unknown: "unknown";
|
|
516
|
+
query: "query";
|
|
491
517
|
authorization: "authorization";
|
|
492
518
|
client: "client";
|
|
493
519
|
}>;
|
|
494
520
|
}, z.core.$strip>, z.ZodObject<{
|
|
495
521
|
reason: z.ZodLiteral<"user_mismatch">;
|
|
496
522
|
source: z.ZodEnum<{
|
|
497
|
-
query: "query";
|
|
498
523
|
unknown: "unknown";
|
|
524
|
+
query: "query";
|
|
499
525
|
authorization: "authorization";
|
|
500
526
|
client: "client";
|
|
501
527
|
}>;
|
|
502
528
|
}, z.core.$strip>, z.ZodObject<{
|
|
503
529
|
reason: z.ZodLiteral<"insufficient_scope">;
|
|
504
530
|
source: z.ZodEnum<{
|
|
505
|
-
query: "query";
|
|
506
531
|
unknown: "unknown";
|
|
532
|
+
query: "query";
|
|
507
533
|
authorization: "authorization";
|
|
508
534
|
client: "client";
|
|
509
535
|
}>;
|
|
@@ -518,8 +544,8 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
518
544
|
}>;
|
|
519
545
|
value: z.ZodOptional<z.ZodString>;
|
|
520
546
|
source: z.ZodEnum<{
|
|
521
|
-
query: "query";
|
|
522
547
|
unknown: "unknown";
|
|
548
|
+
query: "query";
|
|
523
549
|
authorization: "authorization";
|
|
524
550
|
client: "client";
|
|
525
551
|
}>;
|
|
@@ -577,48 +603,48 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
577
603
|
why: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
578
604
|
reason: z.ZodLiteral<"missing_token">;
|
|
579
605
|
source: z.ZodEnum<{
|
|
580
|
-
query: "query";
|
|
581
606
|
unknown: "unknown";
|
|
607
|
+
query: "query";
|
|
582
608
|
authorization: "authorization";
|
|
583
609
|
client: "client";
|
|
584
610
|
}>;
|
|
585
611
|
}, z.core.$strip>, z.ZodObject<{
|
|
586
612
|
reason: z.ZodLiteral<"invalid_token">;
|
|
587
613
|
source: z.ZodEnum<{
|
|
588
|
-
query: "query";
|
|
589
614
|
unknown: "unknown";
|
|
615
|
+
query: "query";
|
|
590
616
|
authorization: "authorization";
|
|
591
617
|
client: "client";
|
|
592
618
|
}>;
|
|
593
619
|
}, z.core.$strip>, z.ZodObject<{
|
|
594
620
|
reason: z.ZodLiteral<"expired_token">;
|
|
595
621
|
source: z.ZodEnum<{
|
|
596
|
-
query: "query";
|
|
597
622
|
unknown: "unknown";
|
|
623
|
+
query: "query";
|
|
598
624
|
authorization: "authorization";
|
|
599
625
|
client: "client";
|
|
600
626
|
}>;
|
|
601
627
|
}, z.core.$strip>, z.ZodObject<{
|
|
602
628
|
reason: z.ZodLiteral<"invalid_secret">;
|
|
603
629
|
source: z.ZodEnum<{
|
|
604
|
-
query: "query";
|
|
605
630
|
unknown: "unknown";
|
|
631
|
+
query: "query";
|
|
606
632
|
authorization: "authorization";
|
|
607
633
|
client: "client";
|
|
608
634
|
}>;
|
|
609
635
|
}, z.core.$strip>, z.ZodObject<{
|
|
610
636
|
reason: z.ZodLiteral<"user_mismatch">;
|
|
611
637
|
source: z.ZodEnum<{
|
|
612
|
-
query: "query";
|
|
613
638
|
unknown: "unknown";
|
|
639
|
+
query: "query";
|
|
614
640
|
authorization: "authorization";
|
|
615
641
|
client: "client";
|
|
616
642
|
}>;
|
|
617
643
|
}, z.core.$strip>, z.ZodObject<{
|
|
618
644
|
reason: z.ZodLiteral<"insufficient_scope">;
|
|
619
645
|
source: z.ZodEnum<{
|
|
620
|
-
query: "query";
|
|
621
646
|
unknown: "unknown";
|
|
647
|
+
query: "query";
|
|
622
648
|
authorization: "authorization";
|
|
623
649
|
client: "client";
|
|
624
650
|
}>;
|
|
@@ -633,8 +659,8 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
633
659
|
}>;
|
|
634
660
|
value: z.ZodOptional<z.ZodString>;
|
|
635
661
|
source: z.ZodEnum<{
|
|
636
|
-
query: "query";
|
|
637
662
|
unknown: "unknown";
|
|
663
|
+
query: "query";
|
|
638
664
|
authorization: "authorization";
|
|
639
665
|
client: "client";
|
|
640
666
|
}>;
|
|
@@ -665,6 +691,66 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
665
691
|
message: z.ZodOptional<z.ZodString>;
|
|
666
692
|
}, z.core.$strip>], "kind">;
|
|
667
693
|
}, z.core.$strip>], "decision">;
|
|
694
|
+
webtty: z.ZodOptional<z.ZodObject<{
|
|
695
|
+
server_id: z.ZodOptional<z.ZodString>;
|
|
696
|
+
session_id: z.ZodOptional<z.ZodString>;
|
|
697
|
+
session_group_id: z.ZodOptional<z.ZodString>;
|
|
698
|
+
participant_id: z.ZodOptional<z.ZodString>;
|
|
699
|
+
participant_role: z.ZodOptional<z.ZodEnum<{
|
|
700
|
+
controller: "controller";
|
|
701
|
+
spectator: "spectator";
|
|
702
|
+
}>>;
|
|
703
|
+
controller: z.ZodOptional<z.ZodBoolean>;
|
|
704
|
+
recording_mode: z.ZodOptional<z.ZodEnum<{
|
|
705
|
+
private: "private";
|
|
706
|
+
recorded: "recorded";
|
|
707
|
+
}>>;
|
|
708
|
+
encryption_mode: z.ZodOptional<z.ZodEnum<{
|
|
709
|
+
managed: "managed";
|
|
710
|
+
e2e: "e2e";
|
|
711
|
+
}>>;
|
|
712
|
+
encryption_policy: z.ZodOptional<z.ZodEnum<{
|
|
713
|
+
disabled: "disabled";
|
|
714
|
+
explicit_key: "explicit_key";
|
|
715
|
+
workspace_managed: "workspace_managed";
|
|
716
|
+
}>>;
|
|
717
|
+
e2e: z.ZodOptional<z.ZodBoolean>;
|
|
718
|
+
client_proof: z.ZodOptional<z.ZodEnum<{
|
|
719
|
+
none: "none";
|
|
720
|
+
required: "required";
|
|
721
|
+
}>>;
|
|
722
|
+
session_mode: z.ZodOptional<z.ZodEnum<{
|
|
723
|
+
interactive: "interactive";
|
|
724
|
+
"non-interactive": "non-interactive";
|
|
725
|
+
}>>;
|
|
726
|
+
downstream_transport: z.ZodOptional<z.ZodEnum<{
|
|
727
|
+
plain: "plain";
|
|
728
|
+
websocket: "websocket";
|
|
729
|
+
webtransport: "webtransport";
|
|
730
|
+
}>>;
|
|
731
|
+
upstream_transport: z.ZodOptional<z.ZodEnum<{
|
|
732
|
+
plain: "plain";
|
|
733
|
+
websocket: "websocket";
|
|
734
|
+
webtransport: "webtransport";
|
|
735
|
+
}>>;
|
|
736
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
737
|
+
api: "api";
|
|
738
|
+
human: "human";
|
|
739
|
+
codex: "codex";
|
|
740
|
+
automation: "automation";
|
|
741
|
+
ci: "ci";
|
|
742
|
+
"scheduled-job": "scheduled-job";
|
|
743
|
+
}>>;
|
|
744
|
+
origin_id: z.ZodOptional<z.ZodString>;
|
|
745
|
+
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
746
|
+
agent: "agent";
|
|
747
|
+
app: "app";
|
|
748
|
+
user: "user";
|
|
749
|
+
"service-account": "service-account";
|
|
750
|
+
}>>;
|
|
751
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
752
|
+
browser_id: z.ZodOptional<z.ZodString>;
|
|
753
|
+
}, z.core.$loose>>;
|
|
668
754
|
response: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
669
755
|
outcome: z.ZodLiteral<"connected">;
|
|
670
756
|
established_at: z.ZodString;
|
|
@@ -696,8 +782,8 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
696
782
|
server: "server";
|
|
697
783
|
}>;
|
|
698
784
|
reason: z.ZodEnum<{
|
|
699
|
-
unknown: "unknown";
|
|
700
785
|
error: "error";
|
|
786
|
+
unknown: "unknown";
|
|
701
787
|
timeout: "timeout";
|
|
702
788
|
closed: "closed";
|
|
703
789
|
reset: "reset";
|
|
@@ -727,48 +813,48 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
727
813
|
why: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
728
814
|
reason: z.ZodLiteral<"missing_token">;
|
|
729
815
|
source: z.ZodEnum<{
|
|
730
|
-
query: "query";
|
|
731
816
|
unknown: "unknown";
|
|
817
|
+
query: "query";
|
|
732
818
|
authorization: "authorization";
|
|
733
819
|
client: "client";
|
|
734
820
|
}>;
|
|
735
821
|
}, z.core.$strip>, z.ZodObject<{
|
|
736
822
|
reason: z.ZodLiteral<"invalid_token">;
|
|
737
823
|
source: z.ZodEnum<{
|
|
738
|
-
query: "query";
|
|
739
824
|
unknown: "unknown";
|
|
825
|
+
query: "query";
|
|
740
826
|
authorization: "authorization";
|
|
741
827
|
client: "client";
|
|
742
828
|
}>;
|
|
743
829
|
}, z.core.$strip>, z.ZodObject<{
|
|
744
830
|
reason: z.ZodLiteral<"expired_token">;
|
|
745
831
|
source: z.ZodEnum<{
|
|
746
|
-
query: "query";
|
|
747
832
|
unknown: "unknown";
|
|
833
|
+
query: "query";
|
|
748
834
|
authorization: "authorization";
|
|
749
835
|
client: "client";
|
|
750
836
|
}>;
|
|
751
837
|
}, z.core.$strip>, z.ZodObject<{
|
|
752
838
|
reason: z.ZodLiteral<"invalid_secret">;
|
|
753
839
|
source: z.ZodEnum<{
|
|
754
|
-
query: "query";
|
|
755
840
|
unknown: "unknown";
|
|
841
|
+
query: "query";
|
|
756
842
|
authorization: "authorization";
|
|
757
843
|
client: "client";
|
|
758
844
|
}>;
|
|
759
845
|
}, z.core.$strip>, z.ZodObject<{
|
|
760
846
|
reason: z.ZodLiteral<"user_mismatch">;
|
|
761
847
|
source: z.ZodEnum<{
|
|
762
|
-
query: "query";
|
|
763
848
|
unknown: "unknown";
|
|
849
|
+
query: "query";
|
|
764
850
|
authorization: "authorization";
|
|
765
851
|
client: "client";
|
|
766
852
|
}>;
|
|
767
853
|
}, z.core.$strip>, z.ZodObject<{
|
|
768
854
|
reason: z.ZodLiteral<"insufficient_scope">;
|
|
769
855
|
source: z.ZodEnum<{
|
|
770
|
-
query: "query";
|
|
771
856
|
unknown: "unknown";
|
|
857
|
+
query: "query";
|
|
772
858
|
authorization: "authorization";
|
|
773
859
|
client: "client";
|
|
774
860
|
}>;
|
|
@@ -783,8 +869,8 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
783
869
|
}>;
|
|
784
870
|
value: z.ZodOptional<z.ZodString>;
|
|
785
871
|
source: z.ZodEnum<{
|
|
786
|
-
query: "query";
|
|
787
872
|
unknown: "unknown";
|
|
873
|
+
query: "query";
|
|
788
874
|
authorization: "authorization";
|
|
789
875
|
client: "client";
|
|
790
876
|
}>;
|
|
@@ -840,8 +926,8 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
840
926
|
server: "server";
|
|
841
927
|
}>;
|
|
842
928
|
reason: z.ZodEnum<{
|
|
843
|
-
unknown: "unknown";
|
|
844
929
|
error: "error";
|
|
930
|
+
unknown: "unknown";
|
|
845
931
|
timeout: "timeout";
|
|
846
932
|
closed: "closed";
|
|
847
933
|
reset: "reset";
|
|
@@ -920,6 +1006,7 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
920
1006
|
dtls: "dtls";
|
|
921
1007
|
quic: "quic";
|
|
922
1008
|
http: "http";
|
|
1009
|
+
webtty: "webtty";
|
|
923
1010
|
}>>;
|
|
924
1011
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
925
1012
|
geo_ip: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1069,6 +1156,7 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1069
1156
|
dtls: "dtls";
|
|
1070
1157
|
quic: "quic";
|
|
1071
1158
|
http: "http";
|
|
1159
|
+
webtty: "webtty";
|
|
1072
1160
|
}>>;
|
|
1073
1161
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1074
1162
|
geo_ip: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1130,6 +1218,7 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1130
1218
|
dtls: "dtls";
|
|
1131
1219
|
quic: "quic";
|
|
1132
1220
|
http: "http";
|
|
1221
|
+
webtty: "webtty";
|
|
1133
1222
|
}>>;
|
|
1134
1223
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1135
1224
|
geo_ip: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1191,6 +1280,7 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1191
1280
|
dtls: "dtls";
|
|
1192
1281
|
quic: "quic";
|
|
1193
1282
|
http: "http";
|
|
1283
|
+
webtty: "webtty";
|
|
1194
1284
|
}>>;
|
|
1195
1285
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1196
1286
|
geo_ip: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1224,6 +1314,488 @@ declare const wsEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1224
1314
|
workspace_id: z.ZodOptional<z.ZodString>;
|
|
1225
1315
|
project_id: z.ZodOptional<z.ZodString>;
|
|
1226
1316
|
cluster_id: z.ZodOptional<z.ZodString>;
|
|
1317
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1318
|
+
type: z.ZodLiteral<"webtty.session.created">;
|
|
1319
|
+
object: z.ZodObject<{
|
|
1320
|
+
id: z.ZodString;
|
|
1321
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
1322
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
1323
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
1324
|
+
server_id: z.ZodOptional<z.ZodString>;
|
|
1325
|
+
tunnel_id: z.ZodString;
|
|
1326
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
1327
|
+
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
1328
|
+
group_id: z.ZodOptional<z.ZodString>;
|
|
1329
|
+
status: z.ZodEnum<{
|
|
1330
|
+
active: "active";
|
|
1331
|
+
closed: "closed";
|
|
1332
|
+
opening: "opening";
|
|
1333
|
+
closing: "closing";
|
|
1334
|
+
errored: "errored";
|
|
1335
|
+
}>;
|
|
1336
|
+
session_mode: z.ZodEnum<{
|
|
1337
|
+
interactive: "interactive";
|
|
1338
|
+
"non-interactive": "non-interactive";
|
|
1339
|
+
}>;
|
|
1340
|
+
recording_mode: z.ZodEnum<{
|
|
1341
|
+
private: "private";
|
|
1342
|
+
recorded: "recorded";
|
|
1343
|
+
}>;
|
|
1344
|
+
encryption_mode: z.ZodEnum<{
|
|
1345
|
+
managed: "managed";
|
|
1346
|
+
e2e: "e2e";
|
|
1347
|
+
}>;
|
|
1348
|
+
downstream_transport: z.ZodOptional<z.ZodEnum<{
|
|
1349
|
+
plain: "plain";
|
|
1350
|
+
websocket: "websocket";
|
|
1351
|
+
webtransport: "webtransport";
|
|
1352
|
+
}>>;
|
|
1353
|
+
upstream_transport: z.ZodOptional<z.ZodEnum<{
|
|
1354
|
+
plain: "plain";
|
|
1355
|
+
websocket: "websocket";
|
|
1356
|
+
webtransport: "webtransport";
|
|
1357
|
+
}>>;
|
|
1358
|
+
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
1359
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
1360
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
1361
|
+
api: "api";
|
|
1362
|
+
human: "human";
|
|
1363
|
+
codex: "codex";
|
|
1364
|
+
automation: "automation";
|
|
1365
|
+
ci: "ci";
|
|
1366
|
+
"scheduled-job": "scheduled-job";
|
|
1367
|
+
}>>;
|
|
1368
|
+
origin_id: z.ZodOptional<z.ZodString>;
|
|
1369
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
1370
|
+
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
1371
|
+
agent: "agent";
|
|
1372
|
+
app: "app";
|
|
1373
|
+
user: "user";
|
|
1374
|
+
"service-account": "service-account";
|
|
1375
|
+
}>>;
|
|
1376
|
+
agent_name: z.ZodOptional<z.ZodString>;
|
|
1377
|
+
agent_version: z.ZodOptional<z.ZodString>;
|
|
1378
|
+
request_id: z.ZodOptional<z.ZodString>;
|
|
1379
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1380
|
+
}, z.core.$loose>>;
|
|
1381
|
+
started_at: z.ZodString;
|
|
1382
|
+
ended_at: z.ZodOptional<z.ZodString>;
|
|
1383
|
+
exit_code: z.ZodOptional<z.ZodNumber>;
|
|
1384
|
+
error_code: z.ZodOptional<z.ZodString>;
|
|
1385
|
+
error_message: z.ZodOptional<z.ZodString>;
|
|
1386
|
+
live: z.ZodOptional<z.ZodObject<{
|
|
1387
|
+
available: z.ZodBoolean;
|
|
1388
|
+
attachable: z.ZodBoolean;
|
|
1389
|
+
participant_count: z.ZodNumber;
|
|
1390
|
+
controller_participant_id: z.ZodOptional<z.ZodString>;
|
|
1391
|
+
has_upstream: z.ZodBoolean;
|
|
1392
|
+
}, z.core.$strip>>;
|
|
1393
|
+
}, z.core.$loose>;
|
|
1394
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1395
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
1396
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
1397
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
1398
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
1399
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
1400
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1401
|
+
type: z.ZodLiteral<"webtty.session.updated">;
|
|
1402
|
+
object: z.ZodUnion<readonly [z.ZodObject<{
|
|
1403
|
+
id: z.ZodString;
|
|
1404
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
1405
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
1406
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
1407
|
+
server_id: z.ZodOptional<z.ZodString>;
|
|
1408
|
+
tunnel_id: z.ZodString;
|
|
1409
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
1410
|
+
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
1411
|
+
group_id: z.ZodOptional<z.ZodString>;
|
|
1412
|
+
status: z.ZodEnum<{
|
|
1413
|
+
active: "active";
|
|
1414
|
+
closed: "closed";
|
|
1415
|
+
opening: "opening";
|
|
1416
|
+
closing: "closing";
|
|
1417
|
+
errored: "errored";
|
|
1418
|
+
}>;
|
|
1419
|
+
session_mode: z.ZodEnum<{
|
|
1420
|
+
interactive: "interactive";
|
|
1421
|
+
"non-interactive": "non-interactive";
|
|
1422
|
+
}>;
|
|
1423
|
+
recording_mode: z.ZodEnum<{
|
|
1424
|
+
private: "private";
|
|
1425
|
+
recorded: "recorded";
|
|
1426
|
+
}>;
|
|
1427
|
+
encryption_mode: z.ZodEnum<{
|
|
1428
|
+
managed: "managed";
|
|
1429
|
+
e2e: "e2e";
|
|
1430
|
+
}>;
|
|
1431
|
+
downstream_transport: z.ZodOptional<z.ZodEnum<{
|
|
1432
|
+
plain: "plain";
|
|
1433
|
+
websocket: "websocket";
|
|
1434
|
+
webtransport: "webtransport";
|
|
1435
|
+
}>>;
|
|
1436
|
+
upstream_transport: z.ZodOptional<z.ZodEnum<{
|
|
1437
|
+
plain: "plain";
|
|
1438
|
+
websocket: "websocket";
|
|
1439
|
+
webtransport: "webtransport";
|
|
1440
|
+
}>>;
|
|
1441
|
+
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
1442
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
1443
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
1444
|
+
api: "api";
|
|
1445
|
+
human: "human";
|
|
1446
|
+
codex: "codex";
|
|
1447
|
+
automation: "automation";
|
|
1448
|
+
ci: "ci";
|
|
1449
|
+
"scheduled-job": "scheduled-job";
|
|
1450
|
+
}>>;
|
|
1451
|
+
origin_id: z.ZodOptional<z.ZodString>;
|
|
1452
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
1453
|
+
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
1454
|
+
agent: "agent";
|
|
1455
|
+
app: "app";
|
|
1456
|
+
user: "user";
|
|
1457
|
+
"service-account": "service-account";
|
|
1458
|
+
}>>;
|
|
1459
|
+
agent_name: z.ZodOptional<z.ZodString>;
|
|
1460
|
+
agent_version: z.ZodOptional<z.ZodString>;
|
|
1461
|
+
request_id: z.ZodOptional<z.ZodString>;
|
|
1462
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1463
|
+
}, z.core.$loose>>;
|
|
1464
|
+
started_at: z.ZodString;
|
|
1465
|
+
ended_at: z.ZodOptional<z.ZodString>;
|
|
1466
|
+
exit_code: z.ZodOptional<z.ZodNumber>;
|
|
1467
|
+
error_code: z.ZodOptional<z.ZodString>;
|
|
1468
|
+
error_message: z.ZodOptional<z.ZodString>;
|
|
1469
|
+
live: z.ZodOptional<z.ZodObject<{
|
|
1470
|
+
available: z.ZodBoolean;
|
|
1471
|
+
attachable: z.ZodBoolean;
|
|
1472
|
+
participant_count: z.ZodNumber;
|
|
1473
|
+
controller_participant_id: z.ZodOptional<z.ZodString>;
|
|
1474
|
+
has_upstream: z.ZodBoolean;
|
|
1475
|
+
}, z.core.$strip>>;
|
|
1476
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1477
|
+
id: z.ZodString;
|
|
1478
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
1479
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
1480
|
+
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
1481
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
1482
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
1483
|
+
api: "api";
|
|
1484
|
+
human: "human";
|
|
1485
|
+
codex: "codex";
|
|
1486
|
+
automation: "automation";
|
|
1487
|
+
ci: "ci";
|
|
1488
|
+
"scheduled-job": "scheduled-job";
|
|
1489
|
+
}>>;
|
|
1490
|
+
origin_id: z.ZodOptional<z.ZodString>;
|
|
1491
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
1492
|
+
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
1493
|
+
agent: "agent";
|
|
1494
|
+
app: "app";
|
|
1495
|
+
user: "user";
|
|
1496
|
+
"service-account": "service-account";
|
|
1497
|
+
}>>;
|
|
1498
|
+
agent_name: z.ZodOptional<z.ZodString>;
|
|
1499
|
+
agent_version: z.ZodOptional<z.ZodString>;
|
|
1500
|
+
request_id: z.ZodOptional<z.ZodString>;
|
|
1501
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1502
|
+
}, z.core.$loose>>;
|
|
1503
|
+
created_at: z.ZodString;
|
|
1504
|
+
updated_at: z.ZodString;
|
|
1505
|
+
closed_at: z.ZodOptional<z.ZodString>;
|
|
1506
|
+
}, z.core.$loose>]>;
|
|
1507
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1508
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
1509
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
1510
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
1511
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
1512
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
1513
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1514
|
+
type: z.ZodLiteral<"webtty.session.ended">;
|
|
1515
|
+
object: z.ZodObject<{
|
|
1516
|
+
id: z.ZodString;
|
|
1517
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
1518
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
1519
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
1520
|
+
server_id: z.ZodOptional<z.ZodString>;
|
|
1521
|
+
tunnel_id: z.ZodString;
|
|
1522
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
1523
|
+
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
1524
|
+
group_id: z.ZodOptional<z.ZodString>;
|
|
1525
|
+
status: z.ZodEnum<{
|
|
1526
|
+
active: "active";
|
|
1527
|
+
closed: "closed";
|
|
1528
|
+
opening: "opening";
|
|
1529
|
+
closing: "closing";
|
|
1530
|
+
errored: "errored";
|
|
1531
|
+
}>;
|
|
1532
|
+
session_mode: z.ZodEnum<{
|
|
1533
|
+
interactive: "interactive";
|
|
1534
|
+
"non-interactive": "non-interactive";
|
|
1535
|
+
}>;
|
|
1536
|
+
recording_mode: z.ZodEnum<{
|
|
1537
|
+
private: "private";
|
|
1538
|
+
recorded: "recorded";
|
|
1539
|
+
}>;
|
|
1540
|
+
encryption_mode: z.ZodEnum<{
|
|
1541
|
+
managed: "managed";
|
|
1542
|
+
e2e: "e2e";
|
|
1543
|
+
}>;
|
|
1544
|
+
downstream_transport: z.ZodOptional<z.ZodEnum<{
|
|
1545
|
+
plain: "plain";
|
|
1546
|
+
websocket: "websocket";
|
|
1547
|
+
webtransport: "webtransport";
|
|
1548
|
+
}>>;
|
|
1549
|
+
upstream_transport: z.ZodOptional<z.ZodEnum<{
|
|
1550
|
+
plain: "plain";
|
|
1551
|
+
websocket: "websocket";
|
|
1552
|
+
webtransport: "webtransport";
|
|
1553
|
+
}>>;
|
|
1554
|
+
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
1555
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
1556
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
1557
|
+
api: "api";
|
|
1558
|
+
human: "human";
|
|
1559
|
+
codex: "codex";
|
|
1560
|
+
automation: "automation";
|
|
1561
|
+
ci: "ci";
|
|
1562
|
+
"scheduled-job": "scheduled-job";
|
|
1563
|
+
}>>;
|
|
1564
|
+
origin_id: z.ZodOptional<z.ZodString>;
|
|
1565
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
1566
|
+
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
1567
|
+
agent: "agent";
|
|
1568
|
+
app: "app";
|
|
1569
|
+
user: "user";
|
|
1570
|
+
"service-account": "service-account";
|
|
1571
|
+
}>>;
|
|
1572
|
+
agent_name: z.ZodOptional<z.ZodString>;
|
|
1573
|
+
agent_version: z.ZodOptional<z.ZodString>;
|
|
1574
|
+
request_id: z.ZodOptional<z.ZodString>;
|
|
1575
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1576
|
+
}, z.core.$loose>>;
|
|
1577
|
+
started_at: z.ZodString;
|
|
1578
|
+
ended_at: z.ZodOptional<z.ZodString>;
|
|
1579
|
+
exit_code: z.ZodOptional<z.ZodNumber>;
|
|
1580
|
+
error_code: z.ZodOptional<z.ZodString>;
|
|
1581
|
+
error_message: z.ZodOptional<z.ZodString>;
|
|
1582
|
+
live: z.ZodOptional<z.ZodObject<{
|
|
1583
|
+
available: z.ZodBoolean;
|
|
1584
|
+
attachable: z.ZodBoolean;
|
|
1585
|
+
participant_count: z.ZodNumber;
|
|
1586
|
+
controller_participant_id: z.ZodOptional<z.ZodString>;
|
|
1587
|
+
has_upstream: z.ZodBoolean;
|
|
1588
|
+
}, z.core.$strip>>;
|
|
1589
|
+
}, z.core.$loose>;
|
|
1590
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1591
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
1592
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
1593
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
1594
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
1595
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
1596
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1597
|
+
type: z.ZodLiteral<"webtty.participant.joined">;
|
|
1598
|
+
object: z.ZodObject<{
|
|
1599
|
+
id: z.ZodString;
|
|
1600
|
+
session_id: z.ZodString;
|
|
1601
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
1602
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
1603
|
+
browser_id: z.ZodOptional<z.ZodString>;
|
|
1604
|
+
role: z.ZodEnum<{
|
|
1605
|
+
controller: "controller";
|
|
1606
|
+
spectator: "spectator";
|
|
1607
|
+
}>;
|
|
1608
|
+
attached_at: z.ZodString;
|
|
1609
|
+
detached_at: z.ZodOptional<z.ZodString>;
|
|
1610
|
+
controller: z.ZodBoolean;
|
|
1611
|
+
grant_state: z.ZodOptional<z.ZodString>;
|
|
1612
|
+
attach_grant: z.ZodOptional<z.ZodString>;
|
|
1613
|
+
attach_grant_expires_at: z.ZodOptional<z.ZodString>;
|
|
1614
|
+
live: z.ZodOptional<z.ZodObject<{
|
|
1615
|
+
connected: z.ZodBoolean;
|
|
1616
|
+
controller: z.ZodBoolean;
|
|
1617
|
+
}, z.core.$strip>>;
|
|
1618
|
+
}, z.core.$loose>;
|
|
1619
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1620
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
1621
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
1622
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
1623
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
1624
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
1625
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1626
|
+
type: z.ZodLiteral<"webtty.participant.updated">;
|
|
1627
|
+
object: z.ZodObject<{
|
|
1628
|
+
id: z.ZodString;
|
|
1629
|
+
session_id: z.ZodString;
|
|
1630
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
1631
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
1632
|
+
browser_id: z.ZodOptional<z.ZodString>;
|
|
1633
|
+
role: z.ZodEnum<{
|
|
1634
|
+
controller: "controller";
|
|
1635
|
+
spectator: "spectator";
|
|
1636
|
+
}>;
|
|
1637
|
+
attached_at: z.ZodString;
|
|
1638
|
+
detached_at: z.ZodOptional<z.ZodString>;
|
|
1639
|
+
controller: z.ZodBoolean;
|
|
1640
|
+
grant_state: z.ZodOptional<z.ZodString>;
|
|
1641
|
+
attach_grant: z.ZodOptional<z.ZodString>;
|
|
1642
|
+
attach_grant_expires_at: z.ZodOptional<z.ZodString>;
|
|
1643
|
+
live: z.ZodOptional<z.ZodObject<{
|
|
1644
|
+
connected: z.ZodBoolean;
|
|
1645
|
+
controller: z.ZodBoolean;
|
|
1646
|
+
}, z.core.$strip>>;
|
|
1647
|
+
}, z.core.$loose>;
|
|
1648
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1649
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
1650
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
1651
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
1652
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
1653
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
1654
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1655
|
+
type: z.ZodLiteral<"webtty.participant.left">;
|
|
1656
|
+
object: z.ZodObject<{
|
|
1657
|
+
id: z.ZodString;
|
|
1658
|
+
session_id: z.ZodString;
|
|
1659
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
1660
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
1661
|
+
browser_id: z.ZodOptional<z.ZodString>;
|
|
1662
|
+
role: z.ZodEnum<{
|
|
1663
|
+
controller: "controller";
|
|
1664
|
+
spectator: "spectator";
|
|
1665
|
+
}>;
|
|
1666
|
+
attached_at: z.ZodString;
|
|
1667
|
+
detached_at: z.ZodOptional<z.ZodString>;
|
|
1668
|
+
controller: z.ZodBoolean;
|
|
1669
|
+
grant_state: z.ZodOptional<z.ZodString>;
|
|
1670
|
+
attach_grant: z.ZodOptional<z.ZodString>;
|
|
1671
|
+
attach_grant_expires_at: z.ZodOptional<z.ZodString>;
|
|
1672
|
+
live: z.ZodOptional<z.ZodObject<{
|
|
1673
|
+
connected: z.ZodBoolean;
|
|
1674
|
+
controller: z.ZodBoolean;
|
|
1675
|
+
}, z.core.$strip>>;
|
|
1676
|
+
}, z.core.$loose>;
|
|
1677
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1678
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
1679
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
1680
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
1681
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
1682
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
1683
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1684
|
+
type: z.ZodLiteral<"webtty.control.requested">;
|
|
1685
|
+
object: z.ZodObject<{
|
|
1686
|
+
id: z.ZodString;
|
|
1687
|
+
session_id: z.ZodString;
|
|
1688
|
+
requester_participant_id: z.ZodString;
|
|
1689
|
+
requester_user_id: z.ZodOptional<z.ZodString>;
|
|
1690
|
+
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
1691
|
+
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
1692
|
+
status: z.ZodEnum<{
|
|
1693
|
+
refused: "refused";
|
|
1694
|
+
pending: "pending";
|
|
1695
|
+
granted: "granted";
|
|
1696
|
+
revoked: "revoked";
|
|
1697
|
+
expired: "expired";
|
|
1698
|
+
}>;
|
|
1699
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1700
|
+
metadata: z.ZodOptional<z.ZodUnknown>;
|
|
1701
|
+
created_at: z.ZodString;
|
|
1702
|
+
updated_at: z.ZodString;
|
|
1703
|
+
resolved_at: z.ZodOptional<z.ZodString>;
|
|
1704
|
+
expires_at: z.ZodOptional<z.ZodString>;
|
|
1705
|
+
}, z.core.$loose>;
|
|
1706
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1707
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
1708
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
1709
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
1710
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
1711
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
1712
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1713
|
+
type: z.ZodLiteral<"webtty.control.granted">;
|
|
1714
|
+
object: z.ZodObject<{
|
|
1715
|
+
id: z.ZodString;
|
|
1716
|
+
session_id: z.ZodString;
|
|
1717
|
+
requester_participant_id: z.ZodString;
|
|
1718
|
+
requester_user_id: z.ZodOptional<z.ZodString>;
|
|
1719
|
+
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
1720
|
+
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
1721
|
+
status: z.ZodEnum<{
|
|
1722
|
+
refused: "refused";
|
|
1723
|
+
pending: "pending";
|
|
1724
|
+
granted: "granted";
|
|
1725
|
+
revoked: "revoked";
|
|
1726
|
+
expired: "expired";
|
|
1727
|
+
}>;
|
|
1728
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1729
|
+
metadata: z.ZodOptional<z.ZodUnknown>;
|
|
1730
|
+
created_at: z.ZodString;
|
|
1731
|
+
updated_at: z.ZodString;
|
|
1732
|
+
resolved_at: z.ZodOptional<z.ZodString>;
|
|
1733
|
+
expires_at: z.ZodOptional<z.ZodString>;
|
|
1734
|
+
}, z.core.$loose>;
|
|
1735
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1736
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
1737
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
1738
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
1739
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
1740
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
1741
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1742
|
+
type: z.ZodLiteral<"webtty.control.refused">;
|
|
1743
|
+
object: z.ZodObject<{
|
|
1744
|
+
id: z.ZodString;
|
|
1745
|
+
session_id: z.ZodString;
|
|
1746
|
+
requester_participant_id: z.ZodString;
|
|
1747
|
+
requester_user_id: z.ZodOptional<z.ZodString>;
|
|
1748
|
+
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
1749
|
+
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
1750
|
+
status: z.ZodEnum<{
|
|
1751
|
+
refused: "refused";
|
|
1752
|
+
pending: "pending";
|
|
1753
|
+
granted: "granted";
|
|
1754
|
+
revoked: "revoked";
|
|
1755
|
+
expired: "expired";
|
|
1756
|
+
}>;
|
|
1757
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1758
|
+
metadata: z.ZodOptional<z.ZodUnknown>;
|
|
1759
|
+
created_at: z.ZodString;
|
|
1760
|
+
updated_at: z.ZodString;
|
|
1761
|
+
resolved_at: z.ZodOptional<z.ZodString>;
|
|
1762
|
+
expires_at: z.ZodOptional<z.ZodString>;
|
|
1763
|
+
}, z.core.$loose>;
|
|
1764
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1765
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
1766
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
1767
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
1768
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
1769
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
1770
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1771
|
+
type: z.ZodLiteral<"webtty.control.revoked">;
|
|
1772
|
+
object: z.ZodObject<{
|
|
1773
|
+
id: z.ZodString;
|
|
1774
|
+
session_id: z.ZodString;
|
|
1775
|
+
requester_participant_id: z.ZodString;
|
|
1776
|
+
requester_user_id: z.ZodOptional<z.ZodString>;
|
|
1777
|
+
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
1778
|
+
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
1779
|
+
status: z.ZodEnum<{
|
|
1780
|
+
refused: "refused";
|
|
1781
|
+
pending: "pending";
|
|
1782
|
+
granted: "granted";
|
|
1783
|
+
revoked: "revoked";
|
|
1784
|
+
expired: "expired";
|
|
1785
|
+
}>;
|
|
1786
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1787
|
+
metadata: z.ZodOptional<z.ZodUnknown>;
|
|
1788
|
+
created_at: z.ZodString;
|
|
1789
|
+
updated_at: z.ZodString;
|
|
1790
|
+
resolved_at: z.ZodOptional<z.ZodString>;
|
|
1791
|
+
expires_at: z.ZodOptional<z.ZodString>;
|
|
1792
|
+
}, z.core.$loose>;
|
|
1793
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1794
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
1795
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
1796
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
1797
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
1798
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
1227
1799
|
}, z.core.$loose>]>;
|
|
1228
1800
|
declare const webhookEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
1229
1801
|
type: z.ZodLiteral<"client.created">;
|
|
@@ -1311,6 +1883,7 @@ declare const webhookEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1311
1883
|
dtls: "dtls";
|
|
1312
1884
|
quic: "quic";
|
|
1313
1885
|
http: "http";
|
|
1886
|
+
webtty: "webtty";
|
|
1314
1887
|
}>>;
|
|
1315
1888
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1316
1889
|
geo_ip: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1372,6 +1945,7 @@ declare const webhookEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1372
1945
|
dtls: "dtls";
|
|
1373
1946
|
quic: "quic";
|
|
1374
1947
|
http: "http";
|
|
1948
|
+
webtty: "webtty";
|
|
1375
1949
|
}>>;
|
|
1376
1950
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1377
1951
|
geo_ip: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1405,25 +1979,507 @@ declare const webhookEventsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1405
1979
|
workspace_id: z.ZodOptional<z.ZodString>;
|
|
1406
1980
|
project_id: z.ZodOptional<z.ZodString>;
|
|
1407
1981
|
cluster_id: z.ZodOptional<z.ZodString>;
|
|
1408
|
-
}, z.core.$loose
|
|
1409
|
-
|
|
1410
|
-
type: z.ZodLiteral<"stream.summary">;
|
|
1982
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1983
|
+
type: z.ZodLiteral<"webtty.session.created">;
|
|
1411
1984
|
object: z.ZodObject<{
|
|
1985
|
+
id: z.ZodString;
|
|
1412
1986
|
workspace_id: z.ZodOptional<z.ZodString>;
|
|
1413
1987
|
project_id: z.ZodOptional<z.ZodString>;
|
|
1414
1988
|
cluster_id: z.ZodOptional<z.ZodString>;
|
|
1415
|
-
|
|
1989
|
+
server_id: z.ZodOptional<z.ZodString>;
|
|
1990
|
+
tunnel_id: z.ZodString;
|
|
1416
1991
|
client_id: z.ZodOptional<z.ZodString>;
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1992
|
+
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
1993
|
+
group_id: z.ZodOptional<z.ZodString>;
|
|
1994
|
+
status: z.ZodEnum<{
|
|
1995
|
+
active: "active";
|
|
1996
|
+
closed: "closed";
|
|
1997
|
+
opening: "opening";
|
|
1998
|
+
closing: "closing";
|
|
1999
|
+
errored: "errored";
|
|
2000
|
+
}>;
|
|
2001
|
+
session_mode: z.ZodEnum<{
|
|
2002
|
+
interactive: "interactive";
|
|
2003
|
+
"non-interactive": "non-interactive";
|
|
2004
|
+
}>;
|
|
2005
|
+
recording_mode: z.ZodEnum<{
|
|
2006
|
+
private: "private";
|
|
2007
|
+
recorded: "recorded";
|
|
2008
|
+
}>;
|
|
2009
|
+
encryption_mode: z.ZodEnum<{
|
|
2010
|
+
managed: "managed";
|
|
2011
|
+
e2e: "e2e";
|
|
2012
|
+
}>;
|
|
2013
|
+
downstream_transport: z.ZodOptional<z.ZodEnum<{
|
|
2014
|
+
plain: "plain";
|
|
2015
|
+
websocket: "websocket";
|
|
2016
|
+
webtransport: "webtransport";
|
|
2017
|
+
}>>;
|
|
2018
|
+
upstream_transport: z.ZodOptional<z.ZodEnum<{
|
|
2019
|
+
plain: "plain";
|
|
2020
|
+
websocket: "websocket";
|
|
2021
|
+
webtransport: "webtransport";
|
|
2022
|
+
}>>;
|
|
2023
|
+
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
2024
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
2025
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
2026
|
+
api: "api";
|
|
2027
|
+
human: "human";
|
|
2028
|
+
codex: "codex";
|
|
2029
|
+
automation: "automation";
|
|
2030
|
+
ci: "ci";
|
|
2031
|
+
"scheduled-job": "scheduled-job";
|
|
2032
|
+
}>>;
|
|
2033
|
+
origin_id: z.ZodOptional<z.ZodString>;
|
|
2034
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
2035
|
+
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
2036
|
+
agent: "agent";
|
|
2037
|
+
app: "app";
|
|
2038
|
+
user: "user";
|
|
2039
|
+
"service-account": "service-account";
|
|
2040
|
+
}>>;
|
|
2041
|
+
agent_name: z.ZodOptional<z.ZodString>;
|
|
2042
|
+
agent_version: z.ZodOptional<z.ZodString>;
|
|
2043
|
+
request_id: z.ZodOptional<z.ZodString>;
|
|
2044
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2045
|
+
}, z.core.$loose>>;
|
|
2046
|
+
started_at: z.ZodString;
|
|
2047
|
+
ended_at: z.ZodOptional<z.ZodString>;
|
|
2048
|
+
exit_code: z.ZodOptional<z.ZodNumber>;
|
|
2049
|
+
error_code: z.ZodOptional<z.ZodString>;
|
|
2050
|
+
error_message: z.ZodOptional<z.ZodString>;
|
|
2051
|
+
live: z.ZodOptional<z.ZodObject<{
|
|
2052
|
+
available: z.ZodBoolean;
|
|
2053
|
+
attachable: z.ZodBoolean;
|
|
2054
|
+
participant_count: z.ZodNumber;
|
|
2055
|
+
controller_participant_id: z.ZodOptional<z.ZodString>;
|
|
2056
|
+
has_upstream: z.ZodBoolean;
|
|
2057
|
+
}, z.core.$strip>>;
|
|
2058
|
+
}, z.core.$loose>;
|
|
2059
|
+
id: z.ZodOptional<z.ZodString>;
|
|
2060
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
2061
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
2062
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
2063
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
2064
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
2065
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2066
|
+
type: z.ZodLiteral<"webtty.session.updated">;
|
|
2067
|
+
object: z.ZodUnion<readonly [z.ZodObject<{
|
|
2068
|
+
id: z.ZodString;
|
|
2069
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
2070
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
2071
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
2072
|
+
server_id: z.ZodOptional<z.ZodString>;
|
|
2073
|
+
tunnel_id: z.ZodString;
|
|
2074
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
2075
|
+
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
2076
|
+
group_id: z.ZodOptional<z.ZodString>;
|
|
2077
|
+
status: z.ZodEnum<{
|
|
2078
|
+
active: "active";
|
|
2079
|
+
closed: "closed";
|
|
2080
|
+
opening: "opening";
|
|
2081
|
+
closing: "closing";
|
|
2082
|
+
errored: "errored";
|
|
2083
|
+
}>;
|
|
2084
|
+
session_mode: z.ZodEnum<{
|
|
2085
|
+
interactive: "interactive";
|
|
2086
|
+
"non-interactive": "non-interactive";
|
|
2087
|
+
}>;
|
|
2088
|
+
recording_mode: z.ZodEnum<{
|
|
2089
|
+
private: "private";
|
|
2090
|
+
recorded: "recorded";
|
|
2091
|
+
}>;
|
|
2092
|
+
encryption_mode: z.ZodEnum<{
|
|
2093
|
+
managed: "managed";
|
|
2094
|
+
e2e: "e2e";
|
|
2095
|
+
}>;
|
|
2096
|
+
downstream_transport: z.ZodOptional<z.ZodEnum<{
|
|
2097
|
+
plain: "plain";
|
|
2098
|
+
websocket: "websocket";
|
|
2099
|
+
webtransport: "webtransport";
|
|
2100
|
+
}>>;
|
|
2101
|
+
upstream_transport: z.ZodOptional<z.ZodEnum<{
|
|
2102
|
+
plain: "plain";
|
|
2103
|
+
websocket: "websocket";
|
|
2104
|
+
webtransport: "webtransport";
|
|
2105
|
+
}>>;
|
|
2106
|
+
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
2107
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
2108
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
2109
|
+
api: "api";
|
|
2110
|
+
human: "human";
|
|
2111
|
+
codex: "codex";
|
|
2112
|
+
automation: "automation";
|
|
2113
|
+
ci: "ci";
|
|
2114
|
+
"scheduled-job": "scheduled-job";
|
|
2115
|
+
}>>;
|
|
2116
|
+
origin_id: z.ZodOptional<z.ZodString>;
|
|
2117
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
2118
|
+
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
2119
|
+
agent: "agent";
|
|
2120
|
+
app: "app";
|
|
2121
|
+
user: "user";
|
|
2122
|
+
"service-account": "service-account";
|
|
2123
|
+
}>>;
|
|
2124
|
+
agent_name: z.ZodOptional<z.ZodString>;
|
|
2125
|
+
agent_version: z.ZodOptional<z.ZodString>;
|
|
2126
|
+
request_id: z.ZodOptional<z.ZodString>;
|
|
2127
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2128
|
+
}, z.core.$loose>>;
|
|
2129
|
+
started_at: z.ZodString;
|
|
2130
|
+
ended_at: z.ZodOptional<z.ZodString>;
|
|
2131
|
+
exit_code: z.ZodOptional<z.ZodNumber>;
|
|
2132
|
+
error_code: z.ZodOptional<z.ZodString>;
|
|
2133
|
+
error_message: z.ZodOptional<z.ZodString>;
|
|
2134
|
+
live: z.ZodOptional<z.ZodObject<{
|
|
2135
|
+
available: z.ZodBoolean;
|
|
2136
|
+
attachable: z.ZodBoolean;
|
|
2137
|
+
participant_count: z.ZodNumber;
|
|
2138
|
+
controller_participant_id: z.ZodOptional<z.ZodString>;
|
|
2139
|
+
has_upstream: z.ZodBoolean;
|
|
2140
|
+
}, z.core.$strip>>;
|
|
2141
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2142
|
+
id: z.ZodString;
|
|
2143
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
2144
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
2145
|
+
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
2146
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
2147
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
2148
|
+
api: "api";
|
|
2149
|
+
human: "human";
|
|
2150
|
+
codex: "codex";
|
|
2151
|
+
automation: "automation";
|
|
2152
|
+
ci: "ci";
|
|
2153
|
+
"scheduled-job": "scheduled-job";
|
|
2154
|
+
}>>;
|
|
2155
|
+
origin_id: z.ZodOptional<z.ZodString>;
|
|
2156
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
2157
|
+
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
2158
|
+
agent: "agent";
|
|
2159
|
+
app: "app";
|
|
2160
|
+
user: "user";
|
|
2161
|
+
"service-account": "service-account";
|
|
2162
|
+
}>>;
|
|
2163
|
+
agent_name: z.ZodOptional<z.ZodString>;
|
|
2164
|
+
agent_version: z.ZodOptional<z.ZodString>;
|
|
2165
|
+
request_id: z.ZodOptional<z.ZodString>;
|
|
2166
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2167
|
+
}, z.core.$loose>>;
|
|
2168
|
+
created_at: z.ZodString;
|
|
2169
|
+
updated_at: z.ZodString;
|
|
2170
|
+
closed_at: z.ZodOptional<z.ZodString>;
|
|
2171
|
+
}, z.core.$loose>]>;
|
|
2172
|
+
id: z.ZodOptional<z.ZodString>;
|
|
2173
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
2174
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
2175
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
2176
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
2177
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
2178
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2179
|
+
type: z.ZodLiteral<"webtty.session.ended">;
|
|
2180
|
+
object: z.ZodObject<{
|
|
2181
|
+
id: z.ZodString;
|
|
2182
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
2183
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
2184
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
2185
|
+
server_id: z.ZodOptional<z.ZodString>;
|
|
2186
|
+
tunnel_id: z.ZodString;
|
|
2187
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
2188
|
+
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
2189
|
+
group_id: z.ZodOptional<z.ZodString>;
|
|
2190
|
+
status: z.ZodEnum<{
|
|
2191
|
+
active: "active";
|
|
2192
|
+
closed: "closed";
|
|
2193
|
+
opening: "opening";
|
|
2194
|
+
closing: "closing";
|
|
2195
|
+
errored: "errored";
|
|
2196
|
+
}>;
|
|
2197
|
+
session_mode: z.ZodEnum<{
|
|
2198
|
+
interactive: "interactive";
|
|
2199
|
+
"non-interactive": "non-interactive";
|
|
2200
|
+
}>;
|
|
2201
|
+
recording_mode: z.ZodEnum<{
|
|
2202
|
+
private: "private";
|
|
2203
|
+
recorded: "recorded";
|
|
2204
|
+
}>;
|
|
2205
|
+
encryption_mode: z.ZodEnum<{
|
|
2206
|
+
managed: "managed";
|
|
2207
|
+
e2e: "e2e";
|
|
2208
|
+
}>;
|
|
2209
|
+
downstream_transport: z.ZodOptional<z.ZodEnum<{
|
|
2210
|
+
plain: "plain";
|
|
2211
|
+
websocket: "websocket";
|
|
2212
|
+
webtransport: "webtransport";
|
|
2213
|
+
}>>;
|
|
2214
|
+
upstream_transport: z.ZodOptional<z.ZodEnum<{
|
|
2215
|
+
plain: "plain";
|
|
2216
|
+
websocket: "websocket";
|
|
2217
|
+
webtransport: "webtransport";
|
|
2218
|
+
}>>;
|
|
2219
|
+
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
2220
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
2221
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
2222
|
+
api: "api";
|
|
2223
|
+
human: "human";
|
|
2224
|
+
codex: "codex";
|
|
2225
|
+
automation: "automation";
|
|
2226
|
+
ci: "ci";
|
|
2227
|
+
"scheduled-job": "scheduled-job";
|
|
2228
|
+
}>>;
|
|
2229
|
+
origin_id: z.ZodOptional<z.ZodString>;
|
|
2230
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
2231
|
+
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
2232
|
+
agent: "agent";
|
|
2233
|
+
app: "app";
|
|
2234
|
+
user: "user";
|
|
2235
|
+
"service-account": "service-account";
|
|
2236
|
+
}>>;
|
|
2237
|
+
agent_name: z.ZodOptional<z.ZodString>;
|
|
2238
|
+
agent_version: z.ZodOptional<z.ZodString>;
|
|
2239
|
+
request_id: z.ZodOptional<z.ZodString>;
|
|
2240
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2241
|
+
}, z.core.$loose>>;
|
|
2242
|
+
started_at: z.ZodString;
|
|
2243
|
+
ended_at: z.ZodOptional<z.ZodString>;
|
|
2244
|
+
exit_code: z.ZodOptional<z.ZodNumber>;
|
|
2245
|
+
error_code: z.ZodOptional<z.ZodString>;
|
|
2246
|
+
error_message: z.ZodOptional<z.ZodString>;
|
|
2247
|
+
live: z.ZodOptional<z.ZodObject<{
|
|
2248
|
+
available: z.ZodBoolean;
|
|
2249
|
+
attachable: z.ZodBoolean;
|
|
2250
|
+
participant_count: z.ZodNumber;
|
|
2251
|
+
controller_participant_id: z.ZodOptional<z.ZodString>;
|
|
2252
|
+
has_upstream: z.ZodBoolean;
|
|
2253
|
+
}, z.core.$strip>>;
|
|
2254
|
+
}, z.core.$loose>;
|
|
2255
|
+
id: z.ZodOptional<z.ZodString>;
|
|
2256
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
2257
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
2258
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
2259
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
2260
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
2261
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2262
|
+
type: z.ZodLiteral<"webtty.participant.joined">;
|
|
2263
|
+
object: z.ZodObject<{
|
|
2264
|
+
id: z.ZodString;
|
|
2265
|
+
session_id: z.ZodString;
|
|
2266
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
2267
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
2268
|
+
browser_id: z.ZodOptional<z.ZodString>;
|
|
2269
|
+
role: z.ZodEnum<{
|
|
2270
|
+
controller: "controller";
|
|
2271
|
+
spectator: "spectator";
|
|
2272
|
+
}>;
|
|
2273
|
+
attached_at: z.ZodString;
|
|
2274
|
+
detached_at: z.ZodOptional<z.ZodString>;
|
|
2275
|
+
controller: z.ZodBoolean;
|
|
2276
|
+
grant_state: z.ZodOptional<z.ZodString>;
|
|
2277
|
+
attach_grant: z.ZodOptional<z.ZodString>;
|
|
2278
|
+
attach_grant_expires_at: z.ZodOptional<z.ZodString>;
|
|
2279
|
+
live: z.ZodOptional<z.ZodObject<{
|
|
2280
|
+
connected: z.ZodBoolean;
|
|
2281
|
+
controller: z.ZodBoolean;
|
|
2282
|
+
}, z.core.$strip>>;
|
|
2283
|
+
}, z.core.$loose>;
|
|
2284
|
+
id: z.ZodOptional<z.ZodString>;
|
|
2285
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
2286
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
2287
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
2288
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
2289
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
2290
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2291
|
+
type: z.ZodLiteral<"webtty.participant.updated">;
|
|
2292
|
+
object: z.ZodObject<{
|
|
2293
|
+
id: z.ZodString;
|
|
2294
|
+
session_id: z.ZodString;
|
|
2295
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
2296
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
2297
|
+
browser_id: z.ZodOptional<z.ZodString>;
|
|
2298
|
+
role: z.ZodEnum<{
|
|
2299
|
+
controller: "controller";
|
|
2300
|
+
spectator: "spectator";
|
|
2301
|
+
}>;
|
|
2302
|
+
attached_at: z.ZodString;
|
|
2303
|
+
detached_at: z.ZodOptional<z.ZodString>;
|
|
2304
|
+
controller: z.ZodBoolean;
|
|
2305
|
+
grant_state: z.ZodOptional<z.ZodString>;
|
|
2306
|
+
attach_grant: z.ZodOptional<z.ZodString>;
|
|
2307
|
+
attach_grant_expires_at: z.ZodOptional<z.ZodString>;
|
|
2308
|
+
live: z.ZodOptional<z.ZodObject<{
|
|
2309
|
+
connected: z.ZodBoolean;
|
|
2310
|
+
controller: z.ZodBoolean;
|
|
2311
|
+
}, z.core.$strip>>;
|
|
2312
|
+
}, z.core.$loose>;
|
|
2313
|
+
id: z.ZodOptional<z.ZodString>;
|
|
2314
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
2315
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
2316
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
2317
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
2318
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
2319
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2320
|
+
type: z.ZodLiteral<"webtty.participant.left">;
|
|
2321
|
+
object: z.ZodObject<{
|
|
2322
|
+
id: z.ZodString;
|
|
2323
|
+
session_id: z.ZodString;
|
|
2324
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
2325
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
2326
|
+
browser_id: z.ZodOptional<z.ZodString>;
|
|
2327
|
+
role: z.ZodEnum<{
|
|
2328
|
+
controller: "controller";
|
|
2329
|
+
spectator: "spectator";
|
|
2330
|
+
}>;
|
|
2331
|
+
attached_at: z.ZodString;
|
|
2332
|
+
detached_at: z.ZodOptional<z.ZodString>;
|
|
2333
|
+
controller: z.ZodBoolean;
|
|
2334
|
+
grant_state: z.ZodOptional<z.ZodString>;
|
|
2335
|
+
attach_grant: z.ZodOptional<z.ZodString>;
|
|
2336
|
+
attach_grant_expires_at: z.ZodOptional<z.ZodString>;
|
|
2337
|
+
live: z.ZodOptional<z.ZodObject<{
|
|
2338
|
+
connected: z.ZodBoolean;
|
|
2339
|
+
controller: z.ZodBoolean;
|
|
2340
|
+
}, z.core.$strip>>;
|
|
2341
|
+
}, z.core.$loose>;
|
|
2342
|
+
id: z.ZodOptional<z.ZodString>;
|
|
2343
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
2344
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
2345
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
2346
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
2347
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
2348
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2349
|
+
type: z.ZodLiteral<"webtty.control.requested">;
|
|
2350
|
+
object: z.ZodObject<{
|
|
2351
|
+
id: z.ZodString;
|
|
2352
|
+
session_id: z.ZodString;
|
|
2353
|
+
requester_participant_id: z.ZodString;
|
|
2354
|
+
requester_user_id: z.ZodOptional<z.ZodString>;
|
|
2355
|
+
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
2356
|
+
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
2357
|
+
status: z.ZodEnum<{
|
|
2358
|
+
refused: "refused";
|
|
2359
|
+
pending: "pending";
|
|
2360
|
+
granted: "granted";
|
|
2361
|
+
revoked: "revoked";
|
|
2362
|
+
expired: "expired";
|
|
2363
|
+
}>;
|
|
2364
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2365
|
+
metadata: z.ZodOptional<z.ZodUnknown>;
|
|
2366
|
+
created_at: z.ZodString;
|
|
2367
|
+
updated_at: z.ZodString;
|
|
2368
|
+
resolved_at: z.ZodOptional<z.ZodString>;
|
|
2369
|
+
expires_at: z.ZodOptional<z.ZodString>;
|
|
2370
|
+
}, z.core.$loose>;
|
|
2371
|
+
id: z.ZodOptional<z.ZodString>;
|
|
2372
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
2373
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
2374
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
2375
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
2376
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
2377
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2378
|
+
type: z.ZodLiteral<"webtty.control.granted">;
|
|
2379
|
+
object: z.ZodObject<{
|
|
2380
|
+
id: z.ZodString;
|
|
2381
|
+
session_id: z.ZodString;
|
|
2382
|
+
requester_participant_id: z.ZodString;
|
|
2383
|
+
requester_user_id: z.ZodOptional<z.ZodString>;
|
|
2384
|
+
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
2385
|
+
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
2386
|
+
status: z.ZodEnum<{
|
|
2387
|
+
refused: "refused";
|
|
2388
|
+
pending: "pending";
|
|
2389
|
+
granted: "granted";
|
|
2390
|
+
revoked: "revoked";
|
|
2391
|
+
expired: "expired";
|
|
2392
|
+
}>;
|
|
2393
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2394
|
+
metadata: z.ZodOptional<z.ZodUnknown>;
|
|
2395
|
+
created_at: z.ZodString;
|
|
2396
|
+
updated_at: z.ZodString;
|
|
2397
|
+
resolved_at: z.ZodOptional<z.ZodString>;
|
|
2398
|
+
expires_at: z.ZodOptional<z.ZodString>;
|
|
2399
|
+
}, z.core.$loose>;
|
|
2400
|
+
id: z.ZodOptional<z.ZodString>;
|
|
2401
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
2402
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
2403
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
2404
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
2405
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
2406
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2407
|
+
type: z.ZodLiteral<"webtty.control.refused">;
|
|
2408
|
+
object: z.ZodObject<{
|
|
2409
|
+
id: z.ZodString;
|
|
2410
|
+
session_id: z.ZodString;
|
|
2411
|
+
requester_participant_id: z.ZodString;
|
|
2412
|
+
requester_user_id: z.ZodOptional<z.ZodString>;
|
|
2413
|
+
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
2414
|
+
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
2415
|
+
status: z.ZodEnum<{
|
|
2416
|
+
refused: "refused";
|
|
2417
|
+
pending: "pending";
|
|
2418
|
+
granted: "granted";
|
|
2419
|
+
revoked: "revoked";
|
|
2420
|
+
expired: "expired";
|
|
2421
|
+
}>;
|
|
2422
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2423
|
+
metadata: z.ZodOptional<z.ZodUnknown>;
|
|
2424
|
+
created_at: z.ZodString;
|
|
2425
|
+
updated_at: z.ZodString;
|
|
2426
|
+
resolved_at: z.ZodOptional<z.ZodString>;
|
|
2427
|
+
expires_at: z.ZodOptional<z.ZodString>;
|
|
2428
|
+
}, z.core.$loose>;
|
|
2429
|
+
id: z.ZodOptional<z.ZodString>;
|
|
2430
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
2431
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
2432
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
2433
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
2434
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
2435
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2436
|
+
type: z.ZodLiteral<"webtty.control.revoked">;
|
|
2437
|
+
object: z.ZodObject<{
|
|
2438
|
+
id: z.ZodString;
|
|
2439
|
+
session_id: z.ZodString;
|
|
2440
|
+
requester_participant_id: z.ZodString;
|
|
2441
|
+
requester_user_id: z.ZodOptional<z.ZodString>;
|
|
2442
|
+
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
2443
|
+
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
2444
|
+
status: z.ZodEnum<{
|
|
2445
|
+
refused: "refused";
|
|
2446
|
+
pending: "pending";
|
|
2447
|
+
granted: "granted";
|
|
2448
|
+
revoked: "revoked";
|
|
2449
|
+
expired: "expired";
|
|
2450
|
+
}>;
|
|
2451
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2452
|
+
metadata: z.ZodOptional<z.ZodUnknown>;
|
|
2453
|
+
created_at: z.ZodString;
|
|
2454
|
+
updated_at: z.ZodString;
|
|
2455
|
+
resolved_at: z.ZodOptional<z.ZodString>;
|
|
2456
|
+
expires_at: z.ZodOptional<z.ZodString>;
|
|
2457
|
+
}, z.core.$loose>;
|
|
2458
|
+
id: z.ZodOptional<z.ZodString>;
|
|
2459
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
2460
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
2461
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
2462
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
2463
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
2464
|
+
}, z.core.$loose>]>;
|
|
2465
|
+
declare const projectLogEventsSchema: z.ZodObject<{
|
|
2466
|
+
type: z.ZodLiteral<"stream.summary">;
|
|
2467
|
+
object: z.ZodObject<{
|
|
2468
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
2469
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
2470
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
2471
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
2472
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
2473
|
+
tunnel_id: z.ZodOptional<z.ZodString>;
|
|
2474
|
+
stream_id: z.ZodString;
|
|
2475
|
+
created_at: z.ZodString;
|
|
2476
|
+
terminated_at: z.ZodString;
|
|
2477
|
+
request: z.ZodObject<{
|
|
2478
|
+
downstream: z.ZodObject<{
|
|
2479
|
+
ip: z.ZodOptional<z.ZodString>;
|
|
2480
|
+
geolocation: z.ZodOptional<z.ZodObject<{
|
|
2481
|
+
country: z.ZodOptional<z.ZodString>;
|
|
2482
|
+
region: z.ZodOptional<z.ZodString>;
|
|
1427
2483
|
}, z.core.$strip>>;
|
|
1428
2484
|
tls: z.ZodOptional<z.ZodObject<{
|
|
1429
2485
|
version: z.ZodOptional<z.ZodString>;
|
|
@@ -1433,6 +2489,22 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
1433
2489
|
ech: z.ZodOptional<z.ZodBoolean>;
|
|
1434
2490
|
}, z.core.$strip>>;
|
|
1435
2491
|
}, z.core.$strip>;
|
|
2492
|
+
entry: z.ZodOptional<z.ZodObject<{
|
|
2493
|
+
kind: z.ZodEnum<{
|
|
2494
|
+
published_tunnel: "published_tunnel";
|
|
2495
|
+
private_rstream: "private_rstream";
|
|
2496
|
+
proxy_egress: "proxy_egress";
|
|
2497
|
+
internal: "internal";
|
|
2498
|
+
}>;
|
|
2499
|
+
transport: z.ZodOptional<z.ZodEnum<{
|
|
2500
|
+
tls: "tls";
|
|
2501
|
+
dtls: "dtls";
|
|
2502
|
+
quic: "quic";
|
|
2503
|
+
http: "http";
|
|
2504
|
+
rstream: "rstream";
|
|
2505
|
+
tcp: "tcp";
|
|
2506
|
+
}>>;
|
|
2507
|
+
}, z.core.$strip>>;
|
|
1436
2508
|
http: z.ZodOptional<z.ZodObject<{
|
|
1437
2509
|
protocol: z.ZodOptional<z.ZodEnum<{
|
|
1438
2510
|
"http/1.1": "http/1.1";
|
|
@@ -1461,11 +2533,14 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
1461
2533
|
}, z.core.$strip>, z.ZodObject<{
|
|
1462
2534
|
kind: z.ZodLiteral<"rstream_auth">;
|
|
1463
2535
|
source: z.ZodLiteral<"rstream_auth">;
|
|
2536
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2537
|
+
kind: z.ZodLiteral<"rstream">;
|
|
2538
|
+
source: z.ZodOptional<z.ZodLiteral<"private_rstream">>;
|
|
1464
2539
|
}, z.core.$strip>, z.ZodObject<{
|
|
1465
2540
|
kind: z.ZodLiteral<"token">;
|
|
1466
2541
|
source: z.ZodOptional<z.ZodEnum<{
|
|
1467
|
-
query: "query";
|
|
1468
2542
|
unknown: "unknown";
|
|
2543
|
+
query: "query";
|
|
1469
2544
|
authorization: "authorization";
|
|
1470
2545
|
client: "client";
|
|
1471
2546
|
}>>;
|
|
@@ -1485,11 +2560,14 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
1485
2560
|
}, z.core.$strip>, z.ZodObject<{
|
|
1486
2561
|
kind: z.ZodLiteral<"rstream_auth">;
|
|
1487
2562
|
source: z.ZodLiteral<"rstream_auth">;
|
|
2563
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2564
|
+
kind: z.ZodLiteral<"rstream">;
|
|
2565
|
+
source: z.ZodOptional<z.ZodLiteral<"private_rstream">>;
|
|
1488
2566
|
}, z.core.$strip>, z.ZodObject<{
|
|
1489
2567
|
kind: z.ZodLiteral<"token">;
|
|
1490
2568
|
source: z.ZodOptional<z.ZodEnum<{
|
|
1491
|
-
query: "query";
|
|
1492
2569
|
unknown: "unknown";
|
|
2570
|
+
query: "query";
|
|
1493
2571
|
authorization: "authorization";
|
|
1494
2572
|
client: "client";
|
|
1495
2573
|
}>>;
|
|
@@ -1509,48 +2587,48 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
1509
2587
|
why: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1510
2588
|
reason: z.ZodLiteral<"missing_token">;
|
|
1511
2589
|
source: z.ZodEnum<{
|
|
1512
|
-
query: "query";
|
|
1513
2590
|
unknown: "unknown";
|
|
2591
|
+
query: "query";
|
|
1514
2592
|
authorization: "authorization";
|
|
1515
2593
|
client: "client";
|
|
1516
2594
|
}>;
|
|
1517
2595
|
}, z.core.$strip>, z.ZodObject<{
|
|
1518
2596
|
reason: z.ZodLiteral<"invalid_token">;
|
|
1519
2597
|
source: z.ZodEnum<{
|
|
1520
|
-
query: "query";
|
|
1521
2598
|
unknown: "unknown";
|
|
2599
|
+
query: "query";
|
|
1522
2600
|
authorization: "authorization";
|
|
1523
2601
|
client: "client";
|
|
1524
2602
|
}>;
|
|
1525
2603
|
}, z.core.$strip>, z.ZodObject<{
|
|
1526
2604
|
reason: z.ZodLiteral<"expired_token">;
|
|
1527
2605
|
source: z.ZodEnum<{
|
|
1528
|
-
query: "query";
|
|
1529
2606
|
unknown: "unknown";
|
|
2607
|
+
query: "query";
|
|
1530
2608
|
authorization: "authorization";
|
|
1531
2609
|
client: "client";
|
|
1532
2610
|
}>;
|
|
1533
2611
|
}, z.core.$strip>, z.ZodObject<{
|
|
1534
2612
|
reason: z.ZodLiteral<"invalid_secret">;
|
|
1535
2613
|
source: z.ZodEnum<{
|
|
1536
|
-
query: "query";
|
|
1537
2614
|
unknown: "unknown";
|
|
2615
|
+
query: "query";
|
|
1538
2616
|
authorization: "authorization";
|
|
1539
2617
|
client: "client";
|
|
1540
2618
|
}>;
|
|
1541
2619
|
}, z.core.$strip>, z.ZodObject<{
|
|
1542
2620
|
reason: z.ZodLiteral<"user_mismatch">;
|
|
1543
2621
|
source: z.ZodEnum<{
|
|
1544
|
-
query: "query";
|
|
1545
2622
|
unknown: "unknown";
|
|
2623
|
+
query: "query";
|
|
1546
2624
|
authorization: "authorization";
|
|
1547
2625
|
client: "client";
|
|
1548
2626
|
}>;
|
|
1549
2627
|
}, z.core.$strip>, z.ZodObject<{
|
|
1550
2628
|
reason: z.ZodLiteral<"insufficient_scope">;
|
|
1551
2629
|
source: z.ZodEnum<{
|
|
1552
|
-
query: "query";
|
|
1553
2630
|
unknown: "unknown";
|
|
2631
|
+
query: "query";
|
|
1554
2632
|
authorization: "authorization";
|
|
1555
2633
|
client: "client";
|
|
1556
2634
|
}>;
|
|
@@ -1565,8 +2643,8 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
1565
2643
|
}>;
|
|
1566
2644
|
value: z.ZodOptional<z.ZodString>;
|
|
1567
2645
|
source: z.ZodEnum<{
|
|
1568
|
-
query: "query";
|
|
1569
2646
|
unknown: "unknown";
|
|
2647
|
+
query: "query";
|
|
1570
2648
|
authorization: "authorization";
|
|
1571
2649
|
client: "client";
|
|
1572
2650
|
}>;
|
|
@@ -1624,48 +2702,48 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
1624
2702
|
why: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1625
2703
|
reason: z.ZodLiteral<"missing_token">;
|
|
1626
2704
|
source: z.ZodEnum<{
|
|
1627
|
-
query: "query";
|
|
1628
2705
|
unknown: "unknown";
|
|
2706
|
+
query: "query";
|
|
1629
2707
|
authorization: "authorization";
|
|
1630
2708
|
client: "client";
|
|
1631
2709
|
}>;
|
|
1632
2710
|
}, z.core.$strip>, z.ZodObject<{
|
|
1633
2711
|
reason: z.ZodLiteral<"invalid_token">;
|
|
1634
2712
|
source: z.ZodEnum<{
|
|
1635
|
-
query: "query";
|
|
1636
2713
|
unknown: "unknown";
|
|
2714
|
+
query: "query";
|
|
1637
2715
|
authorization: "authorization";
|
|
1638
2716
|
client: "client";
|
|
1639
2717
|
}>;
|
|
1640
2718
|
}, z.core.$strip>, z.ZodObject<{
|
|
1641
2719
|
reason: z.ZodLiteral<"expired_token">;
|
|
1642
2720
|
source: z.ZodEnum<{
|
|
1643
|
-
query: "query";
|
|
1644
2721
|
unknown: "unknown";
|
|
2722
|
+
query: "query";
|
|
1645
2723
|
authorization: "authorization";
|
|
1646
2724
|
client: "client";
|
|
1647
2725
|
}>;
|
|
1648
2726
|
}, z.core.$strip>, z.ZodObject<{
|
|
1649
2727
|
reason: z.ZodLiteral<"invalid_secret">;
|
|
1650
2728
|
source: z.ZodEnum<{
|
|
1651
|
-
query: "query";
|
|
1652
2729
|
unknown: "unknown";
|
|
2730
|
+
query: "query";
|
|
1653
2731
|
authorization: "authorization";
|
|
1654
2732
|
client: "client";
|
|
1655
2733
|
}>;
|
|
1656
2734
|
}, z.core.$strip>, z.ZodObject<{
|
|
1657
2735
|
reason: z.ZodLiteral<"user_mismatch">;
|
|
1658
2736
|
source: z.ZodEnum<{
|
|
1659
|
-
query: "query";
|
|
1660
2737
|
unknown: "unknown";
|
|
2738
|
+
query: "query";
|
|
1661
2739
|
authorization: "authorization";
|
|
1662
2740
|
client: "client";
|
|
1663
2741
|
}>;
|
|
1664
2742
|
}, z.core.$strip>, z.ZodObject<{
|
|
1665
2743
|
reason: z.ZodLiteral<"insufficient_scope">;
|
|
1666
2744
|
source: z.ZodEnum<{
|
|
1667
|
-
query: "query";
|
|
1668
2745
|
unknown: "unknown";
|
|
2746
|
+
query: "query";
|
|
1669
2747
|
authorization: "authorization";
|
|
1670
2748
|
client: "client";
|
|
1671
2749
|
}>;
|
|
@@ -1680,8 +2758,8 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
1680
2758
|
}>;
|
|
1681
2759
|
value: z.ZodOptional<z.ZodString>;
|
|
1682
2760
|
source: z.ZodEnum<{
|
|
1683
|
-
query: "query";
|
|
1684
2761
|
unknown: "unknown";
|
|
2762
|
+
query: "query";
|
|
1685
2763
|
authorization: "authorization";
|
|
1686
2764
|
client: "client";
|
|
1687
2765
|
}>;
|
|
@@ -1712,6 +2790,66 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
1712
2790
|
message: z.ZodOptional<z.ZodString>;
|
|
1713
2791
|
}, z.core.$strip>], "kind">;
|
|
1714
2792
|
}, z.core.$strip>], "decision">;
|
|
2793
|
+
webtty: z.ZodOptional<z.ZodObject<{
|
|
2794
|
+
server_id: z.ZodOptional<z.ZodString>;
|
|
2795
|
+
session_id: z.ZodOptional<z.ZodString>;
|
|
2796
|
+
session_group_id: z.ZodOptional<z.ZodString>;
|
|
2797
|
+
participant_id: z.ZodOptional<z.ZodString>;
|
|
2798
|
+
participant_role: z.ZodOptional<z.ZodEnum<{
|
|
2799
|
+
controller: "controller";
|
|
2800
|
+
spectator: "spectator";
|
|
2801
|
+
}>>;
|
|
2802
|
+
controller: z.ZodOptional<z.ZodBoolean>;
|
|
2803
|
+
recording_mode: z.ZodOptional<z.ZodEnum<{
|
|
2804
|
+
private: "private";
|
|
2805
|
+
recorded: "recorded";
|
|
2806
|
+
}>>;
|
|
2807
|
+
encryption_mode: z.ZodOptional<z.ZodEnum<{
|
|
2808
|
+
managed: "managed";
|
|
2809
|
+
e2e: "e2e";
|
|
2810
|
+
}>>;
|
|
2811
|
+
encryption_policy: z.ZodOptional<z.ZodEnum<{
|
|
2812
|
+
disabled: "disabled";
|
|
2813
|
+
explicit_key: "explicit_key";
|
|
2814
|
+
workspace_managed: "workspace_managed";
|
|
2815
|
+
}>>;
|
|
2816
|
+
e2e: z.ZodOptional<z.ZodBoolean>;
|
|
2817
|
+
client_proof: z.ZodOptional<z.ZodEnum<{
|
|
2818
|
+
none: "none";
|
|
2819
|
+
required: "required";
|
|
2820
|
+
}>>;
|
|
2821
|
+
session_mode: z.ZodOptional<z.ZodEnum<{
|
|
2822
|
+
interactive: "interactive";
|
|
2823
|
+
"non-interactive": "non-interactive";
|
|
2824
|
+
}>>;
|
|
2825
|
+
downstream_transport: z.ZodOptional<z.ZodEnum<{
|
|
2826
|
+
plain: "plain";
|
|
2827
|
+
websocket: "websocket";
|
|
2828
|
+
webtransport: "webtransport";
|
|
2829
|
+
}>>;
|
|
2830
|
+
upstream_transport: z.ZodOptional<z.ZodEnum<{
|
|
2831
|
+
plain: "plain";
|
|
2832
|
+
websocket: "websocket";
|
|
2833
|
+
webtransport: "webtransport";
|
|
2834
|
+
}>>;
|
|
2835
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
2836
|
+
api: "api";
|
|
2837
|
+
human: "human";
|
|
2838
|
+
codex: "codex";
|
|
2839
|
+
automation: "automation";
|
|
2840
|
+
ci: "ci";
|
|
2841
|
+
"scheduled-job": "scheduled-job";
|
|
2842
|
+
}>>;
|
|
2843
|
+
origin_id: z.ZodOptional<z.ZodString>;
|
|
2844
|
+
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
2845
|
+
agent: "agent";
|
|
2846
|
+
app: "app";
|
|
2847
|
+
user: "user";
|
|
2848
|
+
"service-account": "service-account";
|
|
2849
|
+
}>>;
|
|
2850
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
2851
|
+
browser_id: z.ZodOptional<z.ZodString>;
|
|
2852
|
+
}, z.core.$loose>>;
|
|
1715
2853
|
response: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1716
2854
|
outcome: z.ZodLiteral<"connected">;
|
|
1717
2855
|
established_at: z.ZodString;
|
|
@@ -1743,8 +2881,8 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
1743
2881
|
server: "server";
|
|
1744
2882
|
}>;
|
|
1745
2883
|
reason: z.ZodEnum<{
|
|
1746
|
-
unknown: "unknown";
|
|
1747
2884
|
error: "error";
|
|
2885
|
+
unknown: "unknown";
|
|
1748
2886
|
timeout: "timeout";
|
|
1749
2887
|
closed: "closed";
|
|
1750
2888
|
reset: "reset";
|
|
@@ -1774,48 +2912,48 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
1774
2912
|
why: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1775
2913
|
reason: z.ZodLiteral<"missing_token">;
|
|
1776
2914
|
source: z.ZodEnum<{
|
|
1777
|
-
query: "query";
|
|
1778
2915
|
unknown: "unknown";
|
|
2916
|
+
query: "query";
|
|
1779
2917
|
authorization: "authorization";
|
|
1780
2918
|
client: "client";
|
|
1781
2919
|
}>;
|
|
1782
2920
|
}, z.core.$strip>, z.ZodObject<{
|
|
1783
2921
|
reason: z.ZodLiteral<"invalid_token">;
|
|
1784
2922
|
source: z.ZodEnum<{
|
|
1785
|
-
query: "query";
|
|
1786
2923
|
unknown: "unknown";
|
|
2924
|
+
query: "query";
|
|
1787
2925
|
authorization: "authorization";
|
|
1788
2926
|
client: "client";
|
|
1789
2927
|
}>;
|
|
1790
2928
|
}, z.core.$strip>, z.ZodObject<{
|
|
1791
2929
|
reason: z.ZodLiteral<"expired_token">;
|
|
1792
2930
|
source: z.ZodEnum<{
|
|
1793
|
-
query: "query";
|
|
1794
2931
|
unknown: "unknown";
|
|
2932
|
+
query: "query";
|
|
1795
2933
|
authorization: "authorization";
|
|
1796
2934
|
client: "client";
|
|
1797
2935
|
}>;
|
|
1798
2936
|
}, z.core.$strip>, z.ZodObject<{
|
|
1799
2937
|
reason: z.ZodLiteral<"invalid_secret">;
|
|
1800
2938
|
source: z.ZodEnum<{
|
|
1801
|
-
query: "query";
|
|
1802
2939
|
unknown: "unknown";
|
|
2940
|
+
query: "query";
|
|
1803
2941
|
authorization: "authorization";
|
|
1804
2942
|
client: "client";
|
|
1805
2943
|
}>;
|
|
1806
2944
|
}, z.core.$strip>, z.ZodObject<{
|
|
1807
2945
|
reason: z.ZodLiteral<"user_mismatch">;
|
|
1808
2946
|
source: z.ZodEnum<{
|
|
1809
|
-
query: "query";
|
|
1810
2947
|
unknown: "unknown";
|
|
2948
|
+
query: "query";
|
|
1811
2949
|
authorization: "authorization";
|
|
1812
2950
|
client: "client";
|
|
1813
2951
|
}>;
|
|
1814
2952
|
}, z.core.$strip>, z.ZodObject<{
|
|
1815
2953
|
reason: z.ZodLiteral<"insufficient_scope">;
|
|
1816
2954
|
source: z.ZodEnum<{
|
|
1817
|
-
query: "query";
|
|
1818
2955
|
unknown: "unknown";
|
|
2956
|
+
query: "query";
|
|
1819
2957
|
authorization: "authorization";
|
|
1820
2958
|
client: "client";
|
|
1821
2959
|
}>;
|
|
@@ -1830,8 +2968,8 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
1830
2968
|
}>;
|
|
1831
2969
|
value: z.ZodOptional<z.ZodString>;
|
|
1832
2970
|
source: z.ZodEnum<{
|
|
1833
|
-
query: "query";
|
|
1834
2971
|
unknown: "unknown";
|
|
2972
|
+
query: "query";
|
|
1835
2973
|
authorization: "authorization";
|
|
1836
2974
|
client: "client";
|
|
1837
2975
|
}>;
|
|
@@ -1887,8 +3025,8 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
1887
3025
|
server: "server";
|
|
1888
3026
|
}>;
|
|
1889
3027
|
reason: z.ZodEnum<{
|
|
1890
|
-
unknown: "unknown";
|
|
1891
3028
|
error: "error";
|
|
3029
|
+
unknown: "unknown";
|
|
1892
3030
|
timeout: "timeout";
|
|
1893
3031
|
closed: "closed";
|
|
1894
3032
|
reset: "reset";
|
|
@@ -1967,6 +3105,7 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
1967
3105
|
dtls: "dtls";
|
|
1968
3106
|
quic: "quic";
|
|
1969
3107
|
http: "http";
|
|
3108
|
+
webtty: "webtty";
|
|
1970
3109
|
}>>;
|
|
1971
3110
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1972
3111
|
geo_ip: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -2116,6 +3255,7 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
2116
3255
|
dtls: "dtls";
|
|
2117
3256
|
quic: "quic";
|
|
2118
3257
|
http: "http";
|
|
3258
|
+
webtty: "webtty";
|
|
2119
3259
|
}>>;
|
|
2120
3260
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2121
3261
|
geo_ip: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -2177,6 +3317,7 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
2177
3317
|
dtls: "dtls";
|
|
2178
3318
|
quic: "quic";
|
|
2179
3319
|
http: "http";
|
|
3320
|
+
webtty: "webtty";
|
|
2180
3321
|
}>>;
|
|
2181
3322
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2182
3323
|
geo_ip: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -2238,6 +3379,7 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
2238
3379
|
dtls: "dtls";
|
|
2239
3380
|
quic: "quic";
|
|
2240
3381
|
http: "http";
|
|
3382
|
+
webtty: "webtty";
|
|
2241
3383
|
}>>;
|
|
2242
3384
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2243
3385
|
geo_ip: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -2271,22 +3413,504 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
2271
3413
|
workspace_id: z.ZodOptional<z.ZodString>;
|
|
2272
3414
|
project_id: z.ZodOptional<z.ZodString>;
|
|
2273
3415
|
cluster_id: z.ZodOptional<z.ZodString>;
|
|
2274
|
-
}, z.core.$loose
|
|
2275
|
-
type: z.ZodLiteral<"
|
|
3416
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
3417
|
+
type: z.ZodLiteral<"webtty.session.created">;
|
|
2276
3418
|
object: z.ZodObject<{
|
|
2277
3419
|
id: z.ZodString;
|
|
2278
|
-
status: z.ZodEnum<{
|
|
2279
|
-
online: "online";
|
|
2280
|
-
offline: "offline";
|
|
2281
|
-
}>;
|
|
2282
|
-
user_id: z.ZodOptional<z.ZodString>;
|
|
2283
3420
|
workspace_id: z.ZodOptional<z.ZodString>;
|
|
2284
3421
|
project_id: z.ZodOptional<z.ZodString>;
|
|
2285
3422
|
cluster_id: z.ZodOptional<z.ZodString>;
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
3423
|
+
server_id: z.ZodOptional<z.ZodString>;
|
|
3424
|
+
tunnel_id: z.ZodString;
|
|
3425
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
3426
|
+
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
3427
|
+
group_id: z.ZodOptional<z.ZodString>;
|
|
3428
|
+
status: z.ZodEnum<{
|
|
3429
|
+
active: "active";
|
|
3430
|
+
closed: "closed";
|
|
3431
|
+
opening: "opening";
|
|
3432
|
+
closing: "closing";
|
|
3433
|
+
errored: "errored";
|
|
3434
|
+
}>;
|
|
3435
|
+
session_mode: z.ZodEnum<{
|
|
3436
|
+
interactive: "interactive";
|
|
3437
|
+
"non-interactive": "non-interactive";
|
|
3438
|
+
}>;
|
|
3439
|
+
recording_mode: z.ZodEnum<{
|
|
3440
|
+
private: "private";
|
|
3441
|
+
recorded: "recorded";
|
|
3442
|
+
}>;
|
|
3443
|
+
encryption_mode: z.ZodEnum<{
|
|
3444
|
+
managed: "managed";
|
|
3445
|
+
e2e: "e2e";
|
|
3446
|
+
}>;
|
|
3447
|
+
downstream_transport: z.ZodOptional<z.ZodEnum<{
|
|
3448
|
+
plain: "plain";
|
|
3449
|
+
websocket: "websocket";
|
|
3450
|
+
webtransport: "webtransport";
|
|
3451
|
+
}>>;
|
|
3452
|
+
upstream_transport: z.ZodOptional<z.ZodEnum<{
|
|
3453
|
+
plain: "plain";
|
|
3454
|
+
websocket: "websocket";
|
|
3455
|
+
webtransport: "webtransport";
|
|
3456
|
+
}>>;
|
|
3457
|
+
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
3458
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
3459
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
3460
|
+
api: "api";
|
|
3461
|
+
human: "human";
|
|
3462
|
+
codex: "codex";
|
|
3463
|
+
automation: "automation";
|
|
3464
|
+
ci: "ci";
|
|
3465
|
+
"scheduled-job": "scheduled-job";
|
|
3466
|
+
}>>;
|
|
3467
|
+
origin_id: z.ZodOptional<z.ZodString>;
|
|
3468
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
3469
|
+
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
3470
|
+
agent: "agent";
|
|
3471
|
+
app: "app";
|
|
3472
|
+
user: "user";
|
|
3473
|
+
"service-account": "service-account";
|
|
3474
|
+
}>>;
|
|
3475
|
+
agent_name: z.ZodOptional<z.ZodString>;
|
|
3476
|
+
agent_version: z.ZodOptional<z.ZodString>;
|
|
3477
|
+
request_id: z.ZodOptional<z.ZodString>;
|
|
3478
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3479
|
+
}, z.core.$loose>>;
|
|
3480
|
+
started_at: z.ZodString;
|
|
3481
|
+
ended_at: z.ZodOptional<z.ZodString>;
|
|
3482
|
+
exit_code: z.ZodOptional<z.ZodNumber>;
|
|
3483
|
+
error_code: z.ZodOptional<z.ZodString>;
|
|
3484
|
+
error_message: z.ZodOptional<z.ZodString>;
|
|
3485
|
+
live: z.ZodOptional<z.ZodObject<{
|
|
3486
|
+
available: z.ZodBoolean;
|
|
3487
|
+
attachable: z.ZodBoolean;
|
|
3488
|
+
participant_count: z.ZodNumber;
|
|
3489
|
+
controller_participant_id: z.ZodOptional<z.ZodString>;
|
|
3490
|
+
has_upstream: z.ZodBoolean;
|
|
3491
|
+
}, z.core.$strip>>;
|
|
3492
|
+
}, z.core.$loose>;
|
|
3493
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3494
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
3495
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
3496
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
3497
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
3498
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
3499
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
3500
|
+
type: z.ZodLiteral<"webtty.session.updated">;
|
|
3501
|
+
object: z.ZodUnion<readonly [z.ZodObject<{
|
|
3502
|
+
id: z.ZodString;
|
|
3503
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
3504
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
3505
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
3506
|
+
server_id: z.ZodOptional<z.ZodString>;
|
|
3507
|
+
tunnel_id: z.ZodString;
|
|
3508
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
3509
|
+
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
3510
|
+
group_id: z.ZodOptional<z.ZodString>;
|
|
3511
|
+
status: z.ZodEnum<{
|
|
3512
|
+
active: "active";
|
|
3513
|
+
closed: "closed";
|
|
3514
|
+
opening: "opening";
|
|
3515
|
+
closing: "closing";
|
|
3516
|
+
errored: "errored";
|
|
3517
|
+
}>;
|
|
3518
|
+
session_mode: z.ZodEnum<{
|
|
3519
|
+
interactive: "interactive";
|
|
3520
|
+
"non-interactive": "non-interactive";
|
|
3521
|
+
}>;
|
|
3522
|
+
recording_mode: z.ZodEnum<{
|
|
3523
|
+
private: "private";
|
|
3524
|
+
recorded: "recorded";
|
|
3525
|
+
}>;
|
|
3526
|
+
encryption_mode: z.ZodEnum<{
|
|
3527
|
+
managed: "managed";
|
|
3528
|
+
e2e: "e2e";
|
|
3529
|
+
}>;
|
|
3530
|
+
downstream_transport: z.ZodOptional<z.ZodEnum<{
|
|
3531
|
+
plain: "plain";
|
|
3532
|
+
websocket: "websocket";
|
|
3533
|
+
webtransport: "webtransport";
|
|
3534
|
+
}>>;
|
|
3535
|
+
upstream_transport: z.ZodOptional<z.ZodEnum<{
|
|
3536
|
+
plain: "plain";
|
|
3537
|
+
websocket: "websocket";
|
|
3538
|
+
webtransport: "webtransport";
|
|
3539
|
+
}>>;
|
|
3540
|
+
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
3541
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
3542
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
3543
|
+
api: "api";
|
|
3544
|
+
human: "human";
|
|
3545
|
+
codex: "codex";
|
|
3546
|
+
automation: "automation";
|
|
3547
|
+
ci: "ci";
|
|
3548
|
+
"scheduled-job": "scheduled-job";
|
|
3549
|
+
}>>;
|
|
3550
|
+
origin_id: z.ZodOptional<z.ZodString>;
|
|
3551
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
3552
|
+
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
3553
|
+
agent: "agent";
|
|
3554
|
+
app: "app";
|
|
3555
|
+
user: "user";
|
|
3556
|
+
"service-account": "service-account";
|
|
3557
|
+
}>>;
|
|
3558
|
+
agent_name: z.ZodOptional<z.ZodString>;
|
|
3559
|
+
agent_version: z.ZodOptional<z.ZodString>;
|
|
3560
|
+
request_id: z.ZodOptional<z.ZodString>;
|
|
3561
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3562
|
+
}, z.core.$loose>>;
|
|
3563
|
+
started_at: z.ZodString;
|
|
3564
|
+
ended_at: z.ZodOptional<z.ZodString>;
|
|
3565
|
+
exit_code: z.ZodOptional<z.ZodNumber>;
|
|
3566
|
+
error_code: z.ZodOptional<z.ZodString>;
|
|
3567
|
+
error_message: z.ZodOptional<z.ZodString>;
|
|
3568
|
+
live: z.ZodOptional<z.ZodObject<{
|
|
3569
|
+
available: z.ZodBoolean;
|
|
3570
|
+
attachable: z.ZodBoolean;
|
|
3571
|
+
participant_count: z.ZodNumber;
|
|
3572
|
+
controller_participant_id: z.ZodOptional<z.ZodString>;
|
|
3573
|
+
has_upstream: z.ZodBoolean;
|
|
3574
|
+
}, z.core.$strip>>;
|
|
3575
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
3576
|
+
id: z.ZodString;
|
|
3577
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
3578
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
3579
|
+
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
3580
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
3581
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
3582
|
+
api: "api";
|
|
3583
|
+
human: "human";
|
|
3584
|
+
codex: "codex";
|
|
3585
|
+
automation: "automation";
|
|
3586
|
+
ci: "ci";
|
|
3587
|
+
"scheduled-job": "scheduled-job";
|
|
3588
|
+
}>>;
|
|
3589
|
+
origin_id: z.ZodOptional<z.ZodString>;
|
|
3590
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
3591
|
+
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
3592
|
+
agent: "agent";
|
|
3593
|
+
app: "app";
|
|
3594
|
+
user: "user";
|
|
3595
|
+
"service-account": "service-account";
|
|
3596
|
+
}>>;
|
|
3597
|
+
agent_name: z.ZodOptional<z.ZodString>;
|
|
3598
|
+
agent_version: z.ZodOptional<z.ZodString>;
|
|
3599
|
+
request_id: z.ZodOptional<z.ZodString>;
|
|
3600
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3601
|
+
}, z.core.$loose>>;
|
|
3602
|
+
created_at: z.ZodString;
|
|
3603
|
+
updated_at: z.ZodString;
|
|
3604
|
+
closed_at: z.ZodOptional<z.ZodString>;
|
|
3605
|
+
}, z.core.$loose>]>;
|
|
3606
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3607
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
3608
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
3609
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
3610
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
3611
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
3612
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
3613
|
+
type: z.ZodLiteral<"webtty.session.ended">;
|
|
3614
|
+
object: z.ZodObject<{
|
|
3615
|
+
id: z.ZodString;
|
|
3616
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
3617
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
3618
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
3619
|
+
server_id: z.ZodOptional<z.ZodString>;
|
|
3620
|
+
tunnel_id: z.ZodString;
|
|
3621
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
3622
|
+
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
3623
|
+
group_id: z.ZodOptional<z.ZodString>;
|
|
3624
|
+
status: z.ZodEnum<{
|
|
3625
|
+
active: "active";
|
|
3626
|
+
closed: "closed";
|
|
3627
|
+
opening: "opening";
|
|
3628
|
+
closing: "closing";
|
|
3629
|
+
errored: "errored";
|
|
3630
|
+
}>;
|
|
3631
|
+
session_mode: z.ZodEnum<{
|
|
3632
|
+
interactive: "interactive";
|
|
3633
|
+
"non-interactive": "non-interactive";
|
|
3634
|
+
}>;
|
|
3635
|
+
recording_mode: z.ZodEnum<{
|
|
3636
|
+
private: "private";
|
|
3637
|
+
recorded: "recorded";
|
|
3638
|
+
}>;
|
|
3639
|
+
encryption_mode: z.ZodEnum<{
|
|
3640
|
+
managed: "managed";
|
|
3641
|
+
e2e: "e2e";
|
|
3642
|
+
}>;
|
|
3643
|
+
downstream_transport: z.ZodOptional<z.ZodEnum<{
|
|
3644
|
+
plain: "plain";
|
|
3645
|
+
websocket: "websocket";
|
|
3646
|
+
webtransport: "webtransport";
|
|
3647
|
+
}>>;
|
|
3648
|
+
upstream_transport: z.ZodOptional<z.ZodEnum<{
|
|
3649
|
+
plain: "plain";
|
|
3650
|
+
websocket: "websocket";
|
|
3651
|
+
webtransport: "webtransport";
|
|
3652
|
+
}>>;
|
|
3653
|
+
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
3654
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
3655
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
3656
|
+
api: "api";
|
|
3657
|
+
human: "human";
|
|
3658
|
+
codex: "codex";
|
|
3659
|
+
automation: "automation";
|
|
3660
|
+
ci: "ci";
|
|
3661
|
+
"scheduled-job": "scheduled-job";
|
|
3662
|
+
}>>;
|
|
3663
|
+
origin_id: z.ZodOptional<z.ZodString>;
|
|
3664
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
3665
|
+
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
3666
|
+
agent: "agent";
|
|
3667
|
+
app: "app";
|
|
3668
|
+
user: "user";
|
|
3669
|
+
"service-account": "service-account";
|
|
3670
|
+
}>>;
|
|
3671
|
+
agent_name: z.ZodOptional<z.ZodString>;
|
|
3672
|
+
agent_version: z.ZodOptional<z.ZodString>;
|
|
3673
|
+
request_id: z.ZodOptional<z.ZodString>;
|
|
3674
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3675
|
+
}, z.core.$loose>>;
|
|
3676
|
+
started_at: z.ZodString;
|
|
3677
|
+
ended_at: z.ZodOptional<z.ZodString>;
|
|
3678
|
+
exit_code: z.ZodOptional<z.ZodNumber>;
|
|
3679
|
+
error_code: z.ZodOptional<z.ZodString>;
|
|
3680
|
+
error_message: z.ZodOptional<z.ZodString>;
|
|
3681
|
+
live: z.ZodOptional<z.ZodObject<{
|
|
3682
|
+
available: z.ZodBoolean;
|
|
3683
|
+
attachable: z.ZodBoolean;
|
|
3684
|
+
participant_count: z.ZodNumber;
|
|
3685
|
+
controller_participant_id: z.ZodOptional<z.ZodString>;
|
|
3686
|
+
has_upstream: z.ZodBoolean;
|
|
3687
|
+
}, z.core.$strip>>;
|
|
3688
|
+
}, z.core.$loose>;
|
|
3689
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3690
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
3691
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
3692
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
3693
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
3694
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
3695
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
3696
|
+
type: z.ZodLiteral<"webtty.participant.joined">;
|
|
3697
|
+
object: z.ZodObject<{
|
|
3698
|
+
id: z.ZodString;
|
|
3699
|
+
session_id: z.ZodString;
|
|
3700
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
3701
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
3702
|
+
browser_id: z.ZodOptional<z.ZodString>;
|
|
3703
|
+
role: z.ZodEnum<{
|
|
3704
|
+
controller: "controller";
|
|
3705
|
+
spectator: "spectator";
|
|
3706
|
+
}>;
|
|
3707
|
+
attached_at: z.ZodString;
|
|
3708
|
+
detached_at: z.ZodOptional<z.ZodString>;
|
|
3709
|
+
controller: z.ZodBoolean;
|
|
3710
|
+
grant_state: z.ZodOptional<z.ZodString>;
|
|
3711
|
+
attach_grant: z.ZodOptional<z.ZodString>;
|
|
3712
|
+
attach_grant_expires_at: z.ZodOptional<z.ZodString>;
|
|
3713
|
+
live: z.ZodOptional<z.ZodObject<{
|
|
3714
|
+
connected: z.ZodBoolean;
|
|
3715
|
+
controller: z.ZodBoolean;
|
|
3716
|
+
}, z.core.$strip>>;
|
|
3717
|
+
}, z.core.$loose>;
|
|
3718
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3719
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
3720
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
3721
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
3722
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
3723
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
3724
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
3725
|
+
type: z.ZodLiteral<"webtty.participant.updated">;
|
|
3726
|
+
object: z.ZodObject<{
|
|
3727
|
+
id: z.ZodString;
|
|
3728
|
+
session_id: z.ZodString;
|
|
3729
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
3730
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
3731
|
+
browser_id: z.ZodOptional<z.ZodString>;
|
|
3732
|
+
role: z.ZodEnum<{
|
|
3733
|
+
controller: "controller";
|
|
3734
|
+
spectator: "spectator";
|
|
3735
|
+
}>;
|
|
3736
|
+
attached_at: z.ZodString;
|
|
3737
|
+
detached_at: z.ZodOptional<z.ZodString>;
|
|
3738
|
+
controller: z.ZodBoolean;
|
|
3739
|
+
grant_state: z.ZodOptional<z.ZodString>;
|
|
3740
|
+
attach_grant: z.ZodOptional<z.ZodString>;
|
|
3741
|
+
attach_grant_expires_at: z.ZodOptional<z.ZodString>;
|
|
3742
|
+
live: z.ZodOptional<z.ZodObject<{
|
|
3743
|
+
connected: z.ZodBoolean;
|
|
3744
|
+
controller: z.ZodBoolean;
|
|
3745
|
+
}, z.core.$strip>>;
|
|
3746
|
+
}, z.core.$loose>;
|
|
3747
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3748
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
3749
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
3750
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
3751
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
3752
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
3753
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
3754
|
+
type: z.ZodLiteral<"webtty.participant.left">;
|
|
3755
|
+
object: z.ZodObject<{
|
|
3756
|
+
id: z.ZodString;
|
|
3757
|
+
session_id: z.ZodString;
|
|
3758
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
3759
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
3760
|
+
browser_id: z.ZodOptional<z.ZodString>;
|
|
3761
|
+
role: z.ZodEnum<{
|
|
3762
|
+
controller: "controller";
|
|
3763
|
+
spectator: "spectator";
|
|
3764
|
+
}>;
|
|
3765
|
+
attached_at: z.ZodString;
|
|
3766
|
+
detached_at: z.ZodOptional<z.ZodString>;
|
|
3767
|
+
controller: z.ZodBoolean;
|
|
3768
|
+
grant_state: z.ZodOptional<z.ZodString>;
|
|
3769
|
+
attach_grant: z.ZodOptional<z.ZodString>;
|
|
3770
|
+
attach_grant_expires_at: z.ZodOptional<z.ZodString>;
|
|
3771
|
+
live: z.ZodOptional<z.ZodObject<{
|
|
3772
|
+
connected: z.ZodBoolean;
|
|
3773
|
+
controller: z.ZodBoolean;
|
|
3774
|
+
}, z.core.$strip>>;
|
|
3775
|
+
}, z.core.$loose>;
|
|
3776
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3777
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
3778
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
3779
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
3780
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
3781
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
3782
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
3783
|
+
type: z.ZodLiteral<"webtty.control.requested">;
|
|
3784
|
+
object: z.ZodObject<{
|
|
3785
|
+
id: z.ZodString;
|
|
3786
|
+
session_id: z.ZodString;
|
|
3787
|
+
requester_participant_id: z.ZodString;
|
|
3788
|
+
requester_user_id: z.ZodOptional<z.ZodString>;
|
|
3789
|
+
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
3790
|
+
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
3791
|
+
status: z.ZodEnum<{
|
|
3792
|
+
refused: "refused";
|
|
3793
|
+
pending: "pending";
|
|
3794
|
+
granted: "granted";
|
|
3795
|
+
revoked: "revoked";
|
|
3796
|
+
expired: "expired";
|
|
3797
|
+
}>;
|
|
3798
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3799
|
+
metadata: z.ZodOptional<z.ZodUnknown>;
|
|
3800
|
+
created_at: z.ZodString;
|
|
3801
|
+
updated_at: z.ZodString;
|
|
3802
|
+
resolved_at: z.ZodOptional<z.ZodString>;
|
|
3803
|
+
expires_at: z.ZodOptional<z.ZodString>;
|
|
3804
|
+
}, z.core.$loose>;
|
|
3805
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3806
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
3807
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
3808
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
3809
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
3810
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
3811
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
3812
|
+
type: z.ZodLiteral<"webtty.control.granted">;
|
|
3813
|
+
object: z.ZodObject<{
|
|
3814
|
+
id: z.ZodString;
|
|
3815
|
+
session_id: z.ZodString;
|
|
3816
|
+
requester_participant_id: z.ZodString;
|
|
3817
|
+
requester_user_id: z.ZodOptional<z.ZodString>;
|
|
3818
|
+
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
3819
|
+
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
3820
|
+
status: z.ZodEnum<{
|
|
3821
|
+
refused: "refused";
|
|
3822
|
+
pending: "pending";
|
|
3823
|
+
granted: "granted";
|
|
3824
|
+
revoked: "revoked";
|
|
3825
|
+
expired: "expired";
|
|
3826
|
+
}>;
|
|
3827
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3828
|
+
metadata: z.ZodOptional<z.ZodUnknown>;
|
|
3829
|
+
created_at: z.ZodString;
|
|
3830
|
+
updated_at: z.ZodString;
|
|
3831
|
+
resolved_at: z.ZodOptional<z.ZodString>;
|
|
3832
|
+
expires_at: z.ZodOptional<z.ZodString>;
|
|
3833
|
+
}, z.core.$loose>;
|
|
3834
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3835
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
3836
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
3837
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
3838
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
3839
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
3840
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
3841
|
+
type: z.ZodLiteral<"webtty.control.refused">;
|
|
3842
|
+
object: z.ZodObject<{
|
|
3843
|
+
id: z.ZodString;
|
|
3844
|
+
session_id: z.ZodString;
|
|
3845
|
+
requester_participant_id: z.ZodString;
|
|
3846
|
+
requester_user_id: z.ZodOptional<z.ZodString>;
|
|
3847
|
+
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
3848
|
+
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
3849
|
+
status: z.ZodEnum<{
|
|
3850
|
+
refused: "refused";
|
|
3851
|
+
pending: "pending";
|
|
3852
|
+
granted: "granted";
|
|
3853
|
+
revoked: "revoked";
|
|
3854
|
+
expired: "expired";
|
|
3855
|
+
}>;
|
|
3856
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3857
|
+
metadata: z.ZodOptional<z.ZodUnknown>;
|
|
3858
|
+
created_at: z.ZodString;
|
|
3859
|
+
updated_at: z.ZodString;
|
|
3860
|
+
resolved_at: z.ZodOptional<z.ZodString>;
|
|
3861
|
+
expires_at: z.ZodOptional<z.ZodString>;
|
|
3862
|
+
}, z.core.$loose>;
|
|
3863
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3864
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
3865
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
3866
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
3867
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
3868
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
3869
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
3870
|
+
type: z.ZodLiteral<"webtty.control.revoked">;
|
|
3871
|
+
object: z.ZodObject<{
|
|
3872
|
+
id: z.ZodString;
|
|
3873
|
+
session_id: z.ZodString;
|
|
3874
|
+
requester_participant_id: z.ZodString;
|
|
3875
|
+
requester_user_id: z.ZodOptional<z.ZodString>;
|
|
3876
|
+
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
3877
|
+
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
3878
|
+
status: z.ZodEnum<{
|
|
3879
|
+
refused: "refused";
|
|
3880
|
+
pending: "pending";
|
|
3881
|
+
granted: "granted";
|
|
3882
|
+
revoked: "revoked";
|
|
3883
|
+
expired: "expired";
|
|
3884
|
+
}>;
|
|
3885
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3886
|
+
metadata: z.ZodOptional<z.ZodUnknown>;
|
|
3887
|
+
created_at: z.ZodString;
|
|
3888
|
+
updated_at: z.ZodString;
|
|
3889
|
+
resolved_at: z.ZodOptional<z.ZodString>;
|
|
3890
|
+
expires_at: z.ZodOptional<z.ZodString>;
|
|
3891
|
+
}, z.core.$loose>;
|
|
3892
|
+
id: z.ZodOptional<z.ZodString>;
|
|
3893
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
3894
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
3895
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
3896
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
3897
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
3898
|
+
}, z.core.$loose>]>, z.ZodUnion<readonly [z.ZodObject<{
|
|
3899
|
+
type: z.ZodLiteral<"client.created">;
|
|
3900
|
+
object: z.ZodObject<{
|
|
3901
|
+
id: z.ZodString;
|
|
3902
|
+
status: z.ZodEnum<{
|
|
3903
|
+
online: "online";
|
|
3904
|
+
offline: "offline";
|
|
3905
|
+
}>;
|
|
3906
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
3907
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
3908
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
3909
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
3910
|
+
plan: z.ZodOptional<z.ZodString>;
|
|
3911
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
3912
|
+
region: z.ZodOptional<z.ZodString>;
|
|
3913
|
+
agent: z.ZodOptional<z.ZodString>;
|
|
2290
3914
|
channel: z.ZodOptional<z.ZodString>;
|
|
2291
3915
|
version: z.ZodOptional<z.ZodString>;
|
|
2292
3916
|
os: z.ZodOptional<z.ZodString>;
|
|
@@ -2357,6 +3981,7 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
2357
3981
|
dtls: "dtls";
|
|
2358
3982
|
quic: "quic";
|
|
2359
3983
|
http: "http";
|
|
3984
|
+
webtty: "webtty";
|
|
2360
3985
|
}>>;
|
|
2361
3986
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2362
3987
|
geo_ip: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -2418,6 +4043,7 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
2418
4043
|
dtls: "dtls";
|
|
2419
4044
|
quic: "quic";
|
|
2420
4045
|
http: "http";
|
|
4046
|
+
webtty: "webtty";
|
|
2421
4047
|
}>>;
|
|
2422
4048
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2423
4049
|
geo_ip: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -2451,6 +4077,488 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
2451
4077
|
workspace_id: z.ZodOptional<z.ZodString>;
|
|
2452
4078
|
project_id: z.ZodOptional<z.ZodString>;
|
|
2453
4079
|
cluster_id: z.ZodOptional<z.ZodString>;
|
|
4080
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
4081
|
+
type: z.ZodLiteral<"webtty.session.created">;
|
|
4082
|
+
object: z.ZodObject<{
|
|
4083
|
+
id: z.ZodString;
|
|
4084
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
4085
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
4086
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
4087
|
+
server_id: z.ZodOptional<z.ZodString>;
|
|
4088
|
+
tunnel_id: z.ZodString;
|
|
4089
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
4090
|
+
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
4091
|
+
group_id: z.ZodOptional<z.ZodString>;
|
|
4092
|
+
status: z.ZodEnum<{
|
|
4093
|
+
active: "active";
|
|
4094
|
+
closed: "closed";
|
|
4095
|
+
opening: "opening";
|
|
4096
|
+
closing: "closing";
|
|
4097
|
+
errored: "errored";
|
|
4098
|
+
}>;
|
|
4099
|
+
session_mode: z.ZodEnum<{
|
|
4100
|
+
interactive: "interactive";
|
|
4101
|
+
"non-interactive": "non-interactive";
|
|
4102
|
+
}>;
|
|
4103
|
+
recording_mode: z.ZodEnum<{
|
|
4104
|
+
private: "private";
|
|
4105
|
+
recorded: "recorded";
|
|
4106
|
+
}>;
|
|
4107
|
+
encryption_mode: z.ZodEnum<{
|
|
4108
|
+
managed: "managed";
|
|
4109
|
+
e2e: "e2e";
|
|
4110
|
+
}>;
|
|
4111
|
+
downstream_transport: z.ZodOptional<z.ZodEnum<{
|
|
4112
|
+
plain: "plain";
|
|
4113
|
+
websocket: "websocket";
|
|
4114
|
+
webtransport: "webtransport";
|
|
4115
|
+
}>>;
|
|
4116
|
+
upstream_transport: z.ZodOptional<z.ZodEnum<{
|
|
4117
|
+
plain: "plain";
|
|
4118
|
+
websocket: "websocket";
|
|
4119
|
+
webtransport: "webtransport";
|
|
4120
|
+
}>>;
|
|
4121
|
+
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
4122
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
4123
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
4124
|
+
api: "api";
|
|
4125
|
+
human: "human";
|
|
4126
|
+
codex: "codex";
|
|
4127
|
+
automation: "automation";
|
|
4128
|
+
ci: "ci";
|
|
4129
|
+
"scheduled-job": "scheduled-job";
|
|
4130
|
+
}>>;
|
|
4131
|
+
origin_id: z.ZodOptional<z.ZodString>;
|
|
4132
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
4133
|
+
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
4134
|
+
agent: "agent";
|
|
4135
|
+
app: "app";
|
|
4136
|
+
user: "user";
|
|
4137
|
+
"service-account": "service-account";
|
|
4138
|
+
}>>;
|
|
4139
|
+
agent_name: z.ZodOptional<z.ZodString>;
|
|
4140
|
+
agent_version: z.ZodOptional<z.ZodString>;
|
|
4141
|
+
request_id: z.ZodOptional<z.ZodString>;
|
|
4142
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4143
|
+
}, z.core.$loose>>;
|
|
4144
|
+
started_at: z.ZodString;
|
|
4145
|
+
ended_at: z.ZodOptional<z.ZodString>;
|
|
4146
|
+
exit_code: z.ZodOptional<z.ZodNumber>;
|
|
4147
|
+
error_code: z.ZodOptional<z.ZodString>;
|
|
4148
|
+
error_message: z.ZodOptional<z.ZodString>;
|
|
4149
|
+
live: z.ZodOptional<z.ZodObject<{
|
|
4150
|
+
available: z.ZodBoolean;
|
|
4151
|
+
attachable: z.ZodBoolean;
|
|
4152
|
+
participant_count: z.ZodNumber;
|
|
4153
|
+
controller_participant_id: z.ZodOptional<z.ZodString>;
|
|
4154
|
+
has_upstream: z.ZodBoolean;
|
|
4155
|
+
}, z.core.$strip>>;
|
|
4156
|
+
}, z.core.$loose>;
|
|
4157
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4158
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
4159
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
4160
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
4161
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
4162
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
4163
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
4164
|
+
type: z.ZodLiteral<"webtty.session.updated">;
|
|
4165
|
+
object: z.ZodUnion<readonly [z.ZodObject<{
|
|
4166
|
+
id: z.ZodString;
|
|
4167
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
4168
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
4169
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
4170
|
+
server_id: z.ZodOptional<z.ZodString>;
|
|
4171
|
+
tunnel_id: z.ZodString;
|
|
4172
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
4173
|
+
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
4174
|
+
group_id: z.ZodOptional<z.ZodString>;
|
|
4175
|
+
status: z.ZodEnum<{
|
|
4176
|
+
active: "active";
|
|
4177
|
+
closed: "closed";
|
|
4178
|
+
opening: "opening";
|
|
4179
|
+
closing: "closing";
|
|
4180
|
+
errored: "errored";
|
|
4181
|
+
}>;
|
|
4182
|
+
session_mode: z.ZodEnum<{
|
|
4183
|
+
interactive: "interactive";
|
|
4184
|
+
"non-interactive": "non-interactive";
|
|
4185
|
+
}>;
|
|
4186
|
+
recording_mode: z.ZodEnum<{
|
|
4187
|
+
private: "private";
|
|
4188
|
+
recorded: "recorded";
|
|
4189
|
+
}>;
|
|
4190
|
+
encryption_mode: z.ZodEnum<{
|
|
4191
|
+
managed: "managed";
|
|
4192
|
+
e2e: "e2e";
|
|
4193
|
+
}>;
|
|
4194
|
+
downstream_transport: z.ZodOptional<z.ZodEnum<{
|
|
4195
|
+
plain: "plain";
|
|
4196
|
+
websocket: "websocket";
|
|
4197
|
+
webtransport: "webtransport";
|
|
4198
|
+
}>>;
|
|
4199
|
+
upstream_transport: z.ZodOptional<z.ZodEnum<{
|
|
4200
|
+
plain: "plain";
|
|
4201
|
+
websocket: "websocket";
|
|
4202
|
+
webtransport: "webtransport";
|
|
4203
|
+
}>>;
|
|
4204
|
+
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
4205
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
4206
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
4207
|
+
api: "api";
|
|
4208
|
+
human: "human";
|
|
4209
|
+
codex: "codex";
|
|
4210
|
+
automation: "automation";
|
|
4211
|
+
ci: "ci";
|
|
4212
|
+
"scheduled-job": "scheduled-job";
|
|
4213
|
+
}>>;
|
|
4214
|
+
origin_id: z.ZodOptional<z.ZodString>;
|
|
4215
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
4216
|
+
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
4217
|
+
agent: "agent";
|
|
4218
|
+
app: "app";
|
|
4219
|
+
user: "user";
|
|
4220
|
+
"service-account": "service-account";
|
|
4221
|
+
}>>;
|
|
4222
|
+
agent_name: z.ZodOptional<z.ZodString>;
|
|
4223
|
+
agent_version: z.ZodOptional<z.ZodString>;
|
|
4224
|
+
request_id: z.ZodOptional<z.ZodString>;
|
|
4225
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4226
|
+
}, z.core.$loose>>;
|
|
4227
|
+
started_at: z.ZodString;
|
|
4228
|
+
ended_at: z.ZodOptional<z.ZodString>;
|
|
4229
|
+
exit_code: z.ZodOptional<z.ZodNumber>;
|
|
4230
|
+
error_code: z.ZodOptional<z.ZodString>;
|
|
4231
|
+
error_message: z.ZodOptional<z.ZodString>;
|
|
4232
|
+
live: z.ZodOptional<z.ZodObject<{
|
|
4233
|
+
available: z.ZodBoolean;
|
|
4234
|
+
attachable: z.ZodBoolean;
|
|
4235
|
+
participant_count: z.ZodNumber;
|
|
4236
|
+
controller_participant_id: z.ZodOptional<z.ZodString>;
|
|
4237
|
+
has_upstream: z.ZodBoolean;
|
|
4238
|
+
}, z.core.$strip>>;
|
|
4239
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
4240
|
+
id: z.ZodString;
|
|
4241
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
4242
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
4243
|
+
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
4244
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
4245
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
4246
|
+
api: "api";
|
|
4247
|
+
human: "human";
|
|
4248
|
+
codex: "codex";
|
|
4249
|
+
automation: "automation";
|
|
4250
|
+
ci: "ci";
|
|
4251
|
+
"scheduled-job": "scheduled-job";
|
|
4252
|
+
}>>;
|
|
4253
|
+
origin_id: z.ZodOptional<z.ZodString>;
|
|
4254
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
4255
|
+
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
4256
|
+
agent: "agent";
|
|
4257
|
+
app: "app";
|
|
4258
|
+
user: "user";
|
|
4259
|
+
"service-account": "service-account";
|
|
4260
|
+
}>>;
|
|
4261
|
+
agent_name: z.ZodOptional<z.ZodString>;
|
|
4262
|
+
agent_version: z.ZodOptional<z.ZodString>;
|
|
4263
|
+
request_id: z.ZodOptional<z.ZodString>;
|
|
4264
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4265
|
+
}, z.core.$loose>>;
|
|
4266
|
+
created_at: z.ZodString;
|
|
4267
|
+
updated_at: z.ZodString;
|
|
4268
|
+
closed_at: z.ZodOptional<z.ZodString>;
|
|
4269
|
+
}, z.core.$loose>]>;
|
|
4270
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4271
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
4272
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
4273
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
4274
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
4275
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
4276
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
4277
|
+
type: z.ZodLiteral<"webtty.session.ended">;
|
|
4278
|
+
object: z.ZodObject<{
|
|
4279
|
+
id: z.ZodString;
|
|
4280
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
4281
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
4282
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
4283
|
+
server_id: z.ZodOptional<z.ZodString>;
|
|
4284
|
+
tunnel_id: z.ZodString;
|
|
4285
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
4286
|
+
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
4287
|
+
group_id: z.ZodOptional<z.ZodString>;
|
|
4288
|
+
status: z.ZodEnum<{
|
|
4289
|
+
active: "active";
|
|
4290
|
+
closed: "closed";
|
|
4291
|
+
opening: "opening";
|
|
4292
|
+
closing: "closing";
|
|
4293
|
+
errored: "errored";
|
|
4294
|
+
}>;
|
|
4295
|
+
session_mode: z.ZodEnum<{
|
|
4296
|
+
interactive: "interactive";
|
|
4297
|
+
"non-interactive": "non-interactive";
|
|
4298
|
+
}>;
|
|
4299
|
+
recording_mode: z.ZodEnum<{
|
|
4300
|
+
private: "private";
|
|
4301
|
+
recorded: "recorded";
|
|
4302
|
+
}>;
|
|
4303
|
+
encryption_mode: z.ZodEnum<{
|
|
4304
|
+
managed: "managed";
|
|
4305
|
+
e2e: "e2e";
|
|
4306
|
+
}>;
|
|
4307
|
+
downstream_transport: z.ZodOptional<z.ZodEnum<{
|
|
4308
|
+
plain: "plain";
|
|
4309
|
+
websocket: "websocket";
|
|
4310
|
+
webtransport: "webtransport";
|
|
4311
|
+
}>>;
|
|
4312
|
+
upstream_transport: z.ZodOptional<z.ZodEnum<{
|
|
4313
|
+
plain: "plain";
|
|
4314
|
+
websocket: "websocket";
|
|
4315
|
+
webtransport: "webtransport";
|
|
4316
|
+
}>>;
|
|
4317
|
+
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
4318
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
4319
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
4320
|
+
api: "api";
|
|
4321
|
+
human: "human";
|
|
4322
|
+
codex: "codex";
|
|
4323
|
+
automation: "automation";
|
|
4324
|
+
ci: "ci";
|
|
4325
|
+
"scheduled-job": "scheduled-job";
|
|
4326
|
+
}>>;
|
|
4327
|
+
origin_id: z.ZodOptional<z.ZodString>;
|
|
4328
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
4329
|
+
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
4330
|
+
agent: "agent";
|
|
4331
|
+
app: "app";
|
|
4332
|
+
user: "user";
|
|
4333
|
+
"service-account": "service-account";
|
|
4334
|
+
}>>;
|
|
4335
|
+
agent_name: z.ZodOptional<z.ZodString>;
|
|
4336
|
+
agent_version: z.ZodOptional<z.ZodString>;
|
|
4337
|
+
request_id: z.ZodOptional<z.ZodString>;
|
|
4338
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4339
|
+
}, z.core.$loose>>;
|
|
4340
|
+
started_at: z.ZodString;
|
|
4341
|
+
ended_at: z.ZodOptional<z.ZodString>;
|
|
4342
|
+
exit_code: z.ZodOptional<z.ZodNumber>;
|
|
4343
|
+
error_code: z.ZodOptional<z.ZodString>;
|
|
4344
|
+
error_message: z.ZodOptional<z.ZodString>;
|
|
4345
|
+
live: z.ZodOptional<z.ZodObject<{
|
|
4346
|
+
available: z.ZodBoolean;
|
|
4347
|
+
attachable: z.ZodBoolean;
|
|
4348
|
+
participant_count: z.ZodNumber;
|
|
4349
|
+
controller_participant_id: z.ZodOptional<z.ZodString>;
|
|
4350
|
+
has_upstream: z.ZodBoolean;
|
|
4351
|
+
}, z.core.$strip>>;
|
|
4352
|
+
}, z.core.$loose>;
|
|
4353
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4354
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
4355
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
4356
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
4357
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
4358
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
4359
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
4360
|
+
type: z.ZodLiteral<"webtty.participant.joined">;
|
|
4361
|
+
object: z.ZodObject<{
|
|
4362
|
+
id: z.ZodString;
|
|
4363
|
+
session_id: z.ZodString;
|
|
4364
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
4365
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
4366
|
+
browser_id: z.ZodOptional<z.ZodString>;
|
|
4367
|
+
role: z.ZodEnum<{
|
|
4368
|
+
controller: "controller";
|
|
4369
|
+
spectator: "spectator";
|
|
4370
|
+
}>;
|
|
4371
|
+
attached_at: z.ZodString;
|
|
4372
|
+
detached_at: z.ZodOptional<z.ZodString>;
|
|
4373
|
+
controller: z.ZodBoolean;
|
|
4374
|
+
grant_state: z.ZodOptional<z.ZodString>;
|
|
4375
|
+
attach_grant: z.ZodOptional<z.ZodString>;
|
|
4376
|
+
attach_grant_expires_at: z.ZodOptional<z.ZodString>;
|
|
4377
|
+
live: z.ZodOptional<z.ZodObject<{
|
|
4378
|
+
connected: z.ZodBoolean;
|
|
4379
|
+
controller: z.ZodBoolean;
|
|
4380
|
+
}, z.core.$strip>>;
|
|
4381
|
+
}, z.core.$loose>;
|
|
4382
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4383
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
4384
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
4385
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
4386
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
4387
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
4388
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
4389
|
+
type: z.ZodLiteral<"webtty.participant.updated">;
|
|
4390
|
+
object: z.ZodObject<{
|
|
4391
|
+
id: z.ZodString;
|
|
4392
|
+
session_id: z.ZodString;
|
|
4393
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
4394
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
4395
|
+
browser_id: z.ZodOptional<z.ZodString>;
|
|
4396
|
+
role: z.ZodEnum<{
|
|
4397
|
+
controller: "controller";
|
|
4398
|
+
spectator: "spectator";
|
|
4399
|
+
}>;
|
|
4400
|
+
attached_at: z.ZodString;
|
|
4401
|
+
detached_at: z.ZodOptional<z.ZodString>;
|
|
4402
|
+
controller: z.ZodBoolean;
|
|
4403
|
+
grant_state: z.ZodOptional<z.ZodString>;
|
|
4404
|
+
attach_grant: z.ZodOptional<z.ZodString>;
|
|
4405
|
+
attach_grant_expires_at: z.ZodOptional<z.ZodString>;
|
|
4406
|
+
live: z.ZodOptional<z.ZodObject<{
|
|
4407
|
+
connected: z.ZodBoolean;
|
|
4408
|
+
controller: z.ZodBoolean;
|
|
4409
|
+
}, z.core.$strip>>;
|
|
4410
|
+
}, z.core.$loose>;
|
|
4411
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4412
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
4413
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
4414
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
4415
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
4416
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
4417
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
4418
|
+
type: z.ZodLiteral<"webtty.participant.left">;
|
|
4419
|
+
object: z.ZodObject<{
|
|
4420
|
+
id: z.ZodString;
|
|
4421
|
+
session_id: z.ZodString;
|
|
4422
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
4423
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
4424
|
+
browser_id: z.ZodOptional<z.ZodString>;
|
|
4425
|
+
role: z.ZodEnum<{
|
|
4426
|
+
controller: "controller";
|
|
4427
|
+
spectator: "spectator";
|
|
4428
|
+
}>;
|
|
4429
|
+
attached_at: z.ZodString;
|
|
4430
|
+
detached_at: z.ZodOptional<z.ZodString>;
|
|
4431
|
+
controller: z.ZodBoolean;
|
|
4432
|
+
grant_state: z.ZodOptional<z.ZodString>;
|
|
4433
|
+
attach_grant: z.ZodOptional<z.ZodString>;
|
|
4434
|
+
attach_grant_expires_at: z.ZodOptional<z.ZodString>;
|
|
4435
|
+
live: z.ZodOptional<z.ZodObject<{
|
|
4436
|
+
connected: z.ZodBoolean;
|
|
4437
|
+
controller: z.ZodBoolean;
|
|
4438
|
+
}, z.core.$strip>>;
|
|
4439
|
+
}, z.core.$loose>;
|
|
4440
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4441
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
4442
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
4443
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
4444
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
4445
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
4446
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
4447
|
+
type: z.ZodLiteral<"webtty.control.requested">;
|
|
4448
|
+
object: z.ZodObject<{
|
|
4449
|
+
id: z.ZodString;
|
|
4450
|
+
session_id: z.ZodString;
|
|
4451
|
+
requester_participant_id: z.ZodString;
|
|
4452
|
+
requester_user_id: z.ZodOptional<z.ZodString>;
|
|
4453
|
+
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
4454
|
+
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
4455
|
+
status: z.ZodEnum<{
|
|
4456
|
+
refused: "refused";
|
|
4457
|
+
pending: "pending";
|
|
4458
|
+
granted: "granted";
|
|
4459
|
+
revoked: "revoked";
|
|
4460
|
+
expired: "expired";
|
|
4461
|
+
}>;
|
|
4462
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
4463
|
+
metadata: z.ZodOptional<z.ZodUnknown>;
|
|
4464
|
+
created_at: z.ZodString;
|
|
4465
|
+
updated_at: z.ZodString;
|
|
4466
|
+
resolved_at: z.ZodOptional<z.ZodString>;
|
|
4467
|
+
expires_at: z.ZodOptional<z.ZodString>;
|
|
4468
|
+
}, z.core.$loose>;
|
|
4469
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4470
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
4471
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
4472
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
4473
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
4474
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
4475
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
4476
|
+
type: z.ZodLiteral<"webtty.control.granted">;
|
|
4477
|
+
object: z.ZodObject<{
|
|
4478
|
+
id: z.ZodString;
|
|
4479
|
+
session_id: z.ZodString;
|
|
4480
|
+
requester_participant_id: z.ZodString;
|
|
4481
|
+
requester_user_id: z.ZodOptional<z.ZodString>;
|
|
4482
|
+
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
4483
|
+
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
4484
|
+
status: z.ZodEnum<{
|
|
4485
|
+
refused: "refused";
|
|
4486
|
+
pending: "pending";
|
|
4487
|
+
granted: "granted";
|
|
4488
|
+
revoked: "revoked";
|
|
4489
|
+
expired: "expired";
|
|
4490
|
+
}>;
|
|
4491
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
4492
|
+
metadata: z.ZodOptional<z.ZodUnknown>;
|
|
4493
|
+
created_at: z.ZodString;
|
|
4494
|
+
updated_at: z.ZodString;
|
|
4495
|
+
resolved_at: z.ZodOptional<z.ZodString>;
|
|
4496
|
+
expires_at: z.ZodOptional<z.ZodString>;
|
|
4497
|
+
}, z.core.$loose>;
|
|
4498
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4499
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
4500
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
4501
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
4502
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
4503
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
4504
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
4505
|
+
type: z.ZodLiteral<"webtty.control.refused">;
|
|
4506
|
+
object: z.ZodObject<{
|
|
4507
|
+
id: z.ZodString;
|
|
4508
|
+
session_id: z.ZodString;
|
|
4509
|
+
requester_participant_id: z.ZodString;
|
|
4510
|
+
requester_user_id: z.ZodOptional<z.ZodString>;
|
|
4511
|
+
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
4512
|
+
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
4513
|
+
status: z.ZodEnum<{
|
|
4514
|
+
refused: "refused";
|
|
4515
|
+
pending: "pending";
|
|
4516
|
+
granted: "granted";
|
|
4517
|
+
revoked: "revoked";
|
|
4518
|
+
expired: "expired";
|
|
4519
|
+
}>;
|
|
4520
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
4521
|
+
metadata: z.ZodOptional<z.ZodUnknown>;
|
|
4522
|
+
created_at: z.ZodString;
|
|
4523
|
+
updated_at: z.ZodString;
|
|
4524
|
+
resolved_at: z.ZodOptional<z.ZodString>;
|
|
4525
|
+
expires_at: z.ZodOptional<z.ZodString>;
|
|
4526
|
+
}, z.core.$loose>;
|
|
4527
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4528
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
4529
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
4530
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
4531
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
4532
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
4533
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
4534
|
+
type: z.ZodLiteral<"webtty.control.revoked">;
|
|
4535
|
+
object: z.ZodObject<{
|
|
4536
|
+
id: z.ZodString;
|
|
4537
|
+
session_id: z.ZodString;
|
|
4538
|
+
requester_participant_id: z.ZodString;
|
|
4539
|
+
requester_user_id: z.ZodOptional<z.ZodString>;
|
|
4540
|
+
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
4541
|
+
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
4542
|
+
status: z.ZodEnum<{
|
|
4543
|
+
refused: "refused";
|
|
4544
|
+
pending: "pending";
|
|
4545
|
+
granted: "granted";
|
|
4546
|
+
revoked: "revoked";
|
|
4547
|
+
expired: "expired";
|
|
4548
|
+
}>;
|
|
4549
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
4550
|
+
metadata: z.ZodOptional<z.ZodUnknown>;
|
|
4551
|
+
created_at: z.ZodString;
|
|
4552
|
+
updated_at: z.ZodString;
|
|
4553
|
+
resolved_at: z.ZodOptional<z.ZodString>;
|
|
4554
|
+
expires_at: z.ZodOptional<z.ZodString>;
|
|
4555
|
+
}, z.core.$loose>;
|
|
4556
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4557
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
4558
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
4559
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
4560
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
4561
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
2454
4562
|
}, z.core.$loose>]>, z.ZodObject<{
|
|
2455
4563
|
type: z.ZodLiteral<"stream.summary">;
|
|
2456
4564
|
object: z.ZodObject<{
|
|
@@ -2478,6 +4586,22 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
2478
4586
|
ech: z.ZodOptional<z.ZodBoolean>;
|
|
2479
4587
|
}, z.core.$strip>>;
|
|
2480
4588
|
}, z.core.$strip>;
|
|
4589
|
+
entry: z.ZodOptional<z.ZodObject<{
|
|
4590
|
+
kind: z.ZodEnum<{
|
|
4591
|
+
published_tunnel: "published_tunnel";
|
|
4592
|
+
private_rstream: "private_rstream";
|
|
4593
|
+
proxy_egress: "proxy_egress";
|
|
4594
|
+
internal: "internal";
|
|
4595
|
+
}>;
|
|
4596
|
+
transport: z.ZodOptional<z.ZodEnum<{
|
|
4597
|
+
tls: "tls";
|
|
4598
|
+
dtls: "dtls";
|
|
4599
|
+
quic: "quic";
|
|
4600
|
+
http: "http";
|
|
4601
|
+
rstream: "rstream";
|
|
4602
|
+
tcp: "tcp";
|
|
4603
|
+
}>>;
|
|
4604
|
+
}, z.core.$strip>>;
|
|
2481
4605
|
http: z.ZodOptional<z.ZodObject<{
|
|
2482
4606
|
protocol: z.ZodOptional<z.ZodEnum<{
|
|
2483
4607
|
"http/1.1": "http/1.1";
|
|
@@ -2506,11 +4630,14 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
2506
4630
|
}, z.core.$strip>, z.ZodObject<{
|
|
2507
4631
|
kind: z.ZodLiteral<"rstream_auth">;
|
|
2508
4632
|
source: z.ZodLiteral<"rstream_auth">;
|
|
4633
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4634
|
+
kind: z.ZodLiteral<"rstream">;
|
|
4635
|
+
source: z.ZodOptional<z.ZodLiteral<"private_rstream">>;
|
|
2509
4636
|
}, z.core.$strip>, z.ZodObject<{
|
|
2510
4637
|
kind: z.ZodLiteral<"token">;
|
|
2511
4638
|
source: z.ZodOptional<z.ZodEnum<{
|
|
2512
|
-
query: "query";
|
|
2513
4639
|
unknown: "unknown";
|
|
4640
|
+
query: "query";
|
|
2514
4641
|
authorization: "authorization";
|
|
2515
4642
|
client: "client";
|
|
2516
4643
|
}>>;
|
|
@@ -2530,11 +4657,14 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
2530
4657
|
}, z.core.$strip>, z.ZodObject<{
|
|
2531
4658
|
kind: z.ZodLiteral<"rstream_auth">;
|
|
2532
4659
|
source: z.ZodLiteral<"rstream_auth">;
|
|
4660
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4661
|
+
kind: z.ZodLiteral<"rstream">;
|
|
4662
|
+
source: z.ZodOptional<z.ZodLiteral<"private_rstream">>;
|
|
2533
4663
|
}, z.core.$strip>, z.ZodObject<{
|
|
2534
4664
|
kind: z.ZodLiteral<"token">;
|
|
2535
4665
|
source: z.ZodOptional<z.ZodEnum<{
|
|
2536
|
-
query: "query";
|
|
2537
4666
|
unknown: "unknown";
|
|
4667
|
+
query: "query";
|
|
2538
4668
|
authorization: "authorization";
|
|
2539
4669
|
client: "client";
|
|
2540
4670
|
}>>;
|
|
@@ -2554,48 +4684,48 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
2554
4684
|
why: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2555
4685
|
reason: z.ZodLiteral<"missing_token">;
|
|
2556
4686
|
source: z.ZodEnum<{
|
|
2557
|
-
query: "query";
|
|
2558
4687
|
unknown: "unknown";
|
|
4688
|
+
query: "query";
|
|
2559
4689
|
authorization: "authorization";
|
|
2560
4690
|
client: "client";
|
|
2561
4691
|
}>;
|
|
2562
4692
|
}, z.core.$strip>, z.ZodObject<{
|
|
2563
4693
|
reason: z.ZodLiteral<"invalid_token">;
|
|
2564
4694
|
source: z.ZodEnum<{
|
|
2565
|
-
query: "query";
|
|
2566
4695
|
unknown: "unknown";
|
|
4696
|
+
query: "query";
|
|
2567
4697
|
authorization: "authorization";
|
|
2568
4698
|
client: "client";
|
|
2569
4699
|
}>;
|
|
2570
4700
|
}, z.core.$strip>, z.ZodObject<{
|
|
2571
4701
|
reason: z.ZodLiteral<"expired_token">;
|
|
2572
4702
|
source: z.ZodEnum<{
|
|
2573
|
-
query: "query";
|
|
2574
4703
|
unknown: "unknown";
|
|
4704
|
+
query: "query";
|
|
2575
4705
|
authorization: "authorization";
|
|
2576
4706
|
client: "client";
|
|
2577
4707
|
}>;
|
|
2578
4708
|
}, z.core.$strip>, z.ZodObject<{
|
|
2579
4709
|
reason: z.ZodLiteral<"invalid_secret">;
|
|
2580
4710
|
source: z.ZodEnum<{
|
|
2581
|
-
query: "query";
|
|
2582
4711
|
unknown: "unknown";
|
|
4712
|
+
query: "query";
|
|
2583
4713
|
authorization: "authorization";
|
|
2584
4714
|
client: "client";
|
|
2585
4715
|
}>;
|
|
2586
4716
|
}, z.core.$strip>, z.ZodObject<{
|
|
2587
4717
|
reason: z.ZodLiteral<"user_mismatch">;
|
|
2588
4718
|
source: z.ZodEnum<{
|
|
2589
|
-
query: "query";
|
|
2590
4719
|
unknown: "unknown";
|
|
4720
|
+
query: "query";
|
|
2591
4721
|
authorization: "authorization";
|
|
2592
4722
|
client: "client";
|
|
2593
4723
|
}>;
|
|
2594
4724
|
}, z.core.$strip>, z.ZodObject<{
|
|
2595
4725
|
reason: z.ZodLiteral<"insufficient_scope">;
|
|
2596
4726
|
source: z.ZodEnum<{
|
|
2597
|
-
query: "query";
|
|
2598
4727
|
unknown: "unknown";
|
|
4728
|
+
query: "query";
|
|
2599
4729
|
authorization: "authorization";
|
|
2600
4730
|
client: "client";
|
|
2601
4731
|
}>;
|
|
@@ -2610,8 +4740,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
2610
4740
|
}>;
|
|
2611
4741
|
value: z.ZodOptional<z.ZodString>;
|
|
2612
4742
|
source: z.ZodEnum<{
|
|
2613
|
-
query: "query";
|
|
2614
4743
|
unknown: "unknown";
|
|
4744
|
+
query: "query";
|
|
2615
4745
|
authorization: "authorization";
|
|
2616
4746
|
client: "client";
|
|
2617
4747
|
}>;
|
|
@@ -2669,48 +4799,48 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
2669
4799
|
why: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2670
4800
|
reason: z.ZodLiteral<"missing_token">;
|
|
2671
4801
|
source: z.ZodEnum<{
|
|
2672
|
-
query: "query";
|
|
2673
4802
|
unknown: "unknown";
|
|
4803
|
+
query: "query";
|
|
2674
4804
|
authorization: "authorization";
|
|
2675
4805
|
client: "client";
|
|
2676
4806
|
}>;
|
|
2677
4807
|
}, z.core.$strip>, z.ZodObject<{
|
|
2678
4808
|
reason: z.ZodLiteral<"invalid_token">;
|
|
2679
4809
|
source: z.ZodEnum<{
|
|
2680
|
-
query: "query";
|
|
2681
4810
|
unknown: "unknown";
|
|
4811
|
+
query: "query";
|
|
2682
4812
|
authorization: "authorization";
|
|
2683
4813
|
client: "client";
|
|
2684
4814
|
}>;
|
|
2685
4815
|
}, z.core.$strip>, z.ZodObject<{
|
|
2686
4816
|
reason: z.ZodLiteral<"expired_token">;
|
|
2687
4817
|
source: z.ZodEnum<{
|
|
2688
|
-
query: "query";
|
|
2689
4818
|
unknown: "unknown";
|
|
4819
|
+
query: "query";
|
|
2690
4820
|
authorization: "authorization";
|
|
2691
4821
|
client: "client";
|
|
2692
4822
|
}>;
|
|
2693
4823
|
}, z.core.$strip>, z.ZodObject<{
|
|
2694
4824
|
reason: z.ZodLiteral<"invalid_secret">;
|
|
2695
4825
|
source: z.ZodEnum<{
|
|
2696
|
-
query: "query";
|
|
2697
4826
|
unknown: "unknown";
|
|
4827
|
+
query: "query";
|
|
2698
4828
|
authorization: "authorization";
|
|
2699
4829
|
client: "client";
|
|
2700
4830
|
}>;
|
|
2701
4831
|
}, z.core.$strip>, z.ZodObject<{
|
|
2702
4832
|
reason: z.ZodLiteral<"user_mismatch">;
|
|
2703
4833
|
source: z.ZodEnum<{
|
|
2704
|
-
query: "query";
|
|
2705
4834
|
unknown: "unknown";
|
|
4835
|
+
query: "query";
|
|
2706
4836
|
authorization: "authorization";
|
|
2707
4837
|
client: "client";
|
|
2708
4838
|
}>;
|
|
2709
4839
|
}, z.core.$strip>, z.ZodObject<{
|
|
2710
4840
|
reason: z.ZodLiteral<"insufficient_scope">;
|
|
2711
4841
|
source: z.ZodEnum<{
|
|
2712
|
-
query: "query";
|
|
2713
4842
|
unknown: "unknown";
|
|
4843
|
+
query: "query";
|
|
2714
4844
|
authorization: "authorization";
|
|
2715
4845
|
client: "client";
|
|
2716
4846
|
}>;
|
|
@@ -2725,8 +4855,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
2725
4855
|
}>;
|
|
2726
4856
|
value: z.ZodOptional<z.ZodString>;
|
|
2727
4857
|
source: z.ZodEnum<{
|
|
2728
|
-
query: "query";
|
|
2729
4858
|
unknown: "unknown";
|
|
4859
|
+
query: "query";
|
|
2730
4860
|
authorization: "authorization";
|
|
2731
4861
|
client: "client";
|
|
2732
4862
|
}>;
|
|
@@ -2757,6 +4887,66 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
2757
4887
|
message: z.ZodOptional<z.ZodString>;
|
|
2758
4888
|
}, z.core.$strip>], "kind">;
|
|
2759
4889
|
}, z.core.$strip>], "decision">;
|
|
4890
|
+
webtty: z.ZodOptional<z.ZodObject<{
|
|
4891
|
+
server_id: z.ZodOptional<z.ZodString>;
|
|
4892
|
+
session_id: z.ZodOptional<z.ZodString>;
|
|
4893
|
+
session_group_id: z.ZodOptional<z.ZodString>;
|
|
4894
|
+
participant_id: z.ZodOptional<z.ZodString>;
|
|
4895
|
+
participant_role: z.ZodOptional<z.ZodEnum<{
|
|
4896
|
+
controller: "controller";
|
|
4897
|
+
spectator: "spectator";
|
|
4898
|
+
}>>;
|
|
4899
|
+
controller: z.ZodOptional<z.ZodBoolean>;
|
|
4900
|
+
recording_mode: z.ZodOptional<z.ZodEnum<{
|
|
4901
|
+
private: "private";
|
|
4902
|
+
recorded: "recorded";
|
|
4903
|
+
}>>;
|
|
4904
|
+
encryption_mode: z.ZodOptional<z.ZodEnum<{
|
|
4905
|
+
managed: "managed";
|
|
4906
|
+
e2e: "e2e";
|
|
4907
|
+
}>>;
|
|
4908
|
+
encryption_policy: z.ZodOptional<z.ZodEnum<{
|
|
4909
|
+
disabled: "disabled";
|
|
4910
|
+
explicit_key: "explicit_key";
|
|
4911
|
+
workspace_managed: "workspace_managed";
|
|
4912
|
+
}>>;
|
|
4913
|
+
e2e: z.ZodOptional<z.ZodBoolean>;
|
|
4914
|
+
client_proof: z.ZodOptional<z.ZodEnum<{
|
|
4915
|
+
none: "none";
|
|
4916
|
+
required: "required";
|
|
4917
|
+
}>>;
|
|
4918
|
+
session_mode: z.ZodOptional<z.ZodEnum<{
|
|
4919
|
+
interactive: "interactive";
|
|
4920
|
+
"non-interactive": "non-interactive";
|
|
4921
|
+
}>>;
|
|
4922
|
+
downstream_transport: z.ZodOptional<z.ZodEnum<{
|
|
4923
|
+
plain: "plain";
|
|
4924
|
+
websocket: "websocket";
|
|
4925
|
+
webtransport: "webtransport";
|
|
4926
|
+
}>>;
|
|
4927
|
+
upstream_transport: z.ZodOptional<z.ZodEnum<{
|
|
4928
|
+
plain: "plain";
|
|
4929
|
+
websocket: "websocket";
|
|
4930
|
+
webtransport: "webtransport";
|
|
4931
|
+
}>>;
|
|
4932
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
4933
|
+
api: "api";
|
|
4934
|
+
human: "human";
|
|
4935
|
+
codex: "codex";
|
|
4936
|
+
automation: "automation";
|
|
4937
|
+
ci: "ci";
|
|
4938
|
+
"scheduled-job": "scheduled-job";
|
|
4939
|
+
}>>;
|
|
4940
|
+
origin_id: z.ZodOptional<z.ZodString>;
|
|
4941
|
+
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
4942
|
+
agent: "agent";
|
|
4943
|
+
app: "app";
|
|
4944
|
+
user: "user";
|
|
4945
|
+
"service-account": "service-account";
|
|
4946
|
+
}>>;
|
|
4947
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
4948
|
+
browser_id: z.ZodOptional<z.ZodString>;
|
|
4949
|
+
}, z.core.$loose>>;
|
|
2760
4950
|
response: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2761
4951
|
outcome: z.ZodLiteral<"connected">;
|
|
2762
4952
|
established_at: z.ZodString;
|
|
@@ -2788,8 +4978,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
2788
4978
|
server: "server";
|
|
2789
4979
|
}>;
|
|
2790
4980
|
reason: z.ZodEnum<{
|
|
2791
|
-
unknown: "unknown";
|
|
2792
4981
|
error: "error";
|
|
4982
|
+
unknown: "unknown";
|
|
2793
4983
|
timeout: "timeout";
|
|
2794
4984
|
closed: "closed";
|
|
2795
4985
|
reset: "reset";
|
|
@@ -2819,48 +5009,48 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
2819
5009
|
why: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2820
5010
|
reason: z.ZodLiteral<"missing_token">;
|
|
2821
5011
|
source: z.ZodEnum<{
|
|
2822
|
-
query: "query";
|
|
2823
5012
|
unknown: "unknown";
|
|
5013
|
+
query: "query";
|
|
2824
5014
|
authorization: "authorization";
|
|
2825
5015
|
client: "client";
|
|
2826
5016
|
}>;
|
|
2827
5017
|
}, z.core.$strip>, z.ZodObject<{
|
|
2828
5018
|
reason: z.ZodLiteral<"invalid_token">;
|
|
2829
5019
|
source: z.ZodEnum<{
|
|
2830
|
-
query: "query";
|
|
2831
5020
|
unknown: "unknown";
|
|
5021
|
+
query: "query";
|
|
2832
5022
|
authorization: "authorization";
|
|
2833
5023
|
client: "client";
|
|
2834
5024
|
}>;
|
|
2835
5025
|
}, z.core.$strip>, z.ZodObject<{
|
|
2836
5026
|
reason: z.ZodLiteral<"expired_token">;
|
|
2837
5027
|
source: z.ZodEnum<{
|
|
2838
|
-
query: "query";
|
|
2839
5028
|
unknown: "unknown";
|
|
5029
|
+
query: "query";
|
|
2840
5030
|
authorization: "authorization";
|
|
2841
5031
|
client: "client";
|
|
2842
5032
|
}>;
|
|
2843
5033
|
}, z.core.$strip>, z.ZodObject<{
|
|
2844
5034
|
reason: z.ZodLiteral<"invalid_secret">;
|
|
2845
5035
|
source: z.ZodEnum<{
|
|
2846
|
-
query: "query";
|
|
2847
5036
|
unknown: "unknown";
|
|
5037
|
+
query: "query";
|
|
2848
5038
|
authorization: "authorization";
|
|
2849
5039
|
client: "client";
|
|
2850
5040
|
}>;
|
|
2851
5041
|
}, z.core.$strip>, z.ZodObject<{
|
|
2852
5042
|
reason: z.ZodLiteral<"user_mismatch">;
|
|
2853
5043
|
source: z.ZodEnum<{
|
|
2854
|
-
query: "query";
|
|
2855
5044
|
unknown: "unknown";
|
|
5045
|
+
query: "query";
|
|
2856
5046
|
authorization: "authorization";
|
|
2857
5047
|
client: "client";
|
|
2858
5048
|
}>;
|
|
2859
5049
|
}, z.core.$strip>, z.ZodObject<{
|
|
2860
5050
|
reason: z.ZodLiteral<"insufficient_scope">;
|
|
2861
5051
|
source: z.ZodEnum<{
|
|
2862
|
-
query: "query";
|
|
2863
5052
|
unknown: "unknown";
|
|
5053
|
+
query: "query";
|
|
2864
5054
|
authorization: "authorization";
|
|
2865
5055
|
client: "client";
|
|
2866
5056
|
}>;
|
|
@@ -2875,8 +5065,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
2875
5065
|
}>;
|
|
2876
5066
|
value: z.ZodOptional<z.ZodString>;
|
|
2877
5067
|
source: z.ZodEnum<{
|
|
2878
|
-
query: "query";
|
|
2879
5068
|
unknown: "unknown";
|
|
5069
|
+
query: "query";
|
|
2880
5070
|
authorization: "authorization";
|
|
2881
5071
|
client: "client";
|
|
2882
5072
|
}>;
|
|
@@ -2932,8 +5122,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
2932
5122
|
server: "server";
|
|
2933
5123
|
}>;
|
|
2934
5124
|
reason: z.ZodEnum<{
|
|
2935
|
-
unknown: "unknown";
|
|
2936
5125
|
error: "error";
|
|
5126
|
+
unknown: "unknown";
|
|
2937
5127
|
timeout: "timeout";
|
|
2938
5128
|
closed: "closed";
|
|
2939
5129
|
reset: "reset";
|
|
@@ -2967,8 +5157,482 @@ type WebhookEvent = z.infer<typeof webhookEventsSchema>;
|
|
|
2967
5157
|
type ProjectLogEvent = z.infer<typeof projectLogEventsSchema>;
|
|
2968
5158
|
type Event = z.infer<typeof eventSchema>;
|
|
2969
5159
|
|
|
5160
|
+
declare const WEBHOOK_SIGNATURE_HEADER = "rstream-signature";
|
|
5161
|
+
declare const WEBHOOK_EVENT_ID_HEADER = "rstream-event-id";
|
|
5162
|
+
declare const WEBHOOK_EVENT_TYPE_HEADER = "rstream-event-type";
|
|
5163
|
+
declare const WEBHOOK_ID_HEADER = "rstream-webhook-id";
|
|
5164
|
+
declare const WEBHOOK_DELIVERY_ID_HEADER = "rstream-delivery-id";
|
|
5165
|
+
type WebhookPayload = string | Buffer;
|
|
5166
|
+
type WebhookHeaders = Record<typeof WEBHOOK_SIGNATURE_HEADER | typeof WEBHOOK_EVENT_ID_HEADER | typeof WEBHOOK_EVENT_TYPE_HEADER | typeof WEBHOOK_ID_HEADER | typeof WEBHOOK_DELIVERY_ID_HEADER, string>;
|
|
5167
|
+
interface BuildWebhookHeadersOptions {
|
|
5168
|
+
deliveryId: string;
|
|
5169
|
+
timestamp?: Date | number;
|
|
5170
|
+
webhookId: string;
|
|
5171
|
+
}
|
|
5172
|
+
declare function generateWebhookSigningSecret(): string;
|
|
5173
|
+
declare function signWebhookPayload(payload: WebhookPayload, secret: string, timestamp?: Date | number): string;
|
|
5174
|
+
declare function buildWebhookHeaders(payload: WebhookPayload, event: WebhookEvent, secret: string, options: BuildWebhookHeadersOptions): WebhookHeaders;
|
|
2970
5175
|
declare class RstreamWebhookResource {
|
|
2971
|
-
event(payload:
|
|
5176
|
+
event(payload: WebhookPayload, header: string | Buffer | Array<string>, secret: string, tolerance?: number, receivedAt?: number): Promise<WebhookEvent>;
|
|
5177
|
+
generateSigningSecret(): string;
|
|
5178
|
+
sign(payload: WebhookPayload, secret: string, timestamp?: Date | number): string;
|
|
5179
|
+
headers(payload: WebhookPayload, event: WebhookEvent, secret: string, options: BuildWebhookHeadersOptions): WebhookHeaders;
|
|
5180
|
+
}
|
|
5181
|
+
|
|
5182
|
+
declare const webTTYTransportSchema: z.ZodEnum<{
|
|
5183
|
+
plain: "plain";
|
|
5184
|
+
websocket: "websocket";
|
|
5185
|
+
webtransport: "webtransport";
|
|
5186
|
+
}>;
|
|
5187
|
+
declare const webTTYRecordingModeSchema: z.ZodEnum<{
|
|
5188
|
+
private: "private";
|
|
5189
|
+
recorded: "recorded";
|
|
5190
|
+
}>;
|
|
5191
|
+
declare const webTTYEncryptionModeSchema: z.ZodEnum<{
|
|
5192
|
+
managed: "managed";
|
|
5193
|
+
e2e: "e2e";
|
|
5194
|
+
}>;
|
|
5195
|
+
declare const webTTYSessionModeSchema: z.ZodEnum<{
|
|
5196
|
+
interactive: "interactive";
|
|
5197
|
+
"non-interactive": "non-interactive";
|
|
5198
|
+
}>;
|
|
5199
|
+
declare const webTTYOriginSchema: z.ZodEnum<{
|
|
5200
|
+
api: "api";
|
|
5201
|
+
human: "human";
|
|
5202
|
+
codex: "codex";
|
|
5203
|
+
automation: "automation";
|
|
5204
|
+
ci: "ci";
|
|
5205
|
+
"scheduled-job": "scheduled-job";
|
|
5206
|
+
}>;
|
|
5207
|
+
declare const webTTYParticipantRoleSchema: z.ZodEnum<{
|
|
5208
|
+
controller: "controller";
|
|
5209
|
+
spectator: "spectator";
|
|
5210
|
+
}>;
|
|
5211
|
+
declare const webTTYContextMetadataSchema: z.ZodObject<{
|
|
5212
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
5213
|
+
api: "api";
|
|
5214
|
+
human: "human";
|
|
5215
|
+
codex: "codex";
|
|
5216
|
+
automation: "automation";
|
|
5217
|
+
ci: "ci";
|
|
5218
|
+
"scheduled-job": "scheduled-job";
|
|
5219
|
+
}>>;
|
|
5220
|
+
origin_id: z.ZodOptional<z.ZodString>;
|
|
5221
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
5222
|
+
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
5223
|
+
agent: "agent";
|
|
5224
|
+
app: "app";
|
|
5225
|
+
user: "user";
|
|
5226
|
+
"service-account": "service-account";
|
|
5227
|
+
}>>;
|
|
5228
|
+
agent_name: z.ZodOptional<z.ZodString>;
|
|
5229
|
+
agent_version: z.ZodOptional<z.ZodString>;
|
|
5230
|
+
request_id: z.ZodOptional<z.ZodString>;
|
|
5231
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5232
|
+
}, z.core.$loose>;
|
|
5233
|
+
|
|
5234
|
+
declare const webTTYCapabilitiesSchema: z.ZodObject<{
|
|
5235
|
+
managed_protocol: z.ZodBoolean;
|
|
5236
|
+
store_configured: z.ZodBoolean;
|
|
5237
|
+
session_listing: z.ZodBoolean;
|
|
5238
|
+
recording: z.ZodBoolean;
|
|
5239
|
+
replay: z.ZodBoolean;
|
|
5240
|
+
live_attach: z.ZodBoolean;
|
|
5241
|
+
control_transfer: z.ZodBoolean;
|
|
5242
|
+
e2e: z.ZodBoolean;
|
|
5243
|
+
implemented_transports: z.ZodArray<z.ZodEnum<{
|
|
5244
|
+
plain: "plain";
|
|
5245
|
+
websocket: "websocket";
|
|
5246
|
+
webtransport: "webtransport";
|
|
5247
|
+
}>>;
|
|
5248
|
+
recording_modes: z.ZodArray<z.ZodEnum<{
|
|
5249
|
+
private: "private";
|
|
5250
|
+
recorded: "recorded";
|
|
5251
|
+
}>>;
|
|
5252
|
+
encryption_modes: z.ZodArray<z.ZodEnum<{
|
|
5253
|
+
managed: "managed";
|
|
5254
|
+
e2e: "e2e";
|
|
5255
|
+
}>>;
|
|
5256
|
+
required_permissions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
|
|
5257
|
+
}, z.core.$strip>;
|
|
5258
|
+
declare const webTTYSessionLiveSchema: z.ZodObject<{
|
|
5259
|
+
available: z.ZodBoolean;
|
|
5260
|
+
attachable: z.ZodBoolean;
|
|
5261
|
+
participant_count: z.ZodNumber;
|
|
5262
|
+
controller_participant_id: z.ZodOptional<z.ZodString>;
|
|
5263
|
+
has_upstream: z.ZodBoolean;
|
|
5264
|
+
}, z.core.$strip>;
|
|
5265
|
+
declare const webTTYParticipantLiveSchema: z.ZodObject<{
|
|
5266
|
+
connected: z.ZodBoolean;
|
|
5267
|
+
controller: z.ZodBoolean;
|
|
5268
|
+
}, z.core.$strip>;
|
|
5269
|
+
declare const webTTYSessionSchema: z.ZodObject<{
|
|
5270
|
+
id: z.ZodString;
|
|
5271
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
5272
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
5273
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
5274
|
+
server_id: z.ZodOptional<z.ZodString>;
|
|
5275
|
+
tunnel_id: z.ZodString;
|
|
5276
|
+
client_id: z.ZodOptional<z.ZodString>;
|
|
5277
|
+
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
5278
|
+
group_id: z.ZodOptional<z.ZodString>;
|
|
5279
|
+
status: z.ZodEnum<{
|
|
5280
|
+
active: "active";
|
|
5281
|
+
closed: "closed";
|
|
5282
|
+
opening: "opening";
|
|
5283
|
+
closing: "closing";
|
|
5284
|
+
errored: "errored";
|
|
5285
|
+
}>;
|
|
5286
|
+
session_mode: z.ZodEnum<{
|
|
5287
|
+
interactive: "interactive";
|
|
5288
|
+
"non-interactive": "non-interactive";
|
|
5289
|
+
}>;
|
|
5290
|
+
recording_mode: z.ZodEnum<{
|
|
5291
|
+
private: "private";
|
|
5292
|
+
recorded: "recorded";
|
|
5293
|
+
}>;
|
|
5294
|
+
encryption_mode: z.ZodEnum<{
|
|
5295
|
+
managed: "managed";
|
|
5296
|
+
e2e: "e2e";
|
|
5297
|
+
}>;
|
|
5298
|
+
downstream_transport: z.ZodOptional<z.ZodEnum<{
|
|
5299
|
+
plain: "plain";
|
|
5300
|
+
websocket: "websocket";
|
|
5301
|
+
webtransport: "webtransport";
|
|
5302
|
+
}>>;
|
|
5303
|
+
upstream_transport: z.ZodOptional<z.ZodEnum<{
|
|
5304
|
+
plain: "plain";
|
|
5305
|
+
websocket: "websocket";
|
|
5306
|
+
webtransport: "webtransport";
|
|
5307
|
+
}>>;
|
|
5308
|
+
command_meta: z.ZodOptional<z.ZodUnknown>;
|
|
5309
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
5310
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
5311
|
+
api: "api";
|
|
5312
|
+
human: "human";
|
|
5313
|
+
codex: "codex";
|
|
5314
|
+
automation: "automation";
|
|
5315
|
+
ci: "ci";
|
|
5316
|
+
"scheduled-job": "scheduled-job";
|
|
5317
|
+
}>>;
|
|
5318
|
+
origin_id: z.ZodOptional<z.ZodString>;
|
|
5319
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
5320
|
+
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
5321
|
+
agent: "agent";
|
|
5322
|
+
app: "app";
|
|
5323
|
+
user: "user";
|
|
5324
|
+
"service-account": "service-account";
|
|
5325
|
+
}>>;
|
|
5326
|
+
agent_name: z.ZodOptional<z.ZodString>;
|
|
5327
|
+
agent_version: z.ZodOptional<z.ZodString>;
|
|
5328
|
+
request_id: z.ZodOptional<z.ZodString>;
|
|
5329
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5330
|
+
}, z.core.$loose>>;
|
|
5331
|
+
started_at: z.ZodString;
|
|
5332
|
+
ended_at: z.ZodOptional<z.ZodString>;
|
|
5333
|
+
exit_code: z.ZodOptional<z.ZodNumber>;
|
|
5334
|
+
error_code: z.ZodOptional<z.ZodString>;
|
|
5335
|
+
error_message: z.ZodOptional<z.ZodString>;
|
|
5336
|
+
live: z.ZodOptional<z.ZodObject<{
|
|
5337
|
+
available: z.ZodBoolean;
|
|
5338
|
+
attachable: z.ZodBoolean;
|
|
5339
|
+
participant_count: z.ZodNumber;
|
|
5340
|
+
controller_participant_id: z.ZodOptional<z.ZodString>;
|
|
5341
|
+
has_upstream: z.ZodBoolean;
|
|
5342
|
+
}, z.core.$strip>>;
|
|
5343
|
+
}, z.core.$loose>;
|
|
5344
|
+
declare const webTTYSessionGroupSchema: z.ZodObject<{
|
|
5345
|
+
id: z.ZodString;
|
|
5346
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
5347
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
5348
|
+
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
5349
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
5350
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
5351
|
+
api: "api";
|
|
5352
|
+
human: "human";
|
|
5353
|
+
codex: "codex";
|
|
5354
|
+
automation: "automation";
|
|
5355
|
+
ci: "ci";
|
|
5356
|
+
"scheduled-job": "scheduled-job";
|
|
5357
|
+
}>>;
|
|
5358
|
+
origin_id: z.ZodOptional<z.ZodString>;
|
|
5359
|
+
purpose: z.ZodOptional<z.ZodString>;
|
|
5360
|
+
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
5361
|
+
agent: "agent";
|
|
5362
|
+
app: "app";
|
|
5363
|
+
user: "user";
|
|
5364
|
+
"service-account": "service-account";
|
|
5365
|
+
}>>;
|
|
5366
|
+
agent_name: z.ZodOptional<z.ZodString>;
|
|
5367
|
+
agent_version: z.ZodOptional<z.ZodString>;
|
|
5368
|
+
request_id: z.ZodOptional<z.ZodString>;
|
|
5369
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5370
|
+
}, z.core.$loose>>;
|
|
5371
|
+
created_at: z.ZodString;
|
|
5372
|
+
updated_at: z.ZodString;
|
|
5373
|
+
closed_at: z.ZodOptional<z.ZodString>;
|
|
5374
|
+
}, z.core.$loose>;
|
|
5375
|
+
declare const webTTYParticipantSchema: z.ZodObject<{
|
|
5376
|
+
id: z.ZodString;
|
|
5377
|
+
session_id: z.ZodString;
|
|
5378
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
5379
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
5380
|
+
browser_id: z.ZodOptional<z.ZodString>;
|
|
5381
|
+
role: z.ZodEnum<{
|
|
5382
|
+
controller: "controller";
|
|
5383
|
+
spectator: "spectator";
|
|
5384
|
+
}>;
|
|
5385
|
+
attached_at: z.ZodString;
|
|
5386
|
+
detached_at: z.ZodOptional<z.ZodString>;
|
|
5387
|
+
controller: z.ZodBoolean;
|
|
5388
|
+
grant_state: z.ZodOptional<z.ZodString>;
|
|
5389
|
+
attach_grant: z.ZodOptional<z.ZodString>;
|
|
5390
|
+
attach_grant_expires_at: z.ZodOptional<z.ZodString>;
|
|
5391
|
+
live: z.ZodOptional<z.ZodObject<{
|
|
5392
|
+
connected: z.ZodBoolean;
|
|
5393
|
+
controller: z.ZodBoolean;
|
|
5394
|
+
}, z.core.$strip>>;
|
|
5395
|
+
}, z.core.$loose>;
|
|
5396
|
+
declare const webTTYCryptoMetadataSchema: z.ZodObject<{
|
|
5397
|
+
payload_suite: z.ZodOptional<z.ZodString>;
|
|
5398
|
+
payload_key_id: z.ZodOptional<z.ZodString>;
|
|
5399
|
+
nonce: z.ZodOptional<z.ZodString>;
|
|
5400
|
+
key_envelope_suite: z.ZodOptional<z.ZodString>;
|
|
5401
|
+
key_envelopes: z.ZodOptional<z.ZodUnknown>;
|
|
5402
|
+
key_context: z.ZodOptional<z.ZodUnknown>;
|
|
5403
|
+
key_context_raw: z.ZodOptional<z.ZodString>;
|
|
5404
|
+
}, z.core.$loose>;
|
|
5405
|
+
declare const webTTYSessionEventSchema: z.ZodObject<{
|
|
5406
|
+
id: z.ZodString;
|
|
5407
|
+
session_id: z.ZodString;
|
|
5408
|
+
seq: z.ZodString;
|
|
5409
|
+
created_at: z.ZodString;
|
|
5410
|
+
type: z.ZodEnum<{
|
|
5411
|
+
error: "error";
|
|
5412
|
+
open: "open";
|
|
5413
|
+
ack: "ack";
|
|
5414
|
+
data: "data";
|
|
5415
|
+
resize: "resize";
|
|
5416
|
+
close: "close";
|
|
5417
|
+
participant: "participant";
|
|
5418
|
+
control: "control";
|
|
5419
|
+
recording_state: "recording_state";
|
|
5420
|
+
}>;
|
|
5421
|
+
direction: z.ZodOptional<z.ZodEnum<{
|
|
5422
|
+
client_to_server: "client_to_server";
|
|
5423
|
+
server_to_client: "server_to_client";
|
|
5424
|
+
engine_internal: "engine_internal";
|
|
5425
|
+
}>>;
|
|
5426
|
+
stream_type: z.ZodOptional<z.ZodEnum<{
|
|
5427
|
+
stdin: "stdin";
|
|
5428
|
+
stdout: "stdout";
|
|
5429
|
+
stderr: "stderr";
|
|
5430
|
+
}>>;
|
|
5431
|
+
participant_id: z.ZodOptional<z.ZodString>;
|
|
5432
|
+
payload_length: z.ZodOptional<z.ZodNumber>;
|
|
5433
|
+
payload_ciphertext: z.ZodOptional<z.ZodString>;
|
|
5434
|
+
payload_plaintext: z.ZodOptional<z.ZodString>;
|
|
5435
|
+
crypto: z.ZodOptional<z.ZodObject<{
|
|
5436
|
+
payload_suite: z.ZodOptional<z.ZodString>;
|
|
5437
|
+
payload_key_id: z.ZodOptional<z.ZodString>;
|
|
5438
|
+
nonce: z.ZodOptional<z.ZodString>;
|
|
5439
|
+
key_envelope_suite: z.ZodOptional<z.ZodString>;
|
|
5440
|
+
key_envelopes: z.ZodOptional<z.ZodUnknown>;
|
|
5441
|
+
key_context: z.ZodOptional<z.ZodUnknown>;
|
|
5442
|
+
key_context_raw: z.ZodOptional<z.ZodString>;
|
|
5443
|
+
}, z.core.$loose>>;
|
|
5444
|
+
prev_hash: z.ZodOptional<z.ZodString>;
|
|
5445
|
+
hash: z.ZodOptional<z.ZodString>;
|
|
5446
|
+
metadata: z.ZodOptional<z.ZodUnknown>;
|
|
5447
|
+
}, z.core.$loose>;
|
|
5448
|
+
declare const webTTYKeyGrantSchema: z.ZodObject<{
|
|
5449
|
+
id: z.ZodString;
|
|
5450
|
+
session_id: z.ZodString;
|
|
5451
|
+
recipient_id: z.ZodString;
|
|
5452
|
+
recipient_kind: z.ZodString;
|
|
5453
|
+
granted_by: z.ZodOptional<z.ZodString>;
|
|
5454
|
+
crypto: z.ZodObject<{
|
|
5455
|
+
payload_suite: z.ZodOptional<z.ZodString>;
|
|
5456
|
+
payload_key_id: z.ZodOptional<z.ZodString>;
|
|
5457
|
+
nonce: z.ZodOptional<z.ZodString>;
|
|
5458
|
+
key_envelope_suite: z.ZodOptional<z.ZodString>;
|
|
5459
|
+
key_envelopes: z.ZodOptional<z.ZodUnknown>;
|
|
5460
|
+
key_context: z.ZodOptional<z.ZodUnknown>;
|
|
5461
|
+
key_context_raw: z.ZodOptional<z.ZodString>;
|
|
5462
|
+
}, z.core.$loose>;
|
|
5463
|
+
created_at: z.ZodString;
|
|
5464
|
+
revoked_at: z.ZodOptional<z.ZodString>;
|
|
5465
|
+
}, z.core.$loose>;
|
|
5466
|
+
declare const webTTYKeyGrantDecryptMaterialSchema: z.ZodObject<{
|
|
5467
|
+
wrapped_key: z.ZodOptional<z.ZodString>;
|
|
5468
|
+
id: z.ZodString;
|
|
5469
|
+
session_id: z.ZodString;
|
|
5470
|
+
recipient_id: z.ZodString;
|
|
5471
|
+
recipient_kind: z.ZodString;
|
|
5472
|
+
granted_by: z.ZodOptional<z.ZodString>;
|
|
5473
|
+
crypto: z.ZodObject<{
|
|
5474
|
+
payload_suite: z.ZodOptional<z.ZodString>;
|
|
5475
|
+
payload_key_id: z.ZodOptional<z.ZodString>;
|
|
5476
|
+
nonce: z.ZodOptional<z.ZodString>;
|
|
5477
|
+
key_envelope_suite: z.ZodOptional<z.ZodString>;
|
|
5478
|
+
key_envelopes: z.ZodOptional<z.ZodUnknown>;
|
|
5479
|
+
key_context: z.ZodOptional<z.ZodUnknown>;
|
|
5480
|
+
key_context_raw: z.ZodOptional<z.ZodString>;
|
|
5481
|
+
}, z.core.$loose>;
|
|
5482
|
+
created_at: z.ZodString;
|
|
5483
|
+
revoked_at: z.ZodOptional<z.ZodString>;
|
|
5484
|
+
}, z.core.$loose>;
|
|
5485
|
+
declare const webTTYControlRequestSchema: z.ZodObject<{
|
|
5486
|
+
id: z.ZodString;
|
|
5487
|
+
session_id: z.ZodString;
|
|
5488
|
+
requester_participant_id: z.ZodString;
|
|
5489
|
+
requester_user_id: z.ZodOptional<z.ZodString>;
|
|
5490
|
+
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
5491
|
+
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
5492
|
+
status: z.ZodEnum<{
|
|
5493
|
+
refused: "refused";
|
|
5494
|
+
pending: "pending";
|
|
5495
|
+
granted: "granted";
|
|
5496
|
+
revoked: "revoked";
|
|
5497
|
+
expired: "expired";
|
|
5498
|
+
}>;
|
|
5499
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
5500
|
+
metadata: z.ZodOptional<z.ZodUnknown>;
|
|
5501
|
+
created_at: z.ZodString;
|
|
5502
|
+
updated_at: z.ZodString;
|
|
5503
|
+
resolved_at: z.ZodOptional<z.ZodString>;
|
|
5504
|
+
expires_at: z.ZodOptional<z.ZodString>;
|
|
5505
|
+
}, z.core.$loose>;
|
|
5506
|
+
declare const listWebTTYSessionsParamsSchema: z.ZodObject<{
|
|
5507
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
5508
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
5509
|
+
server_id: z.ZodOptional<z.ZodString>;
|
|
5510
|
+
tunnel_id: z.ZodOptional<z.ZodString>;
|
|
5511
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
5512
|
+
group_id: z.ZodOptional<z.ZodString>;
|
|
5513
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
5514
|
+
api: "api";
|
|
5515
|
+
human: "human";
|
|
5516
|
+
codex: "codex";
|
|
5517
|
+
automation: "automation";
|
|
5518
|
+
ci: "ci";
|
|
5519
|
+
"scheduled-job": "scheduled-job";
|
|
5520
|
+
}>>;
|
|
5521
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
5522
|
+
active: "active";
|
|
5523
|
+
closed: "closed";
|
|
5524
|
+
opening: "opening";
|
|
5525
|
+
closing: "closing";
|
|
5526
|
+
errored: "errored";
|
|
5527
|
+
}>>;
|
|
5528
|
+
started_from: z.ZodOptional<z.ZodString>;
|
|
5529
|
+
started_to: z.ZodOptional<z.ZodString>;
|
|
5530
|
+
}, z.core.$strip>>;
|
|
5531
|
+
}, z.core.$strip>;
|
|
5532
|
+
declare const listWebTTYSessionGroupsParamsSchema: z.ZodObject<{
|
|
5533
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
5534
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
5535
|
+
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
5536
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
5537
|
+
api: "api";
|
|
5538
|
+
human: "human";
|
|
5539
|
+
codex: "codex";
|
|
5540
|
+
automation: "automation";
|
|
5541
|
+
ci: "ci";
|
|
5542
|
+
"scheduled-job": "scheduled-job";
|
|
5543
|
+
}>>;
|
|
5544
|
+
created_from: z.ZodOptional<z.ZodString>;
|
|
5545
|
+
created_to: z.ZodOptional<z.ZodString>;
|
|
5546
|
+
}, z.core.$strip>>;
|
|
5547
|
+
}, z.core.$strip>;
|
|
5548
|
+
declare const readWebTTYSessionEventsParamsSchema: z.ZodObject<{
|
|
5549
|
+
from_seq: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodPipe<z.ZodNumber, z.ZodTransform<string, number>>]>>;
|
|
5550
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
5551
|
+
}, z.core.$strip>;
|
|
5552
|
+
declare const listWebTTYKeyGrantDecryptMaterialParamsSchema: z.ZodObject<{
|
|
5553
|
+
recipient_id: z.ZodOptional<z.ZodString>;
|
|
5554
|
+
recipient_kind: z.ZodOptional<z.ZodString>;
|
|
5555
|
+
}, z.core.$strip>;
|
|
5556
|
+
declare const listWebTTYControlRequestsParamsSchema: z.ZodObject<{
|
|
5557
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
5558
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
5559
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
5560
|
+
refused: "refused";
|
|
5561
|
+
pending: "pending";
|
|
5562
|
+
granted: "granted";
|
|
5563
|
+
revoked: "revoked";
|
|
5564
|
+
expired: "expired";
|
|
5565
|
+
}>>;
|
|
5566
|
+
requester_user_id: z.ZodOptional<z.ZodString>;
|
|
5567
|
+
}, z.core.$strip>>;
|
|
5568
|
+
}, z.core.$strip>;
|
|
5569
|
+
declare const attachWebTTYParticipantParamsSchema: z.ZodObject<{
|
|
5570
|
+
role: z.ZodOptional<z.ZodLiteral<"spectator">>;
|
|
5571
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
5572
|
+
browser_id: z.ZodOptional<z.ZodString>;
|
|
5573
|
+
transport: z.ZodOptional<z.ZodEnum<{
|
|
5574
|
+
plain: "plain";
|
|
5575
|
+
websocket: "websocket";
|
|
5576
|
+
webtransport: "webtransport";
|
|
5577
|
+
}>>;
|
|
5578
|
+
grant_state: z.ZodOptional<z.ZodString>;
|
|
5579
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5580
|
+
}, z.core.$strip>;
|
|
5581
|
+
declare const detachWebTTYParticipantParamsSchema: z.ZodObject<{
|
|
5582
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
5583
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5584
|
+
}, z.core.$strip>;
|
|
5585
|
+
declare const createWebTTYControlRequestParamsSchema: z.ZodObject<{
|
|
5586
|
+
participant_id: z.ZodString;
|
|
5587
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
5588
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5589
|
+
expires_at: z.ZodOptional<z.ZodString>;
|
|
5590
|
+
}, z.core.$strip>;
|
|
5591
|
+
declare const resolveWebTTYControlRequestParamsSchema: z.ZodObject<{
|
|
5592
|
+
action: z.ZodEnum<{
|
|
5593
|
+
grant: "grant";
|
|
5594
|
+
refuse: "refuse";
|
|
5595
|
+
revoke: "revoke";
|
|
5596
|
+
}>;
|
|
5597
|
+
approver_participant_id: z.ZodOptional<z.ZodString>;
|
|
5598
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
5599
|
+
}, z.core.$strip>;
|
|
5600
|
+
type WebTTYCapabilities = z.infer<typeof webTTYCapabilitiesSchema>;
|
|
5601
|
+
type WebTTYSessionLive = z.infer<typeof webTTYSessionLiveSchema>;
|
|
5602
|
+
type WebTTYParticipantLive = z.infer<typeof webTTYParticipantLiveSchema>;
|
|
5603
|
+
type WebTTYSession = z.infer<typeof webTTYSessionSchema>;
|
|
5604
|
+
type WebTTYSessionGroup = z.infer<typeof webTTYSessionGroupSchema>;
|
|
5605
|
+
type WebTTYParticipant = z.infer<typeof webTTYParticipantSchema>;
|
|
5606
|
+
type WebTTYSessionEvent = z.infer<typeof webTTYSessionEventSchema>;
|
|
5607
|
+
type WebTTYKeyGrant = z.infer<typeof webTTYKeyGrantSchema>;
|
|
5608
|
+
type WebTTYKeyGrantDecryptMaterial = z.infer<typeof webTTYKeyGrantDecryptMaterialSchema>;
|
|
5609
|
+
type WebTTYControlRequest = z.infer<typeof webTTYControlRequestSchema>;
|
|
5610
|
+
type ListWebTTYSessionsParams = z.input<typeof listWebTTYSessionsParamsSchema>;
|
|
5611
|
+
type ListWebTTYSessionGroupsParams = z.input<typeof listWebTTYSessionGroupsParamsSchema>;
|
|
5612
|
+
type ReadWebTTYSessionEventsParams = z.input<typeof readWebTTYSessionEventsParamsSchema>;
|
|
5613
|
+
type ListWebTTYKeyGrantDecryptMaterialParams = z.input<typeof listWebTTYKeyGrantDecryptMaterialParamsSchema>;
|
|
5614
|
+
type ListWebTTYControlRequestsParams = z.input<typeof listWebTTYControlRequestsParamsSchema>;
|
|
5615
|
+
type AttachWebTTYParticipantParams = z.input<typeof attachWebTTYParticipantParamsSchema>;
|
|
5616
|
+
type DetachWebTTYParticipantParams = z.input<typeof detachWebTTYParticipantParamsSchema>;
|
|
5617
|
+
type CreateWebTTYControlRequestParams = z.input<typeof createWebTTYControlRequestParamsSchema>;
|
|
5618
|
+
type ResolveWebTTYControlRequestParams = z.input<typeof resolveWebTTYControlRequestParamsSchema>;
|
|
5619
|
+
declare class RstreamWebTTYResource {
|
|
5620
|
+
private readonly client;
|
|
5621
|
+
constructor(client: RstreamTunnelsClient);
|
|
5622
|
+
capabilities(): Promise<WebTTYCapabilities>;
|
|
5623
|
+
listGroups(params?: ListWebTTYSessionGroupsParams): Promise<WebTTYSessionGroup[]>;
|
|
5624
|
+
getGroup(groupId: string): Promise<WebTTYSessionGroup>;
|
|
5625
|
+
listSessions(params?: ListWebTTYSessionsParams): Promise<WebTTYSession[]>;
|
|
5626
|
+
getSession(sessionId: string): Promise<WebTTYSession>;
|
|
5627
|
+
listParticipants(sessionId: string): Promise<WebTTYParticipant[]>;
|
|
5628
|
+
attachParticipant(sessionId: string, params?: AttachWebTTYParticipantParams): Promise<WebTTYParticipant>;
|
|
5629
|
+
detachParticipant(sessionId: string, participantId: string, params?: DetachWebTTYParticipantParams): Promise<WebTTYParticipant>;
|
|
5630
|
+
readEvents(sessionId: string, params?: ReadWebTTYSessionEventsParams): Promise<WebTTYSessionEvent[]>;
|
|
5631
|
+
listKeyGrants(sessionId: string): Promise<WebTTYKeyGrant[]>;
|
|
5632
|
+
listKeyGrantDecryptMaterial(sessionId: string, params?: ListWebTTYKeyGrantDecryptMaterialParams): Promise<WebTTYKeyGrantDecryptMaterial[]>;
|
|
5633
|
+
listControlRequests(sessionId: string, params?: ListWebTTYControlRequestsParams): Promise<WebTTYControlRequest[]>;
|
|
5634
|
+
createControlRequest(sessionId: string, params: CreateWebTTYControlRequestParams): Promise<WebTTYControlRequest>;
|
|
5635
|
+
resolveControlRequest(sessionId: string, requestId: string, params: ResolveWebTTYControlRequestParams): Promise<WebTTYControlRequest>;
|
|
2972
5636
|
}
|
|
2973
5637
|
|
|
2974
5638
|
interface RstreamTunnelsConfig {
|
|
@@ -3023,6 +5687,7 @@ declare class RstreamTunnelsClient {
|
|
|
3023
5687
|
get clients(): RstreamClientsResource;
|
|
3024
5688
|
get tunnels(): RstreamTunnelsResource;
|
|
3025
5689
|
get webhooks(): RstreamWebhookResource;
|
|
5690
|
+
get webtty(): RstreamWebTTYResource;
|
|
3026
5691
|
get turn(): RstreamTURNResource;
|
|
3027
5692
|
getToken(engine?: string): Promise<string | undefined>;
|
|
3028
5693
|
request<T>(path: string, options?: RequestInit): Promise<T>;
|
|
@@ -3082,6 +5747,82 @@ declare const streamEndpointSchema: z.ZodObject<{
|
|
|
3082
5747
|
ech: z.ZodOptional<z.ZodBoolean>;
|
|
3083
5748
|
}, z.core.$strip>>;
|
|
3084
5749
|
}, z.core.$strip>;
|
|
5750
|
+
declare const streamEntrySchema: z.ZodObject<{
|
|
5751
|
+
kind: z.ZodEnum<{
|
|
5752
|
+
published_tunnel: "published_tunnel";
|
|
5753
|
+
private_rstream: "private_rstream";
|
|
5754
|
+
proxy_egress: "proxy_egress";
|
|
5755
|
+
internal: "internal";
|
|
5756
|
+
}>;
|
|
5757
|
+
transport: z.ZodOptional<z.ZodEnum<{
|
|
5758
|
+
tls: "tls";
|
|
5759
|
+
dtls: "dtls";
|
|
5760
|
+
quic: "quic";
|
|
5761
|
+
http: "http";
|
|
5762
|
+
rstream: "rstream";
|
|
5763
|
+
tcp: "tcp";
|
|
5764
|
+
}>>;
|
|
5765
|
+
}, z.core.$strip>;
|
|
5766
|
+
declare const streamWebTTYMetadataSchema: z.ZodObject<{
|
|
5767
|
+
server_id: z.ZodOptional<z.ZodString>;
|
|
5768
|
+
session_id: z.ZodOptional<z.ZodString>;
|
|
5769
|
+
session_group_id: z.ZodOptional<z.ZodString>;
|
|
5770
|
+
participant_id: z.ZodOptional<z.ZodString>;
|
|
5771
|
+
participant_role: z.ZodOptional<z.ZodEnum<{
|
|
5772
|
+
controller: "controller";
|
|
5773
|
+
spectator: "spectator";
|
|
5774
|
+
}>>;
|
|
5775
|
+
controller: z.ZodOptional<z.ZodBoolean>;
|
|
5776
|
+
recording_mode: z.ZodOptional<z.ZodEnum<{
|
|
5777
|
+
private: "private";
|
|
5778
|
+
recorded: "recorded";
|
|
5779
|
+
}>>;
|
|
5780
|
+
encryption_mode: z.ZodOptional<z.ZodEnum<{
|
|
5781
|
+
managed: "managed";
|
|
5782
|
+
e2e: "e2e";
|
|
5783
|
+
}>>;
|
|
5784
|
+
encryption_policy: z.ZodOptional<z.ZodEnum<{
|
|
5785
|
+
disabled: "disabled";
|
|
5786
|
+
explicit_key: "explicit_key";
|
|
5787
|
+
workspace_managed: "workspace_managed";
|
|
5788
|
+
}>>;
|
|
5789
|
+
e2e: z.ZodOptional<z.ZodBoolean>;
|
|
5790
|
+
client_proof: z.ZodOptional<z.ZodEnum<{
|
|
5791
|
+
none: "none";
|
|
5792
|
+
required: "required";
|
|
5793
|
+
}>>;
|
|
5794
|
+
session_mode: z.ZodOptional<z.ZodEnum<{
|
|
5795
|
+
interactive: "interactive";
|
|
5796
|
+
"non-interactive": "non-interactive";
|
|
5797
|
+
}>>;
|
|
5798
|
+
downstream_transport: z.ZodOptional<z.ZodEnum<{
|
|
5799
|
+
plain: "plain";
|
|
5800
|
+
websocket: "websocket";
|
|
5801
|
+
webtransport: "webtransport";
|
|
5802
|
+
}>>;
|
|
5803
|
+
upstream_transport: z.ZodOptional<z.ZodEnum<{
|
|
5804
|
+
plain: "plain";
|
|
5805
|
+
websocket: "websocket";
|
|
5806
|
+
webtransport: "webtransport";
|
|
5807
|
+
}>>;
|
|
5808
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
5809
|
+
api: "api";
|
|
5810
|
+
human: "human";
|
|
5811
|
+
codex: "codex";
|
|
5812
|
+
automation: "automation";
|
|
5813
|
+
ci: "ci";
|
|
5814
|
+
"scheduled-job": "scheduled-job";
|
|
5815
|
+
}>>;
|
|
5816
|
+
origin_id: z.ZodOptional<z.ZodString>;
|
|
5817
|
+
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
5818
|
+
agent: "agent";
|
|
5819
|
+
app: "app";
|
|
5820
|
+
user: "user";
|
|
5821
|
+
"service-account": "service-account";
|
|
5822
|
+
}>>;
|
|
5823
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
5824
|
+
browser_id: z.ZodOptional<z.ZodString>;
|
|
5825
|
+
}, z.core.$loose>;
|
|
3085
5826
|
declare const streamSummarySchema: z.ZodObject<{
|
|
3086
5827
|
workspace_id: z.ZodOptional<z.ZodString>;
|
|
3087
5828
|
project_id: z.ZodOptional<z.ZodString>;
|
|
@@ -3107,6 +5848,22 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
3107
5848
|
ech: z.ZodOptional<z.ZodBoolean>;
|
|
3108
5849
|
}, z.core.$strip>>;
|
|
3109
5850
|
}, z.core.$strip>;
|
|
5851
|
+
entry: z.ZodOptional<z.ZodObject<{
|
|
5852
|
+
kind: z.ZodEnum<{
|
|
5853
|
+
published_tunnel: "published_tunnel";
|
|
5854
|
+
private_rstream: "private_rstream";
|
|
5855
|
+
proxy_egress: "proxy_egress";
|
|
5856
|
+
internal: "internal";
|
|
5857
|
+
}>;
|
|
5858
|
+
transport: z.ZodOptional<z.ZodEnum<{
|
|
5859
|
+
tls: "tls";
|
|
5860
|
+
dtls: "dtls";
|
|
5861
|
+
quic: "quic";
|
|
5862
|
+
http: "http";
|
|
5863
|
+
rstream: "rstream";
|
|
5864
|
+
tcp: "tcp";
|
|
5865
|
+
}>>;
|
|
5866
|
+
}, z.core.$strip>>;
|
|
3110
5867
|
http: z.ZodOptional<z.ZodObject<{
|
|
3111
5868
|
protocol: z.ZodOptional<z.ZodEnum<{
|
|
3112
5869
|
"http/1.1": "http/1.1";
|
|
@@ -3135,11 +5892,14 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
3135
5892
|
}, z.core.$strip>, z.ZodObject<{
|
|
3136
5893
|
kind: z.ZodLiteral<"rstream_auth">;
|
|
3137
5894
|
source: z.ZodLiteral<"rstream_auth">;
|
|
5895
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5896
|
+
kind: z.ZodLiteral<"rstream">;
|
|
5897
|
+
source: z.ZodOptional<z.ZodLiteral<"private_rstream">>;
|
|
3138
5898
|
}, z.core.$strip>, z.ZodObject<{
|
|
3139
5899
|
kind: z.ZodLiteral<"token">;
|
|
3140
5900
|
source: z.ZodOptional<z.ZodEnum<{
|
|
3141
|
-
query: "query";
|
|
3142
5901
|
unknown: "unknown";
|
|
5902
|
+
query: "query";
|
|
3143
5903
|
authorization: "authorization";
|
|
3144
5904
|
client: "client";
|
|
3145
5905
|
}>>;
|
|
@@ -3159,11 +5919,14 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
3159
5919
|
}, z.core.$strip>, z.ZodObject<{
|
|
3160
5920
|
kind: z.ZodLiteral<"rstream_auth">;
|
|
3161
5921
|
source: z.ZodLiteral<"rstream_auth">;
|
|
5922
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5923
|
+
kind: z.ZodLiteral<"rstream">;
|
|
5924
|
+
source: z.ZodOptional<z.ZodLiteral<"private_rstream">>;
|
|
3162
5925
|
}, z.core.$strip>, z.ZodObject<{
|
|
3163
5926
|
kind: z.ZodLiteral<"token">;
|
|
3164
5927
|
source: z.ZodOptional<z.ZodEnum<{
|
|
3165
|
-
query: "query";
|
|
3166
5928
|
unknown: "unknown";
|
|
5929
|
+
query: "query";
|
|
3167
5930
|
authorization: "authorization";
|
|
3168
5931
|
client: "client";
|
|
3169
5932
|
}>>;
|
|
@@ -3183,48 +5946,48 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
3183
5946
|
why: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3184
5947
|
reason: z.ZodLiteral<"missing_token">;
|
|
3185
5948
|
source: z.ZodEnum<{
|
|
3186
|
-
query: "query";
|
|
3187
5949
|
unknown: "unknown";
|
|
5950
|
+
query: "query";
|
|
3188
5951
|
authorization: "authorization";
|
|
3189
5952
|
client: "client";
|
|
3190
5953
|
}>;
|
|
3191
5954
|
}, z.core.$strip>, z.ZodObject<{
|
|
3192
5955
|
reason: z.ZodLiteral<"invalid_token">;
|
|
3193
5956
|
source: z.ZodEnum<{
|
|
3194
|
-
query: "query";
|
|
3195
5957
|
unknown: "unknown";
|
|
5958
|
+
query: "query";
|
|
3196
5959
|
authorization: "authorization";
|
|
3197
5960
|
client: "client";
|
|
3198
5961
|
}>;
|
|
3199
5962
|
}, z.core.$strip>, z.ZodObject<{
|
|
3200
5963
|
reason: z.ZodLiteral<"expired_token">;
|
|
3201
5964
|
source: z.ZodEnum<{
|
|
3202
|
-
query: "query";
|
|
3203
5965
|
unknown: "unknown";
|
|
5966
|
+
query: "query";
|
|
3204
5967
|
authorization: "authorization";
|
|
3205
5968
|
client: "client";
|
|
3206
5969
|
}>;
|
|
3207
5970
|
}, z.core.$strip>, z.ZodObject<{
|
|
3208
5971
|
reason: z.ZodLiteral<"invalid_secret">;
|
|
3209
5972
|
source: z.ZodEnum<{
|
|
3210
|
-
query: "query";
|
|
3211
5973
|
unknown: "unknown";
|
|
5974
|
+
query: "query";
|
|
3212
5975
|
authorization: "authorization";
|
|
3213
5976
|
client: "client";
|
|
3214
5977
|
}>;
|
|
3215
5978
|
}, z.core.$strip>, z.ZodObject<{
|
|
3216
5979
|
reason: z.ZodLiteral<"user_mismatch">;
|
|
3217
5980
|
source: z.ZodEnum<{
|
|
3218
|
-
query: "query";
|
|
3219
5981
|
unknown: "unknown";
|
|
5982
|
+
query: "query";
|
|
3220
5983
|
authorization: "authorization";
|
|
3221
5984
|
client: "client";
|
|
3222
5985
|
}>;
|
|
3223
5986
|
}, z.core.$strip>, z.ZodObject<{
|
|
3224
5987
|
reason: z.ZodLiteral<"insufficient_scope">;
|
|
3225
5988
|
source: z.ZodEnum<{
|
|
3226
|
-
query: "query";
|
|
3227
5989
|
unknown: "unknown";
|
|
5990
|
+
query: "query";
|
|
3228
5991
|
authorization: "authorization";
|
|
3229
5992
|
client: "client";
|
|
3230
5993
|
}>;
|
|
@@ -3239,8 +6002,8 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
3239
6002
|
}>;
|
|
3240
6003
|
value: z.ZodOptional<z.ZodString>;
|
|
3241
6004
|
source: z.ZodEnum<{
|
|
3242
|
-
query: "query";
|
|
3243
6005
|
unknown: "unknown";
|
|
6006
|
+
query: "query";
|
|
3244
6007
|
authorization: "authorization";
|
|
3245
6008
|
client: "client";
|
|
3246
6009
|
}>;
|
|
@@ -3298,48 +6061,48 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
3298
6061
|
why: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3299
6062
|
reason: z.ZodLiteral<"missing_token">;
|
|
3300
6063
|
source: z.ZodEnum<{
|
|
3301
|
-
query: "query";
|
|
3302
6064
|
unknown: "unknown";
|
|
6065
|
+
query: "query";
|
|
3303
6066
|
authorization: "authorization";
|
|
3304
6067
|
client: "client";
|
|
3305
6068
|
}>;
|
|
3306
6069
|
}, z.core.$strip>, z.ZodObject<{
|
|
3307
6070
|
reason: z.ZodLiteral<"invalid_token">;
|
|
3308
6071
|
source: z.ZodEnum<{
|
|
3309
|
-
query: "query";
|
|
3310
6072
|
unknown: "unknown";
|
|
6073
|
+
query: "query";
|
|
3311
6074
|
authorization: "authorization";
|
|
3312
6075
|
client: "client";
|
|
3313
6076
|
}>;
|
|
3314
6077
|
}, z.core.$strip>, z.ZodObject<{
|
|
3315
6078
|
reason: z.ZodLiteral<"expired_token">;
|
|
3316
6079
|
source: z.ZodEnum<{
|
|
3317
|
-
query: "query";
|
|
3318
6080
|
unknown: "unknown";
|
|
6081
|
+
query: "query";
|
|
3319
6082
|
authorization: "authorization";
|
|
3320
6083
|
client: "client";
|
|
3321
6084
|
}>;
|
|
3322
6085
|
}, z.core.$strip>, z.ZodObject<{
|
|
3323
6086
|
reason: z.ZodLiteral<"invalid_secret">;
|
|
3324
6087
|
source: z.ZodEnum<{
|
|
3325
|
-
query: "query";
|
|
3326
6088
|
unknown: "unknown";
|
|
6089
|
+
query: "query";
|
|
3327
6090
|
authorization: "authorization";
|
|
3328
6091
|
client: "client";
|
|
3329
6092
|
}>;
|
|
3330
6093
|
}, z.core.$strip>, z.ZodObject<{
|
|
3331
6094
|
reason: z.ZodLiteral<"user_mismatch">;
|
|
3332
6095
|
source: z.ZodEnum<{
|
|
3333
|
-
query: "query";
|
|
3334
6096
|
unknown: "unknown";
|
|
6097
|
+
query: "query";
|
|
3335
6098
|
authorization: "authorization";
|
|
3336
6099
|
client: "client";
|
|
3337
6100
|
}>;
|
|
3338
6101
|
}, z.core.$strip>, z.ZodObject<{
|
|
3339
6102
|
reason: z.ZodLiteral<"insufficient_scope">;
|
|
3340
6103
|
source: z.ZodEnum<{
|
|
3341
|
-
query: "query";
|
|
3342
6104
|
unknown: "unknown";
|
|
6105
|
+
query: "query";
|
|
3343
6106
|
authorization: "authorization";
|
|
3344
6107
|
client: "client";
|
|
3345
6108
|
}>;
|
|
@@ -3354,8 +6117,8 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
3354
6117
|
}>;
|
|
3355
6118
|
value: z.ZodOptional<z.ZodString>;
|
|
3356
6119
|
source: z.ZodEnum<{
|
|
3357
|
-
query: "query";
|
|
3358
6120
|
unknown: "unknown";
|
|
6121
|
+
query: "query";
|
|
3359
6122
|
authorization: "authorization";
|
|
3360
6123
|
client: "client";
|
|
3361
6124
|
}>;
|
|
@@ -3386,6 +6149,66 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
3386
6149
|
message: z.ZodOptional<z.ZodString>;
|
|
3387
6150
|
}, z.core.$strip>], "kind">;
|
|
3388
6151
|
}, z.core.$strip>], "decision">;
|
|
6152
|
+
webtty: z.ZodOptional<z.ZodObject<{
|
|
6153
|
+
server_id: z.ZodOptional<z.ZodString>;
|
|
6154
|
+
session_id: z.ZodOptional<z.ZodString>;
|
|
6155
|
+
session_group_id: z.ZodOptional<z.ZodString>;
|
|
6156
|
+
participant_id: z.ZodOptional<z.ZodString>;
|
|
6157
|
+
participant_role: z.ZodOptional<z.ZodEnum<{
|
|
6158
|
+
controller: "controller";
|
|
6159
|
+
spectator: "spectator";
|
|
6160
|
+
}>>;
|
|
6161
|
+
controller: z.ZodOptional<z.ZodBoolean>;
|
|
6162
|
+
recording_mode: z.ZodOptional<z.ZodEnum<{
|
|
6163
|
+
private: "private";
|
|
6164
|
+
recorded: "recorded";
|
|
6165
|
+
}>>;
|
|
6166
|
+
encryption_mode: z.ZodOptional<z.ZodEnum<{
|
|
6167
|
+
managed: "managed";
|
|
6168
|
+
e2e: "e2e";
|
|
6169
|
+
}>>;
|
|
6170
|
+
encryption_policy: z.ZodOptional<z.ZodEnum<{
|
|
6171
|
+
disabled: "disabled";
|
|
6172
|
+
explicit_key: "explicit_key";
|
|
6173
|
+
workspace_managed: "workspace_managed";
|
|
6174
|
+
}>>;
|
|
6175
|
+
e2e: z.ZodOptional<z.ZodBoolean>;
|
|
6176
|
+
client_proof: z.ZodOptional<z.ZodEnum<{
|
|
6177
|
+
none: "none";
|
|
6178
|
+
required: "required";
|
|
6179
|
+
}>>;
|
|
6180
|
+
session_mode: z.ZodOptional<z.ZodEnum<{
|
|
6181
|
+
interactive: "interactive";
|
|
6182
|
+
"non-interactive": "non-interactive";
|
|
6183
|
+
}>>;
|
|
6184
|
+
downstream_transport: z.ZodOptional<z.ZodEnum<{
|
|
6185
|
+
plain: "plain";
|
|
6186
|
+
websocket: "websocket";
|
|
6187
|
+
webtransport: "webtransport";
|
|
6188
|
+
}>>;
|
|
6189
|
+
upstream_transport: z.ZodOptional<z.ZodEnum<{
|
|
6190
|
+
plain: "plain";
|
|
6191
|
+
websocket: "websocket";
|
|
6192
|
+
webtransport: "webtransport";
|
|
6193
|
+
}>>;
|
|
6194
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
6195
|
+
api: "api";
|
|
6196
|
+
human: "human";
|
|
6197
|
+
codex: "codex";
|
|
6198
|
+
automation: "automation";
|
|
6199
|
+
ci: "ci";
|
|
6200
|
+
"scheduled-job": "scheduled-job";
|
|
6201
|
+
}>>;
|
|
6202
|
+
origin_id: z.ZodOptional<z.ZodString>;
|
|
6203
|
+
initiator_kind: z.ZodOptional<z.ZodEnum<{
|
|
6204
|
+
agent: "agent";
|
|
6205
|
+
app: "app";
|
|
6206
|
+
user: "user";
|
|
6207
|
+
"service-account": "service-account";
|
|
6208
|
+
}>>;
|
|
6209
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
6210
|
+
browser_id: z.ZodOptional<z.ZodString>;
|
|
6211
|
+
}, z.core.$loose>>;
|
|
3389
6212
|
response: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3390
6213
|
outcome: z.ZodLiteral<"connected">;
|
|
3391
6214
|
established_at: z.ZodString;
|
|
@@ -3417,8 +6240,8 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
3417
6240
|
server: "server";
|
|
3418
6241
|
}>;
|
|
3419
6242
|
reason: z.ZodEnum<{
|
|
3420
|
-
unknown: "unknown";
|
|
3421
6243
|
error: "error";
|
|
6244
|
+
unknown: "unknown";
|
|
3422
6245
|
timeout: "timeout";
|
|
3423
6246
|
closed: "closed";
|
|
3424
6247
|
reset: "reset";
|
|
@@ -3448,48 +6271,48 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
3448
6271
|
why: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3449
6272
|
reason: z.ZodLiteral<"missing_token">;
|
|
3450
6273
|
source: z.ZodEnum<{
|
|
3451
|
-
query: "query";
|
|
3452
6274
|
unknown: "unknown";
|
|
6275
|
+
query: "query";
|
|
3453
6276
|
authorization: "authorization";
|
|
3454
6277
|
client: "client";
|
|
3455
6278
|
}>;
|
|
3456
6279
|
}, z.core.$strip>, z.ZodObject<{
|
|
3457
6280
|
reason: z.ZodLiteral<"invalid_token">;
|
|
3458
6281
|
source: z.ZodEnum<{
|
|
3459
|
-
query: "query";
|
|
3460
6282
|
unknown: "unknown";
|
|
6283
|
+
query: "query";
|
|
3461
6284
|
authorization: "authorization";
|
|
3462
6285
|
client: "client";
|
|
3463
6286
|
}>;
|
|
3464
6287
|
}, z.core.$strip>, z.ZodObject<{
|
|
3465
6288
|
reason: z.ZodLiteral<"expired_token">;
|
|
3466
6289
|
source: z.ZodEnum<{
|
|
3467
|
-
query: "query";
|
|
3468
6290
|
unknown: "unknown";
|
|
6291
|
+
query: "query";
|
|
3469
6292
|
authorization: "authorization";
|
|
3470
6293
|
client: "client";
|
|
3471
6294
|
}>;
|
|
3472
6295
|
}, z.core.$strip>, z.ZodObject<{
|
|
3473
6296
|
reason: z.ZodLiteral<"invalid_secret">;
|
|
3474
6297
|
source: z.ZodEnum<{
|
|
3475
|
-
query: "query";
|
|
3476
6298
|
unknown: "unknown";
|
|
6299
|
+
query: "query";
|
|
3477
6300
|
authorization: "authorization";
|
|
3478
6301
|
client: "client";
|
|
3479
6302
|
}>;
|
|
3480
6303
|
}, z.core.$strip>, z.ZodObject<{
|
|
3481
6304
|
reason: z.ZodLiteral<"user_mismatch">;
|
|
3482
6305
|
source: z.ZodEnum<{
|
|
3483
|
-
query: "query";
|
|
3484
6306
|
unknown: "unknown";
|
|
6307
|
+
query: "query";
|
|
3485
6308
|
authorization: "authorization";
|
|
3486
6309
|
client: "client";
|
|
3487
6310
|
}>;
|
|
3488
6311
|
}, z.core.$strip>, z.ZodObject<{
|
|
3489
6312
|
reason: z.ZodLiteral<"insufficient_scope">;
|
|
3490
6313
|
source: z.ZodEnum<{
|
|
3491
|
-
query: "query";
|
|
3492
6314
|
unknown: "unknown";
|
|
6315
|
+
query: "query";
|
|
3493
6316
|
authorization: "authorization";
|
|
3494
6317
|
client: "client";
|
|
3495
6318
|
}>;
|
|
@@ -3504,8 +6327,8 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
3504
6327
|
}>;
|
|
3505
6328
|
value: z.ZodOptional<z.ZodString>;
|
|
3506
6329
|
source: z.ZodEnum<{
|
|
3507
|
-
query: "query";
|
|
3508
6330
|
unknown: "unknown";
|
|
6331
|
+
query: "query";
|
|
3509
6332
|
authorization: "authorization";
|
|
3510
6333
|
client: "client";
|
|
3511
6334
|
}>;
|
|
@@ -3561,8 +6384,8 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
3561
6384
|
server: "server";
|
|
3562
6385
|
}>;
|
|
3563
6386
|
reason: z.ZodEnum<{
|
|
3564
|
-
unknown: "unknown";
|
|
3565
6387
|
error: "error";
|
|
6388
|
+
unknown: "unknown";
|
|
3566
6389
|
timeout: "timeout";
|
|
3567
6390
|
closed: "closed";
|
|
3568
6391
|
reset: "reset";
|
|
@@ -3586,6 +6409,8 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
3586
6409
|
type StreamSummary = z.infer<typeof streamSummarySchema>;
|
|
3587
6410
|
type StreamTLSInfo = z.infer<typeof streamTLSInfoSchema>;
|
|
3588
6411
|
type StreamEndpoint = z.infer<typeof streamEndpointSchema>;
|
|
6412
|
+
type StreamEntry = z.infer<typeof streamEntrySchema>;
|
|
6413
|
+
declare function formatStreamAccessPath(entry: Pick<StreamEntry, "kind"> | null | undefined): string | undefined;
|
|
3589
6414
|
|
|
3590
6415
|
/**
|
|
3591
6416
|
* Configuration for the Watch connection.
|
|
@@ -3650,8 +6475,29 @@ declare class Watch {
|
|
|
3650
6475
|
|
|
3651
6476
|
declare const webttyServerSchema: z.ZodObject<{
|
|
3652
6477
|
tunnel_id: z.ZodString;
|
|
6478
|
+
tunnel_protocol: z.ZodEnum<{
|
|
6479
|
+
http: "http";
|
|
6480
|
+
webtty: "webtty";
|
|
6481
|
+
}>;
|
|
6482
|
+
managed: z.ZodBoolean;
|
|
3653
6483
|
host: z.ZodString;
|
|
3654
6484
|
token_auth: z.ZodBoolean;
|
|
6485
|
+
server_id: z.ZodOptional<z.ZodString>;
|
|
6486
|
+
server_name: z.ZodOptional<z.ZodString>;
|
|
6487
|
+
host_key_id: z.ZodOptional<z.ZodString>;
|
|
6488
|
+
e2e: z.ZodOptional<z.ZodEnum<{
|
|
6489
|
+
disabled: "disabled";
|
|
6490
|
+
required: "required";
|
|
6491
|
+
}>>;
|
|
6492
|
+
client_proof: z.ZodOptional<z.ZodEnum<{
|
|
6493
|
+
none: "none";
|
|
6494
|
+
required: "required";
|
|
6495
|
+
}>>;
|
|
6496
|
+
encryption_policy: z.ZodOptional<z.ZodEnum<{
|
|
6497
|
+
disabled: "disabled";
|
|
6498
|
+
explicit_key: "explicit_key";
|
|
6499
|
+
workspace_managed: "workspace_managed";
|
|
6500
|
+
}>>;
|
|
3655
6501
|
capabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3656
6502
|
exec: "exec";
|
|
3657
6503
|
fs: "fs";
|
|
@@ -3682,4 +6528,4 @@ declare const webttyServerSchema: z.ZodObject<{
|
|
|
3682
6528
|
type WebTTYServer = z.infer<typeof webttyServerSchema>;
|
|
3683
6529
|
declare function parseWebTTYServers(tunnels: Tunnel[]): WebTTYServer[];
|
|
3684
6530
|
|
|
3685
|
-
export { type Client, type ClientFilter, type CreateAPITURNCredentialsOptions, type CreateAPPTURNCredentialsOptions, type CreateAuthTokenFromClientCredentialsOptions, type CreatePATTURNCredentialsOptions, type CreateTURNCredentialsOptions, type Event, type InitialState, type ListClientsParams, type ListClientsResponse, type ListTunnelsParams, type ListTunnelsResponse, type ProjectLogEvent, type RstreamAuth, RstreamAuthResource, RstreamAuthResource as RstreamAuthRessource, RstreamTunnelsClient as RstreamClient, RstreamClientsResource, RstreamClientsResource as RstreamClientsRessource, RstreamTURNResource, RstreamTunnelsClient, type RstreamTunnelsConfig, RstreamTunnelsResource, RstreamTunnelsResource as RstreamTunnelsRessource, RstreamWebhookResource, RstreamWebhookResource as RstreamWebhookRessource, type StreamEndpoint, type StreamSummary, type StreamTLSInfo, type TURNCredentialMode, type TunnelFilter, RstreamTunnelsClient as Tunnels, type TunnelsResolutionConfig, Watch, type WatchConfig, type WatchWsEvents, type WebTTYServer, type WebhookEvent, type WsEvent, clientFilterSchema, clientSchema, createAPITURNCredentials, createAPPTURNCredentials, createAuthTokenFromClientCredentials, createPATTURNCredentials, createTURNCredentials, eventSchema, formatTunnelHost, listClientsParamsSchema, listClientsResponseSchema, listTunnelsParamsSchema, listTunnelsResponseSchema, normalizeEngineAddress, parseWebTTYServers, projectLogEventsSchema, resolveControlPlaneCredentials, resolveManagedTunnelsProject, resolveTunnelsAPIURL, resolveTunnelsCredentials, resolveTunnelsEngine, streamEndpointSchema, streamSummaryEventSchema, streamSummarySchema, streamTLSInfoSchema, tunnelFilterSchema, turnCredentialModeSchema, webhookEventsSchema, webttyServerSchema, wsEventsSchema };
|
|
6531
|
+
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, 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 };
|