@rstreamlabs/tunnels 3.2.1 → 3.5.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 +17 -1
- package/dist/chunk-6OUCIT5G.mjs +1330 -0
- package/dist/index.d.mts +2918 -83
- package/dist/index.d.ts +2918 -83
- package/dist/index.js +862 -165
- package/dist/index.mjs +109 -3
- 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 +5 -5
- package/dist/chunk-VUAM3LRU.mjs +0 -710
package/dist/index.d.mts
CHANGED
|
@@ -112,6 +112,7 @@ declare const tunnelFilterSchema: z.ZodObject<{
|
|
|
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<{
|
|
@@ -143,6 +144,7 @@ declare const listTunnelsParamsSchema: z.ZodObject<{
|
|
|
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>>;
|
|
@@ -219,9 +222,9 @@ declare class RstreamTunnelsResource {
|
|
|
219
222
|
}
|
|
220
223
|
|
|
221
224
|
declare const turnCredentialModeSchema: z.ZodEnum<{
|
|
225
|
+
api: "api";
|
|
222
226
|
app: "app";
|
|
223
227
|
pat: "pat";
|
|
224
|
-
api: "api";
|
|
225
228
|
}>;
|
|
226
229
|
type TURNCredentialMode = z.infer<typeof turnCredentialModeSchema>;
|
|
227
230
|
interface CreateAPITURNCredentialsOptions {
|
|
@@ -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
|
+
http: "http";
|
|
402
|
+
rstream: "rstream";
|
|
403
|
+
tls: "tls";
|
|
404
|
+
dtls: "dtls";
|
|
405
|
+
quic: "quic";
|
|
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,6 +434,9 @@ 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<{
|
|
@@ -438,6 +461,9 @@ 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<{
|
|
@@ -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
|
+
recorded: "recorded";
|
|
706
|
+
private: "private";
|
|
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
|
+
human: "human";
|
|
738
|
+
codex: "codex";
|
|
739
|
+
api: "api";
|
|
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
|
+
user: "user";
|
|
748
|
+
app: "app";
|
|
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;
|
|
@@ -698,8 +784,8 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
698
784
|
reason: z.ZodEnum<{
|
|
699
785
|
unknown: "unknown";
|
|
700
786
|
error: "error";
|
|
701
|
-
timeout: "timeout";
|
|
702
787
|
closed: "closed";
|
|
788
|
+
timeout: "timeout";
|
|
703
789
|
reset: "reset";
|
|
704
790
|
}>;
|
|
705
791
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -842,8 +928,8 @@ declare const streamSummaryEventSchema: z.ZodObject<{
|
|
|
842
928
|
reason: z.ZodEnum<{
|
|
843
929
|
unknown: "unknown";
|
|
844
930
|
error: "error";
|
|
845
|
-
timeout: "timeout";
|
|
846
931
|
closed: "closed";
|
|
932
|
+
timeout: "timeout";
|
|
847
933
|
reset: "reset";
|
|
848
934
|
}>;
|
|
849
935
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -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
|
+
opening: "opening";
|
|
1331
|
+
active: "active";
|
|
1332
|
+
closing: "closing";
|
|
1333
|
+
closed: "closed";
|
|
1334
|
+
errored: "errored";
|
|
1335
|
+
}>;
|
|
1336
|
+
session_mode: z.ZodEnum<{
|
|
1337
|
+
interactive: "interactive";
|
|
1338
|
+
"non-interactive": "non-interactive";
|
|
1339
|
+
}>;
|
|
1340
|
+
recording_mode: z.ZodEnum<{
|
|
1341
|
+
recorded: "recorded";
|
|
1342
|
+
private: "private";
|
|
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
|
+
human: "human";
|
|
1362
|
+
codex: "codex";
|
|
1363
|
+
api: "api";
|
|
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
|
+
user: "user";
|
|
1373
|
+
app: "app";
|
|
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
|
+
opening: "opening";
|
|
1414
|
+
active: "active";
|
|
1415
|
+
closing: "closing";
|
|
1416
|
+
closed: "closed";
|
|
1417
|
+
errored: "errored";
|
|
1418
|
+
}>;
|
|
1419
|
+
session_mode: z.ZodEnum<{
|
|
1420
|
+
interactive: "interactive";
|
|
1421
|
+
"non-interactive": "non-interactive";
|
|
1422
|
+
}>;
|
|
1423
|
+
recording_mode: z.ZodEnum<{
|
|
1424
|
+
recorded: "recorded";
|
|
1425
|
+
private: "private";
|
|
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
|
+
human: "human";
|
|
1445
|
+
codex: "codex";
|
|
1446
|
+
api: "api";
|
|
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
|
+
user: "user";
|
|
1456
|
+
app: "app";
|
|
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
|
+
human: "human";
|
|
1484
|
+
codex: "codex";
|
|
1485
|
+
api: "api";
|
|
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
|
+
user: "user";
|
|
1495
|
+
app: "app";
|
|
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
|
+
opening: "opening";
|
|
1527
|
+
active: "active";
|
|
1528
|
+
closing: "closing";
|
|
1529
|
+
closed: "closed";
|
|
1530
|
+
errored: "errored";
|
|
1531
|
+
}>;
|
|
1532
|
+
session_mode: z.ZodEnum<{
|
|
1533
|
+
interactive: "interactive";
|
|
1534
|
+
"non-interactive": "non-interactive";
|
|
1535
|
+
}>;
|
|
1536
|
+
recording_mode: z.ZodEnum<{
|
|
1537
|
+
recorded: "recorded";
|
|
1538
|
+
private: "private";
|
|
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
|
+
human: "human";
|
|
1558
|
+
codex: "codex";
|
|
1559
|
+
api: "api";
|
|
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
|
+
user: "user";
|
|
1569
|
+
app: "app";
|
|
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
|
+
pending: "pending";
|
|
1694
|
+
granted: "granted";
|
|
1695
|
+
refused: "refused";
|
|
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
|
+
pending: "pending";
|
|
1723
|
+
granted: "granted";
|
|
1724
|
+
refused: "refused";
|
|
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
|
+
pending: "pending";
|
|
1752
|
+
granted: "granted";
|
|
1753
|
+
refused: "refused";
|
|
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
|
+
pending: "pending";
|
|
1781
|
+
granted: "granted";
|
|
1782
|
+
refused: "refused";
|
|
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,35 +1979,533 @@ 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
|
-
|
|
1992
|
+
initiator_user_id: z.ZodOptional<z.ZodString>;
|
|
1993
|
+
group_id: z.ZodOptional<z.ZodString>;
|
|
1994
|
+
status: z.ZodEnum<{
|
|
1995
|
+
opening: "opening";
|
|
1996
|
+
active: "active";
|
|
1997
|
+
closing: "closing";
|
|
1998
|
+
closed: "closed";
|
|
1999
|
+
errored: "errored";
|
|
2000
|
+
}>;
|
|
2001
|
+
session_mode: z.ZodEnum<{
|
|
2002
|
+
interactive: "interactive";
|
|
2003
|
+
"non-interactive": "non-interactive";
|
|
2004
|
+
}>;
|
|
2005
|
+
recording_mode: z.ZodEnum<{
|
|
2006
|
+
recorded: "recorded";
|
|
2007
|
+
private: "private";
|
|
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
|
+
human: "human";
|
|
2027
|
+
codex: "codex";
|
|
2028
|
+
api: "api";
|
|
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
|
+
user: "user";
|
|
2038
|
+
app: "app";
|
|
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
|
+
opening: "opening";
|
|
2079
|
+
active: "active";
|
|
2080
|
+
closing: "closing";
|
|
2081
|
+
closed: "closed";
|
|
2082
|
+
errored: "errored";
|
|
2083
|
+
}>;
|
|
2084
|
+
session_mode: z.ZodEnum<{
|
|
2085
|
+
interactive: "interactive";
|
|
2086
|
+
"non-interactive": "non-interactive";
|
|
2087
|
+
}>;
|
|
2088
|
+
recording_mode: z.ZodEnum<{
|
|
2089
|
+
recorded: "recorded";
|
|
2090
|
+
private: "private";
|
|
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
|
+
human: "human";
|
|
2110
|
+
codex: "codex";
|
|
2111
|
+
api: "api";
|
|
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
|
+
user: "user";
|
|
2121
|
+
app: "app";
|
|
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
|
+
human: "human";
|
|
2149
|
+
codex: "codex";
|
|
2150
|
+
api: "api";
|
|
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
|
+
user: "user";
|
|
2160
|
+
app: "app";
|
|
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>>;
|
|
1419
2168
|
created_at: z.ZodString;
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
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
|
+
opening: "opening";
|
|
2192
|
+
active: "active";
|
|
2193
|
+
closing: "closing";
|
|
2194
|
+
closed: "closed";
|
|
2195
|
+
errored: "errored";
|
|
2196
|
+
}>;
|
|
2197
|
+
session_mode: z.ZodEnum<{
|
|
2198
|
+
interactive: "interactive";
|
|
2199
|
+
"non-interactive": "non-interactive";
|
|
2200
|
+
}>;
|
|
2201
|
+
recording_mode: z.ZodEnum<{
|
|
2202
|
+
recorded: "recorded";
|
|
2203
|
+
private: "private";
|
|
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
|
+
human: "human";
|
|
2223
|
+
codex: "codex";
|
|
2224
|
+
api: "api";
|
|
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
|
+
user: "user";
|
|
2234
|
+
app: "app";
|
|
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
|
+
pending: "pending";
|
|
2359
|
+
granted: "granted";
|
|
2360
|
+
refused: "refused";
|
|
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
|
+
pending: "pending";
|
|
2388
|
+
granted: "granted";
|
|
2389
|
+
refused: "refused";
|
|
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
|
+
pending: "pending";
|
|
2417
|
+
granted: "granted";
|
|
2418
|
+
refused: "refused";
|
|
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
|
+
pending: "pending";
|
|
2446
|
+
granted: "granted";
|
|
2447
|
+
refused: "refused";
|
|
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>;
|
|
2483
|
+
}, z.core.$strip>>;
|
|
2484
|
+
tls: z.ZodOptional<z.ZodObject<{
|
|
2485
|
+
version: z.ZodOptional<z.ZodString>;
|
|
2486
|
+
cipher: z.ZodOptional<z.ZodString>;
|
|
2487
|
+
protocol: z.ZodOptional<z.ZodString>;
|
|
2488
|
+
curve: z.ZodOptional<z.ZodString>;
|
|
2489
|
+
ech: z.ZodOptional<z.ZodBoolean>;
|
|
2490
|
+
}, z.core.$strip>>;
|
|
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
|
+
http: "http";
|
|
2501
|
+
rstream: "rstream";
|
|
2502
|
+
tls: "tls";
|
|
2503
|
+
dtls: "dtls";
|
|
2504
|
+
quic: "quic";
|
|
2505
|
+
tcp: "tcp";
|
|
2506
|
+
}>>;
|
|
2507
|
+
}, z.core.$strip>>;
|
|
2508
|
+
http: z.ZodOptional<z.ZodObject<{
|
|
1437
2509
|
protocol: z.ZodOptional<z.ZodEnum<{
|
|
1438
2510
|
"http/1.1": "http/1.1";
|
|
1439
2511
|
h2: "h2";
|
|
@@ -1461,6 +2533,9 @@ 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<{
|
|
@@ -1485,6 +2560,9 @@ 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<{
|
|
@@ -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
|
+
recorded: "recorded";
|
|
2805
|
+
private: "private";
|
|
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
|
+
human: "human";
|
|
2837
|
+
codex: "codex";
|
|
2838
|
+
api: "api";
|
|
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
|
+
user: "user";
|
|
2847
|
+
app: "app";
|
|
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;
|
|
@@ -1745,8 +2883,8 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
1745
2883
|
reason: z.ZodEnum<{
|
|
1746
2884
|
unknown: "unknown";
|
|
1747
2885
|
error: "error";
|
|
1748
|
-
timeout: "timeout";
|
|
1749
2886
|
closed: "closed";
|
|
2887
|
+
timeout: "timeout";
|
|
1750
2888
|
reset: "reset";
|
|
1751
2889
|
}>;
|
|
1752
2890
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1889,8 +3027,8 @@ declare const projectLogEventsSchema: z.ZodObject<{
|
|
|
1889
3027
|
reason: z.ZodEnum<{
|
|
1890
3028
|
unknown: "unknown";
|
|
1891
3029
|
error: "error";
|
|
1892
|
-
timeout: "timeout";
|
|
1893
3030
|
closed: "closed";
|
|
3031
|
+
timeout: "timeout";
|
|
1894
3032
|
reset: "reset";
|
|
1895
3033
|
}>;
|
|
1896
3034
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -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,6 +3413,488 @@ 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>;
|
|
3416
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
3417
|
+
type: z.ZodLiteral<"webtty.session.created">;
|
|
3418
|
+
object: z.ZodObject<{
|
|
3419
|
+
id: z.ZodString;
|
|
3420
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
3421
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
3422
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
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
|
+
opening: "opening";
|
|
3430
|
+
active: "active";
|
|
3431
|
+
closing: "closing";
|
|
3432
|
+
closed: "closed";
|
|
3433
|
+
errored: "errored";
|
|
3434
|
+
}>;
|
|
3435
|
+
session_mode: z.ZodEnum<{
|
|
3436
|
+
interactive: "interactive";
|
|
3437
|
+
"non-interactive": "non-interactive";
|
|
3438
|
+
}>;
|
|
3439
|
+
recording_mode: z.ZodEnum<{
|
|
3440
|
+
recorded: "recorded";
|
|
3441
|
+
private: "private";
|
|
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
|
+
human: "human";
|
|
3461
|
+
codex: "codex";
|
|
3462
|
+
api: "api";
|
|
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
|
+
user: "user";
|
|
3472
|
+
app: "app";
|
|
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
|
+
opening: "opening";
|
|
3513
|
+
active: "active";
|
|
3514
|
+
closing: "closing";
|
|
3515
|
+
closed: "closed";
|
|
3516
|
+
errored: "errored";
|
|
3517
|
+
}>;
|
|
3518
|
+
session_mode: z.ZodEnum<{
|
|
3519
|
+
interactive: "interactive";
|
|
3520
|
+
"non-interactive": "non-interactive";
|
|
3521
|
+
}>;
|
|
3522
|
+
recording_mode: z.ZodEnum<{
|
|
3523
|
+
recorded: "recorded";
|
|
3524
|
+
private: "private";
|
|
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
|
+
human: "human";
|
|
3544
|
+
codex: "codex";
|
|
3545
|
+
api: "api";
|
|
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
|
+
user: "user";
|
|
3555
|
+
app: "app";
|
|
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
|
+
human: "human";
|
|
3583
|
+
codex: "codex";
|
|
3584
|
+
api: "api";
|
|
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
|
+
user: "user";
|
|
3594
|
+
app: "app";
|
|
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
|
+
opening: "opening";
|
|
3626
|
+
active: "active";
|
|
3627
|
+
closing: "closing";
|
|
3628
|
+
closed: "closed";
|
|
3629
|
+
errored: "errored";
|
|
3630
|
+
}>;
|
|
3631
|
+
session_mode: z.ZodEnum<{
|
|
3632
|
+
interactive: "interactive";
|
|
3633
|
+
"non-interactive": "non-interactive";
|
|
3634
|
+
}>;
|
|
3635
|
+
recording_mode: z.ZodEnum<{
|
|
3636
|
+
recorded: "recorded";
|
|
3637
|
+
private: "private";
|
|
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
|
+
human: "human";
|
|
3657
|
+
codex: "codex";
|
|
3658
|
+
api: "api";
|
|
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
|
+
user: "user";
|
|
3668
|
+
app: "app";
|
|
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
|
+
pending: "pending";
|
|
3793
|
+
granted: "granted";
|
|
3794
|
+
refused: "refused";
|
|
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
|
+
pending: "pending";
|
|
3822
|
+
granted: "granted";
|
|
3823
|
+
refused: "refused";
|
|
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
|
+
pending: "pending";
|
|
3851
|
+
granted: "granted";
|
|
3852
|
+
refused: "refused";
|
|
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
|
+
pending: "pending";
|
|
3880
|
+
granted: "granted";
|
|
3881
|
+
refused: "refused";
|
|
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>;
|
|
2274
3898
|
}, z.core.$loose>]>, z.ZodUnion<readonly [z.ZodObject<{
|
|
2275
3899
|
type: z.ZodLiteral<"client.created">;
|
|
2276
3900
|
object: z.ZodObject<{
|
|
@@ -2357,6 +3981,69 @@ 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";
|
|
3985
|
+
}>>;
|
|
3986
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3987
|
+
geo_ip: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3988
|
+
trusted_ips: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3989
|
+
host: z.ZodOptional<z.ZodString>;
|
|
3990
|
+
hostname: z.ZodOptional<z.ZodString>;
|
|
3991
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
3992
|
+
tls_mode: z.ZodOptional<z.ZodEnum<{
|
|
3993
|
+
passthrough: "passthrough";
|
|
3994
|
+
terminated: "terminated";
|
|
3995
|
+
}>>;
|
|
3996
|
+
tls_alpns: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3997
|
+
tls_min_version: z.ZodOptional<z.ZodString>;
|
|
3998
|
+
tls_ciphers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3999
|
+
mtls_auth: z.ZodOptional<z.ZodBoolean>;
|
|
4000
|
+
http_version: z.ZodOptional<z.ZodEnum<{
|
|
4001
|
+
"http/1.1": "http/1.1";
|
|
4002
|
+
h2: "h2";
|
|
4003
|
+
h2c: "h2c";
|
|
4004
|
+
h3: "h3";
|
|
4005
|
+
}>>;
|
|
4006
|
+
http_use_tls: z.ZodOptional<z.ZodBoolean>;
|
|
4007
|
+
upstream_tls: z.ZodOptional<z.ZodBoolean>;
|
|
4008
|
+
token_auth: z.ZodOptional<z.ZodBoolean>;
|
|
4009
|
+
rstream_auth: z.ZodOptional<z.ZodBoolean>;
|
|
4010
|
+
challenge_mode: z.ZodOptional<z.ZodBoolean>;
|
|
4011
|
+
}, z.core.$strip>;
|
|
4012
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4013
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
4014
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
4015
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
4016
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
4017
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
4018
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
4019
|
+
type: z.ZodLiteral<"tunnel.deleted">;
|
|
4020
|
+
object: z.ZodObject<{
|
|
4021
|
+
client_id: z.ZodString;
|
|
4022
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
4023
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
4024
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
4025
|
+
cluster_id: z.ZodOptional<z.ZodString>;
|
|
4026
|
+
plan: z.ZodOptional<z.ZodString>;
|
|
4027
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
4028
|
+
region: z.ZodOptional<z.ZodString>;
|
|
4029
|
+
status: z.ZodEnum<{
|
|
4030
|
+
online: "online";
|
|
4031
|
+
offline: "offline";
|
|
4032
|
+
}>;
|
|
4033
|
+
id: z.ZodString;
|
|
4034
|
+
creation_date: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodDate]>>;
|
|
4035
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4036
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
4037
|
+
bytestream: "bytestream";
|
|
4038
|
+
datagram: "datagram";
|
|
4039
|
+
}>>;
|
|
4040
|
+
publish: z.ZodOptional<z.ZodBoolean>;
|
|
4041
|
+
protocol: z.ZodOptional<z.ZodEnum<{
|
|
4042
|
+
tls: "tls";
|
|
4043
|
+
dtls: "dtls";
|
|
4044
|
+
quic: "quic";
|
|
4045
|
+
http: "http";
|
|
4046
|
+
webtty: "webtty";
|
|
2360
4047
|
}>>;
|
|
2361
4048
|
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2362
4049
|
geo_ip: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -2391,60 +4078,481 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
2391
4078
|
project_id: z.ZodOptional<z.ZodString>;
|
|
2392
4079
|
cluster_id: z.ZodOptional<z.ZodString>;
|
|
2393
4080
|
}, z.core.$loose>, z.ZodObject<{
|
|
2394
|
-
type: z.ZodLiteral<"
|
|
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
|
+
opening: "opening";
|
|
4094
|
+
active: "active";
|
|
4095
|
+
closing: "closing";
|
|
4096
|
+
closed: "closed";
|
|
4097
|
+
errored: "errored";
|
|
4098
|
+
}>;
|
|
4099
|
+
session_mode: z.ZodEnum<{
|
|
4100
|
+
interactive: "interactive";
|
|
4101
|
+
"non-interactive": "non-interactive";
|
|
4102
|
+
}>;
|
|
4103
|
+
recording_mode: z.ZodEnum<{
|
|
4104
|
+
recorded: "recorded";
|
|
4105
|
+
private: "private";
|
|
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
|
+
human: "human";
|
|
4125
|
+
codex: "codex";
|
|
4126
|
+
api: "api";
|
|
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
|
+
user: "user";
|
|
4136
|
+
app: "app";
|
|
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
|
+
opening: "opening";
|
|
4177
|
+
active: "active";
|
|
4178
|
+
closing: "closing";
|
|
4179
|
+
closed: "closed";
|
|
4180
|
+
errored: "errored";
|
|
4181
|
+
}>;
|
|
4182
|
+
session_mode: z.ZodEnum<{
|
|
4183
|
+
interactive: "interactive";
|
|
4184
|
+
"non-interactive": "non-interactive";
|
|
4185
|
+
}>;
|
|
4186
|
+
recording_mode: z.ZodEnum<{
|
|
4187
|
+
recorded: "recorded";
|
|
4188
|
+
private: "private";
|
|
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
|
+
human: "human";
|
|
4208
|
+
codex: "codex";
|
|
4209
|
+
api: "api";
|
|
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
|
+
user: "user";
|
|
4219
|
+
app: "app";
|
|
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
|
+
human: "human";
|
|
4247
|
+
codex: "codex";
|
|
4248
|
+
api: "api";
|
|
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
|
+
user: "user";
|
|
4258
|
+
app: "app";
|
|
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
|
+
opening: "opening";
|
|
4290
|
+
active: "active";
|
|
4291
|
+
closing: "closing";
|
|
4292
|
+
closed: "closed";
|
|
4293
|
+
errored: "errored";
|
|
4294
|
+
}>;
|
|
4295
|
+
session_mode: z.ZodEnum<{
|
|
4296
|
+
interactive: "interactive";
|
|
4297
|
+
"non-interactive": "non-interactive";
|
|
4298
|
+
}>;
|
|
4299
|
+
recording_mode: z.ZodEnum<{
|
|
4300
|
+
recorded: "recorded";
|
|
4301
|
+
private: "private";
|
|
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
|
+
human: "human";
|
|
4321
|
+
codex: "codex";
|
|
4322
|
+
api: "api";
|
|
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
|
+
user: "user";
|
|
4332
|
+
app: "app";
|
|
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">;
|
|
2395
4448
|
object: z.ZodObject<{
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
provider: z.ZodOptional<z.ZodString>;
|
|
2403
|
-
region: z.ZodOptional<z.ZodString>;
|
|
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>;
|
|
2404
4455
|
status: z.ZodEnum<{
|
|
2405
|
-
|
|
2406
|
-
|
|
4456
|
+
pending: "pending";
|
|
4457
|
+
granted: "granted";
|
|
4458
|
+
refused: "refused";
|
|
4459
|
+
revoked: "revoked";
|
|
4460
|
+
expired: "expired";
|
|
2407
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<{
|
|
2408
4478
|
id: z.ZodString;
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
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
|
+
pending: "pending";
|
|
4486
|
+
granted: "granted";
|
|
4487
|
+
refused: "refused";
|
|
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
|
+
pending: "pending";
|
|
4515
|
+
granted: "granted";
|
|
4516
|
+
refused: "refused";
|
|
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
|
+
pending: "pending";
|
|
4544
|
+
granted: "granted";
|
|
4545
|
+
refused: "refused";
|
|
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>;
|
|
2448
4556
|
id: z.ZodOptional<z.ZodString>;
|
|
2449
4557
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2450
4558
|
user_id: z.ZodOptional<z.ZodString>;
|
|
@@ -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
|
+
http: "http";
|
|
4598
|
+
rstream: "rstream";
|
|
4599
|
+
tls: "tls";
|
|
4600
|
+
dtls: "dtls";
|
|
4601
|
+
quic: "quic";
|
|
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,6 +4630,9 @@ 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<{
|
|
@@ -2530,6 +4657,9 @@ 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<{
|
|
@@ -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
|
+
recorded: "recorded";
|
|
4902
|
+
private: "private";
|
|
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
|
+
human: "human";
|
|
4934
|
+
codex: "codex";
|
|
4935
|
+
api: "api";
|
|
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
|
+
user: "user";
|
|
4944
|
+
app: "app";
|
|
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;
|
|
@@ -2790,8 +4980,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
2790
4980
|
reason: z.ZodEnum<{
|
|
2791
4981
|
unknown: "unknown";
|
|
2792
4982
|
error: "error";
|
|
2793
|
-
timeout: "timeout";
|
|
2794
4983
|
closed: "closed";
|
|
4984
|
+
timeout: "timeout";
|
|
2795
4985
|
reset: "reset";
|
|
2796
4986
|
}>;
|
|
2797
4987
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2934,8 +5124,8 @@ declare const eventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject
|
|
|
2934
5124
|
reason: z.ZodEnum<{
|
|
2935
5125
|
unknown: "unknown";
|
|
2936
5126
|
error: "error";
|
|
2937
|
-
timeout: "timeout";
|
|
2938
5127
|
closed: "closed";
|
|
5128
|
+
timeout: "timeout";
|
|
2939
5129
|
reset: "reset";
|
|
2940
5130
|
}>;
|
|
2941
5131
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2989,6 +5179,462 @@ declare class RstreamWebhookResource {
|
|
|
2989
5179
|
headers(payload: WebhookPayload, event: WebhookEvent, secret: string, options: BuildWebhookHeadersOptions): WebhookHeaders;
|
|
2990
5180
|
}
|
|
2991
5181
|
|
|
5182
|
+
declare const webTTYTransportSchema: z.ZodEnum<{
|
|
5183
|
+
plain: "plain";
|
|
5184
|
+
websocket: "websocket";
|
|
5185
|
+
webtransport: "webtransport";
|
|
5186
|
+
}>;
|
|
5187
|
+
declare const webTTYRecordingModeSchema: z.ZodEnum<{
|
|
5188
|
+
recorded: "recorded";
|
|
5189
|
+
private: "private";
|
|
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
|
+
human: "human";
|
|
5201
|
+
codex: "codex";
|
|
5202
|
+
api: "api";
|
|
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
|
+
human: "human";
|
|
5214
|
+
codex: "codex";
|
|
5215
|
+
api: "api";
|
|
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
|
+
user: "user";
|
|
5225
|
+
app: "app";
|
|
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
|
+
recorded: "recorded";
|
|
5250
|
+
private: "private";
|
|
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
|
+
opening: "opening";
|
|
5281
|
+
active: "active";
|
|
5282
|
+
closing: "closing";
|
|
5283
|
+
closed: "closed";
|
|
5284
|
+
errored: "errored";
|
|
5285
|
+
}>;
|
|
5286
|
+
session_mode: z.ZodEnum<{
|
|
5287
|
+
interactive: "interactive";
|
|
5288
|
+
"non-interactive": "non-interactive";
|
|
5289
|
+
}>;
|
|
5290
|
+
recording_mode: z.ZodEnum<{
|
|
5291
|
+
recorded: "recorded";
|
|
5292
|
+
private: "private";
|
|
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
|
+
human: "human";
|
|
5312
|
+
codex: "codex";
|
|
5313
|
+
api: "api";
|
|
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
|
+
user: "user";
|
|
5323
|
+
app: "app";
|
|
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
|
+
human: "human";
|
|
5352
|
+
codex: "codex";
|
|
5353
|
+
api: "api";
|
|
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
|
+
user: "user";
|
|
5363
|
+
app: "app";
|
|
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
|
+
pending: "pending";
|
|
5494
|
+
granted: "granted";
|
|
5495
|
+
refused: "refused";
|
|
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
|
+
human: "human";
|
|
5515
|
+
codex: "codex";
|
|
5516
|
+
api: "api";
|
|
5517
|
+
automation: "automation";
|
|
5518
|
+
ci: "ci";
|
|
5519
|
+
"scheduled-job": "scheduled-job";
|
|
5520
|
+
}>>;
|
|
5521
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
5522
|
+
opening: "opening";
|
|
5523
|
+
active: "active";
|
|
5524
|
+
closing: "closing";
|
|
5525
|
+
closed: "closed";
|
|
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
|
+
human: "human";
|
|
5538
|
+
codex: "codex";
|
|
5539
|
+
api: "api";
|
|
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
|
+
pending: "pending";
|
|
5561
|
+
granted: "granted";
|
|
5562
|
+
refused: "refused";
|
|
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>;
|
|
5636
|
+
}
|
|
5637
|
+
|
|
2992
5638
|
interface RstreamTunnelsConfig {
|
|
2993
5639
|
/**
|
|
2994
5640
|
* Data-plane credentials used against the engine.
|
|
@@ -3041,6 +5687,7 @@ declare class RstreamTunnelsClient {
|
|
|
3041
5687
|
get clients(): RstreamClientsResource;
|
|
3042
5688
|
get tunnels(): RstreamTunnelsResource;
|
|
3043
5689
|
get webhooks(): RstreamWebhookResource;
|
|
5690
|
+
get webtty(): RstreamWebTTYResource;
|
|
3044
5691
|
get turn(): RstreamTURNResource;
|
|
3045
5692
|
getToken(engine?: string): Promise<string | undefined>;
|
|
3046
5693
|
request<T>(path: string, options?: RequestInit): Promise<T>;
|
|
@@ -3100,6 +5747,82 @@ declare const streamEndpointSchema: z.ZodObject<{
|
|
|
3100
5747
|
ech: z.ZodOptional<z.ZodBoolean>;
|
|
3101
5748
|
}, z.core.$strip>>;
|
|
3102
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
|
+
http: "http";
|
|
5759
|
+
rstream: "rstream";
|
|
5760
|
+
tls: "tls";
|
|
5761
|
+
dtls: "dtls";
|
|
5762
|
+
quic: "quic";
|
|
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
|
+
recorded: "recorded";
|
|
5778
|
+
private: "private";
|
|
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
|
+
human: "human";
|
|
5810
|
+
codex: "codex";
|
|
5811
|
+
api: "api";
|
|
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
|
+
user: "user";
|
|
5820
|
+
app: "app";
|
|
5821
|
+
"service-account": "service-account";
|
|
5822
|
+
}>>;
|
|
5823
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
5824
|
+
browser_id: z.ZodOptional<z.ZodString>;
|
|
5825
|
+
}, z.core.$loose>;
|
|
3103
5826
|
declare const streamSummarySchema: z.ZodObject<{
|
|
3104
5827
|
workspace_id: z.ZodOptional<z.ZodString>;
|
|
3105
5828
|
project_id: z.ZodOptional<z.ZodString>;
|
|
@@ -3125,6 +5848,22 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
3125
5848
|
ech: z.ZodOptional<z.ZodBoolean>;
|
|
3126
5849
|
}, z.core.$strip>>;
|
|
3127
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
|
+
http: "http";
|
|
5860
|
+
rstream: "rstream";
|
|
5861
|
+
tls: "tls";
|
|
5862
|
+
dtls: "dtls";
|
|
5863
|
+
quic: "quic";
|
|
5864
|
+
tcp: "tcp";
|
|
5865
|
+
}>>;
|
|
5866
|
+
}, z.core.$strip>>;
|
|
3128
5867
|
http: z.ZodOptional<z.ZodObject<{
|
|
3129
5868
|
protocol: z.ZodOptional<z.ZodEnum<{
|
|
3130
5869
|
"http/1.1": "http/1.1";
|
|
@@ -3153,6 +5892,9 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
3153
5892
|
}, z.core.$strip>, z.ZodObject<{
|
|
3154
5893
|
kind: z.ZodLiteral<"rstream_auth">;
|
|
3155
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">>;
|
|
3156
5898
|
}, z.core.$strip>, z.ZodObject<{
|
|
3157
5899
|
kind: z.ZodLiteral<"token">;
|
|
3158
5900
|
source: z.ZodOptional<z.ZodEnum<{
|
|
@@ -3177,6 +5919,9 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
3177
5919
|
}, z.core.$strip>, z.ZodObject<{
|
|
3178
5920
|
kind: z.ZodLiteral<"rstream_auth">;
|
|
3179
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">>;
|
|
3180
5925
|
}, z.core.$strip>, z.ZodObject<{
|
|
3181
5926
|
kind: z.ZodLiteral<"token">;
|
|
3182
5927
|
source: z.ZodOptional<z.ZodEnum<{
|
|
@@ -3404,6 +6149,66 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
3404
6149
|
message: z.ZodOptional<z.ZodString>;
|
|
3405
6150
|
}, z.core.$strip>], "kind">;
|
|
3406
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
|
+
recorded: "recorded";
|
|
6164
|
+
private: "private";
|
|
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
|
+
human: "human";
|
|
6196
|
+
codex: "codex";
|
|
6197
|
+
api: "api";
|
|
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
|
+
user: "user";
|
|
6206
|
+
app: "app";
|
|
6207
|
+
"service-account": "service-account";
|
|
6208
|
+
}>>;
|
|
6209
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
6210
|
+
browser_id: z.ZodOptional<z.ZodString>;
|
|
6211
|
+
}, z.core.$loose>>;
|
|
3407
6212
|
response: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3408
6213
|
outcome: z.ZodLiteral<"connected">;
|
|
3409
6214
|
established_at: z.ZodString;
|
|
@@ -3437,8 +6242,8 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
3437
6242
|
reason: z.ZodEnum<{
|
|
3438
6243
|
unknown: "unknown";
|
|
3439
6244
|
error: "error";
|
|
3440
|
-
timeout: "timeout";
|
|
3441
6245
|
closed: "closed";
|
|
6246
|
+
timeout: "timeout";
|
|
3442
6247
|
reset: "reset";
|
|
3443
6248
|
}>;
|
|
3444
6249
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -3581,8 +6386,8 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
3581
6386
|
reason: z.ZodEnum<{
|
|
3582
6387
|
unknown: "unknown";
|
|
3583
6388
|
error: "error";
|
|
3584
|
-
timeout: "timeout";
|
|
3585
6389
|
closed: "closed";
|
|
6390
|
+
timeout: "timeout";
|
|
3586
6391
|
reset: "reset";
|
|
3587
6392
|
}>;
|
|
3588
6393
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -3604,6 +6409,8 @@ declare const streamSummarySchema: z.ZodObject<{
|
|
|
3604
6409
|
type StreamSummary = z.infer<typeof streamSummarySchema>;
|
|
3605
6410
|
type StreamTLSInfo = z.infer<typeof streamTLSInfoSchema>;
|
|
3606
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;
|
|
3607
6414
|
|
|
3608
6415
|
/**
|
|
3609
6416
|
* Configuration for the Watch connection.
|
|
@@ -3668,8 +6475,36 @@ declare class Watch {
|
|
|
3668
6475
|
|
|
3669
6476
|
declare const webttyServerSchema: z.ZodObject<{
|
|
3670
6477
|
tunnel_id: z.ZodString;
|
|
6478
|
+
tunnel_name: z.ZodOptional<z.ZodString>;
|
|
6479
|
+
target: z.ZodOptional<z.ZodString>;
|
|
6480
|
+
rstream_url: z.ZodOptional<z.ZodString>;
|
|
6481
|
+
status: z.ZodOptional<z.ZodString>;
|
|
6482
|
+
publish: z.ZodOptional<z.ZodBoolean>;
|
|
6483
|
+
workspace_id: z.ZodOptional<z.ZodString>;
|
|
6484
|
+
project_id: z.ZodOptional<z.ZodString>;
|
|
6485
|
+
tunnel_protocol: z.ZodEnum<{
|
|
6486
|
+
http: "http";
|
|
6487
|
+
webtty: "webtty";
|
|
6488
|
+
}>;
|
|
6489
|
+
managed: z.ZodBoolean;
|
|
3671
6490
|
host: z.ZodString;
|
|
3672
6491
|
token_auth: z.ZodBoolean;
|
|
6492
|
+
server_id: z.ZodOptional<z.ZodString>;
|
|
6493
|
+
server_name: z.ZodOptional<z.ZodString>;
|
|
6494
|
+
host_key_id: z.ZodOptional<z.ZodString>;
|
|
6495
|
+
e2e: z.ZodOptional<z.ZodEnum<{
|
|
6496
|
+
disabled: "disabled";
|
|
6497
|
+
required: "required";
|
|
6498
|
+
}>>;
|
|
6499
|
+
client_proof: z.ZodOptional<z.ZodEnum<{
|
|
6500
|
+
none: "none";
|
|
6501
|
+
required: "required";
|
|
6502
|
+
}>>;
|
|
6503
|
+
encryption_policy: z.ZodOptional<z.ZodEnum<{
|
|
6504
|
+
disabled: "disabled";
|
|
6505
|
+
explicit_key: "explicit_key";
|
|
6506
|
+
workspace_managed: "workspace_managed";
|
|
6507
|
+
}>>;
|
|
3673
6508
|
capabilities: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3674
6509
|
exec: "exec";
|
|
3675
6510
|
fs: "fs";
|
|
@@ -3700,4 +6535,4 @@ declare const webttyServerSchema: z.ZodObject<{
|
|
|
3700
6535
|
type WebTTYServer = z.infer<typeof webttyServerSchema>;
|
|
3701
6536
|
declare function parseWebTTYServers(tunnels: Tunnel[]): WebTTYServer[];
|
|
3702
6537
|
|
|
3703
|
-
export { type BuildWebhookHeadersOptions, 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, WEBHOOK_DELIVERY_ID_HEADER, WEBHOOK_EVENT_ID_HEADER, WEBHOOK_EVENT_TYPE_HEADER, WEBHOOK_ID_HEADER, WEBHOOK_SIGNATURE_HEADER, Watch, type WatchConfig, type WatchWsEvents, type WebTTYServer, type WebhookEvent, type WebhookHeaders, type WebhookPayload, type WsEvent, buildWebhookHeaders, clientFilterSchema, clientSchema, createAPITURNCredentials, createAPPTURNCredentials, createAuthTokenFromClientCredentials, createPATTURNCredentials, createTURNCredentials, eventSchema, formatTunnelHost, generateWebhookSigningSecret, listClientsParamsSchema, listClientsResponseSchema, listTunnelsParamsSchema, listTunnelsResponseSchema, normalizeEngineAddress, parseWebTTYServers, projectLogEventsSchema, resolveControlPlaneCredentials, resolveManagedTunnelsProject, resolveTunnelsAPIURL, resolveTunnelsCredentials, resolveTunnelsEngine, signWebhookPayload, streamEndpointSchema, streamSummaryEventSchema, streamSummarySchema, streamTLSInfoSchema, tunnelFilterSchema, turnCredentialModeSchema, webhookEventsSchema, webttyServerSchema, wsEventsSchema };
|
|
6538
|
+
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 };
|