@keska/sandbox 0.46.1 → 0.46.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,4 +1,7 @@
1
1
  import WebSocket from 'ws';
2
+ import { GenService, GenMessage } from '@bufbuild/protobuf/codegenv2';
3
+ import { Timestamp, EmptySchema } from '@bufbuild/protobuf/wkt';
4
+ import { Message } from '@bufbuild/protobuf';
2
5
  import { Interceptor } from '@connectrpc/connect';
3
6
 
4
7
  type CredentialsDict = {
@@ -29,6 +32,4072 @@ type TokenProvider = {
29
32
  authorizationHeader(): Promise<Record<string, string>>;
30
33
  };
31
34
 
35
+ /**
36
+ * @generated from message numen.sandbox.v1.Labels
37
+ */
38
+ type Labels = Message<"numen.sandbox.v1.Labels"> & {
39
+ /**
40
+ * @generated from field: map<string, string> values = 1;
41
+ */
42
+ values: {
43
+ [key: string]: string;
44
+ };
45
+ };
46
+ /**
47
+ * @generated from message numen.sandbox.v1.FileWrite
48
+ */
49
+ type FileWrite$1 = Message<"numen.sandbox.v1.FileWrite"> & {
50
+ /**
51
+ * @generated from field: string path = 1;
52
+ */
53
+ path: string;
54
+ /**
55
+ * @generated from field: bytes content = 2;
56
+ */
57
+ content: Uint8Array;
58
+ /**
59
+ * @generated from field: uint32 mode = 3;
60
+ */
61
+ mode: number;
62
+ };
63
+ /**
64
+ * @generated from message numen.sandbox.v1.FileOp
65
+ */
66
+ type FileOp$2 = Message<"numen.sandbox.v1.FileOp"> & {
67
+ /**
68
+ * @generated from oneof numen.sandbox.v1.FileOp.op
69
+ */
70
+ op: {
71
+ /**
72
+ * @generated from field: numen.sandbox.v1.FileWrite write = 1;
73
+ */
74
+ value: FileWrite$1;
75
+ case: "write";
76
+ } | {
77
+ /**
78
+ * @generated from field: string remove = 2;
79
+ */
80
+ value: string;
81
+ case: "remove";
82
+ } | {
83
+ /**
84
+ * @generated from field: string mkdir = 3;
85
+ */
86
+ value: string;
87
+ case: "mkdir";
88
+ } | {
89
+ case: undefined;
90
+ value?: undefined;
91
+ };
92
+ /**
93
+ * @generated from field: bool recursive = 4;
94
+ */
95
+ recursive: boolean;
96
+ };
97
+ /**
98
+ * @generated from message numen.sandbox.v1.ResourceUsage
99
+ */
100
+ type ResourceUsage$1 = Message<"numen.sandbox.v1.ResourceUsage"> & {
101
+ /**
102
+ * @generated from field: int64 memory_current_bytes = 1;
103
+ */
104
+ memoryCurrentBytes: bigint;
105
+ /**
106
+ * @generated from field: int64 cpu_usage_usec = 2;
107
+ */
108
+ cpuUsageUsec: bigint;
109
+ /**
110
+ * @generated from field: int32 cpu_millicores = 3;
111
+ */
112
+ cpuMillicores: number;
113
+ };
114
+ /**
115
+ * Customer create. The hop CreateSandboxRequest adds placement, burst caps, services, and profile_key.
116
+ *
117
+ * @generated from message numen.sandbox.v1.CreateSandboxRequest
118
+ */
119
+ type CreateSandboxRequest = Message<"numen.sandbox.v1.CreateSandboxRequest"> & {
120
+ /**
121
+ * @generated from field: string image = 1;
122
+ */
123
+ image: string;
124
+ /**
125
+ * @generated from field: numen.sandbox.v1.NetMode net = 2;
126
+ */
127
+ net: NetMode;
128
+ /**
129
+ * @generated from field: map<string, string> env = 3;
130
+ */
131
+ env: {
132
+ [key: string]: string;
133
+ };
134
+ /**
135
+ * @generated from field: string workdir = 4;
136
+ */
137
+ workdir: string;
138
+ /**
139
+ * Lifetime from create. 0/omit = none. Expiry deletes the sandbox.
140
+ *
141
+ * @generated from field: int32 lifetime_sec = 5;
142
+ */
143
+ lifetimeSec: number;
144
+ /**
145
+ * @generated from field: int32 idle_timeout_sec = 6;
146
+ */
147
+ idleTimeoutSec: number;
148
+ /**
149
+ * @generated from field: string from_snapshot_id = 7;
150
+ */
151
+ fromSnapshotId: string;
152
+ /**
153
+ * @generated from field: string volume_id = 8;
154
+ */
155
+ volumeId: string;
156
+ /**
157
+ * @generated from field: map<string, string> labels = 9;
158
+ */
159
+ labels: {
160
+ [key: string]: string;
161
+ };
162
+ /**
163
+ * Packing millicores. 0/omit = profile resource policy, else 1000.
164
+ *
165
+ * @generated from field: int32 cpu_millicores = 10;
166
+ */
167
+ cpuMillicores: number;
168
+ /**
169
+ * Guest memory bytes. 0/omit = profile resource policy, else 1 GiB.
170
+ *
171
+ * @generated from field: int64 memory_bytes = 11;
172
+ */
173
+ memoryBytes: bigint;
174
+ /**
175
+ * @generated from field: string name = 13;
176
+ */
177
+ name: string;
178
+ /**
179
+ * Writable state this sandbox adds, in bytes. The image is not counted. 0/omit = 1 GiB. Cannot pass the platform ceiling.
180
+ *
181
+ * @generated from field: int64 disk_bytes = 14;
182
+ */
183
+ diskBytes: bigint;
184
+ /**
185
+ * Env name to project secret name. The value is not on this message.
186
+ *
187
+ * @generated from field: map<string, string> secret_env = 15;
188
+ */
189
+ secretEnv: {
190
+ [key: string]: string;
191
+ };
192
+ /**
193
+ * Existing agent in this project. The sandbox runs as that agent.
194
+ *
195
+ * @generated from field: string agent_id = 16;
196
+ */
197
+ agentId: string;
198
+ /**
199
+ * Existing profile id. Empty means no profile.
200
+ *
201
+ * @generated from field: string profile_id = 17;
202
+ */
203
+ profileId: string;
204
+ };
205
+ /**
206
+ * Describes the message numen.sandbox.v1.CreateSandboxRequest.
207
+ * Use `create(CreateSandboxRequestSchema)` to create a new message.
208
+ */
209
+ declare const CreateSandboxRequestSchema: GenMessage<CreateSandboxRequest>;
210
+ /**
211
+ * @generated from message numen.sandbox.v1.WakeSandboxRequest
212
+ */
213
+ type WakeSandboxRequest = Message<"numen.sandbox.v1.WakeSandboxRequest"> & {
214
+ /**
215
+ * @generated from oneof numen.sandbox.v1.WakeSandboxRequest.key
216
+ */
217
+ key: {
218
+ /**
219
+ * @generated from field: string id = 1;
220
+ */
221
+ value: string;
222
+ case: "id";
223
+ } | {
224
+ /**
225
+ * @generated from field: string name = 2;
226
+ */
227
+ value: string;
228
+ case: "name";
229
+ } | {
230
+ case: undefined;
231
+ value?: undefined;
232
+ };
233
+ };
234
+ /**
235
+ * Describes the message numen.sandbox.v1.WakeSandboxRequest.
236
+ * Use `create(WakeSandboxRequestSchema)` to create a new message.
237
+ */
238
+ declare const WakeSandboxRequestSchema: GenMessage<WakeSandboxRequest>;
239
+ /**
240
+ * @generated from message numen.sandbox.v1.GetSandboxRequest
241
+ */
242
+ type GetSandboxRequest = Message<"numen.sandbox.v1.GetSandboxRequest"> & {
243
+ /**
244
+ * @generated from oneof numen.sandbox.v1.GetSandboxRequest.sandbox
245
+ */
246
+ sandbox: {
247
+ /**
248
+ * @generated from field: string id = 1;
249
+ */
250
+ value: string;
251
+ case: "id";
252
+ } | {
253
+ /**
254
+ * @generated from field: string name = 2;
255
+ */
256
+ value: string;
257
+ case: "name";
258
+ } | {
259
+ case: undefined;
260
+ value?: undefined;
261
+ };
262
+ };
263
+ /**
264
+ * Describes the message numen.sandbox.v1.GetSandboxRequest.
265
+ * Use `create(GetSandboxRequestSchema)` to create a new message.
266
+ */
267
+ declare const GetSandboxRequestSchema: GenMessage<GetSandboxRequest>;
268
+ /**
269
+ * @generated from message numen.sandbox.v1.Sandbox
270
+ */
271
+ type Sandbox$2 = Message<"numen.sandbox.v1.Sandbox"> & {
272
+ /**
273
+ * @generated from field: string id = 1;
274
+ */
275
+ id: string;
276
+ /**
277
+ * @generated from field: numen.sandbox.v1.SandboxStatus status = 2;
278
+ */
279
+ status: SandboxStatus$2;
280
+ /**
281
+ * @generated from field: string image = 3;
282
+ */
283
+ image: string;
284
+ /**
285
+ * @generated from field: numen.sandbox.v1.NetMode net = 4;
286
+ */
287
+ net: NetMode;
288
+ /**
289
+ * @generated from field: map<string, string> env = 5;
290
+ */
291
+ env: {
292
+ [key: string]: string;
293
+ };
294
+ /**
295
+ * @generated from field: string workdir = 6;
296
+ */
297
+ workdir: string;
298
+ /**
299
+ * @generated from field: int32 lifetime_sec = 7;
300
+ */
301
+ lifetimeSec: number;
302
+ /**
303
+ * @generated from field: int32 idle_timeout_sec = 8;
304
+ */
305
+ idleTimeoutSec: number;
306
+ /**
307
+ * @generated from field: string from_snapshot_id = 9;
308
+ */
309
+ fromSnapshotId: string;
310
+ /**
311
+ * @generated from field: string volume_id = 10;
312
+ */
313
+ volumeId: string;
314
+ /**
315
+ * @generated from field: map<string, string> labels = 11;
316
+ */
317
+ labels: {
318
+ [key: string]: string;
319
+ };
320
+ /**
321
+ * @generated from field: int32 cpu_millicores = 12;
322
+ */
323
+ cpuMillicores: number;
324
+ /**
325
+ * @generated from field: int64 memory_bytes = 13;
326
+ */
327
+ memoryBytes: bigint;
328
+ /**
329
+ * @generated from field: string name = 15;
330
+ */
331
+ name: string;
332
+ /**
333
+ * @generated from field: optional int32 exit_code = 16;
334
+ */
335
+ exitCode?: number | undefined;
336
+ /**
337
+ * @generated from field: google.protobuf.Timestamp created_at = 17;
338
+ */
339
+ createdAt?: Timestamp | undefined;
340
+ /**
341
+ * @generated from field: google.protobuf.Timestamp ready_at = 18;
342
+ */
343
+ readyAt?: Timestamp | undefined;
344
+ /**
345
+ * @generated from field: optional int32 lifetime_remaining_sec = 19;
346
+ */
347
+ lifetimeRemainingSec?: number | undefined;
348
+ /**
349
+ * @generated from field: optional int32 idle_timeout_remaining_sec = 20;
350
+ */
351
+ idleTimeoutRemainingSec?: number | undefined;
352
+ /**
353
+ * @generated from field: numen.sandbox.v1.ResourceUsage usage = 21;
354
+ */
355
+ usage?: ResourceUsage$1 | undefined;
356
+ /**
357
+ * The placement's worker is not in the control plane peer set. Status stays
358
+ * the last recorded value.
359
+ *
360
+ * @generated from field: bool worker_unreachable = 22;
361
+ */
362
+ workerUnreachable: boolean;
363
+ /**
364
+ * Writable state on top of the image, in bytes. The image is not counted. Written once at create.
365
+ *
366
+ * @generated from field: int64 disk_bytes = 23;
367
+ */
368
+ diskBytes: bigint;
369
+ /**
370
+ * Env name to project secret name. Get returns names only.
371
+ *
372
+ * @generated from field: map<string, string> secret_env = 24;
373
+ */
374
+ secretEnv: {
375
+ [key: string]: string;
376
+ };
377
+ /**
378
+ * Set when the sandbox was created for an agent.
379
+ *
380
+ * @generated from field: string agent_id = 25;
381
+ */
382
+ agentId: string;
383
+ /**
384
+ * @generated from field: string profile_id = 26;
385
+ */
386
+ profileId: string;
387
+ };
388
+ /**
389
+ * Describes the message numen.sandbox.v1.Sandbox.
390
+ * Use `create(SandboxSchema)` to create a new message.
391
+ */
392
+ declare const SandboxSchema: GenMessage<Sandbox$2>;
393
+ /**
394
+ * @generated from message numen.sandbox.v1.SandboxSummary
395
+ */
396
+ type SandboxSummary$1 = Message<"numen.sandbox.v1.SandboxSummary"> & {
397
+ /**
398
+ * @generated from field: string id = 1;
399
+ */
400
+ id: string;
401
+ /**
402
+ * @generated from field: numen.sandbox.v1.SandboxStatus status = 2;
403
+ */
404
+ status: SandboxStatus$2;
405
+ /**
406
+ * @generated from field: string image = 3;
407
+ */
408
+ image: string;
409
+ /**
410
+ * @generated from field: map<string, string> labels = 4;
411
+ */
412
+ labels: {
413
+ [key: string]: string;
414
+ };
415
+ /**
416
+ * @generated from field: google.protobuf.Timestamp created_at = 5;
417
+ */
418
+ createdAt?: Timestamp | undefined;
419
+ /**
420
+ * @generated from field: numen.sandbox.v1.ResourceUsage usage = 6;
421
+ */
422
+ usage?: ResourceUsage$1 | undefined;
423
+ /**
424
+ * @generated from field: string name = 8;
425
+ */
426
+ name: string;
427
+ /**
428
+ * The placement's worker is not in the control plane peer set. Status stays
429
+ * the last recorded value.
430
+ *
431
+ * @generated from field: bool worker_unreachable = 9;
432
+ */
433
+ workerUnreachable: boolean;
434
+ /**
435
+ * @generated from field: string profile_id = 10;
436
+ */
437
+ profileId: string;
438
+ };
439
+ /**
440
+ * @generated from message numen.sandbox.v1.ListSandboxesRequest
441
+ */
442
+ type ListSandboxesRequest = Message<"numen.sandbox.v1.ListSandboxesRequest"> & {
443
+ /**
444
+ * @generated from field: map<string, string> labels = 1;
445
+ */
446
+ labels: {
447
+ [key: string]: string;
448
+ };
449
+ /**
450
+ * @generated from field: repeated numen.sandbox.v1.SandboxStatus statuses = 2;
451
+ */
452
+ statuses: SandboxStatus$2[];
453
+ /**
454
+ * @generated from field: int32 page_size = 3;
455
+ */
456
+ pageSize: number;
457
+ /**
458
+ * @generated from field: string page_token = 4;
459
+ */
460
+ pageToken: string;
461
+ /**
462
+ * @generated from field: string profile_id = 6;
463
+ */
464
+ profileId: string;
465
+ };
466
+ /**
467
+ * Describes the message numen.sandbox.v1.ListSandboxesRequest.
468
+ * Use `create(ListSandboxesRequestSchema)` to create a new message.
469
+ */
470
+ declare const ListSandboxesRequestSchema: GenMessage<ListSandboxesRequest>;
471
+ /**
472
+ * @generated from message numen.sandbox.v1.ListSandboxesResponse
473
+ */
474
+ type ListSandboxesResponse = Message<"numen.sandbox.v1.ListSandboxesResponse"> & {
475
+ /**
476
+ * @generated from field: repeated numen.sandbox.v1.SandboxSummary sandboxes = 1;
477
+ */
478
+ sandboxes: SandboxSummary$1[];
479
+ /**
480
+ * @generated from field: string next_page_token = 2;
481
+ */
482
+ nextPageToken: string;
483
+ };
484
+ /**
485
+ * Describes the message numen.sandbox.v1.ListSandboxesResponse.
486
+ * Use `create(ListSandboxesResponseSchema)` to create a new message.
487
+ */
488
+ declare const ListSandboxesResponseSchema: GenMessage<ListSandboxesResponse>;
489
+ /**
490
+ * @generated from message numen.sandbox.v1.DeleteSandboxRequest
491
+ */
492
+ type DeleteSandboxRequest = Message<"numen.sandbox.v1.DeleteSandboxRequest"> & {
493
+ /**
494
+ * @generated from field: string id = 1;
495
+ */
496
+ id: string;
497
+ };
498
+ /**
499
+ * Describes the message numen.sandbox.v1.DeleteSandboxRequest.
500
+ * Use `create(DeleteSandboxRequestSchema)` to create a new message.
501
+ */
502
+ declare const DeleteSandboxRequestSchema: GenMessage<DeleteSandboxRequest>;
503
+ /**
504
+ * @generated from message numen.sandbox.v1.UpdateSandboxRequest
505
+ */
506
+ type UpdateSandboxRequest = Message<"numen.sandbox.v1.UpdateSandboxRequest"> & {
507
+ /**
508
+ * @generated from field: string id = 1;
509
+ */
510
+ id: string;
511
+ /**
512
+ * @generated from field: optional numen.sandbox.v1.Labels labels = 2;
513
+ */
514
+ labels?: Labels | undefined;
515
+ /**
516
+ * @generated from field: optional string profile_id = 3;
517
+ */
518
+ profileId?: string | undefined;
519
+ /**
520
+ * @generated from field: bool clear_profile = 4;
521
+ */
522
+ clearProfile: boolean;
523
+ };
524
+ /**
525
+ * Describes the message numen.sandbox.v1.UpdateSandboxRequest.
526
+ * Use `create(UpdateSandboxRequestSchema)` to create a new message.
527
+ */
528
+ declare const UpdateSandboxRequestSchema: GenMessage<UpdateSandboxRequest>;
529
+ /**
530
+ * @generated from message numen.sandbox.v1.ResizeSandboxRequest
531
+ */
532
+ type ResizeSandboxRequest = Message<"numen.sandbox.v1.ResizeSandboxRequest"> & {
533
+ /**
534
+ * @generated from field: string id = 1;
535
+ */
536
+ id: string;
537
+ /**
538
+ * Packing millicores. 0 keeps the current packing CPU.
539
+ *
540
+ * @generated from field: int32 cpu_millicores = 2;
541
+ */
542
+ cpuMillicores: number;
543
+ /**
544
+ * Guest memory bytes. 0 keeps the current guest memory.
545
+ *
546
+ * @generated from field: int64 memory_bytes = 3;
547
+ */
548
+ memoryBytes: bigint;
549
+ /**
550
+ * Writable-state allocation. 0 keeps the current cap. A value below the cached usage is rejected.
551
+ *
552
+ * @generated from field: int64 disk_bytes = 4;
553
+ */
554
+ diskBytes: bigint;
555
+ };
556
+ /**
557
+ * Describes the message numen.sandbox.v1.ResizeSandboxRequest.
558
+ * Use `create(ResizeSandboxRequestSchema)` to create a new message.
559
+ */
560
+ declare const ResizeSandboxRequestSchema: GenMessage<ResizeSandboxRequest>;
561
+ /**
562
+ * @generated from message numen.sandbox.v1.WaitSandboxRequest
563
+ */
564
+ type WaitSandboxRequest = Message<"numen.sandbox.v1.WaitSandboxRequest"> & {
565
+ /**
566
+ * @generated from field: string id = 1;
567
+ */
568
+ id: string;
569
+ /**
570
+ * @generated from field: repeated numen.sandbox.v1.SandboxStatus until = 2;
571
+ */
572
+ until: SandboxStatus$2[];
573
+ /**
574
+ * @generated from field: bool until_deleted = 3;
575
+ */
576
+ untilDeleted: boolean;
577
+ /**
578
+ * How long this Wait RPC may block on the server. Distinct from the client RPC deadline.
579
+ *
580
+ * @generated from field: optional int32 wait_sec = 4;
581
+ */
582
+ waitSec?: number | undefined;
583
+ };
584
+ /**
585
+ * Describes the message numen.sandbox.v1.WaitSandboxRequest.
586
+ * Use `create(WaitSandboxRequestSchema)` to create a new message.
587
+ */
588
+ declare const WaitSandboxRequestSchema: GenMessage<WaitSandboxRequest>;
589
+ /**
590
+ * @generated from message numen.sandbox.v1.WaitSandboxResponse
591
+ */
592
+ type WaitSandboxResponse = Message<"numen.sandbox.v1.WaitSandboxResponse"> & {
593
+ /**
594
+ * @generated from field: optional numen.sandbox.v1.Sandbox sandbox = 1;
595
+ */
596
+ sandbox?: Sandbox$2 | undefined;
597
+ /**
598
+ * @generated from field: bool deleted = 2;
599
+ */
600
+ deleted: boolean;
601
+ };
602
+ /**
603
+ * Describes the message numen.sandbox.v1.WaitSandboxResponse.
604
+ * Use `create(WaitSandboxResponseSchema)` to create a new message.
605
+ */
606
+ declare const WaitSandboxResponseSchema: GenMessage<WaitSandboxResponse>;
607
+ /**
608
+ * @generated from message numen.sandbox.v1.WaitProcessRequest
609
+ */
610
+ type WaitProcessRequest = Message<"numen.sandbox.v1.WaitProcessRequest"> & {
611
+ /**
612
+ * @generated from field: string sandbox_id = 1;
613
+ */
614
+ sandboxId: string;
615
+ /**
616
+ * @generated from field: string process_id = 2;
617
+ */
618
+ processId: string;
619
+ /**
620
+ * @generated from field: optional int32 wait_sec = 3;
621
+ */
622
+ waitSec?: number | undefined;
623
+ };
624
+ /**
625
+ * Describes the message numen.sandbox.v1.WaitProcessRequest.
626
+ * Use `create(WaitProcessRequestSchema)` to create a new message.
627
+ */
628
+ declare const WaitProcessRequestSchema: GenMessage<WaitProcessRequest>;
629
+ /**
630
+ * @generated from message numen.sandbox.v1.ExecStart
631
+ */
632
+ type ExecStart = Message<"numen.sandbox.v1.ExecStart"> & {
633
+ /**
634
+ * @generated from field: string sandbox_id = 1;
635
+ */
636
+ sandboxId: string;
637
+ /**
638
+ * @generated from field: repeated string argv = 2;
639
+ */
640
+ argv: string[];
641
+ /**
642
+ * @generated from field: map<string, string> env = 3;
643
+ */
644
+ env: {
645
+ [key: string]: string;
646
+ };
647
+ /**
648
+ * @generated from field: string cwd = 4;
649
+ */
650
+ cwd: string;
651
+ /**
652
+ * Omit or 0 = no guest kill. Negative = invalid_argument.
653
+ *
654
+ * @generated from field: optional int32 execution_timeout_sec = 5;
655
+ */
656
+ executionTimeoutSec?: number | undefined;
657
+ };
658
+ /**
659
+ * @generated from message numen.sandbox.v1.ExecRequest
660
+ */
661
+ type ExecRequest = Message<"numen.sandbox.v1.ExecRequest"> & {
662
+ /**
663
+ * @generated from oneof numen.sandbox.v1.ExecRequest.part
664
+ */
665
+ part: {
666
+ /**
667
+ * @generated from field: numen.sandbox.v1.ExecStart start = 1;
668
+ */
669
+ value: ExecStart;
670
+ case: "start";
671
+ } | {
672
+ /**
673
+ * @generated from field: bytes stdin = 2;
674
+ */
675
+ value: Uint8Array;
676
+ case: "stdin";
677
+ } | {
678
+ case: undefined;
679
+ value?: undefined;
680
+ };
681
+ };
682
+ /**
683
+ * Describes the message numen.sandbox.v1.ExecRequest.
684
+ * Use `create(ExecRequestSchema)` to create a new message.
685
+ */
686
+ declare const ExecRequestSchema: GenMessage<ExecRequest>;
687
+ /**
688
+ * @generated from message numen.sandbox.v1.ExecExit
689
+ */
690
+ type ExecExit = Message<"numen.sandbox.v1.ExecExit"> & {
691
+ /**
692
+ * @generated from field: int32 exit_code = 1;
693
+ */
694
+ exitCode: number;
695
+ };
696
+ /**
697
+ * @generated from message numen.sandbox.v1.ExecResponse
698
+ */
699
+ type ExecResponse = Message<"numen.sandbox.v1.ExecResponse"> & {
700
+ /**
701
+ * @generated from oneof numen.sandbox.v1.ExecResponse.part
702
+ */
703
+ part: {
704
+ /**
705
+ * @generated from field: bytes stdout = 1;
706
+ */
707
+ value: Uint8Array;
708
+ case: "stdout";
709
+ } | {
710
+ /**
711
+ * @generated from field: bytes stderr = 2;
712
+ */
713
+ value: Uint8Array;
714
+ case: "stderr";
715
+ } | {
716
+ /**
717
+ * @generated from field: numen.sandbox.v1.ExecExit exit = 3;
718
+ */
719
+ value: ExecExit;
720
+ case: "exit";
721
+ } | {
722
+ case: undefined;
723
+ value?: undefined;
724
+ };
725
+ };
726
+ /**
727
+ * Describes the message numen.sandbox.v1.ExecResponse.
728
+ * Use `create(ExecResponseSchema)` to create a new message.
729
+ */
730
+ declare const ExecResponseSchema: GenMessage<ExecResponse>;
731
+ /**
732
+ * @generated from message numen.sandbox.v1.StartProcessRequest
733
+ */
734
+ type StartProcessRequest = Message<"numen.sandbox.v1.StartProcessRequest"> & {
735
+ /**
736
+ * @generated from field: string sandbox_id = 1;
737
+ */
738
+ sandboxId: string;
739
+ /**
740
+ * @generated from field: repeated string argv = 2;
741
+ */
742
+ argv: string[];
743
+ /**
744
+ * @generated from field: map<string, string> env = 3;
745
+ */
746
+ env: {
747
+ [key: string]: string;
748
+ };
749
+ /**
750
+ * @generated from field: string cwd = 4;
751
+ */
752
+ cwd: string;
753
+ /**
754
+ * Omit or 0 = no guest kill. Negative = invalid_argument.
755
+ *
756
+ * @generated from field: optional int32 execution_timeout_sec = 5;
757
+ */
758
+ executionTimeoutSec?: number | undefined;
759
+ /**
760
+ * @generated from field: string service_name = 6;
761
+ */
762
+ serviceName: string;
763
+ /**
764
+ * @generated from field: bool holds_idle = 7;
765
+ */
766
+ holdsIdle: boolean;
767
+ /**
768
+ * @generated from field: bool ends_sandbox = 8;
769
+ */
770
+ endsSandbox: boolean;
771
+ };
772
+ /**
773
+ * Describes the message numen.sandbox.v1.StartProcessRequest.
774
+ * Use `create(StartProcessRequestSchema)` to create a new message.
775
+ */
776
+ declare const StartProcessRequestSchema: GenMessage<StartProcessRequest>;
777
+ /**
778
+ * @generated from message numen.sandbox.v1.Process
779
+ */
780
+ type Process$1 = Message<"numen.sandbox.v1.Process"> & {
781
+ /**
782
+ * @generated from field: string id = 1;
783
+ */
784
+ id: string;
785
+ /**
786
+ * @generated from field: string sandbox_id = 2;
787
+ */
788
+ sandboxId: string;
789
+ /**
790
+ * @generated from field: numen.sandbox.v1.ProcessStatus status = 3;
791
+ */
792
+ status: ProcessStatus;
793
+ /**
794
+ * @generated from field: optional int32 exit_code = 4;
795
+ */
796
+ exitCode?: number | undefined;
797
+ /**
798
+ * @generated from field: string service_name = 5;
799
+ */
800
+ serviceName: string;
801
+ };
802
+ /**
803
+ * Describes the message numen.sandbox.v1.Process.
804
+ * Use `create(ProcessSchema)` to create a new message.
805
+ */
806
+ declare const ProcessSchema: GenMessage<Process$1>;
807
+ /**
808
+ * @generated from message numen.sandbox.v1.GetProcessRequest
809
+ */
810
+ type GetProcessRequest = Message<"numen.sandbox.v1.GetProcessRequest"> & {
811
+ /**
812
+ * @generated from field: string sandbox_id = 1;
813
+ */
814
+ sandboxId: string;
815
+ /**
816
+ * @generated from field: string process_id = 2;
817
+ */
818
+ processId: string;
819
+ };
820
+ /**
821
+ * Describes the message numen.sandbox.v1.GetProcessRequest.
822
+ * Use `create(GetProcessRequestSchema)` to create a new message.
823
+ */
824
+ declare const GetProcessRequestSchema: GenMessage<GetProcessRequest>;
825
+ /**
826
+ * @generated from message numen.sandbox.v1.ListProcessesRequest
827
+ */
828
+ type ListProcessesRequest = Message<"numen.sandbox.v1.ListProcessesRequest"> & {
829
+ /**
830
+ * @generated from field: string sandbox_id = 1;
831
+ */
832
+ sandboxId: string;
833
+ };
834
+ /**
835
+ * Describes the message numen.sandbox.v1.ListProcessesRequest.
836
+ * Use `create(ListProcessesRequestSchema)` to create a new message.
837
+ */
838
+ declare const ListProcessesRequestSchema: GenMessage<ListProcessesRequest>;
839
+ /**
840
+ * @generated from message numen.sandbox.v1.ListProcessesResponse
841
+ */
842
+ type ListProcessesResponse = Message<"numen.sandbox.v1.ListProcessesResponse"> & {
843
+ /**
844
+ * @generated from field: repeated numen.sandbox.v1.Process processes = 1;
845
+ */
846
+ processes: Process$1[];
847
+ };
848
+ /**
849
+ * Describes the message numen.sandbox.v1.ListProcessesResponse.
850
+ * Use `create(ListProcessesResponseSchema)` to create a new message.
851
+ */
852
+ declare const ListProcessesResponseSchema: GenMessage<ListProcessesResponse>;
853
+ /**
854
+ * @generated from message numen.sandbox.v1.KillProcessRequest
855
+ */
856
+ type KillProcessRequest = Message<"numen.sandbox.v1.KillProcessRequest"> & {
857
+ /**
858
+ * @generated from field: string sandbox_id = 1;
859
+ */
860
+ sandboxId: string;
861
+ /**
862
+ * @generated from field: string process_id = 2;
863
+ */
864
+ processId: string;
865
+ /**
866
+ * @generated from field: uint32 signal = 3;
867
+ */
868
+ signal: number;
869
+ };
870
+ /**
871
+ * Describes the message numen.sandbox.v1.KillProcessRequest.
872
+ * Use `create(KillProcessRequestSchema)` to create a new message.
873
+ */
874
+ declare const KillProcessRequestSchema: GenMessage<KillProcessRequest>;
875
+ /**
876
+ * @generated from message numen.sandbox.v1.FollowProcessRequest
877
+ */
878
+ type FollowProcessRequest = Message<"numen.sandbox.v1.FollowProcessRequest"> & {
879
+ /**
880
+ * @generated from field: string sandbox_id = 1;
881
+ */
882
+ sandboxId: string;
883
+ /**
884
+ * @generated from field: string process_id = 2;
885
+ */
886
+ processId: string;
887
+ };
888
+ /**
889
+ * Describes the message numen.sandbox.v1.FollowProcessRequest.
890
+ * Use `create(FollowProcessRequestSchema)` to create a new message.
891
+ */
892
+ declare const FollowProcessRequestSchema: GenMessage<FollowProcessRequest>;
893
+ /**
894
+ * @generated from message numen.sandbox.v1.WriteProcessStdinRequest
895
+ */
896
+ type WriteProcessStdinRequest = Message<"numen.sandbox.v1.WriteProcessStdinRequest"> & {
897
+ /**
898
+ * @generated from field: string sandbox_id = 1;
899
+ */
900
+ sandboxId: string;
901
+ /**
902
+ * @generated from field: string process_id = 2;
903
+ */
904
+ processId: string;
905
+ /**
906
+ * @generated from field: bytes data = 3;
907
+ */
908
+ data: Uint8Array;
909
+ /**
910
+ * @generated from field: bool eof = 4;
911
+ */
912
+ eof: boolean;
913
+ };
914
+ /**
915
+ * Describes the message numen.sandbox.v1.WriteProcessStdinRequest.
916
+ * Use `create(WriteProcessStdinRequestSchema)` to create a new message.
917
+ */
918
+ declare const WriteProcessStdinRequestSchema: GenMessage<WriteProcessStdinRequest>;
919
+ /**
920
+ * @generated from message numen.sandbox.v1.WriteFilesRequest
921
+ */
922
+ type WriteFilesRequest = Message<"numen.sandbox.v1.WriteFilesRequest"> & {
923
+ /**
924
+ * @generated from field: string sandbox_id = 1;
925
+ */
926
+ sandboxId: string;
927
+ /**
928
+ * @generated from field: repeated numen.sandbox.v1.FileOp ops = 2;
929
+ */
930
+ ops: FileOp$2[];
931
+ };
932
+ /**
933
+ * Describes the message numen.sandbox.v1.WriteFilesRequest.
934
+ * Use `create(WriteFilesRequestSchema)` to create a new message.
935
+ */
936
+ declare const WriteFilesRequestSchema: GenMessage<WriteFilesRequest>;
937
+ /**
938
+ * @generated from message numen.sandbox.v1.WriteFileHeader
939
+ */
940
+ type WriteFileHeader = Message<"numen.sandbox.v1.WriteFileHeader"> & {
941
+ /**
942
+ * @generated from field: string sandbox_id = 1;
943
+ */
944
+ sandboxId: string;
945
+ /**
946
+ * @generated from field: string path = 2;
947
+ */
948
+ path: string;
949
+ /**
950
+ * @generated from field: uint32 mode = 3;
951
+ */
952
+ mode: number;
953
+ /**
954
+ * tree means path is a guest directory and the chunks are one framed tree.
955
+ *
956
+ * @generated from field: bool tree = 4;
957
+ */
958
+ tree: boolean;
959
+ /**
960
+ * replace means the framed tree becomes the directory. It requires tree.
961
+ *
962
+ * @generated from field: bool replace = 5;
963
+ */
964
+ replace: boolean;
965
+ };
966
+ /**
967
+ * @generated from message numen.sandbox.v1.WriteFileRequest
968
+ */
969
+ type WriteFileRequest = Message<"numen.sandbox.v1.WriteFileRequest"> & {
970
+ /**
971
+ * @generated from oneof numen.sandbox.v1.WriteFileRequest.part
972
+ */
973
+ part: {
974
+ /**
975
+ * @generated from field: numen.sandbox.v1.WriteFileHeader header = 1;
976
+ */
977
+ value: WriteFileHeader;
978
+ case: "header";
979
+ } | {
980
+ /**
981
+ * @generated from field: bytes chunk = 2;
982
+ */
983
+ value: Uint8Array;
984
+ case: "chunk";
985
+ } | {
986
+ case: undefined;
987
+ value?: undefined;
988
+ };
989
+ };
990
+ /**
991
+ * Describes the message numen.sandbox.v1.WriteFileRequest.
992
+ * Use `create(WriteFileRequestSchema)` to create a new message.
993
+ */
994
+ declare const WriteFileRequestSchema: GenMessage<WriteFileRequest>;
995
+ /**
996
+ * @generated from message numen.sandbox.v1.ReadFileRequest
997
+ */
998
+ type ReadFileRequest = Message<"numen.sandbox.v1.ReadFileRequest"> & {
999
+ /**
1000
+ * @generated from field: string sandbox_id = 1;
1001
+ */
1002
+ sandboxId: string;
1003
+ /**
1004
+ * @generated from field: string path = 2;
1005
+ */
1006
+ path: string;
1007
+ };
1008
+ /**
1009
+ * Describes the message numen.sandbox.v1.ReadFileRequest.
1010
+ * Use `create(ReadFileRequestSchema)` to create a new message.
1011
+ */
1012
+ declare const ReadFileRequestSchema: GenMessage<ReadFileRequest>;
1013
+ /**
1014
+ * @generated from message numen.sandbox.v1.FileChunk
1015
+ */
1016
+ type FileChunk = Message<"numen.sandbox.v1.FileChunk"> & {
1017
+ /**
1018
+ * @generated from field: bytes data = 1;
1019
+ */
1020
+ data: Uint8Array;
1021
+ };
1022
+ /**
1023
+ * Describes the message numen.sandbox.v1.FileChunk.
1024
+ * Use `create(FileChunkSchema)` to create a new message.
1025
+ */
1026
+ declare const FileChunkSchema: GenMessage<FileChunk>;
1027
+ /**
1028
+ * @generated from message numen.sandbox.v1.FileInfo
1029
+ */
1030
+ type FileInfo$1 = Message<"numen.sandbox.v1.FileInfo"> & {
1031
+ /**
1032
+ * @generated from field: string name = 1;
1033
+ */
1034
+ name: string;
1035
+ /**
1036
+ * @generated from field: string path = 2;
1037
+ */
1038
+ path: string;
1039
+ /**
1040
+ * @generated from field: numen.sandbox.v1.FileType type = 3;
1041
+ */
1042
+ type: FileType;
1043
+ /**
1044
+ * @generated from field: int64 size = 4;
1045
+ */
1046
+ size: bigint;
1047
+ /**
1048
+ * @generated from field: google.protobuf.Timestamp mtime = 5;
1049
+ */
1050
+ mtime?: Timestamp | undefined;
1051
+ };
1052
+ /**
1053
+ * Describes the message numen.sandbox.v1.FileInfo.
1054
+ * Use `create(FileInfoSchema)` to create a new message.
1055
+ */
1056
+ declare const FileInfoSchema: GenMessage<FileInfo$1>;
1057
+ /**
1058
+ * @generated from message numen.sandbox.v1.ListFilesRequest
1059
+ */
1060
+ type ListFilesRequest = Message<"numen.sandbox.v1.ListFilesRequest"> & {
1061
+ /**
1062
+ * @generated from field: string sandbox_id = 1;
1063
+ */
1064
+ sandboxId: string;
1065
+ /**
1066
+ * @generated from field: string path = 2;
1067
+ */
1068
+ path: string;
1069
+ /**
1070
+ * Levels below path. 1 = direct children. 0 = the whole tree.
1071
+ *
1072
+ * @generated from field: int32 max_depth = 3;
1073
+ */
1074
+ maxDepth: number;
1075
+ };
1076
+ /**
1077
+ * Describes the message numen.sandbox.v1.ListFilesRequest.
1078
+ * Use `create(ListFilesRequestSchema)` to create a new message.
1079
+ */
1080
+ declare const ListFilesRequestSchema: GenMessage<ListFilesRequest>;
1081
+ /**
1082
+ * @generated from message numen.sandbox.v1.StatFileRequest
1083
+ */
1084
+ type StatFileRequest = Message<"numen.sandbox.v1.StatFileRequest"> & {
1085
+ /**
1086
+ * @generated from field: string sandbox_id = 1;
1087
+ */
1088
+ sandboxId: string;
1089
+ /**
1090
+ * @generated from field: string path = 2;
1091
+ */
1092
+ path: string;
1093
+ };
1094
+ /**
1095
+ * Describes the message numen.sandbox.v1.StatFileRequest.
1096
+ * Use `create(StatFileRequestSchema)` to create a new message.
1097
+ */
1098
+ declare const StatFileRequestSchema: GenMessage<StatFileRequest>;
1099
+ /**
1100
+ * @generated from message numen.sandbox.v1.ExportPathRequest
1101
+ */
1102
+ type ExportPathRequest = Message<"numen.sandbox.v1.ExportPathRequest"> & {
1103
+ /**
1104
+ * @generated from field: string sandbox_id = 1;
1105
+ */
1106
+ sandboxId: string;
1107
+ /**
1108
+ * @generated from field: string path = 2;
1109
+ */
1110
+ path: string;
1111
+ /**
1112
+ * @generated from field: numen.sandbox.v1.ExportPathFormat format = 3;
1113
+ */
1114
+ format: ExportPathFormat;
1115
+ };
1116
+ /**
1117
+ * Describes the message numen.sandbox.v1.ExportPathRequest.
1118
+ * Use `create(ExportPathRequestSchema)` to create a new message.
1119
+ */
1120
+ declare const ExportPathRequestSchema: GenMessage<ExportPathRequest>;
1121
+ /**
1122
+ * @generated from message numen.sandbox.v1.CreateSnapshotRequest
1123
+ */
1124
+ type CreateSnapshotRequest = Message<"numen.sandbox.v1.CreateSnapshotRequest"> & {
1125
+ /**
1126
+ * @generated from field: string sandbox_id = 1;
1127
+ */
1128
+ sandboxId: string;
1129
+ /**
1130
+ * @generated from field: map<string, string> labels = 2;
1131
+ */
1132
+ labels: {
1133
+ [key: string]: string;
1134
+ };
1135
+ /**
1136
+ * @generated from field: string name = 3;
1137
+ */
1138
+ name: string;
1139
+ };
1140
+ /**
1141
+ * Describes the message numen.sandbox.v1.CreateSnapshotRequest.
1142
+ * Use `create(CreateSnapshotRequestSchema)` to create a new message.
1143
+ */
1144
+ declare const CreateSnapshotRequestSchema: GenMessage<CreateSnapshotRequest>;
1145
+ /**
1146
+ * @generated from message numen.sandbox.v1.GetSnapshotRequest
1147
+ */
1148
+ type GetSnapshotRequest = Message<"numen.sandbox.v1.GetSnapshotRequest"> & {
1149
+ /**
1150
+ * @generated from oneof numen.sandbox.v1.GetSnapshotRequest.snapshot
1151
+ */
1152
+ snapshot: {
1153
+ /**
1154
+ * @generated from field: string id = 1;
1155
+ */
1156
+ value: string;
1157
+ case: "id";
1158
+ } | {
1159
+ /**
1160
+ * @generated from field: string name = 2;
1161
+ */
1162
+ value: string;
1163
+ case: "name";
1164
+ } | {
1165
+ case: undefined;
1166
+ value?: undefined;
1167
+ };
1168
+ };
1169
+ /**
1170
+ * Describes the message numen.sandbox.v1.GetSnapshotRequest.
1171
+ * Use `create(GetSnapshotRequestSchema)` to create a new message.
1172
+ */
1173
+ declare const GetSnapshotRequestSchema: GenMessage<GetSnapshotRequest>;
1174
+ /**
1175
+ * @generated from message numen.sandbox.v1.ListSnapshotsRequest
1176
+ */
1177
+ type ListSnapshotsRequest = Message<"numen.sandbox.v1.ListSnapshotsRequest"> & {
1178
+ /**
1179
+ * @generated from field: map<string, string> labels = 1;
1180
+ */
1181
+ labels: {
1182
+ [key: string]: string;
1183
+ };
1184
+ /**
1185
+ * @generated from field: int32 page_size = 2;
1186
+ */
1187
+ pageSize: number;
1188
+ /**
1189
+ * @generated from field: string page_token = 3;
1190
+ */
1191
+ pageToken: string;
1192
+ /**
1193
+ * @generated from field: string source_sandbox_id = 4;
1194
+ */
1195
+ sourceSandboxId: string;
1196
+ };
1197
+ /**
1198
+ * Describes the message numen.sandbox.v1.ListSnapshotsRequest.
1199
+ * Use `create(ListSnapshotsRequestSchema)` to create a new message.
1200
+ */
1201
+ declare const ListSnapshotsRequestSchema: GenMessage<ListSnapshotsRequest>;
1202
+ /**
1203
+ * @generated from message numen.sandbox.v1.ListSnapshotsResponse
1204
+ */
1205
+ type ListSnapshotsResponse = Message<"numen.sandbox.v1.ListSnapshotsResponse"> & {
1206
+ /**
1207
+ * @generated from field: repeated numen.sandbox.v1.Snapshot snapshots = 1;
1208
+ */
1209
+ snapshots: Snapshot$1[];
1210
+ /**
1211
+ * @generated from field: string next_page_token = 2;
1212
+ */
1213
+ nextPageToken: string;
1214
+ };
1215
+ /**
1216
+ * Describes the message numen.sandbox.v1.ListSnapshotsResponse.
1217
+ * Use `create(ListSnapshotsResponseSchema)` to create a new message.
1218
+ */
1219
+ declare const ListSnapshotsResponseSchema: GenMessage<ListSnapshotsResponse>;
1220
+ /**
1221
+ * @generated from message numen.sandbox.v1.DeleteSnapshotRequest
1222
+ */
1223
+ type DeleteSnapshotRequest = Message<"numen.sandbox.v1.DeleteSnapshotRequest"> & {
1224
+ /**
1225
+ * @generated from field: string id = 1;
1226
+ */
1227
+ id: string;
1228
+ };
1229
+ /**
1230
+ * Describes the message numen.sandbox.v1.DeleteSnapshotRequest.
1231
+ * Use `create(DeleteSnapshotRequestSchema)` to create a new message.
1232
+ */
1233
+ declare const DeleteSnapshotRequestSchema: GenMessage<DeleteSnapshotRequest>;
1234
+ /**
1235
+ * @generated from message numen.sandbox.v1.UpdateSnapshotRequest
1236
+ */
1237
+ type UpdateSnapshotRequest = Message<"numen.sandbox.v1.UpdateSnapshotRequest"> & {
1238
+ /**
1239
+ * @generated from field: string id = 1;
1240
+ */
1241
+ id: string;
1242
+ /**
1243
+ * @generated from field: optional numen.sandbox.v1.Labels labels = 2;
1244
+ */
1245
+ labels?: Labels | undefined;
1246
+ };
1247
+ /**
1248
+ * Describes the message numen.sandbox.v1.UpdateSnapshotRequest.
1249
+ * Use `create(UpdateSnapshotRequestSchema)` to create a new message.
1250
+ */
1251
+ declare const UpdateSnapshotRequestSchema: GenMessage<UpdateSnapshotRequest>;
1252
+ /**
1253
+ * @generated from message numen.sandbox.v1.Snapshot
1254
+ */
1255
+ type Snapshot$1 = Message<"numen.sandbox.v1.Snapshot"> & {
1256
+ /**
1257
+ * @generated from field: string id = 1;
1258
+ */
1259
+ id: string;
1260
+ /**
1261
+ * @generated from field: string source_sandbox_id = 2;
1262
+ */
1263
+ sourceSandboxId: string;
1264
+ /**
1265
+ * @generated from field: google.protobuf.Timestamp created_at = 3;
1266
+ */
1267
+ createdAt?: Timestamp | undefined;
1268
+ /**
1269
+ * @generated from field: map<string, string> labels = 4;
1270
+ */
1271
+ labels: {
1272
+ [key: string]: string;
1273
+ };
1274
+ /**
1275
+ * @generated from field: string digest = 5;
1276
+ */
1277
+ digest: string;
1278
+ /**
1279
+ * @generated from field: int64 size_bytes = 6;
1280
+ */
1281
+ sizeBytes: bigint;
1282
+ /**
1283
+ * @generated from field: string image = 7;
1284
+ */
1285
+ image: string;
1286
+ /**
1287
+ * @generated from field: string name = 8;
1288
+ */
1289
+ name: string;
1290
+ };
1291
+ /**
1292
+ * Describes the message numen.sandbox.v1.Snapshot.
1293
+ * Use `create(SnapshotSchema)` to create a new message.
1294
+ */
1295
+ declare const SnapshotSchema: GenMessage<Snapshot$1>;
1296
+ /**
1297
+ * @generated from message numen.sandbox.v1.CreateVolumeRequest
1298
+ */
1299
+ type CreateVolumeRequest = Message<"numen.sandbox.v1.CreateVolumeRequest"> & {
1300
+ /**
1301
+ * @generated from field: map<string, string> labels = 1;
1302
+ */
1303
+ labels: {
1304
+ [key: string]: string;
1305
+ };
1306
+ /**
1307
+ * @generated from field: string name = 2;
1308
+ */
1309
+ name: string;
1310
+ };
1311
+ /**
1312
+ * Describes the message numen.sandbox.v1.CreateVolumeRequest.
1313
+ * Use `create(CreateVolumeRequestSchema)` to create a new message.
1314
+ */
1315
+ declare const CreateVolumeRequestSchema: GenMessage<CreateVolumeRequest>;
1316
+ /**
1317
+ * @generated from message numen.sandbox.v1.GetVolumeRequest
1318
+ */
1319
+ type GetVolumeRequest = Message<"numen.sandbox.v1.GetVolumeRequest"> & {
1320
+ /**
1321
+ * @generated from oneof numen.sandbox.v1.GetVolumeRequest.volume
1322
+ */
1323
+ volume: {
1324
+ /**
1325
+ * @generated from field: string id = 1;
1326
+ */
1327
+ value: string;
1328
+ case: "id";
1329
+ } | {
1330
+ /**
1331
+ * @generated from field: string name = 2;
1332
+ */
1333
+ value: string;
1334
+ case: "name";
1335
+ } | {
1336
+ case: undefined;
1337
+ value?: undefined;
1338
+ };
1339
+ };
1340
+ /**
1341
+ * Describes the message numen.sandbox.v1.GetVolumeRequest.
1342
+ * Use `create(GetVolumeRequestSchema)` to create a new message.
1343
+ */
1344
+ declare const GetVolumeRequestSchema: GenMessage<GetVolumeRequest>;
1345
+ /**
1346
+ * @generated from message numen.sandbox.v1.ListVolumesRequest
1347
+ */
1348
+ type ListVolumesRequest = Message<"numen.sandbox.v1.ListVolumesRequest"> & {
1349
+ /**
1350
+ * @generated from field: map<string, string> labels = 1;
1351
+ */
1352
+ labels: {
1353
+ [key: string]: string;
1354
+ };
1355
+ /**
1356
+ * @generated from field: int32 page_size = 2;
1357
+ */
1358
+ pageSize: number;
1359
+ /**
1360
+ * @generated from field: string page_token = 3;
1361
+ */
1362
+ pageToken: string;
1363
+ };
1364
+ /**
1365
+ * Describes the message numen.sandbox.v1.ListVolumesRequest.
1366
+ * Use `create(ListVolumesRequestSchema)` to create a new message.
1367
+ */
1368
+ declare const ListVolumesRequestSchema: GenMessage<ListVolumesRequest>;
1369
+ /**
1370
+ * @generated from message numen.sandbox.v1.ListVolumesResponse
1371
+ */
1372
+ type ListVolumesResponse = Message<"numen.sandbox.v1.ListVolumesResponse"> & {
1373
+ /**
1374
+ * @generated from field: repeated numen.sandbox.v1.Volume volumes = 1;
1375
+ */
1376
+ volumes: Volume$1[];
1377
+ /**
1378
+ * @generated from field: string next_page_token = 2;
1379
+ */
1380
+ nextPageToken: string;
1381
+ };
1382
+ /**
1383
+ * Describes the message numen.sandbox.v1.ListVolumesResponse.
1384
+ * Use `create(ListVolumesResponseSchema)` to create a new message.
1385
+ */
1386
+ declare const ListVolumesResponseSchema: GenMessage<ListVolumesResponse>;
1387
+ /**
1388
+ * @generated from message numen.sandbox.v1.DeleteVolumeRequest
1389
+ */
1390
+ type DeleteVolumeRequest = Message<"numen.sandbox.v1.DeleteVolumeRequest"> & {
1391
+ /**
1392
+ * @generated from field: string id = 1;
1393
+ */
1394
+ id: string;
1395
+ };
1396
+ /**
1397
+ * Describes the message numen.sandbox.v1.DeleteVolumeRequest.
1398
+ * Use `create(DeleteVolumeRequestSchema)` to create a new message.
1399
+ */
1400
+ declare const DeleteVolumeRequestSchema: GenMessage<DeleteVolumeRequest>;
1401
+ /**
1402
+ * @generated from message numen.sandbox.v1.UpdateVolumeRequest
1403
+ */
1404
+ type UpdateVolumeRequest = Message<"numen.sandbox.v1.UpdateVolumeRequest"> & {
1405
+ /**
1406
+ * @generated from field: string id = 1;
1407
+ */
1408
+ id: string;
1409
+ /**
1410
+ * @generated from field: optional numen.sandbox.v1.Labels labels = 2;
1411
+ */
1412
+ labels?: Labels | undefined;
1413
+ };
1414
+ /**
1415
+ * Describes the message numen.sandbox.v1.UpdateVolumeRequest.
1416
+ * Use `create(UpdateVolumeRequestSchema)` to create a new message.
1417
+ */
1418
+ declare const UpdateVolumeRequestSchema: GenMessage<UpdateVolumeRequest>;
1419
+ /**
1420
+ * @generated from message numen.sandbox.v1.Volume
1421
+ */
1422
+ type Volume$1 = Message<"numen.sandbox.v1.Volume"> & {
1423
+ /**
1424
+ * @generated from field: string id = 1;
1425
+ */
1426
+ id: string;
1427
+ /**
1428
+ * @generated from field: string attached_sandbox_id = 2;
1429
+ */
1430
+ attachedSandboxId: string;
1431
+ /**
1432
+ * @generated from field: google.protobuf.Timestamp created_at = 3;
1433
+ */
1434
+ createdAt?: Timestamp | undefined;
1435
+ /**
1436
+ * @generated from field: map<string, string> labels = 4;
1437
+ */
1438
+ labels: {
1439
+ [key: string]: string;
1440
+ };
1441
+ /**
1442
+ * @generated from field: int64 size_bytes = 6;
1443
+ */
1444
+ sizeBytes: bigint;
1445
+ /**
1446
+ * @generated from field: string name = 7;
1447
+ */
1448
+ name: string;
1449
+ };
1450
+ /**
1451
+ * Describes the message numen.sandbox.v1.Volume.
1452
+ * Use `create(VolumeSchema)` to create a new message.
1453
+ */
1454
+ declare const VolumeSchema: GenMessage<Volume$1>;
1455
+ /**
1456
+ * @generated from message numen.sandbox.v1.Secret
1457
+ */
1458
+ type Secret$1 = Message<"numen.sandbox.v1.Secret"> & {
1459
+ /**
1460
+ * @generated from field: string name = 1;
1461
+ */
1462
+ name: string;
1463
+ /**
1464
+ * @generated from field: google.protobuf.Timestamp created_at = 2;
1465
+ */
1466
+ createdAt?: Timestamp | undefined;
1467
+ /**
1468
+ * @generated from field: google.protobuf.Timestamp updated_at = 3;
1469
+ */
1470
+ updatedAt?: Timestamp | undefined;
1471
+ /**
1472
+ * Computed by the same scan as the in-use guard.
1473
+ *
1474
+ * @generated from field: int32 sandbox_count = 4;
1475
+ */
1476
+ sandboxCount: number;
1477
+ /**
1478
+ * @generated from field: int32 template_count = 5;
1479
+ */
1480
+ templateCount: number;
1481
+ /**
1482
+ * @generated from field: int32 agent_count = 6;
1483
+ */
1484
+ agentCount: number;
1485
+ };
1486
+ /**
1487
+ * Describes the message numen.sandbox.v1.Secret.
1488
+ * Use `create(SecretSchema)` to create a new message.
1489
+ */
1490
+ declare const SecretSchema: GenMessage<Secret$1>;
1491
+ /**
1492
+ * @generated from message numen.sandbox.v1.SetSecretRequest
1493
+ */
1494
+ type SetSecretRequest = Message<"numen.sandbox.v1.SetSecretRequest"> & {
1495
+ /**
1496
+ * @generated from field: string name = 1;
1497
+ */
1498
+ name: string;
1499
+ /**
1500
+ * @generated from field: string value = 2;
1501
+ */
1502
+ value: string;
1503
+ };
1504
+ /**
1505
+ * Describes the message numen.sandbox.v1.SetSecretRequest.
1506
+ * Use `create(SetSecretRequestSchema)` to create a new message.
1507
+ */
1508
+ declare const SetSecretRequestSchema: GenMessage<SetSecretRequest>;
1509
+ /**
1510
+ * @generated from message numen.sandbox.v1.GetSecretRequest
1511
+ */
1512
+ type GetSecretRequest = Message<"numen.sandbox.v1.GetSecretRequest"> & {
1513
+ /**
1514
+ * @generated from field: string name = 1;
1515
+ */
1516
+ name: string;
1517
+ };
1518
+ /**
1519
+ * Describes the message numen.sandbox.v1.GetSecretRequest.
1520
+ * Use `create(GetSecretRequestSchema)` to create a new message.
1521
+ */
1522
+ declare const GetSecretRequestSchema: GenMessage<GetSecretRequest>;
1523
+ /**
1524
+ * @generated from message numen.sandbox.v1.ListSecretsRequest
1525
+ */
1526
+ type ListSecretsRequest = Message<"numen.sandbox.v1.ListSecretsRequest"> & {
1527
+ /**
1528
+ * @generated from field: int32 page_size = 1;
1529
+ */
1530
+ pageSize: number;
1531
+ /**
1532
+ * @generated from field: string page_token = 2;
1533
+ */
1534
+ pageToken: string;
1535
+ };
1536
+ /**
1537
+ * Describes the message numen.sandbox.v1.ListSecretsRequest.
1538
+ * Use `create(ListSecretsRequestSchema)` to create a new message.
1539
+ */
1540
+ declare const ListSecretsRequestSchema: GenMessage<ListSecretsRequest>;
1541
+ /**
1542
+ * @generated from message numen.sandbox.v1.ListSecretsResponse
1543
+ */
1544
+ type ListSecretsResponse = Message<"numen.sandbox.v1.ListSecretsResponse"> & {
1545
+ /**
1546
+ * @generated from field: repeated numen.sandbox.v1.Secret secrets = 1;
1547
+ */
1548
+ secrets: Secret$1[];
1549
+ /**
1550
+ * @generated from field: string next_page_token = 2;
1551
+ */
1552
+ nextPageToken: string;
1553
+ };
1554
+ /**
1555
+ * Describes the message numen.sandbox.v1.ListSecretsResponse.
1556
+ * Use `create(ListSecretsResponseSchema)` to create a new message.
1557
+ */
1558
+ declare const ListSecretsResponseSchema: GenMessage<ListSecretsResponse>;
1559
+ /**
1560
+ * @generated from message numen.sandbox.v1.DeleteSecretRequest
1561
+ */
1562
+ type DeleteSecretRequest = Message<"numen.sandbox.v1.DeleteSecretRequest"> & {
1563
+ /**
1564
+ * @generated from field: string name = 1;
1565
+ */
1566
+ name: string;
1567
+ };
1568
+ /**
1569
+ * Describes the message numen.sandbox.v1.DeleteSecretRequest.
1570
+ * Use `create(DeleteSecretRequestSchema)` to create a new message.
1571
+ */
1572
+ declare const DeleteSecretRequestSchema: GenMessage<DeleteSecretRequest>;
1573
+ /**
1574
+ * @generated from message numen.sandbox.v1.Agent
1575
+ */
1576
+ type Agent$2 = Message<"numen.sandbox.v1.Agent"> & {
1577
+ /**
1578
+ * @generated from field: string id = 1;
1579
+ */
1580
+ id: string;
1581
+ /**
1582
+ * @generated from field: string name = 2;
1583
+ */
1584
+ name: string;
1585
+ /**
1586
+ * @generated from field: string matrix_user_id = 3;
1587
+ */
1588
+ matrixUserId: string;
1589
+ /**
1590
+ * @generated from field: google.protobuf.Timestamp created_at = 6;
1591
+ */
1592
+ createdAt?: Timestamp | undefined;
1593
+ /**
1594
+ * Env name to hidden secret name. Get returns names only.
1595
+ *
1596
+ * @generated from field: map<string, string> secret_env = 7;
1597
+ */
1598
+ secretEnv: {
1599
+ [key: string]: string;
1600
+ };
1601
+ /**
1602
+ * The sandbox this agent is attached to now. Empty when it has none.
1603
+ *
1604
+ * @generated from field: string active_sandbox_id = 8;
1605
+ */
1606
+ activeSandboxId: string;
1607
+ /**
1608
+ * Unset means true (provision a Matrix identity and a direct message).
1609
+ *
1610
+ * @generated from field: optional bool messaging = 9;
1611
+ */
1612
+ messaging?: boolean | undefined;
1613
+ /**
1614
+ * @generated from field: string matrix_room_id = 10;
1615
+ */
1616
+ matrixRoomId: string;
1617
+ /**
1618
+ * @generated from field: string template_id = 11;
1619
+ */
1620
+ templateId: string;
1621
+ /**
1622
+ * @generated from field: string image = 12;
1623
+ */
1624
+ image: string;
1625
+ /**
1626
+ * @generated from field: string profile_id = 13;
1627
+ */
1628
+ profileId: string;
1629
+ };
1630
+ /**
1631
+ * Describes the message numen.sandbox.v1.Agent.
1632
+ * Use `create(AgentSchema)` to create a new message.
1633
+ */
1634
+ declare const AgentSchema: GenMessage<Agent$2>;
1635
+ /**
1636
+ * @generated from message numen.sandbox.v1.CreateAgentRequest
1637
+ */
1638
+ type CreateAgentRequest = Message<"numen.sandbox.v1.CreateAgentRequest"> & {
1639
+ /**
1640
+ * @generated from field: string name = 1;
1641
+ */
1642
+ name: string;
1643
+ /**
1644
+ * @generated from field: string template_id = 3;
1645
+ */
1646
+ templateId: string;
1647
+ /**
1648
+ * Unset means true.
1649
+ *
1650
+ * @generated from field: optional bool messaging = 4;
1651
+ */
1652
+ messaging?: boolean | undefined;
1653
+ };
1654
+ /**
1655
+ * Describes the message numen.sandbox.v1.CreateAgentRequest.
1656
+ * Use `create(CreateAgentRequestSchema)` to create a new message.
1657
+ */
1658
+ declare const CreateAgentRequestSchema: GenMessage<CreateAgentRequest>;
1659
+ /**
1660
+ * @generated from message numen.sandbox.v1.BindAgentSecretRequest
1661
+ */
1662
+ type BindAgentSecretRequest = Message<"numen.sandbox.v1.BindAgentSecretRequest"> & {
1663
+ /**
1664
+ * @generated from field: string agent_id = 1;
1665
+ */
1666
+ agentId: string;
1667
+ /**
1668
+ * @generated from field: string env_name = 2;
1669
+ */
1670
+ envName: string;
1671
+ /**
1672
+ * @generated from field: string secret_name = 3;
1673
+ */
1674
+ secretName: string;
1675
+ };
1676
+ /**
1677
+ * Describes the message numen.sandbox.v1.BindAgentSecretRequest.
1678
+ * Use `create(BindAgentSecretRequestSchema)` to create a new message.
1679
+ */
1680
+ declare const BindAgentSecretRequestSchema: GenMessage<BindAgentSecretRequest>;
1681
+ /**
1682
+ * @generated from message numen.sandbox.v1.UnbindAgentSecretRequest
1683
+ */
1684
+ type UnbindAgentSecretRequest = Message<"numen.sandbox.v1.UnbindAgentSecretRequest"> & {
1685
+ /**
1686
+ * @generated from field: string agent_id = 1;
1687
+ */
1688
+ agentId: string;
1689
+ /**
1690
+ * @generated from field: string env_name = 2;
1691
+ */
1692
+ envName: string;
1693
+ };
1694
+ /**
1695
+ * Describes the message numen.sandbox.v1.UnbindAgentSecretRequest.
1696
+ * Use `create(UnbindAgentSecretRequestSchema)` to create a new message.
1697
+ */
1698
+ declare const UnbindAgentSecretRequestSchema: GenMessage<UnbindAgentSecretRequest>;
1699
+ /**
1700
+ * MatrixSession is a short-lived device on the project app user.
1701
+ * It is for SDK callers that already hold Numen credentials.
1702
+ *
1703
+ * @generated from message numen.sandbox.v1.MatrixSession
1704
+ */
1705
+ type MatrixSession$1 = Message<"numen.sandbox.v1.MatrixSession"> & {
1706
+ /**
1707
+ * @generated from field: string homeserver = 1;
1708
+ */
1709
+ homeserver: string;
1710
+ /**
1711
+ * @generated from field: string user_id = 2;
1712
+ */
1713
+ userId: string;
1714
+ /**
1715
+ * @generated from field: string access_token = 3;
1716
+ */
1717
+ accessToken: string;
1718
+ /**
1719
+ * @generated from field: string session_id = 4;
1720
+ */
1721
+ sessionId: string;
1722
+ };
1723
+ /**
1724
+ * Describes the message numen.sandbox.v1.MatrixSession.
1725
+ * Use `create(MatrixSessionSchema)` to create a new message.
1726
+ */
1727
+ declare const MatrixSessionSchema: GenMessage<MatrixSession$1>;
1728
+ /**
1729
+ * @generated from message numen.sandbox.v1.CreateMatrixSessionRequest
1730
+ */
1731
+ type CreateMatrixSessionRequest = Message<"numen.sandbox.v1.CreateMatrixSessionRequest"> & {};
1732
+ /**
1733
+ * Describes the message numen.sandbox.v1.CreateMatrixSessionRequest.
1734
+ * Use `create(CreateMatrixSessionRequestSchema)` to create a new message.
1735
+ */
1736
+ declare const CreateMatrixSessionRequestSchema: GenMessage<CreateMatrixSessionRequest>;
1737
+ /**
1738
+ * @generated from message numen.sandbox.v1.DeleteMatrixSessionRequest
1739
+ */
1740
+ type DeleteMatrixSessionRequest = Message<"numen.sandbox.v1.DeleteMatrixSessionRequest"> & {
1741
+ /**
1742
+ * @generated from field: string session_id = 1;
1743
+ */
1744
+ sessionId: string;
1745
+ };
1746
+ /**
1747
+ * Describes the message numen.sandbox.v1.DeleteMatrixSessionRequest.
1748
+ * Use `create(DeleteMatrixSessionRequestSchema)` to create a new message.
1749
+ */
1750
+ declare const DeleteMatrixSessionRequestSchema: GenMessage<DeleteMatrixSessionRequest>;
1751
+ /**
1752
+ * @generated from message numen.sandbox.v1.GetAgentRequest
1753
+ */
1754
+ type GetAgentRequest = Message<"numen.sandbox.v1.GetAgentRequest"> & {
1755
+ /**
1756
+ * @generated from oneof numen.sandbox.v1.GetAgentRequest.key
1757
+ */
1758
+ key: {
1759
+ /**
1760
+ * @generated from field: string id = 1;
1761
+ */
1762
+ value: string;
1763
+ case: "id";
1764
+ } | {
1765
+ /**
1766
+ * @generated from field: string name = 2;
1767
+ */
1768
+ value: string;
1769
+ case: "name";
1770
+ } | {
1771
+ case: undefined;
1772
+ value?: undefined;
1773
+ };
1774
+ };
1775
+ /**
1776
+ * Describes the message numen.sandbox.v1.GetAgentRequest.
1777
+ * Use `create(GetAgentRequestSchema)` to create a new message.
1778
+ */
1779
+ declare const GetAgentRequestSchema: GenMessage<GetAgentRequest>;
1780
+ /**
1781
+ * @generated from message numen.sandbox.v1.ListAgentsRequest
1782
+ */
1783
+ type ListAgentsRequest = Message<"numen.sandbox.v1.ListAgentsRequest"> & {
1784
+ /**
1785
+ * @generated from field: int32 page_size = 1;
1786
+ */
1787
+ pageSize: number;
1788
+ /**
1789
+ * @generated from field: string page_token = 2;
1790
+ */
1791
+ pageToken: string;
1792
+ /**
1793
+ * @generated from field: optional bool messaging = 3;
1794
+ */
1795
+ messaging?: boolean | undefined;
1796
+ };
1797
+ /**
1798
+ * Describes the message numen.sandbox.v1.ListAgentsRequest.
1799
+ * Use `create(ListAgentsRequestSchema)` to create a new message.
1800
+ */
1801
+ declare const ListAgentsRequestSchema: GenMessage<ListAgentsRequest>;
1802
+ /**
1803
+ * @generated from message numen.sandbox.v1.ListAgentsResponse
1804
+ */
1805
+ type ListAgentsResponse = Message<"numen.sandbox.v1.ListAgentsResponse"> & {
1806
+ /**
1807
+ * @generated from field: repeated numen.sandbox.v1.Agent agents = 1;
1808
+ */
1809
+ agents: Agent$2[];
1810
+ /**
1811
+ * @generated from field: string next_page_token = 2;
1812
+ */
1813
+ nextPageToken: string;
1814
+ };
1815
+ /**
1816
+ * Describes the message numen.sandbox.v1.ListAgentsResponse.
1817
+ * Use `create(ListAgentsResponseSchema)` to create a new message.
1818
+ */
1819
+ declare const ListAgentsResponseSchema: GenMessage<ListAgentsResponse>;
1820
+ /**
1821
+ * @generated from message numen.sandbox.v1.DeleteAgentRequest
1822
+ */
1823
+ type DeleteAgentRequest = Message<"numen.sandbox.v1.DeleteAgentRequest"> & {
1824
+ /**
1825
+ * @generated from field: string id = 1;
1826
+ */
1827
+ id: string;
1828
+ };
1829
+ /**
1830
+ * Describes the message numen.sandbox.v1.DeleteAgentRequest.
1831
+ * Use `create(DeleteAgentRequestSchema)` to create a new message.
1832
+ */
1833
+ declare const DeleteAgentRequestSchema: GenMessage<DeleteAgentRequest>;
1834
+ /**
1835
+ * An HTTP grant opens the guest HTTP URL for one sandbox port.
1836
+ * token is set only on create. List and delete never return it.
1837
+ *
1838
+ * @generated from message numen.sandbox.v1.HTTPGrant
1839
+ */
1840
+ type HTTPGrant$2 = Message<"numen.sandbox.v1.HTTPGrant"> & {
1841
+ /**
1842
+ * @generated from field: string id = 1;
1843
+ */
1844
+ id: string;
1845
+ /**
1846
+ * @generated from field: string sandbox_id = 2;
1847
+ */
1848
+ sandboxId: string;
1849
+ /**
1850
+ * @generated from field: uint32 port = 3;
1851
+ */
1852
+ port: number;
1853
+ /**
1854
+ * @generated from field: google.protobuf.Timestamp expires_at = 4;
1855
+ */
1856
+ expiresAt?: Timestamp | undefined;
1857
+ /**
1858
+ * @generated from field: string token = 5;
1859
+ */
1860
+ token: string;
1861
+ };
1862
+ /**
1863
+ * Describes the message numen.sandbox.v1.HTTPGrant.
1864
+ * Use `create(HTTPGrantSchema)` to create a new message.
1865
+ */
1866
+ declare const HTTPGrantSchema: GenMessage<HTTPGrant$2>;
1867
+ /**
1868
+ * @generated from message numen.sandbox.v1.CreateHTTPGrantRequest
1869
+ */
1870
+ type CreateHTTPGrantRequest = Message<"numen.sandbox.v1.CreateHTTPGrantRequest"> & {
1871
+ /**
1872
+ * @generated from field: string sandbox_id = 1;
1873
+ */
1874
+ sandboxId: string;
1875
+ /**
1876
+ * @generated from field: uint32 port = 2;
1877
+ */
1878
+ port: number;
1879
+ /**
1880
+ * 0 means 3600 seconds. Values above 604800 are invalid_argument.
1881
+ *
1882
+ * @generated from field: int64 ttl_sec = 3;
1883
+ */
1884
+ ttlSec: bigint;
1885
+ };
1886
+ /**
1887
+ * Describes the message numen.sandbox.v1.CreateHTTPGrantRequest.
1888
+ * Use `create(CreateHTTPGrantRequestSchema)` to create a new message.
1889
+ */
1890
+ declare const CreateHTTPGrantRequestSchema: GenMessage<CreateHTTPGrantRequest>;
1891
+ /**
1892
+ * @generated from message numen.sandbox.v1.ListHTTPGrantsRequest
1893
+ */
1894
+ type ListHTTPGrantsRequest = Message<"numen.sandbox.v1.ListHTTPGrantsRequest"> & {
1895
+ /**
1896
+ * @generated from field: string sandbox_id = 1;
1897
+ */
1898
+ sandboxId: string;
1899
+ };
1900
+ /**
1901
+ * Describes the message numen.sandbox.v1.ListHTTPGrantsRequest.
1902
+ * Use `create(ListHTTPGrantsRequestSchema)` to create a new message.
1903
+ */
1904
+ declare const ListHTTPGrantsRequestSchema: GenMessage<ListHTTPGrantsRequest>;
1905
+ /**
1906
+ * @generated from message numen.sandbox.v1.ListHTTPGrantsResponse
1907
+ */
1908
+ type ListHTTPGrantsResponse = Message<"numen.sandbox.v1.ListHTTPGrantsResponse"> & {
1909
+ /**
1910
+ * @generated from field: repeated numen.sandbox.v1.HTTPGrant grants = 1;
1911
+ */
1912
+ grants: HTTPGrant$2[];
1913
+ };
1914
+ /**
1915
+ * Describes the message numen.sandbox.v1.ListHTTPGrantsResponse.
1916
+ * Use `create(ListHTTPGrantsResponseSchema)` to create a new message.
1917
+ */
1918
+ declare const ListHTTPGrantsResponseSchema: GenMessage<ListHTTPGrantsResponse>;
1919
+ /**
1920
+ * @generated from message numen.sandbox.v1.DeleteHTTPGrantRequest
1921
+ */
1922
+ type DeleteHTTPGrantRequest = Message<"numen.sandbox.v1.DeleteHTTPGrantRequest"> & {
1923
+ /**
1924
+ * @generated from field: string id = 1;
1925
+ */
1926
+ id: string;
1927
+ };
1928
+ /**
1929
+ * Describes the message numen.sandbox.v1.DeleteHTTPGrantRequest.
1930
+ * Use `create(DeleteHTTPGrantRequestSchema)` to create a new message.
1931
+ */
1932
+ declare const DeleteHTTPGrantRequestSchema: GenMessage<DeleteHTTPGrantRequest>;
1933
+ /**
1934
+ * @generated from message numen.sandbox.v1.ResolveHTTPGrantRequest
1935
+ */
1936
+ type ResolveHTTPGrantRequest = Message<"numen.sandbox.v1.ResolveHTTPGrantRequest"> & {
1937
+ /**
1938
+ * @generated from field: string sandbox_id = 1;
1939
+ */
1940
+ sandboxId: string;
1941
+ /**
1942
+ * @generated from field: uint32 port = 2;
1943
+ */
1944
+ port: number;
1945
+ };
1946
+ /**
1947
+ * Describes the message numen.sandbox.v1.ResolveHTTPGrantRequest.
1948
+ * Use `create(ResolveHTTPGrantRequestSchema)` to create a new message.
1949
+ */
1950
+ declare const ResolveHTTPGrantRequestSchema: GenMessage<ResolveHTTPGrantRequest>;
1951
+ /**
1952
+ * ResolveHTTPGrantResponse is the sandbox owner. The ingress copies tenant
1953
+ * and project onto the hop dial. The visitor has no Keska token.
1954
+ *
1955
+ * @generated from message numen.sandbox.v1.ResolveHTTPGrantResponse
1956
+ */
1957
+ type ResolveHTTPGrantResponse = Message<"numen.sandbox.v1.ResolveHTTPGrantResponse"> & {
1958
+ /**
1959
+ * @generated from field: string tenant_id = 1;
1960
+ */
1961
+ tenantId: string;
1962
+ /**
1963
+ * @generated from field: string project_id = 2;
1964
+ */
1965
+ projectId: string;
1966
+ };
1967
+ /**
1968
+ * Describes the message numen.sandbox.v1.ResolveHTTPGrantResponse.
1969
+ * Use `create(ResolveHTTPGrantResponseSchema)` to create a new message.
1970
+ */
1971
+ declare const ResolveHTTPGrantResponseSchema: GenMessage<ResolveHTTPGrantResponse>;
1972
+ /**
1973
+ * @generated from message numen.sandbox.v1.ScanPolicy
1974
+ */
1975
+ type ScanPolicy$1 = Message<"numen.sandbox.v1.ScanPolicy"> & {
1976
+ /**
1977
+ * @generated from field: repeated numen.sandbox.v1.ScanCheck checks = 1;
1978
+ */
1979
+ checks: ScanCheck$1[];
1980
+ /**
1981
+ * @generated from field: string every = 2;
1982
+ */
1983
+ every: string;
1984
+ /**
1985
+ * @generated from field: numen.sandbox.v1.Severity min_severity = 3;
1986
+ */
1987
+ minSeverity: Severity$1;
1988
+ };
1989
+ /**
1990
+ * @generated from message numen.sandbox.v1.RuntimePolicy
1991
+ */
1992
+ type RuntimePolicy$1 = Message<"numen.sandbox.v1.RuntimePolicy"> & {
1993
+ /**
1994
+ * @generated from field: repeated numen.sandbox.v1.RuntimeEvent events = 1;
1995
+ */
1996
+ events: RuntimeEvent$1[];
1997
+ };
1998
+ /**
1999
+ * @generated from message numen.sandbox.v1.ResourcePolicy
2000
+ */
2001
+ type ResourcePolicy$2 = Message<"numen.sandbox.v1.ResourcePolicy"> & {
2002
+ /**
2003
+ * @generated from field: string id = 1;
2004
+ */
2005
+ id: string;
2006
+ /**
2007
+ * @generated from field: string name = 2;
2008
+ */
2009
+ name: string;
2010
+ /**
2011
+ * @generated from field: optional int32 cpu_millicores = 3;
2012
+ */
2013
+ cpuMillicores?: number | undefined;
2014
+ /**
2015
+ * @generated from field: optional int64 memory_bytes = 4;
2016
+ */
2017
+ memoryBytes?: bigint | undefined;
2018
+ /**
2019
+ * @generated from field: optional int64 disk_bytes = 5;
2020
+ */
2021
+ diskBytes?: bigint | undefined;
2022
+ /**
2023
+ * @generated from field: google.protobuf.Timestamp created_at = 6;
2024
+ */
2025
+ createdAt?: Timestamp | undefined;
2026
+ /**
2027
+ * @generated from field: google.protobuf.Timestamp updated_at = 7;
2028
+ */
2029
+ updatedAt?: Timestamp | undefined;
2030
+ /**
2031
+ * @generated from field: int32 profile_count = 8;
2032
+ */
2033
+ profileCount: number;
2034
+ };
2035
+ /**
2036
+ * Describes the message numen.sandbox.v1.ResourcePolicy.
2037
+ * Use `create(ResourcePolicySchema)` to create a new message.
2038
+ */
2039
+ declare const ResourcePolicySchema: GenMessage<ResourcePolicy$2>;
2040
+ /**
2041
+ * @generated from message numen.sandbox.v1.CreateResourcePolicyRequest
2042
+ */
2043
+ type CreateResourcePolicyRequest = Message<"numen.sandbox.v1.CreateResourcePolicyRequest"> & {
2044
+ /**
2045
+ * @generated from field: string name = 1;
2046
+ */
2047
+ name: string;
2048
+ /**
2049
+ * @generated from field: optional int32 cpu_millicores = 2;
2050
+ */
2051
+ cpuMillicores?: number | undefined;
2052
+ /**
2053
+ * @generated from field: optional int64 memory_bytes = 3;
2054
+ */
2055
+ memoryBytes?: bigint | undefined;
2056
+ /**
2057
+ * @generated from field: optional int64 disk_bytes = 4;
2058
+ */
2059
+ diskBytes?: bigint | undefined;
2060
+ };
2061
+ /**
2062
+ * Describes the message numen.sandbox.v1.CreateResourcePolicyRequest.
2063
+ * Use `create(CreateResourcePolicyRequestSchema)` to create a new message.
2064
+ */
2065
+ declare const CreateResourcePolicyRequestSchema: GenMessage<CreateResourcePolicyRequest>;
2066
+ /**
2067
+ * @generated from message numen.sandbox.v1.GetResourcePolicyRequest
2068
+ */
2069
+ type GetResourcePolicyRequest = Message<"numen.sandbox.v1.GetResourcePolicyRequest"> & {
2070
+ /**
2071
+ * @generated from oneof numen.sandbox.v1.GetResourcePolicyRequest.key
2072
+ */
2073
+ key: {
2074
+ /**
2075
+ * @generated from field: string id = 1;
2076
+ */
2077
+ value: string;
2078
+ case: "id";
2079
+ } | {
2080
+ /**
2081
+ * @generated from field: string name = 2;
2082
+ */
2083
+ value: string;
2084
+ case: "name";
2085
+ } | {
2086
+ case: undefined;
2087
+ value?: undefined;
2088
+ };
2089
+ };
2090
+ /**
2091
+ * Describes the message numen.sandbox.v1.GetResourcePolicyRequest.
2092
+ * Use `create(GetResourcePolicyRequestSchema)` to create a new message.
2093
+ */
2094
+ declare const GetResourcePolicyRequestSchema: GenMessage<GetResourcePolicyRequest>;
2095
+ /**
2096
+ * @generated from message numen.sandbox.v1.ListResourcePoliciesRequest
2097
+ */
2098
+ type ListResourcePoliciesRequest = Message<"numen.sandbox.v1.ListResourcePoliciesRequest"> & {
2099
+ /**
2100
+ * @generated from field: int32 page_size = 1;
2101
+ */
2102
+ pageSize: number;
2103
+ /**
2104
+ * @generated from field: string page_token = 2;
2105
+ */
2106
+ pageToken: string;
2107
+ };
2108
+ /**
2109
+ * Describes the message numen.sandbox.v1.ListResourcePoliciesRequest.
2110
+ * Use `create(ListResourcePoliciesRequestSchema)` to create a new message.
2111
+ */
2112
+ declare const ListResourcePoliciesRequestSchema: GenMessage<ListResourcePoliciesRequest>;
2113
+ /**
2114
+ * @generated from message numen.sandbox.v1.ListResourcePoliciesResponse
2115
+ */
2116
+ type ListResourcePoliciesResponse = Message<"numen.sandbox.v1.ListResourcePoliciesResponse"> & {
2117
+ /**
2118
+ * @generated from field: repeated numen.sandbox.v1.ResourcePolicy resource_policies = 1;
2119
+ */
2120
+ resourcePolicies: ResourcePolicy$2[];
2121
+ /**
2122
+ * @generated from field: string next_page_token = 2;
2123
+ */
2124
+ nextPageToken: string;
2125
+ };
2126
+ /**
2127
+ * Describes the message numen.sandbox.v1.ListResourcePoliciesResponse.
2128
+ * Use `create(ListResourcePoliciesResponseSchema)` to create a new message.
2129
+ */
2130
+ declare const ListResourcePoliciesResponseSchema: GenMessage<ListResourcePoliciesResponse>;
2131
+ /**
2132
+ * @generated from message numen.sandbox.v1.UpdateResourcePolicyRequest
2133
+ */
2134
+ type UpdateResourcePolicyRequest = Message<"numen.sandbox.v1.UpdateResourcePolicyRequest"> & {
2135
+ /**
2136
+ * @generated from field: string id = 1;
2137
+ */
2138
+ id: string;
2139
+ /**
2140
+ * @generated from field: string name = 2;
2141
+ */
2142
+ name: string;
2143
+ /**
2144
+ * @generated from field: optional int32 cpu_millicores = 3;
2145
+ */
2146
+ cpuMillicores?: number | undefined;
2147
+ /**
2148
+ * @generated from field: optional int64 memory_bytes = 4;
2149
+ */
2150
+ memoryBytes?: bigint | undefined;
2151
+ /**
2152
+ * @generated from field: optional int64 disk_bytes = 5;
2153
+ */
2154
+ diskBytes?: bigint | undefined;
2155
+ /**
2156
+ * @generated from field: bool clear_cpu = 6;
2157
+ */
2158
+ clearCpu: boolean;
2159
+ /**
2160
+ * @generated from field: bool clear_memory = 7;
2161
+ */
2162
+ clearMemory: boolean;
2163
+ /**
2164
+ * @generated from field: bool clear_disk = 8;
2165
+ */
2166
+ clearDisk: boolean;
2167
+ };
2168
+ /**
2169
+ * Describes the message numen.sandbox.v1.UpdateResourcePolicyRequest.
2170
+ * Use `create(UpdateResourcePolicyRequestSchema)` to create a new message.
2171
+ */
2172
+ declare const UpdateResourcePolicyRequestSchema: GenMessage<UpdateResourcePolicyRequest>;
2173
+ /**
2174
+ * @generated from message numen.sandbox.v1.DeleteResourcePolicyRequest
2175
+ */
2176
+ type DeleteResourcePolicyRequest = Message<"numen.sandbox.v1.DeleteResourcePolicyRequest"> & {
2177
+ /**
2178
+ * @generated from field: string id = 1;
2179
+ */
2180
+ id: string;
2181
+ };
2182
+ /**
2183
+ * Describes the message numen.sandbox.v1.DeleteResourcePolicyRequest.
2184
+ * Use `create(DeleteResourcePolicyRequestSchema)` to create a new message.
2185
+ */
2186
+ declare const DeleteResourcePolicyRequestSchema: GenMessage<DeleteResourcePolicyRequest>;
2187
+ /**
2188
+ * @generated from message numen.sandbox.v1.SecurityPolicy
2189
+ */
2190
+ type SecurityPolicy$2 = Message<"numen.sandbox.v1.SecurityPolicy"> & {
2191
+ /**
2192
+ * @generated from field: string id = 1;
2193
+ */
2194
+ id: string;
2195
+ /**
2196
+ * @generated from field: string name = 2;
2197
+ */
2198
+ name: string;
2199
+ /**
2200
+ * @generated from field: google.protobuf.Timestamp created_at = 6;
2201
+ */
2202
+ createdAt?: Timestamp | undefined;
2203
+ /**
2204
+ * @generated from field: google.protobuf.Timestamp updated_at = 7;
2205
+ */
2206
+ updatedAt?: Timestamp | undefined;
2207
+ /**
2208
+ * @generated from field: int32 profile_count = 8;
2209
+ */
2210
+ profileCount: number;
2211
+ /**
2212
+ * @generated from field: numen.sandbox.v1.ScanPolicy scanning = 9;
2213
+ */
2214
+ scanning?: ScanPolicy$1 | undefined;
2215
+ /**
2216
+ * @generated from field: numen.sandbox.v1.RuntimePolicy runtime = 10;
2217
+ */
2218
+ runtime?: RuntimePolicy$1 | undefined;
2219
+ };
2220
+ /**
2221
+ * Describes the message numen.sandbox.v1.SecurityPolicy.
2222
+ * Use `create(SecurityPolicySchema)` to create a new message.
2223
+ */
2224
+ declare const SecurityPolicySchema: GenMessage<SecurityPolicy$2>;
2225
+ /**
2226
+ * @generated from message numen.sandbox.v1.CreateSecurityPolicyRequest
2227
+ */
2228
+ type CreateSecurityPolicyRequest = Message<"numen.sandbox.v1.CreateSecurityPolicyRequest"> & {
2229
+ /**
2230
+ * @generated from field: string name = 1;
2231
+ */
2232
+ name: string;
2233
+ /**
2234
+ * @generated from field: numen.sandbox.v1.ScanPolicy scanning = 2;
2235
+ */
2236
+ scanning?: ScanPolicy$1 | undefined;
2237
+ /**
2238
+ * @generated from field: numen.sandbox.v1.RuntimePolicy runtime = 3;
2239
+ */
2240
+ runtime?: RuntimePolicy$1 | undefined;
2241
+ };
2242
+ /**
2243
+ * Describes the message numen.sandbox.v1.CreateSecurityPolicyRequest.
2244
+ * Use `create(CreateSecurityPolicyRequestSchema)` to create a new message.
2245
+ */
2246
+ declare const CreateSecurityPolicyRequestSchema: GenMessage<CreateSecurityPolicyRequest>;
2247
+ /**
2248
+ * @generated from message numen.sandbox.v1.GetSecurityPolicyRequest
2249
+ */
2250
+ type GetSecurityPolicyRequest = Message<"numen.sandbox.v1.GetSecurityPolicyRequest"> & {
2251
+ /**
2252
+ * @generated from oneof numen.sandbox.v1.GetSecurityPolicyRequest.key
2253
+ */
2254
+ key: {
2255
+ /**
2256
+ * @generated from field: string id = 1;
2257
+ */
2258
+ value: string;
2259
+ case: "id";
2260
+ } | {
2261
+ /**
2262
+ * @generated from field: string name = 2;
2263
+ */
2264
+ value: string;
2265
+ case: "name";
2266
+ } | {
2267
+ case: undefined;
2268
+ value?: undefined;
2269
+ };
2270
+ };
2271
+ /**
2272
+ * Describes the message numen.sandbox.v1.GetSecurityPolicyRequest.
2273
+ * Use `create(GetSecurityPolicyRequestSchema)` to create a new message.
2274
+ */
2275
+ declare const GetSecurityPolicyRequestSchema: GenMessage<GetSecurityPolicyRequest>;
2276
+ /**
2277
+ * @generated from message numen.sandbox.v1.ListSecurityPoliciesRequest
2278
+ */
2279
+ type ListSecurityPoliciesRequest = Message<"numen.sandbox.v1.ListSecurityPoliciesRequest"> & {
2280
+ /**
2281
+ * @generated from field: int32 page_size = 1;
2282
+ */
2283
+ pageSize: number;
2284
+ /**
2285
+ * @generated from field: string page_token = 2;
2286
+ */
2287
+ pageToken: string;
2288
+ };
2289
+ /**
2290
+ * Describes the message numen.sandbox.v1.ListSecurityPoliciesRequest.
2291
+ * Use `create(ListSecurityPoliciesRequestSchema)` to create a new message.
2292
+ */
2293
+ declare const ListSecurityPoliciesRequestSchema: GenMessage<ListSecurityPoliciesRequest>;
2294
+ /**
2295
+ * @generated from message numen.sandbox.v1.ListSecurityPoliciesResponse
2296
+ */
2297
+ type ListSecurityPoliciesResponse = Message<"numen.sandbox.v1.ListSecurityPoliciesResponse"> & {
2298
+ /**
2299
+ * @generated from field: repeated numen.sandbox.v1.SecurityPolicy security_policies = 1;
2300
+ */
2301
+ securityPolicies: SecurityPolicy$2[];
2302
+ /**
2303
+ * @generated from field: string next_page_token = 2;
2304
+ */
2305
+ nextPageToken: string;
2306
+ };
2307
+ /**
2308
+ * Describes the message numen.sandbox.v1.ListSecurityPoliciesResponse.
2309
+ * Use `create(ListSecurityPoliciesResponseSchema)` to create a new message.
2310
+ */
2311
+ declare const ListSecurityPoliciesResponseSchema: GenMessage<ListSecurityPoliciesResponse>;
2312
+ /**
2313
+ * @generated from message numen.sandbox.v1.UpdateSecurityPolicyRequest
2314
+ */
2315
+ type UpdateSecurityPolicyRequest = Message<"numen.sandbox.v1.UpdateSecurityPolicyRequest"> & {
2316
+ /**
2317
+ * @generated from field: string id = 1;
2318
+ */
2319
+ id: string;
2320
+ /**
2321
+ * @generated from field: string name = 2;
2322
+ */
2323
+ name: string;
2324
+ /**
2325
+ * @generated from field: numen.sandbox.v1.ScanPolicy scanning = 3;
2326
+ */
2327
+ scanning?: ScanPolicy$1 | undefined;
2328
+ /**
2329
+ * @generated from field: numen.sandbox.v1.RuntimePolicy runtime = 4;
2330
+ */
2331
+ runtime?: RuntimePolicy$1 | undefined;
2332
+ /**
2333
+ * @generated from field: bool clear_scanning = 5;
2334
+ */
2335
+ clearScanning: boolean;
2336
+ /**
2337
+ * @generated from field: bool clear_runtime = 6;
2338
+ */
2339
+ clearRuntime: boolean;
2340
+ };
2341
+ /**
2342
+ * Describes the message numen.sandbox.v1.UpdateSecurityPolicyRequest.
2343
+ * Use `create(UpdateSecurityPolicyRequestSchema)` to create a new message.
2344
+ */
2345
+ declare const UpdateSecurityPolicyRequestSchema: GenMessage<UpdateSecurityPolicyRequest>;
2346
+ /**
2347
+ * @generated from message numen.sandbox.v1.DeleteSecurityPolicyRequest
2348
+ */
2349
+ type DeleteSecurityPolicyRequest = Message<"numen.sandbox.v1.DeleteSecurityPolicyRequest"> & {
2350
+ /**
2351
+ * @generated from field: string id = 1;
2352
+ */
2353
+ id: string;
2354
+ };
2355
+ /**
2356
+ * Describes the message numen.sandbox.v1.DeleteSecurityPolicyRequest.
2357
+ * Use `create(DeleteSecurityPolicyRequestSchema)` to create a new message.
2358
+ */
2359
+ declare const DeleteSecurityPolicyRequestSchema: GenMessage<DeleteSecurityPolicyRequest>;
2360
+ /**
2361
+ * @generated from message numen.sandbox.v1.Profile
2362
+ */
2363
+ type Profile$2 = Message<"numen.sandbox.v1.Profile"> & {
2364
+ /**
2365
+ * @generated from field: string id = 1;
2366
+ */
2367
+ id: string;
2368
+ /**
2369
+ * @generated from field: string name = 2;
2370
+ */
2371
+ name: string;
2372
+ /**
2373
+ * @generated from field: numen.sandbox.v1.ResourcePolicy resource_policy = 3;
2374
+ */
2375
+ resourcePolicy?: ResourcePolicy$2 | undefined;
2376
+ /**
2377
+ * @generated from field: numen.sandbox.v1.SecurityPolicy security_policy = 4;
2378
+ */
2379
+ securityPolicy?: SecurityPolicy$2 | undefined;
2380
+ /**
2381
+ * @generated from field: int32 sandbox_count = 5;
2382
+ */
2383
+ sandboxCount: number;
2384
+ /**
2385
+ * @generated from field: int32 template_count = 6;
2386
+ */
2387
+ templateCount: number;
2388
+ /**
2389
+ * @generated from field: int32 agent_count = 7;
2390
+ */
2391
+ agentCount: number;
2392
+ /**
2393
+ * @generated from field: google.protobuf.Timestamp created_at = 8;
2394
+ */
2395
+ createdAt?: Timestamp | undefined;
2396
+ /**
2397
+ * @generated from field: google.protobuf.Timestamp updated_at = 9;
2398
+ */
2399
+ updatedAt?: Timestamp | undefined;
2400
+ /**
2401
+ * @generated from field: string resource_policy_id = 10;
2402
+ */
2403
+ resourcePolicyId: string;
2404
+ /**
2405
+ * @generated from field: string security_policy_id = 11;
2406
+ */
2407
+ securityPolicyId: string;
2408
+ };
2409
+ /**
2410
+ * Describes the message numen.sandbox.v1.Profile.
2411
+ * Use `create(ProfileSchema)` to create a new message.
2412
+ */
2413
+ declare const ProfileSchema: GenMessage<Profile$2>;
2414
+ /**
2415
+ * @generated from message numen.sandbox.v1.CreateProfileRequest
2416
+ */
2417
+ type CreateProfileRequest = Message<"numen.sandbox.v1.CreateProfileRequest"> & {
2418
+ /**
2419
+ * @generated from field: string name = 1;
2420
+ */
2421
+ name: string;
2422
+ /**
2423
+ * @generated from field: string resource_policy_id = 2;
2424
+ */
2425
+ resourcePolicyId: string;
2426
+ /**
2427
+ * @generated from field: string security_policy_id = 3;
2428
+ */
2429
+ securityPolicyId: string;
2430
+ };
2431
+ /**
2432
+ * Describes the message numen.sandbox.v1.CreateProfileRequest.
2433
+ * Use `create(CreateProfileRequestSchema)` to create a new message.
2434
+ */
2435
+ declare const CreateProfileRequestSchema: GenMessage<CreateProfileRequest>;
2436
+ /**
2437
+ * @generated from message numen.sandbox.v1.GetProfileRequest
2438
+ */
2439
+ type GetProfileRequest = Message<"numen.sandbox.v1.GetProfileRequest"> & {
2440
+ /**
2441
+ * @generated from oneof numen.sandbox.v1.GetProfileRequest.key
2442
+ */
2443
+ key: {
2444
+ /**
2445
+ * @generated from field: string id = 1;
2446
+ */
2447
+ value: string;
2448
+ case: "id";
2449
+ } | {
2450
+ /**
2451
+ * @generated from field: string name = 2;
2452
+ */
2453
+ value: string;
2454
+ case: "name";
2455
+ } | {
2456
+ case: undefined;
2457
+ value?: undefined;
2458
+ };
2459
+ };
2460
+ /**
2461
+ * Describes the message numen.sandbox.v1.GetProfileRequest.
2462
+ * Use `create(GetProfileRequestSchema)` to create a new message.
2463
+ */
2464
+ declare const GetProfileRequestSchema: GenMessage<GetProfileRequest>;
2465
+ /**
2466
+ * @generated from message numen.sandbox.v1.ListProfilesRequest
2467
+ */
2468
+ type ListProfilesRequest = Message<"numen.sandbox.v1.ListProfilesRequest"> & {
2469
+ /**
2470
+ * @generated from field: int32 page_size = 1;
2471
+ */
2472
+ pageSize: number;
2473
+ /**
2474
+ * @generated from field: string page_token = 2;
2475
+ */
2476
+ pageToken: string;
2477
+ };
2478
+ /**
2479
+ * Describes the message numen.sandbox.v1.ListProfilesRequest.
2480
+ * Use `create(ListProfilesRequestSchema)` to create a new message.
2481
+ */
2482
+ declare const ListProfilesRequestSchema: GenMessage<ListProfilesRequest>;
2483
+ /**
2484
+ * @generated from message numen.sandbox.v1.ListProfilesResponse
2485
+ */
2486
+ type ListProfilesResponse = Message<"numen.sandbox.v1.ListProfilesResponse"> & {
2487
+ /**
2488
+ * @generated from field: repeated numen.sandbox.v1.Profile profiles = 1;
2489
+ */
2490
+ profiles: Profile$2[];
2491
+ /**
2492
+ * @generated from field: string next_page_token = 2;
2493
+ */
2494
+ nextPageToken: string;
2495
+ };
2496
+ /**
2497
+ * Describes the message numen.sandbox.v1.ListProfilesResponse.
2498
+ * Use `create(ListProfilesResponseSchema)` to create a new message.
2499
+ */
2500
+ declare const ListProfilesResponseSchema: GenMessage<ListProfilesResponse>;
2501
+ /**
2502
+ * @generated from message numen.sandbox.v1.UpdateProfileRequest
2503
+ */
2504
+ type UpdateProfileRequest = Message<"numen.sandbox.v1.UpdateProfileRequest"> & {
2505
+ /**
2506
+ * @generated from field: string id = 1;
2507
+ */
2508
+ id: string;
2509
+ /**
2510
+ * @generated from field: string name = 2;
2511
+ */
2512
+ name: string;
2513
+ /**
2514
+ * @generated from field: string resource_policy_id = 3;
2515
+ */
2516
+ resourcePolicyId: string;
2517
+ /**
2518
+ * @generated from field: string security_policy_id = 4;
2519
+ */
2520
+ securityPolicyId: string;
2521
+ /**
2522
+ * @generated from field: bool clear_resource_policy = 5;
2523
+ */
2524
+ clearResourcePolicy: boolean;
2525
+ /**
2526
+ * @generated from field: bool clear_security_policy = 6;
2527
+ */
2528
+ clearSecurityPolicy: boolean;
2529
+ };
2530
+ /**
2531
+ * Describes the message numen.sandbox.v1.UpdateProfileRequest.
2532
+ * Use `create(UpdateProfileRequestSchema)` to create a new message.
2533
+ */
2534
+ declare const UpdateProfileRequestSchema: GenMessage<UpdateProfileRequest>;
2535
+ /**
2536
+ * @generated from message numen.sandbox.v1.DeleteProfileRequest
2537
+ */
2538
+ type DeleteProfileRequest = Message<"numen.sandbox.v1.DeleteProfileRequest"> & {
2539
+ /**
2540
+ * @generated from field: string id = 1;
2541
+ */
2542
+ id: string;
2543
+ };
2544
+ /**
2545
+ * Describes the message numen.sandbox.v1.DeleteProfileRequest.
2546
+ * Use `create(DeleteProfileRequestSchema)` to create a new message.
2547
+ */
2548
+ declare const DeleteProfileRequestSchema: GenMessage<DeleteProfileRequest>;
2549
+ /**
2550
+ * @generated from message numen.sandbox.v1.Template
2551
+ */
2552
+ type Template$2 = Message<"numen.sandbox.v1.Template"> & {
2553
+ /**
2554
+ * @generated from field: string id = 1;
2555
+ */
2556
+ id: string;
2557
+ /**
2558
+ * @generated from field: string name = 2;
2559
+ */
2560
+ name: string;
2561
+ /**
2562
+ * @generated from field: string image = 3;
2563
+ */
2564
+ image: string;
2565
+ /**
2566
+ * @generated from field: map<string, string> secret_env = 4;
2567
+ */
2568
+ secretEnv: {
2569
+ [key: string]: string;
2570
+ };
2571
+ /**
2572
+ * @generated from field: string profile_id = 5;
2573
+ */
2574
+ profileId: string;
2575
+ /**
2576
+ * @generated from field: int32 agent_count = 6;
2577
+ */
2578
+ agentCount: number;
2579
+ /**
2580
+ * @generated from field: google.protobuf.Timestamp created_at = 7;
2581
+ */
2582
+ createdAt?: Timestamp | undefined;
2583
+ /**
2584
+ * @generated from field: google.protobuf.Timestamp updated_at = 8;
2585
+ */
2586
+ updatedAt?: Timestamp | undefined;
2587
+ };
2588
+ /**
2589
+ * Describes the message numen.sandbox.v1.Template.
2590
+ * Use `create(TemplateSchema)` to create a new message.
2591
+ */
2592
+ declare const TemplateSchema: GenMessage<Template$2>;
2593
+ /**
2594
+ * @generated from message numen.sandbox.v1.CreateTemplateRequest
2595
+ */
2596
+ type CreateTemplateRequest = Message<"numen.sandbox.v1.CreateTemplateRequest"> & {
2597
+ /**
2598
+ * @generated from field: string name = 1;
2599
+ */
2600
+ name: string;
2601
+ /**
2602
+ * @generated from field: string image = 2;
2603
+ */
2604
+ image: string;
2605
+ /**
2606
+ * @generated from field: map<string, string> secret_env = 3;
2607
+ */
2608
+ secretEnv: {
2609
+ [key: string]: string;
2610
+ };
2611
+ /**
2612
+ * @generated from field: string profile_id = 4;
2613
+ */
2614
+ profileId: string;
2615
+ };
2616
+ /**
2617
+ * Describes the message numen.sandbox.v1.CreateTemplateRequest.
2618
+ * Use `create(CreateTemplateRequestSchema)` to create a new message.
2619
+ */
2620
+ declare const CreateTemplateRequestSchema: GenMessage<CreateTemplateRequest>;
2621
+ /**
2622
+ * @generated from message numen.sandbox.v1.GetTemplateRequest
2623
+ */
2624
+ type GetTemplateRequest = Message<"numen.sandbox.v1.GetTemplateRequest"> & {
2625
+ /**
2626
+ * @generated from oneof numen.sandbox.v1.GetTemplateRequest.key
2627
+ */
2628
+ key: {
2629
+ /**
2630
+ * @generated from field: string id = 1;
2631
+ */
2632
+ value: string;
2633
+ case: "id";
2634
+ } | {
2635
+ /**
2636
+ * @generated from field: string name = 2;
2637
+ */
2638
+ value: string;
2639
+ case: "name";
2640
+ } | {
2641
+ case: undefined;
2642
+ value?: undefined;
2643
+ };
2644
+ };
2645
+ /**
2646
+ * Describes the message numen.sandbox.v1.GetTemplateRequest.
2647
+ * Use `create(GetTemplateRequestSchema)` to create a new message.
2648
+ */
2649
+ declare const GetTemplateRequestSchema: GenMessage<GetTemplateRequest>;
2650
+ /**
2651
+ * @generated from message numen.sandbox.v1.ListTemplatesRequest
2652
+ */
2653
+ type ListTemplatesRequest = Message<"numen.sandbox.v1.ListTemplatesRequest"> & {
2654
+ /**
2655
+ * @generated from field: int32 page_size = 1;
2656
+ */
2657
+ pageSize: number;
2658
+ /**
2659
+ * @generated from field: string page_token = 2;
2660
+ */
2661
+ pageToken: string;
2662
+ };
2663
+ /**
2664
+ * Describes the message numen.sandbox.v1.ListTemplatesRequest.
2665
+ * Use `create(ListTemplatesRequestSchema)` to create a new message.
2666
+ */
2667
+ declare const ListTemplatesRequestSchema: GenMessage<ListTemplatesRequest>;
2668
+ /**
2669
+ * @generated from message numen.sandbox.v1.ListTemplatesResponse
2670
+ */
2671
+ type ListTemplatesResponse = Message<"numen.sandbox.v1.ListTemplatesResponse"> & {
2672
+ /**
2673
+ * @generated from field: repeated numen.sandbox.v1.Template templates = 1;
2674
+ */
2675
+ templates: Template$2[];
2676
+ /**
2677
+ * @generated from field: string next_page_token = 2;
2678
+ */
2679
+ nextPageToken: string;
2680
+ };
2681
+ /**
2682
+ * Describes the message numen.sandbox.v1.ListTemplatesResponse.
2683
+ * Use `create(ListTemplatesResponseSchema)` to create a new message.
2684
+ */
2685
+ declare const ListTemplatesResponseSchema: GenMessage<ListTemplatesResponse>;
2686
+ /**
2687
+ * @generated from message numen.sandbox.v1.UpdateTemplateRequest
2688
+ */
2689
+ type UpdateTemplateRequest = Message<"numen.sandbox.v1.UpdateTemplateRequest"> & {
2690
+ /**
2691
+ * @generated from field: string id = 1;
2692
+ */
2693
+ id: string;
2694
+ /**
2695
+ * @generated from field: string name = 2;
2696
+ */
2697
+ name: string;
2698
+ /**
2699
+ * @generated from field: string image = 3;
2700
+ */
2701
+ image: string;
2702
+ /**
2703
+ * @generated from field: map<string, string> secret_env = 4;
2704
+ */
2705
+ secretEnv: {
2706
+ [key: string]: string;
2707
+ };
2708
+ /**
2709
+ * @generated from field: string profile_id = 5;
2710
+ */
2711
+ profileId: string;
2712
+ /**
2713
+ * @generated from field: bool clear_profile = 6;
2714
+ */
2715
+ clearProfile: boolean;
2716
+ /**
2717
+ * @generated from field: bool replace_secret_env = 7;
2718
+ */
2719
+ replaceSecretEnv: boolean;
2720
+ };
2721
+ /**
2722
+ * Describes the message numen.sandbox.v1.UpdateTemplateRequest.
2723
+ * Use `create(UpdateTemplateRequestSchema)` to create a new message.
2724
+ */
2725
+ declare const UpdateTemplateRequestSchema: GenMessage<UpdateTemplateRequest>;
2726
+ /**
2727
+ * @generated from message numen.sandbox.v1.DeleteTemplateRequest
2728
+ */
2729
+ type DeleteTemplateRequest = Message<"numen.sandbox.v1.DeleteTemplateRequest"> & {
2730
+ /**
2731
+ * @generated from field: string id = 1;
2732
+ */
2733
+ id: string;
2734
+ };
2735
+ /**
2736
+ * Describes the message numen.sandbox.v1.DeleteTemplateRequest.
2737
+ * Use `create(DeleteTemplateRequestSchema)` to create a new message.
2738
+ */
2739
+ declare const DeleteTemplateRequestSchema: GenMessage<DeleteTemplateRequest>;
2740
+ /**
2741
+ * @generated from message numen.sandbox.v1.Image
2742
+ */
2743
+ type Image$1 = Message<"numen.sandbox.v1.Image"> & {
2744
+ /**
2745
+ * @generated from field: string name = 1;
2746
+ */
2747
+ name: string;
2748
+ /**
2749
+ * @generated from field: numen.sandbox.v1.ImageKind kind = 2;
2750
+ */
2751
+ kind: ImageKind$1;
2752
+ /**
2753
+ * @generated from field: string digest = 3;
2754
+ */
2755
+ digest: string;
2756
+ /**
2757
+ * @generated from field: google.protobuf.Timestamp updated_at = 4;
2758
+ */
2759
+ updatedAt?: Timestamp | undefined;
2760
+ };
2761
+ /**
2762
+ * Describes the message numen.sandbox.v1.Image.
2763
+ * Use `create(ImageSchema)` to create a new message.
2764
+ */
2765
+ declare const ImageSchema: GenMessage<Image$1>;
2766
+ /**
2767
+ * @generated from message numen.sandbox.v1.RegisterImageRequest
2768
+ */
2769
+ type RegisterImageRequest = Message<"numen.sandbox.v1.RegisterImageRequest"> & {
2770
+ /**
2771
+ * @generated from field: string name = 1;
2772
+ */
2773
+ name: string;
2774
+ /**
2775
+ * @generated from field: string source = 2;
2776
+ */
2777
+ source: string;
2778
+ /**
2779
+ * Omitted waits until every placement peer has pulled the image.
2780
+ * Explicit false returns once the name is in the project registry. The pull still starts.
2781
+ *
2782
+ * @generated from field: optional bool wait_until_ready = 3;
2783
+ */
2784
+ waitUntilReady?: boolean | undefined;
2785
+ };
2786
+ /**
2787
+ * Describes the message numen.sandbox.v1.RegisterImageRequest.
2788
+ * Use `create(RegisterImageRequestSchema)` to create a new message.
2789
+ */
2790
+ declare const RegisterImageRequestSchema: GenMessage<RegisterImageRequest>;
2791
+ /**
2792
+ * @generated from message numen.sandbox.v1.BuildImageHeader
2793
+ */
2794
+ type BuildImageHeader = Message<"numen.sandbox.v1.BuildImageHeader"> & {
2795
+ /**
2796
+ * @generated from field: string name = 1;
2797
+ */
2798
+ name: string;
2799
+ /**
2800
+ * @generated from field: string dockerfile = 2;
2801
+ */
2802
+ dockerfile: string;
2803
+ /**
2804
+ * Same rule as RegisterImageRequest.wait_until_ready.
2805
+ *
2806
+ * @generated from field: optional bool wait_until_ready = 3;
2807
+ */
2808
+ waitUntilReady?: boolean | undefined;
2809
+ };
2810
+ /**
2811
+ * @generated from message numen.sandbox.v1.BuildImageRequest
2812
+ */
2813
+ type BuildImageRequest = Message<"numen.sandbox.v1.BuildImageRequest"> & {
2814
+ /**
2815
+ * @generated from oneof numen.sandbox.v1.BuildImageRequest.part
2816
+ */
2817
+ part: {
2818
+ /**
2819
+ * @generated from field: numen.sandbox.v1.BuildImageHeader header = 1;
2820
+ */
2821
+ value: BuildImageHeader;
2822
+ case: "header";
2823
+ } | {
2824
+ /**
2825
+ * @generated from field: bytes chunk = 2;
2826
+ */
2827
+ value: Uint8Array;
2828
+ case: "chunk";
2829
+ } | {
2830
+ case: undefined;
2831
+ value?: undefined;
2832
+ };
2833
+ };
2834
+ /**
2835
+ * Describes the message numen.sandbox.v1.BuildImageRequest.
2836
+ * Use `create(BuildImageRequestSchema)` to create a new message.
2837
+ */
2838
+ declare const BuildImageRequestSchema: GenMessage<BuildImageRequest>;
2839
+ /**
2840
+ * @generated from message numen.sandbox.v1.GetImageRequest
2841
+ */
2842
+ type GetImageRequest = Message<"numen.sandbox.v1.GetImageRequest"> & {
2843
+ /**
2844
+ * @generated from field: string name = 1;
2845
+ */
2846
+ name: string;
2847
+ };
2848
+ /**
2849
+ * Describes the message numen.sandbox.v1.GetImageRequest.
2850
+ * Use `create(GetImageRequestSchema)` to create a new message.
2851
+ */
2852
+ declare const GetImageRequestSchema: GenMessage<GetImageRequest>;
2853
+ /**
2854
+ * @generated from message numen.sandbox.v1.ListImagesRequest
2855
+ */
2856
+ type ListImagesRequest = Message<"numen.sandbox.v1.ListImagesRequest"> & {
2857
+ /**
2858
+ * @generated from field: int32 page_size = 1;
2859
+ */
2860
+ pageSize: number;
2861
+ /**
2862
+ * @generated from field: string page_token = 2;
2863
+ */
2864
+ pageToken: string;
2865
+ };
2866
+ /**
2867
+ * Describes the message numen.sandbox.v1.ListImagesRequest.
2868
+ * Use `create(ListImagesRequestSchema)` to create a new message.
2869
+ */
2870
+ declare const ListImagesRequestSchema: GenMessage<ListImagesRequest>;
2871
+ /**
2872
+ * @generated from message numen.sandbox.v1.ListImagesResponse
2873
+ */
2874
+ type ListImagesResponse = Message<"numen.sandbox.v1.ListImagesResponse"> & {
2875
+ /**
2876
+ * @generated from field: repeated numen.sandbox.v1.Image images = 1;
2877
+ */
2878
+ images: Image$1[];
2879
+ /**
2880
+ * @generated from field: string next_page_token = 2;
2881
+ */
2882
+ nextPageToken: string;
2883
+ };
2884
+ /**
2885
+ * Describes the message numen.sandbox.v1.ListImagesResponse.
2886
+ * Use `create(ListImagesResponseSchema)` to create a new message.
2887
+ */
2888
+ declare const ListImagesResponseSchema: GenMessage<ListImagesResponse>;
2889
+ /**
2890
+ * @generated from message numen.sandbox.v1.DeleteImageRequest
2891
+ */
2892
+ type DeleteImageRequest = Message<"numen.sandbox.v1.DeleteImageRequest"> & {
2893
+ /**
2894
+ * @generated from field: string name = 1;
2895
+ */
2896
+ name: string;
2897
+ };
2898
+ /**
2899
+ * Describes the message numen.sandbox.v1.DeleteImageRequest.
2900
+ * Use `create(DeleteImageRequestSchema)` to create a new message.
2901
+ */
2902
+ declare const DeleteImageRequestSchema: GenMessage<DeleteImageRequest>;
2903
+ /**
2904
+ * @generated from message numen.sandbox.v1.LogArchive
2905
+ */
2906
+ type LogArchive = Message<"numen.sandbox.v1.LogArchive"> & {
2907
+ /**
2908
+ * @generated from field: string sandbox_id = 1;
2909
+ */
2910
+ sandboxId: string;
2911
+ /**
2912
+ * @generated from field: google.protobuf.Timestamp deleted_at = 2;
2913
+ */
2914
+ deletedAt?: Timestamp | undefined;
2915
+ /**
2916
+ * @generated from field: google.protobuf.Timestamp expires_at = 3;
2917
+ */
2918
+ expiresAt?: Timestamp | undefined;
2919
+ /**
2920
+ * @generated from field: string name = 4;
2921
+ */
2922
+ name: string;
2923
+ /**
2924
+ * @generated from field: string image = 5;
2925
+ */
2926
+ image: string;
2927
+ /**
2928
+ * @generated from field: map<string, string> labels = 6;
2929
+ */
2930
+ labels: {
2931
+ [key: string]: string;
2932
+ };
2933
+ /**
2934
+ * @generated from field: google.protobuf.Timestamp created_at = 8;
2935
+ */
2936
+ createdAt?: Timestamp | undefined;
2937
+ /**
2938
+ * @generated from field: string profile_id = 9;
2939
+ */
2940
+ profileId: string;
2941
+ };
2942
+ /**
2943
+ * @generated from message numen.sandbox.v1.ListLogArchivesRequest
2944
+ */
2945
+ type ListLogArchivesRequest = Message<"numen.sandbox.v1.ListLogArchivesRequest"> & {
2946
+ /**
2947
+ * @generated from field: int32 page_size = 1;
2948
+ */
2949
+ pageSize: number;
2950
+ /**
2951
+ * @generated from field: string page_token = 2;
2952
+ */
2953
+ pageToken: string;
2954
+ };
2955
+ /**
2956
+ * Describes the message numen.sandbox.v1.ListLogArchivesRequest.
2957
+ * Use `create(ListLogArchivesRequestSchema)` to create a new message.
2958
+ */
2959
+ declare const ListLogArchivesRequestSchema: GenMessage<ListLogArchivesRequest>;
2960
+ /**
2961
+ * @generated from message numen.sandbox.v1.ListLogArchivesResponse
2962
+ */
2963
+ type ListLogArchivesResponse = Message<"numen.sandbox.v1.ListLogArchivesResponse"> & {
2964
+ /**
2965
+ * @generated from field: repeated numen.sandbox.v1.LogArchive archives = 1;
2966
+ */
2967
+ archives: LogArchive[];
2968
+ /**
2969
+ * @generated from field: string next_page_token = 2;
2970
+ */
2971
+ nextPageToken: string;
2972
+ };
2973
+ /**
2974
+ * Describes the message numen.sandbox.v1.ListLogArchivesResponse.
2975
+ * Use `create(ListLogArchivesResponseSchema)` to create a new message.
2976
+ */
2977
+ declare const ListLogArchivesResponseSchema: GenMessage<ListLogArchivesResponse>;
2978
+ /**
2979
+ * @generated from message numen.sandbox.v1.GetSandboxLogsRequest
2980
+ */
2981
+ type GetSandboxLogsRequest = Message<"numen.sandbox.v1.GetSandboxLogsRequest"> & {
2982
+ /**
2983
+ * @generated from field: string sandbox_id = 1;
2984
+ */
2985
+ sandboxId: string;
2986
+ /**
2987
+ * @generated from field: string process_id = 2;
2988
+ */
2989
+ processId: string;
2990
+ /**
2991
+ * @generated from field: int32 page_size = 3;
2992
+ */
2993
+ pageSize: number;
2994
+ /**
2995
+ * @generated from field: string page_token = 4;
2996
+ */
2997
+ pageToken: string;
2998
+ /**
2999
+ * @generated from field: numen.sandbox.v1.LogStream stream = 5;
3000
+ */
3001
+ stream: LogStream$2;
3002
+ };
3003
+ /**
3004
+ * Describes the message numen.sandbox.v1.GetSandboxLogsRequest.
3005
+ * Use `create(GetSandboxLogsRequestSchema)` to create a new message.
3006
+ */
3007
+ declare const GetSandboxLogsRequestSchema: GenMessage<GetSandboxLogsRequest>;
3008
+ /**
3009
+ * @generated from message numen.sandbox.v1.LogEntry
3010
+ */
3011
+ type LogEntry$1 = Message<"numen.sandbox.v1.LogEntry"> & {
3012
+ /**
3013
+ * @generated from field: google.protobuf.Timestamp timestamp = 1;
3014
+ */
3015
+ timestamp?: Timestamp | undefined;
3016
+ /**
3017
+ * @generated from field: string process_id = 2;
3018
+ */
3019
+ processId: string;
3020
+ /**
3021
+ * @generated from field: numen.sandbox.v1.LogStream stream = 3;
3022
+ */
3023
+ stream: LogStream$2;
3024
+ /**
3025
+ * @generated from field: string line = 4;
3026
+ */
3027
+ line: string;
3028
+ };
3029
+ /**
3030
+ * @generated from message numen.sandbox.v1.GetSandboxLogsResponse
3031
+ */
3032
+ type GetSandboxLogsResponse = Message<"numen.sandbox.v1.GetSandboxLogsResponse"> & {
3033
+ /**
3034
+ * @generated from field: repeated numen.sandbox.v1.LogEntry entries = 1;
3035
+ */
3036
+ entries: LogEntry$1[];
3037
+ /**
3038
+ * @generated from field: string next_page_token = 2;
3039
+ */
3040
+ nextPageToken: string;
3041
+ };
3042
+ /**
3043
+ * Describes the message numen.sandbox.v1.GetSandboxLogsResponse.
3044
+ * Use `create(GetSandboxLogsResponseSchema)` to create a new message.
3045
+ */
3046
+ declare const GetSandboxLogsResponseSchema: GenMessage<GetSandboxLogsResponse>;
3047
+ /**
3048
+ * @generated from message numen.sandbox.v1.LogFieldFilter
3049
+ */
3050
+ type LogFieldFilter = Message<"numen.sandbox.v1.LogFieldFilter"> & {
3051
+ /**
3052
+ * @generated from field: string key = 1;
3053
+ */
3054
+ key: string;
3055
+ /**
3056
+ * @generated from field: string value = 2;
3057
+ */
3058
+ value: string;
3059
+ /**
3060
+ * @generated from field: numen.sandbox.v1.LogFieldOp op = 3;
3061
+ */
3062
+ op: LogFieldOp;
3063
+ };
3064
+ /**
3065
+ * @generated from message numen.sandbox.v1.QueryLogsRequest
3066
+ */
3067
+ type QueryLogsRequest = Message<"numen.sandbox.v1.QueryLogsRequest"> & {
3068
+ /**
3069
+ * @generated from field: google.protobuf.Timestamp start = 1;
3070
+ */
3071
+ start?: Timestamp | undefined;
3072
+ /**
3073
+ * @generated from field: google.protobuf.Timestamp end = 2;
3074
+ */
3075
+ end?: Timestamp | undefined;
3076
+ /**
3077
+ * @generated from field: string sandbox_id = 3;
3078
+ */
3079
+ sandboxId: string;
3080
+ /**
3081
+ * @generated from field: string process_id = 4;
3082
+ */
3083
+ processId: string;
3084
+ /**
3085
+ * @generated from field: numen.sandbox.v1.LogStream stream = 5;
3086
+ */
3087
+ stream: LogStream$2;
3088
+ /**
3089
+ * @generated from field: string contains = 6;
3090
+ */
3091
+ contains: string;
3092
+ /**
3093
+ * @generated from field: int32 page_size = 7;
3094
+ */
3095
+ pageSize: number;
3096
+ /**
3097
+ * @generated from field: string page_token = 8;
3098
+ */
3099
+ pageToken: string;
3100
+ /**
3101
+ * @generated from field: numen.sandbox.v1.LogDirection direction = 9;
3102
+ */
3103
+ direction: LogDirection;
3104
+ /**
3105
+ * @generated from field: repeated numen.sandbox.v1.LogStream streams = 10;
3106
+ */
3107
+ streams: LogStream$2[];
3108
+ /**
3109
+ * @generated from field: bool case_insensitive = 11;
3110
+ */
3111
+ caseInsensitive: boolean;
3112
+ /**
3113
+ * @generated from field: repeated numen.sandbox.v1.LogFieldFilter fields = 12;
3114
+ */
3115
+ fields: LogFieldFilter[];
3116
+ };
3117
+ /**
3118
+ * Describes the message numen.sandbox.v1.QueryLogsRequest.
3119
+ * Use `create(QueryLogsRequestSchema)` to create a new message.
3120
+ */
3121
+ declare const QueryLogsRequestSchema: GenMessage<QueryLogsRequest>;
3122
+ /**
3123
+ * @generated from message numen.sandbox.v1.QueryLogsResponse
3124
+ */
3125
+ type QueryLogsResponse = Message<"numen.sandbox.v1.QueryLogsResponse"> & {
3126
+ /**
3127
+ * @generated from field: repeated numen.sandbox.v1.LogEntry entries = 1;
3128
+ */
3129
+ entries: LogEntry$1[];
3130
+ /**
3131
+ * @generated from field: string next_page_token = 2;
3132
+ */
3133
+ nextPageToken: string;
3134
+ };
3135
+ /**
3136
+ * Describes the message numen.sandbox.v1.QueryLogsResponse.
3137
+ * Use `create(QueryLogsResponseSchema)` to create a new message.
3138
+ */
3139
+ declare const QueryLogsResponseSchema: GenMessage<QueryLogsResponse>;
3140
+ /**
3141
+ * @generated from message numen.sandbox.v1.SleepSandboxRequest
3142
+ */
3143
+ type SleepSandboxRequest = Message<"numen.sandbox.v1.SleepSandboxRequest"> & {
3144
+ /**
3145
+ * @generated from oneof numen.sandbox.v1.SleepSandboxRequest.key
3146
+ */
3147
+ key: {
3148
+ /**
3149
+ * @generated from field: string id = 1;
3150
+ */
3151
+ value: string;
3152
+ case: "id";
3153
+ } | {
3154
+ /**
3155
+ * @generated from field: string name = 2;
3156
+ */
3157
+ value: string;
3158
+ case: "name";
3159
+ } | {
3160
+ case: undefined;
3161
+ value?: undefined;
3162
+ };
3163
+ };
3164
+ /**
3165
+ * Describes the message numen.sandbox.v1.SleepSandboxRequest.
3166
+ * Use `create(SleepSandboxRequestSchema)` to create a new message.
3167
+ */
3168
+ declare const SleepSandboxRequestSchema: GenMessage<SleepSandboxRequest>;
3169
+ /**
3170
+ * @generated from message numen.sandbox.v1.ForwardRequest
3171
+ */
3172
+ type ForwardRequest = Message<"numen.sandbox.v1.ForwardRequest"> & {
3173
+ /**
3174
+ * first client frame; later frames leave empty
3175
+ *
3176
+ * @generated from field: string sandbox_id = 1;
3177
+ */
3178
+ sandboxId: string;
3179
+ /**
3180
+ * @generated from field: uint32 port = 2;
3181
+ */
3182
+ port: number;
3183
+ /**
3184
+ * @generated from field: bytes data = 3;
3185
+ */
3186
+ data: Uint8Array;
3187
+ };
3188
+ /**
3189
+ * Describes the message numen.sandbox.v1.ForwardRequest.
3190
+ * Use `create(ForwardRequestSchema)` to create a new message.
3191
+ */
3192
+ declare const ForwardRequestSchema: GenMessage<ForwardRequest>;
3193
+ /**
3194
+ * @generated from message numen.sandbox.v1.ForwardResponse
3195
+ */
3196
+ type ForwardResponse = Message<"numen.sandbox.v1.ForwardResponse"> & {
3197
+ /**
3198
+ * The first empty payload is the open ack. A later empty payload means the guest stopped sending.
3199
+ *
3200
+ * @generated from field: bytes data = 1;
3201
+ */
3202
+ data: Uint8Array;
3203
+ };
3204
+ /**
3205
+ * Describes the message numen.sandbox.v1.ForwardResponse.
3206
+ * Use `create(ForwardResponseSchema)` to create a new message.
3207
+ */
3208
+ declare const ForwardResponseSchema: GenMessage<ForwardResponse>;
3209
+ /**
3210
+ * @generated from enum numen.sandbox.v1.SandboxStatus
3211
+ */
3212
+ declare enum SandboxStatus$2 {
3213
+ /**
3214
+ * @generated from enum value: SANDBOX_STATUS_UNSPECIFIED = 0;
3215
+ */
3216
+ UNSPECIFIED = 0,
3217
+ /**
3218
+ * @generated from enum value: SANDBOX_STATUS_PENDING = 1;
3219
+ */
3220
+ PENDING = 1,
3221
+ /**
3222
+ * @generated from enum value: SANDBOX_STATUS_READY = 2;
3223
+ */
3224
+ READY = 2,
3225
+ /**
3226
+ * @generated from enum value: SANDBOX_STATUS_SLEEPING = 3;
3227
+ */
3228
+ SLEEPING = 3,
3229
+ /**
3230
+ * @generated from enum value: SANDBOX_STATUS_FINISHED = 4;
3231
+ */
3232
+ FINISHED = 4,
3233
+ /**
3234
+ * @generated from enum value: SANDBOX_STATUS_DELETING = 5;
3235
+ */
3236
+ DELETING = 5
3237
+ }
3238
+ /**
3239
+ * @generated from enum numen.sandbox.v1.NetMode
3240
+ */
3241
+ declare enum NetMode {
3242
+ /**
3243
+ * omit means egress; the control plane fills it
3244
+ *
3245
+ * @generated from enum value: NET_MODE_UNSPECIFIED = 0;
3246
+ */
3247
+ UNSPECIFIED = 0,
3248
+ /**
3249
+ * rejected; sandboxes always have egress
3250
+ *
3251
+ * @generated from enum value: NET_MODE_NO_EGRESS = 1;
3252
+ */
3253
+ NO_EGRESS = 1,
3254
+ /**
3255
+ * @generated from enum value: NET_MODE_EGRESS = 2;
3256
+ */
3257
+ EGRESS = 2
3258
+ }
3259
+ /**
3260
+ * @generated from enum numen.sandbox.v1.ProcessStatus
3261
+ */
3262
+ declare enum ProcessStatus {
3263
+ /**
3264
+ * @generated from enum value: PROCESS_STATUS_UNSPECIFIED = 0;
3265
+ */
3266
+ UNSPECIFIED = 0,
3267
+ /**
3268
+ * @generated from enum value: PROCESS_STATUS_RUNNING = 1;
3269
+ */
3270
+ RUNNING = 1,
3271
+ /**
3272
+ * @generated from enum value: PROCESS_STATUS_EXITED = 2;
3273
+ */
3274
+ EXITED = 2,
3275
+ /**
3276
+ * @generated from enum value: PROCESS_STATUS_KILLED = 3;
3277
+ */
3278
+ KILLED = 3
3279
+ }
3280
+ /**
3281
+ * @generated from enum numen.sandbox.v1.FileType
3282
+ */
3283
+ declare enum FileType {
3284
+ /**
3285
+ * @generated from enum value: FILE_TYPE_UNSPECIFIED = 0;
3286
+ */
3287
+ UNSPECIFIED = 0,
3288
+ /**
3289
+ * @generated from enum value: FILE_TYPE_FILE = 1;
3290
+ */
3291
+ FILE = 1,
3292
+ /**
3293
+ * @generated from enum value: FILE_TYPE_DIR = 2;
3294
+ */
3295
+ DIR = 2,
3296
+ /**
3297
+ * @generated from enum value: FILE_TYPE_SYMLINK = 3;
3298
+ */
3299
+ SYMLINK = 3
3300
+ }
3301
+ /**
3302
+ * @generated from enum numen.sandbox.v1.LogStream
3303
+ */
3304
+ declare enum LogStream$2 {
3305
+ /**
3306
+ * @generated from enum value: LOG_STREAM_UNSPECIFIED = 0;
3307
+ */
3308
+ UNSPECIFIED = 0,
3309
+ /**
3310
+ * @generated from enum value: LOG_STREAM_STDOUT = 1;
3311
+ */
3312
+ STDOUT = 1,
3313
+ /**
3314
+ * @generated from enum value: LOG_STREAM_STDERR = 2;
3315
+ */
3316
+ STDERR = 2,
3317
+ /**
3318
+ * @generated from enum value: LOG_STREAM_EVENT = 3;
3319
+ */
3320
+ EVENT = 3
3321
+ }
3322
+ /**
3323
+ * Unspecified keeps today's newest-first page.
3324
+ *
3325
+ * @generated from enum numen.sandbox.v1.LogDirection
3326
+ */
3327
+ declare enum LogDirection {
3328
+ /**
3329
+ * @generated from enum value: LOG_DIRECTION_UNSPECIFIED = 0;
3330
+ */
3331
+ UNSPECIFIED = 0,
3332
+ /**
3333
+ * @generated from enum value: LOG_DIRECTION_BACKWARD = 1;
3334
+ */
3335
+ BACKWARD = 1,
3336
+ /**
3337
+ * @generated from enum value: LOG_DIRECTION_FORWARD = 2;
3338
+ */
3339
+ FORWARD = 2
3340
+ }
3341
+ /**
3342
+ * @generated from enum numen.sandbox.v1.ExportPathFormat
3343
+ */
3344
+ declare enum ExportPathFormat {
3345
+ /**
3346
+ * @generated from enum value: EXPORT_PATH_FORMAT_UNSPECIFIED = 0;
3347
+ */
3348
+ UNSPECIFIED = 0,
3349
+ /**
3350
+ * @generated from enum value: EXPORT_PATH_FORMAT_TAR = 1;
3351
+ */
3352
+ TAR = 1,
3353
+ /**
3354
+ * @generated from enum value: EXPORT_PATH_FORMAT_TAR_GZIP = 2;
3355
+ */
3356
+ TAR_GZIP = 2
3357
+ }
3358
+ /**
3359
+ * @generated from enum numen.sandbox.v1.Severity
3360
+ */
3361
+ declare enum Severity$1 {
3362
+ /**
3363
+ * @generated from enum value: SEVERITY_UNSPECIFIED = 0;
3364
+ */
3365
+ UNSPECIFIED = 0,
3366
+ /**
3367
+ * @generated from enum value: SEVERITY_LOW = 1;
3368
+ */
3369
+ LOW = 1,
3370
+ /**
3371
+ * @generated from enum value: SEVERITY_MEDIUM = 2;
3372
+ */
3373
+ MEDIUM = 2,
3374
+ /**
3375
+ * @generated from enum value: SEVERITY_HIGH = 3;
3376
+ */
3377
+ HIGH = 3,
3378
+ /**
3379
+ * @generated from enum value: SEVERITY_CRITICAL = 4;
3380
+ */
3381
+ CRITICAL = 4
3382
+ }
3383
+ /**
3384
+ * @generated from enum numen.sandbox.v1.ScanCheck
3385
+ */
3386
+ declare enum ScanCheck$1 {
3387
+ /**
3388
+ * @generated from enum value: SCAN_CHECK_UNSPECIFIED = 0;
3389
+ */
3390
+ UNSPECIFIED = 0,
3391
+ /**
3392
+ * @generated from enum value: SCAN_CHECK_VULNERABILITIES = 1;
3393
+ */
3394
+ VULNERABILITIES = 1,
3395
+ /**
3396
+ * @generated from enum value: SCAN_CHECK_SECRETS = 2;
3397
+ */
3398
+ SECRETS = 2
3399
+ }
3400
+ /**
3401
+ * @generated from enum numen.sandbox.v1.RuntimeEvent
3402
+ */
3403
+ declare enum RuntimeEvent$1 {
3404
+ /**
3405
+ * @generated from enum value: RUNTIME_EVENT_UNSPECIFIED = 0;
3406
+ */
3407
+ UNSPECIFIED = 0,
3408
+ /**
3409
+ * @generated from enum value: RUNTIME_EVENT_EXEC = 1;
3410
+ */
3411
+ EXEC = 1,
3412
+ /**
3413
+ * @generated from enum value: RUNTIME_EVENT_FILESYSTEM = 2;
3414
+ */
3415
+ FILESYSTEM = 2,
3416
+ /**
3417
+ * @generated from enum value: RUNTIME_EVENT_NETWORK = 3;
3418
+ */
3419
+ NETWORK = 3
3420
+ }
3421
+ /**
3422
+ * @generated from enum numen.sandbox.v1.ImageKind
3423
+ */
3424
+ declare enum ImageKind$1 {
3425
+ /**
3426
+ * @generated from enum value: IMAGE_KIND_UNSPECIFIED = 0;
3427
+ */
3428
+ UNSPECIFIED = 0,
3429
+ /**
3430
+ * @generated from enum value: IMAGE_KIND_PLATFORM = 1;
3431
+ */
3432
+ PLATFORM = 1,
3433
+ /**
3434
+ * @generated from enum value: IMAGE_KIND_PROJECT = 2;
3435
+ */
3436
+ PROJECT = 2
3437
+ }
3438
+ /**
3439
+ * Unspecified means equals, so a client that only sends key and value stays valid.
3440
+ *
3441
+ * @generated from enum numen.sandbox.v1.LogFieldOp
3442
+ */
3443
+ declare enum LogFieldOp {
3444
+ /**
3445
+ * @generated from enum value: LOG_FIELD_OP_UNSPECIFIED = 0;
3446
+ */
3447
+ UNSPECIFIED = 0,
3448
+ /**
3449
+ * @generated from enum value: LOG_FIELD_OP_EQ = 1;
3450
+ */
3451
+ EQ = 1,
3452
+ /**
3453
+ * @generated from enum value: LOG_FIELD_OP_NE = 2;
3454
+ */
3455
+ NE = 2,
3456
+ /**
3457
+ * @generated from enum value: LOG_FIELD_OP_CONTAINS = 3;
3458
+ */
3459
+ CONTAINS = 3,
3460
+ /**
3461
+ * @generated from enum value: LOG_FIELD_OP_STARTS_WITH = 4;
3462
+ */
3463
+ STARTS_WITH = 4
3464
+ }
3465
+ /**
3466
+ * @generated from service numen.sandbox.v1.SandboxService
3467
+ */
3468
+ declare const SandboxService: GenService<{
3469
+ /**
3470
+ * @generated from rpc numen.sandbox.v1.SandboxService.CreateSandbox
3471
+ */
3472
+ createSandbox: {
3473
+ methodKind: "unary";
3474
+ input: typeof CreateSandboxRequestSchema;
3475
+ output: typeof SandboxSchema;
3476
+ };
3477
+ /**
3478
+ * @generated from rpc numen.sandbox.v1.SandboxService.WakeSandbox
3479
+ */
3480
+ wakeSandbox: {
3481
+ methodKind: "unary";
3482
+ input: typeof WakeSandboxRequestSchema;
3483
+ output: typeof SandboxSchema;
3484
+ };
3485
+ /**
3486
+ * @generated from rpc numen.sandbox.v1.SandboxService.GetSandbox
3487
+ */
3488
+ getSandbox: {
3489
+ methodKind: "unary";
3490
+ input: typeof GetSandboxRequestSchema;
3491
+ output: typeof SandboxSchema;
3492
+ };
3493
+ /**
3494
+ * @generated from rpc numen.sandbox.v1.SandboxService.ListSandboxes
3495
+ */
3496
+ listSandboxes: {
3497
+ methodKind: "unary";
3498
+ input: typeof ListSandboxesRequestSchema;
3499
+ output: typeof ListSandboxesResponseSchema;
3500
+ };
3501
+ /**
3502
+ * @generated from rpc numen.sandbox.v1.SandboxService.DeleteSandbox
3503
+ */
3504
+ deleteSandbox: {
3505
+ methodKind: "unary";
3506
+ input: typeof DeleteSandboxRequestSchema;
3507
+ output: typeof EmptySchema;
3508
+ };
3509
+ /**
3510
+ * @generated from rpc numen.sandbox.v1.SandboxService.SleepSandbox
3511
+ */
3512
+ sleepSandbox: {
3513
+ methodKind: "unary";
3514
+ input: typeof SleepSandboxRequestSchema;
3515
+ output: typeof SandboxSchema;
3516
+ };
3517
+ /**
3518
+ * @generated from rpc numen.sandbox.v1.SandboxService.UpdateSandbox
3519
+ */
3520
+ updateSandbox: {
3521
+ methodKind: "unary";
3522
+ input: typeof UpdateSandboxRequestSchema;
3523
+ output: typeof SandboxSchema;
3524
+ };
3525
+ /**
3526
+ * @generated from rpc numen.sandbox.v1.SandboxService.ResizeSandbox
3527
+ */
3528
+ resizeSandbox: {
3529
+ methodKind: "unary";
3530
+ input: typeof ResizeSandboxRequestSchema;
3531
+ output: typeof SandboxSchema;
3532
+ };
3533
+ /**
3534
+ * @generated from rpc numen.sandbox.v1.SandboxService.WaitSandbox
3535
+ */
3536
+ waitSandbox: {
3537
+ methodKind: "unary";
3538
+ input: typeof WaitSandboxRequestSchema;
3539
+ output: typeof WaitSandboxResponseSchema;
3540
+ };
3541
+ /**
3542
+ * @generated from rpc numen.sandbox.v1.SandboxService.WaitProcess
3543
+ */
3544
+ waitProcess: {
3545
+ methodKind: "unary";
3546
+ input: typeof WaitProcessRequestSchema;
3547
+ output: typeof ProcessSchema;
3548
+ };
3549
+ /**
3550
+ * @generated from rpc numen.sandbox.v1.SandboxService.Exec
3551
+ */
3552
+ exec: {
3553
+ methodKind: "bidi_streaming";
3554
+ input: typeof ExecRequestSchema;
3555
+ output: typeof ExecResponseSchema;
3556
+ };
3557
+ /**
3558
+ * @generated from rpc numen.sandbox.v1.SandboxService.StartProcess
3559
+ */
3560
+ startProcess: {
3561
+ methodKind: "unary";
3562
+ input: typeof StartProcessRequestSchema;
3563
+ output: typeof ProcessSchema;
3564
+ };
3565
+ /**
3566
+ * @generated from rpc numen.sandbox.v1.SandboxService.GetProcess
3567
+ */
3568
+ getProcess: {
3569
+ methodKind: "unary";
3570
+ input: typeof GetProcessRequestSchema;
3571
+ output: typeof ProcessSchema;
3572
+ };
3573
+ /**
3574
+ * @generated from rpc numen.sandbox.v1.SandboxService.ListProcesses
3575
+ */
3576
+ listProcesses: {
3577
+ methodKind: "unary";
3578
+ input: typeof ListProcessesRequestSchema;
3579
+ output: typeof ListProcessesResponseSchema;
3580
+ };
3581
+ /**
3582
+ * @generated from rpc numen.sandbox.v1.SandboxService.KillProcess
3583
+ */
3584
+ killProcess: {
3585
+ methodKind: "unary";
3586
+ input: typeof KillProcessRequestSchema;
3587
+ output: typeof ProcessSchema;
3588
+ };
3589
+ /**
3590
+ * @generated from rpc numen.sandbox.v1.SandboxService.FollowProcess
3591
+ */
3592
+ followProcess: {
3593
+ methodKind: "server_streaming";
3594
+ input: typeof FollowProcessRequestSchema;
3595
+ output: typeof ExecResponseSchema;
3596
+ };
3597
+ /**
3598
+ * @generated from rpc numen.sandbox.v1.SandboxService.WriteProcessStdin
3599
+ */
3600
+ writeProcessStdin: {
3601
+ methodKind: "unary";
3602
+ input: typeof WriteProcessStdinRequestSchema;
3603
+ output: typeof EmptySchema;
3604
+ };
3605
+ /**
3606
+ * @generated from rpc numen.sandbox.v1.SandboxService.WriteFiles
3607
+ */
3608
+ writeFiles: {
3609
+ methodKind: "unary";
3610
+ input: typeof WriteFilesRequestSchema;
3611
+ output: typeof EmptySchema;
3612
+ };
3613
+ /**
3614
+ * @generated from rpc numen.sandbox.v1.SandboxService.WriteFile
3615
+ */
3616
+ writeFile: {
3617
+ methodKind: "client_streaming";
3618
+ input: typeof WriteFileRequestSchema;
3619
+ output: typeof EmptySchema;
3620
+ };
3621
+ /**
3622
+ * @generated from rpc numen.sandbox.v1.SandboxService.ReadFile
3623
+ */
3624
+ readFile: {
3625
+ methodKind: "server_streaming";
3626
+ input: typeof ReadFileRequestSchema;
3627
+ output: typeof FileChunkSchema;
3628
+ };
3629
+ /**
3630
+ * @generated from rpc numen.sandbox.v1.SandboxService.ListFiles
3631
+ */
3632
+ listFiles: {
3633
+ methodKind: "server_streaming";
3634
+ input: typeof ListFilesRequestSchema;
3635
+ output: typeof FileInfoSchema;
3636
+ };
3637
+ /**
3638
+ * @generated from rpc numen.sandbox.v1.SandboxService.StatFile
3639
+ */
3640
+ statFile: {
3641
+ methodKind: "unary";
3642
+ input: typeof StatFileRequestSchema;
3643
+ output: typeof FileInfoSchema;
3644
+ };
3645
+ /**
3646
+ * @generated from rpc numen.sandbox.v1.SandboxService.ExportPath
3647
+ */
3648
+ exportPath: {
3649
+ methodKind: "server_streaming";
3650
+ input: typeof ExportPathRequestSchema;
3651
+ output: typeof FileChunkSchema;
3652
+ };
3653
+ /**
3654
+ * @generated from rpc numen.sandbox.v1.SandboxService.CreateSnapshot
3655
+ */
3656
+ createSnapshot: {
3657
+ methodKind: "unary";
3658
+ input: typeof CreateSnapshotRequestSchema;
3659
+ output: typeof SnapshotSchema;
3660
+ };
3661
+ /**
3662
+ * @generated from rpc numen.sandbox.v1.SandboxService.GetSnapshot
3663
+ */
3664
+ getSnapshot: {
3665
+ methodKind: "unary";
3666
+ input: typeof GetSnapshotRequestSchema;
3667
+ output: typeof SnapshotSchema;
3668
+ };
3669
+ /**
3670
+ * @generated from rpc numen.sandbox.v1.SandboxService.ListSnapshots
3671
+ */
3672
+ listSnapshots: {
3673
+ methodKind: "unary";
3674
+ input: typeof ListSnapshotsRequestSchema;
3675
+ output: typeof ListSnapshotsResponseSchema;
3676
+ };
3677
+ /**
3678
+ * @generated from rpc numen.sandbox.v1.SandboxService.DeleteSnapshot
3679
+ */
3680
+ deleteSnapshot: {
3681
+ methodKind: "unary";
3682
+ input: typeof DeleteSnapshotRequestSchema;
3683
+ output: typeof EmptySchema;
3684
+ };
3685
+ /**
3686
+ * @generated from rpc numen.sandbox.v1.SandboxService.UpdateSnapshot
3687
+ */
3688
+ updateSnapshot: {
3689
+ methodKind: "unary";
3690
+ input: typeof UpdateSnapshotRequestSchema;
3691
+ output: typeof SnapshotSchema;
3692
+ };
3693
+ /**
3694
+ * @generated from rpc numen.sandbox.v1.SandboxService.CreateVolume
3695
+ */
3696
+ createVolume: {
3697
+ methodKind: "unary";
3698
+ input: typeof CreateVolumeRequestSchema;
3699
+ output: typeof VolumeSchema;
3700
+ };
3701
+ /**
3702
+ * @generated from rpc numen.sandbox.v1.SandboxService.GetVolume
3703
+ */
3704
+ getVolume: {
3705
+ methodKind: "unary";
3706
+ input: typeof GetVolumeRequestSchema;
3707
+ output: typeof VolumeSchema;
3708
+ };
3709
+ /**
3710
+ * @generated from rpc numen.sandbox.v1.SandboxService.ListVolumes
3711
+ */
3712
+ listVolumes: {
3713
+ methodKind: "unary";
3714
+ input: typeof ListVolumesRequestSchema;
3715
+ output: typeof ListVolumesResponseSchema;
3716
+ };
3717
+ /**
3718
+ * @generated from rpc numen.sandbox.v1.SandboxService.DeleteVolume
3719
+ */
3720
+ deleteVolume: {
3721
+ methodKind: "unary";
3722
+ input: typeof DeleteVolumeRequestSchema;
3723
+ output: typeof EmptySchema;
3724
+ };
3725
+ /**
3726
+ * @generated from rpc numen.sandbox.v1.SandboxService.UpdateVolume
3727
+ */
3728
+ updateVolume: {
3729
+ methodKind: "unary";
3730
+ input: typeof UpdateVolumeRequestSchema;
3731
+ output: typeof VolumeSchema;
3732
+ };
3733
+ /**
3734
+ * @generated from rpc numen.sandbox.v1.SandboxService.SetSecret
3735
+ */
3736
+ setSecret: {
3737
+ methodKind: "unary";
3738
+ input: typeof SetSecretRequestSchema;
3739
+ output: typeof SecretSchema;
3740
+ };
3741
+ /**
3742
+ * @generated from rpc numen.sandbox.v1.SandboxService.GetSecret
3743
+ */
3744
+ getSecret: {
3745
+ methodKind: "unary";
3746
+ input: typeof GetSecretRequestSchema;
3747
+ output: typeof SecretSchema;
3748
+ };
3749
+ /**
3750
+ * @generated from rpc numen.sandbox.v1.SandboxService.ListSecrets
3751
+ */
3752
+ listSecrets: {
3753
+ methodKind: "unary";
3754
+ input: typeof ListSecretsRequestSchema;
3755
+ output: typeof ListSecretsResponseSchema;
3756
+ };
3757
+ /**
3758
+ * @generated from rpc numen.sandbox.v1.SandboxService.DeleteSecret
3759
+ */
3760
+ deleteSecret: {
3761
+ methodKind: "unary";
3762
+ input: typeof DeleteSecretRequestSchema;
3763
+ output: typeof EmptySchema;
3764
+ };
3765
+ /**
3766
+ * @generated from rpc numen.sandbox.v1.SandboxService.CreateAgent
3767
+ */
3768
+ createAgent: {
3769
+ methodKind: "unary";
3770
+ input: typeof CreateAgentRequestSchema;
3771
+ output: typeof AgentSchema;
3772
+ };
3773
+ /**
3774
+ * @generated from rpc numen.sandbox.v1.SandboxService.GetAgent
3775
+ */
3776
+ getAgent: {
3777
+ methodKind: "unary";
3778
+ input: typeof GetAgentRequestSchema;
3779
+ output: typeof AgentSchema;
3780
+ };
3781
+ /**
3782
+ * @generated from rpc numen.sandbox.v1.SandboxService.ListAgents
3783
+ */
3784
+ listAgents: {
3785
+ methodKind: "unary";
3786
+ input: typeof ListAgentsRequestSchema;
3787
+ output: typeof ListAgentsResponseSchema;
3788
+ };
3789
+ /**
3790
+ * @generated from rpc numen.sandbox.v1.SandboxService.DeleteAgent
3791
+ */
3792
+ deleteAgent: {
3793
+ methodKind: "unary";
3794
+ input: typeof DeleteAgentRequestSchema;
3795
+ output: typeof EmptySchema;
3796
+ };
3797
+ /**
3798
+ * @generated from rpc numen.sandbox.v1.SandboxService.BindAgentSecret
3799
+ */
3800
+ bindAgentSecret: {
3801
+ methodKind: "unary";
3802
+ input: typeof BindAgentSecretRequestSchema;
3803
+ output: typeof AgentSchema;
3804
+ };
3805
+ /**
3806
+ * @generated from rpc numen.sandbox.v1.SandboxService.UnbindAgentSecret
3807
+ */
3808
+ unbindAgentSecret: {
3809
+ methodKind: "unary";
3810
+ input: typeof UnbindAgentSecretRequestSchema;
3811
+ output: typeof AgentSchema;
3812
+ };
3813
+ /**
3814
+ * @generated from rpc numen.sandbox.v1.SandboxService.CreateTemplate
3815
+ */
3816
+ createTemplate: {
3817
+ methodKind: "unary";
3818
+ input: typeof CreateTemplateRequestSchema;
3819
+ output: typeof TemplateSchema;
3820
+ };
3821
+ /**
3822
+ * @generated from rpc numen.sandbox.v1.SandboxService.GetTemplate
3823
+ */
3824
+ getTemplate: {
3825
+ methodKind: "unary";
3826
+ input: typeof GetTemplateRequestSchema;
3827
+ output: typeof TemplateSchema;
3828
+ };
3829
+ /**
3830
+ * @generated from rpc numen.sandbox.v1.SandboxService.ListTemplates
3831
+ */
3832
+ listTemplates: {
3833
+ methodKind: "unary";
3834
+ input: typeof ListTemplatesRequestSchema;
3835
+ output: typeof ListTemplatesResponseSchema;
3836
+ };
3837
+ /**
3838
+ * @generated from rpc numen.sandbox.v1.SandboxService.UpdateTemplate
3839
+ */
3840
+ updateTemplate: {
3841
+ methodKind: "unary";
3842
+ input: typeof UpdateTemplateRequestSchema;
3843
+ output: typeof TemplateSchema;
3844
+ };
3845
+ /**
3846
+ * @generated from rpc numen.sandbox.v1.SandboxService.DeleteTemplate
3847
+ */
3848
+ deleteTemplate: {
3849
+ methodKind: "unary";
3850
+ input: typeof DeleteTemplateRequestSchema;
3851
+ output: typeof EmptySchema;
3852
+ };
3853
+ /**
3854
+ * @generated from rpc numen.sandbox.v1.SandboxService.CreateMatrixSession
3855
+ */
3856
+ createMatrixSession: {
3857
+ methodKind: "unary";
3858
+ input: typeof CreateMatrixSessionRequestSchema;
3859
+ output: typeof MatrixSessionSchema;
3860
+ };
3861
+ /**
3862
+ * @generated from rpc numen.sandbox.v1.SandboxService.DeleteMatrixSession
3863
+ */
3864
+ deleteMatrixSession: {
3865
+ methodKind: "unary";
3866
+ input: typeof DeleteMatrixSessionRequestSchema;
3867
+ output: typeof EmptySchema;
3868
+ };
3869
+ /**
3870
+ * @generated from rpc numen.sandbox.v1.SandboxService.CreateHTTPGrant
3871
+ */
3872
+ createHTTPGrant: {
3873
+ methodKind: "unary";
3874
+ input: typeof CreateHTTPGrantRequestSchema;
3875
+ output: typeof HTTPGrantSchema;
3876
+ };
3877
+ /**
3878
+ * @generated from rpc numen.sandbox.v1.SandboxService.ListHTTPGrants
3879
+ */
3880
+ listHTTPGrants: {
3881
+ methodKind: "unary";
3882
+ input: typeof ListHTTPGrantsRequestSchema;
3883
+ output: typeof ListHTTPGrantsResponseSchema;
3884
+ };
3885
+ /**
3886
+ * @generated from rpc numen.sandbox.v1.SandboxService.DeleteHTTPGrant
3887
+ */
3888
+ deleteHTTPGrant: {
3889
+ methodKind: "unary";
3890
+ input: typeof DeleteHTTPGrantRequestSchema;
3891
+ output: typeof EmptySchema;
3892
+ };
3893
+ /**
3894
+ * ResolveHTTPGrant checks an nht_ bearer against one sandbox port.
3895
+ * The bearer is the grant. A Keska token is rejected.
3896
+ * The response is the owner tenant and project, for the hop dial.
3897
+ *
3898
+ * @generated from rpc numen.sandbox.v1.SandboxService.ResolveHTTPGrant
3899
+ */
3900
+ resolveHTTPGrant: {
3901
+ methodKind: "unary";
3902
+ input: typeof ResolveHTTPGrantRequestSchema;
3903
+ output: typeof ResolveHTTPGrantResponseSchema;
3904
+ };
3905
+ /**
3906
+ * @generated from rpc numen.sandbox.v1.SandboxService.CreateResourcePolicy
3907
+ */
3908
+ createResourcePolicy: {
3909
+ methodKind: "unary";
3910
+ input: typeof CreateResourcePolicyRequestSchema;
3911
+ output: typeof ResourcePolicySchema;
3912
+ };
3913
+ /**
3914
+ * @generated from rpc numen.sandbox.v1.SandboxService.GetResourcePolicy
3915
+ */
3916
+ getResourcePolicy: {
3917
+ methodKind: "unary";
3918
+ input: typeof GetResourcePolicyRequestSchema;
3919
+ output: typeof ResourcePolicySchema;
3920
+ };
3921
+ /**
3922
+ * @generated from rpc numen.sandbox.v1.SandboxService.ListResourcePolicies
3923
+ */
3924
+ listResourcePolicies: {
3925
+ methodKind: "unary";
3926
+ input: typeof ListResourcePoliciesRequestSchema;
3927
+ output: typeof ListResourcePoliciesResponseSchema;
3928
+ };
3929
+ /**
3930
+ * @generated from rpc numen.sandbox.v1.SandboxService.UpdateResourcePolicy
3931
+ */
3932
+ updateResourcePolicy: {
3933
+ methodKind: "unary";
3934
+ input: typeof UpdateResourcePolicyRequestSchema;
3935
+ output: typeof ResourcePolicySchema;
3936
+ };
3937
+ /**
3938
+ * @generated from rpc numen.sandbox.v1.SandboxService.DeleteResourcePolicy
3939
+ */
3940
+ deleteResourcePolicy: {
3941
+ methodKind: "unary";
3942
+ input: typeof DeleteResourcePolicyRequestSchema;
3943
+ output: typeof EmptySchema;
3944
+ };
3945
+ /**
3946
+ * @generated from rpc numen.sandbox.v1.SandboxService.CreateSecurityPolicy
3947
+ */
3948
+ createSecurityPolicy: {
3949
+ methodKind: "unary";
3950
+ input: typeof CreateSecurityPolicyRequestSchema;
3951
+ output: typeof SecurityPolicySchema;
3952
+ };
3953
+ /**
3954
+ * @generated from rpc numen.sandbox.v1.SandboxService.GetSecurityPolicy
3955
+ */
3956
+ getSecurityPolicy: {
3957
+ methodKind: "unary";
3958
+ input: typeof GetSecurityPolicyRequestSchema;
3959
+ output: typeof SecurityPolicySchema;
3960
+ };
3961
+ /**
3962
+ * @generated from rpc numen.sandbox.v1.SandboxService.ListSecurityPolicies
3963
+ */
3964
+ listSecurityPolicies: {
3965
+ methodKind: "unary";
3966
+ input: typeof ListSecurityPoliciesRequestSchema;
3967
+ output: typeof ListSecurityPoliciesResponseSchema;
3968
+ };
3969
+ /**
3970
+ * @generated from rpc numen.sandbox.v1.SandboxService.UpdateSecurityPolicy
3971
+ */
3972
+ updateSecurityPolicy: {
3973
+ methodKind: "unary";
3974
+ input: typeof UpdateSecurityPolicyRequestSchema;
3975
+ output: typeof SecurityPolicySchema;
3976
+ };
3977
+ /**
3978
+ * @generated from rpc numen.sandbox.v1.SandboxService.DeleteSecurityPolicy
3979
+ */
3980
+ deleteSecurityPolicy: {
3981
+ methodKind: "unary";
3982
+ input: typeof DeleteSecurityPolicyRequestSchema;
3983
+ output: typeof EmptySchema;
3984
+ };
3985
+ /**
3986
+ * @generated from rpc numen.sandbox.v1.SandboxService.CreateProfile
3987
+ */
3988
+ createProfile: {
3989
+ methodKind: "unary";
3990
+ input: typeof CreateProfileRequestSchema;
3991
+ output: typeof ProfileSchema;
3992
+ };
3993
+ /**
3994
+ * @generated from rpc numen.sandbox.v1.SandboxService.GetProfile
3995
+ */
3996
+ getProfile: {
3997
+ methodKind: "unary";
3998
+ input: typeof GetProfileRequestSchema;
3999
+ output: typeof ProfileSchema;
4000
+ };
4001
+ /**
4002
+ * @generated from rpc numen.sandbox.v1.SandboxService.ListProfiles
4003
+ */
4004
+ listProfiles: {
4005
+ methodKind: "unary";
4006
+ input: typeof ListProfilesRequestSchema;
4007
+ output: typeof ListProfilesResponseSchema;
4008
+ };
4009
+ /**
4010
+ * @generated from rpc numen.sandbox.v1.SandboxService.UpdateProfile
4011
+ */
4012
+ updateProfile: {
4013
+ methodKind: "unary";
4014
+ input: typeof UpdateProfileRequestSchema;
4015
+ output: typeof ProfileSchema;
4016
+ };
4017
+ /**
4018
+ * @generated from rpc numen.sandbox.v1.SandboxService.DeleteProfile
4019
+ */
4020
+ deleteProfile: {
4021
+ methodKind: "unary";
4022
+ input: typeof DeleteProfileRequestSchema;
4023
+ output: typeof EmptySchema;
4024
+ };
4025
+ /**
4026
+ * @generated from rpc numen.sandbox.v1.SandboxService.RegisterImage
4027
+ */
4028
+ registerImage: {
4029
+ methodKind: "unary";
4030
+ input: typeof RegisterImageRequestSchema;
4031
+ output: typeof ImageSchema;
4032
+ };
4033
+ /**
4034
+ * @generated from rpc numen.sandbox.v1.SandboxService.BuildImage
4035
+ */
4036
+ buildImage: {
4037
+ methodKind: "client_streaming";
4038
+ input: typeof BuildImageRequestSchema;
4039
+ output: typeof ImageSchema;
4040
+ };
4041
+ /**
4042
+ * @generated from rpc numen.sandbox.v1.SandboxService.GetImage
4043
+ */
4044
+ getImage: {
4045
+ methodKind: "unary";
4046
+ input: typeof GetImageRequestSchema;
4047
+ output: typeof ImageSchema;
4048
+ };
4049
+ /**
4050
+ * @generated from rpc numen.sandbox.v1.SandboxService.ListImages
4051
+ */
4052
+ listImages: {
4053
+ methodKind: "unary";
4054
+ input: typeof ListImagesRequestSchema;
4055
+ output: typeof ListImagesResponseSchema;
4056
+ };
4057
+ /**
4058
+ * @generated from rpc numen.sandbox.v1.SandboxService.DeleteImage
4059
+ */
4060
+ deleteImage: {
4061
+ methodKind: "unary";
4062
+ input: typeof DeleteImageRequestSchema;
4063
+ output: typeof EmptySchema;
4064
+ };
4065
+ /**
4066
+ * @generated from rpc numen.sandbox.v1.SandboxService.ListLogArchives
4067
+ */
4068
+ listLogArchives: {
4069
+ methodKind: "unary";
4070
+ input: typeof ListLogArchivesRequestSchema;
4071
+ output: typeof ListLogArchivesResponseSchema;
4072
+ };
4073
+ /**
4074
+ * @generated from rpc numen.sandbox.v1.SandboxService.GetSandboxLogs
4075
+ */
4076
+ getSandboxLogs: {
4077
+ methodKind: "unary";
4078
+ input: typeof GetSandboxLogsRequestSchema;
4079
+ output: typeof GetSandboxLogsResponseSchema;
4080
+ };
4081
+ /**
4082
+ * @generated from rpc numen.sandbox.v1.SandboxService.QueryLogs
4083
+ */
4084
+ queryLogs: {
4085
+ methodKind: "unary";
4086
+ input: typeof QueryLogsRequestSchema;
4087
+ output: typeof QueryLogsResponseSchema;
4088
+ };
4089
+ /**
4090
+ * Customer byte stream on sbx. First frame carries sandbox_id and port.
4091
+ *
4092
+ * @generated from rpc numen.sandbox.v1.SandboxService.Forward
4093
+ */
4094
+ forward: {
4095
+ methodKind: "bidi_streaming";
4096
+ input: typeof ForwardRequestSchema;
4097
+ output: typeof ForwardResponseSchema;
4098
+ };
4099
+ }>;
4100
+
32
4101
  /** Typed records returned by the TypeScript SDK. */
33
4102
 
34
4103
  /** Sandbox lifecycle. Deleted is not a status: the record is gone. */
@@ -459,6 +4528,10 @@ declare class SandboxWaitTimeoutError extends SandboxTimeoutError {
459
4528
  }
460
4529
 
461
4530
  declare function authInterceptor(auth: TokenProvider, runId?: string): Interceptor;
4531
+ /** Wire names (PascalCase) of the unary RPCs on a generated service. */
4532
+ type UnaryRpc<S> = S extends GenService<infer M> ? {
4533
+ [K in keyof M & string]: M[K]["methodKind"] extends "unary" ? Capitalize<K> : never;
4534
+ }[keyof M & string] : never;
462
4535
 
463
4536
  type CreateSandboxParams = {
464
4537
  /** Optional lookup. The server mints the id. */
@@ -551,7 +4624,7 @@ declare class Session {
551
4624
  interceptors: ReturnType<typeof authInterceptor>[];
552
4625
  };
553
4626
  extraHeaders(sandboxId?: string): Record<string, string> | undefined;
554
- call(method: string, body: Record<string, unknown>, timeoutMs: number | undefined, signal?: AbortSignal): Promise<Record<string, unknown>>;
4627
+ call(method: UnaryRpc<typeof SandboxService>, body: Record<string, unknown>, timeoutMs: number | undefined, signal?: AbortSignal): Promise<Record<string, unknown>>;
555
4628
  close(): void;
556
4629
  get forwardBaseUrl(): string;
557
4630
  /** Byte stream to a guest port. The call is gRPC on `sbx`.