@keska/sandbox 0.46.1 → 0.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +4459 -134
- package/dist/index.js +251 -464
- package/package.json +1 -2
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,4307 @@ 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). Conversations are separate rooms.
|
|
1609
|
+
*
|
|
1610
|
+
* @generated from field: optional bool messaging = 9;
|
|
1611
|
+
*/
|
|
1612
|
+
messaging?: boolean | undefined;
|
|
1613
|
+
/**
|
|
1614
|
+
* @generated from field: string template_id = 11;
|
|
1615
|
+
*/
|
|
1616
|
+
templateId: string;
|
|
1617
|
+
/**
|
|
1618
|
+
* @generated from field: string image = 12;
|
|
1619
|
+
*/
|
|
1620
|
+
image: string;
|
|
1621
|
+
/**
|
|
1622
|
+
* @generated from field: string profile_id = 13;
|
|
1623
|
+
*/
|
|
1624
|
+
profileId: string;
|
|
1625
|
+
/**
|
|
1626
|
+
* Shown to end users. Empty means name.
|
|
1627
|
+
*
|
|
1628
|
+
* @generated from field: string display_name = 14;
|
|
1629
|
+
*/
|
|
1630
|
+
displayName: string;
|
|
1631
|
+
/**
|
|
1632
|
+
* End user this agent is for. Several agents may share one user_id.
|
|
1633
|
+
* Empty means the caller (a solo developer).
|
|
1634
|
+
*
|
|
1635
|
+
* @generated from field: string user_id = 15;
|
|
1636
|
+
*/
|
|
1637
|
+
userId: string;
|
|
1638
|
+
};
|
|
1639
|
+
/**
|
|
1640
|
+
* Describes the message numen.sandbox.v1.Agent.
|
|
1641
|
+
* Use `create(AgentSchema)` to create a new message.
|
|
1642
|
+
*/
|
|
1643
|
+
declare const AgentSchema: GenMessage<Agent$2>;
|
|
1644
|
+
/**
|
|
1645
|
+
* @generated from message numen.sandbox.v1.CreateAgentRequest
|
|
1646
|
+
*/
|
|
1647
|
+
type CreateAgentRequest = Message<"numen.sandbox.v1.CreateAgentRequest"> & {
|
|
1648
|
+
/**
|
|
1649
|
+
* @generated from field: string name = 1;
|
|
1650
|
+
*/
|
|
1651
|
+
name: string;
|
|
1652
|
+
/**
|
|
1653
|
+
* @generated from field: string template_id = 3;
|
|
1654
|
+
*/
|
|
1655
|
+
templateId: string;
|
|
1656
|
+
/**
|
|
1657
|
+
* Unset means true.
|
|
1658
|
+
*
|
|
1659
|
+
* @generated from field: optional bool messaging = 4;
|
|
1660
|
+
*/
|
|
1661
|
+
messaging?: boolean | undefined;
|
|
1662
|
+
/**
|
|
1663
|
+
* @generated from field: string user_id = 5;
|
|
1664
|
+
*/
|
|
1665
|
+
userId: string;
|
|
1666
|
+
/**
|
|
1667
|
+
* @generated from field: string display_name = 6;
|
|
1668
|
+
*/
|
|
1669
|
+
displayName: string;
|
|
1670
|
+
};
|
|
1671
|
+
/**
|
|
1672
|
+
* Describes the message numen.sandbox.v1.CreateAgentRequest.
|
|
1673
|
+
* Use `create(CreateAgentRequestSchema)` to create a new message.
|
|
1674
|
+
*/
|
|
1675
|
+
declare const CreateAgentRequestSchema: GenMessage<CreateAgentRequest>;
|
|
1676
|
+
/**
|
|
1677
|
+
* @generated from message numen.sandbox.v1.Conversation
|
|
1678
|
+
*/
|
|
1679
|
+
type Conversation$1 = Message<"numen.sandbox.v1.Conversation"> & {
|
|
1680
|
+
/**
|
|
1681
|
+
* @generated from field: string id = 1;
|
|
1682
|
+
*/
|
|
1683
|
+
id: string;
|
|
1684
|
+
/**
|
|
1685
|
+
* @generated from field: string agent_id = 2;
|
|
1686
|
+
*/
|
|
1687
|
+
agentId: string;
|
|
1688
|
+
/**
|
|
1689
|
+
* @generated from field: string user_id = 3;
|
|
1690
|
+
*/
|
|
1691
|
+
userId: string;
|
|
1692
|
+
/**
|
|
1693
|
+
* @generated from field: string title = 4;
|
|
1694
|
+
*/
|
|
1695
|
+
title: string;
|
|
1696
|
+
/**
|
|
1697
|
+
* @generated from field: google.protobuf.Timestamp created_at = 5;
|
|
1698
|
+
*/
|
|
1699
|
+
createdAt?: Timestamp | undefined;
|
|
1700
|
+
};
|
|
1701
|
+
/**
|
|
1702
|
+
* Describes the message numen.sandbox.v1.Conversation.
|
|
1703
|
+
* Use `create(ConversationSchema)` to create a new message.
|
|
1704
|
+
*/
|
|
1705
|
+
declare const ConversationSchema: GenMessage<Conversation$1>;
|
|
1706
|
+
/**
|
|
1707
|
+
* @generated from message numen.sandbox.v1.CreateConversationRequest
|
|
1708
|
+
*/
|
|
1709
|
+
type CreateConversationRequest = Message<"numen.sandbox.v1.CreateConversationRequest"> & {
|
|
1710
|
+
/**
|
|
1711
|
+
* @generated from field: string agent_id = 1;
|
|
1712
|
+
*/
|
|
1713
|
+
agentId: string;
|
|
1714
|
+
/**
|
|
1715
|
+
* @generated from field: string user_id = 2;
|
|
1716
|
+
*/
|
|
1717
|
+
userId: string;
|
|
1718
|
+
/**
|
|
1719
|
+
* @generated from field: string title = 3;
|
|
1720
|
+
*/
|
|
1721
|
+
title: string;
|
|
1722
|
+
};
|
|
1723
|
+
/**
|
|
1724
|
+
* Describes the message numen.sandbox.v1.CreateConversationRequest.
|
|
1725
|
+
* Use `create(CreateConversationRequestSchema)` to create a new message.
|
|
1726
|
+
*/
|
|
1727
|
+
declare const CreateConversationRequestSchema: GenMessage<CreateConversationRequest>;
|
|
1728
|
+
/**
|
|
1729
|
+
* @generated from message numen.sandbox.v1.ListConversationsRequest
|
|
1730
|
+
*/
|
|
1731
|
+
type ListConversationsRequest = Message<"numen.sandbox.v1.ListConversationsRequest"> & {
|
|
1732
|
+
/**
|
|
1733
|
+
* @generated from field: string agent_id = 1;
|
|
1734
|
+
*/
|
|
1735
|
+
agentId: string;
|
|
1736
|
+
/**
|
|
1737
|
+
* @generated from field: string user_id = 2;
|
|
1738
|
+
*/
|
|
1739
|
+
userId: string;
|
|
1740
|
+
/**
|
|
1741
|
+
* @generated from field: int32 page_size = 3;
|
|
1742
|
+
*/
|
|
1743
|
+
pageSize: number;
|
|
1744
|
+
/**
|
|
1745
|
+
* @generated from field: string page_token = 4;
|
|
1746
|
+
*/
|
|
1747
|
+
pageToken: string;
|
|
1748
|
+
};
|
|
1749
|
+
/**
|
|
1750
|
+
* Describes the message numen.sandbox.v1.ListConversationsRequest.
|
|
1751
|
+
* Use `create(ListConversationsRequestSchema)` to create a new message.
|
|
1752
|
+
*/
|
|
1753
|
+
declare const ListConversationsRequestSchema: GenMessage<ListConversationsRequest>;
|
|
1754
|
+
/**
|
|
1755
|
+
* @generated from message numen.sandbox.v1.ListConversationsResponse
|
|
1756
|
+
*/
|
|
1757
|
+
type ListConversationsResponse = Message<"numen.sandbox.v1.ListConversationsResponse"> & {
|
|
1758
|
+
/**
|
|
1759
|
+
* @generated from field: repeated numen.sandbox.v1.Conversation conversations = 1;
|
|
1760
|
+
*/
|
|
1761
|
+
conversations: Conversation$1[];
|
|
1762
|
+
/**
|
|
1763
|
+
* @generated from field: string next_page_token = 2;
|
|
1764
|
+
*/
|
|
1765
|
+
nextPageToken: string;
|
|
1766
|
+
};
|
|
1767
|
+
/**
|
|
1768
|
+
* Describes the message numen.sandbox.v1.ListConversationsResponse.
|
|
1769
|
+
* Use `create(ListConversationsResponseSchema)` to create a new message.
|
|
1770
|
+
*/
|
|
1771
|
+
declare const ListConversationsResponseSchema: GenMessage<ListConversationsResponse>;
|
|
1772
|
+
/**
|
|
1773
|
+
* @generated from message numen.sandbox.v1.DeleteConversationRequest
|
|
1774
|
+
*/
|
|
1775
|
+
type DeleteConversationRequest = Message<"numen.sandbox.v1.DeleteConversationRequest"> & {
|
|
1776
|
+
/**
|
|
1777
|
+
* @generated from field: string id = 1;
|
|
1778
|
+
*/
|
|
1779
|
+
id: string;
|
|
1780
|
+
};
|
|
1781
|
+
/**
|
|
1782
|
+
* Describes the message numen.sandbox.v1.DeleteConversationRequest.
|
|
1783
|
+
* Use `create(DeleteConversationRequestSchema)` to create a new message.
|
|
1784
|
+
*/
|
|
1785
|
+
declare const DeleteConversationRequestSchema: GenMessage<DeleteConversationRequest>;
|
|
1786
|
+
/**
|
|
1787
|
+
* @generated from message numen.sandbox.v1.LoginToken
|
|
1788
|
+
*/
|
|
1789
|
+
type LoginToken$1 = Message<"numen.sandbox.v1.LoginToken"> & {
|
|
1790
|
+
/**
|
|
1791
|
+
* @generated from field: string token = 1;
|
|
1792
|
+
*/
|
|
1793
|
+
token: string;
|
|
1794
|
+
/**
|
|
1795
|
+
* @generated from field: google.protobuf.Timestamp expires_at = 2;
|
|
1796
|
+
*/
|
|
1797
|
+
expiresAt?: Timestamp | undefined;
|
|
1798
|
+
};
|
|
1799
|
+
/**
|
|
1800
|
+
* Describes the message numen.sandbox.v1.LoginToken.
|
|
1801
|
+
* Use `create(LoginTokenSchema)` to create a new message.
|
|
1802
|
+
*/
|
|
1803
|
+
declare const LoginTokenSchema: GenMessage<LoginToken$1>;
|
|
1804
|
+
/**
|
|
1805
|
+
* @generated from message numen.sandbox.v1.CreateLoginTokenRequest
|
|
1806
|
+
*/
|
|
1807
|
+
type CreateLoginTokenRequest = Message<"numen.sandbox.v1.CreateLoginTokenRequest"> & {
|
|
1808
|
+
/**
|
|
1809
|
+
* @generated from field: string user_id = 1;
|
|
1810
|
+
*/
|
|
1811
|
+
userId: string;
|
|
1812
|
+
};
|
|
1813
|
+
/**
|
|
1814
|
+
* Describes the message numen.sandbox.v1.CreateLoginTokenRequest.
|
|
1815
|
+
* Use `create(CreateLoginTokenRequestSchema)` to create a new message.
|
|
1816
|
+
*/
|
|
1817
|
+
declare const CreateLoginTokenRequestSchema: GenMessage<CreateLoginTokenRequest>;
|
|
1818
|
+
/**
|
|
1819
|
+
* @generated from message numen.sandbox.v1.RevokeEndUserRequest
|
|
1820
|
+
*/
|
|
1821
|
+
type RevokeEndUserRequest = Message<"numen.sandbox.v1.RevokeEndUserRequest"> & {
|
|
1822
|
+
/**
|
|
1823
|
+
* @generated from field: string user_id = 1;
|
|
1824
|
+
*/
|
|
1825
|
+
userId: string;
|
|
1826
|
+
};
|
|
1827
|
+
/**
|
|
1828
|
+
* Describes the message numen.sandbox.v1.RevokeEndUserRequest.
|
|
1829
|
+
* Use `create(RevokeEndUserRequestSchema)` to create a new message.
|
|
1830
|
+
*/
|
|
1831
|
+
declare const RevokeEndUserRequestSchema: GenMessage<RevokeEndUserRequest>;
|
|
1832
|
+
/**
|
|
1833
|
+
* @generated from message numen.sandbox.v1.DeleteEndUserRequest
|
|
1834
|
+
*/
|
|
1835
|
+
type DeleteEndUserRequest = Message<"numen.sandbox.v1.DeleteEndUserRequest"> & {
|
|
1836
|
+
/**
|
|
1837
|
+
* @generated from field: string user_id = 1;
|
|
1838
|
+
*/
|
|
1839
|
+
userId: string;
|
|
1840
|
+
};
|
|
1841
|
+
/**
|
|
1842
|
+
* Describes the message numen.sandbox.v1.DeleteEndUserRequest.
|
|
1843
|
+
* Use `create(DeleteEndUserRequestSchema)` to create a new message.
|
|
1844
|
+
*/
|
|
1845
|
+
declare const DeleteEndUserRequestSchema: GenMessage<DeleteEndUserRequest>;
|
|
1846
|
+
/**
|
|
1847
|
+
* @generated from message numen.sandbox.v1.BindAgentSecretRequest
|
|
1848
|
+
*/
|
|
1849
|
+
type BindAgentSecretRequest = Message<"numen.sandbox.v1.BindAgentSecretRequest"> & {
|
|
1850
|
+
/**
|
|
1851
|
+
* @generated from field: string agent_id = 1;
|
|
1852
|
+
*/
|
|
1853
|
+
agentId: string;
|
|
1854
|
+
/**
|
|
1855
|
+
* @generated from field: string env_name = 2;
|
|
1856
|
+
*/
|
|
1857
|
+
envName: string;
|
|
1858
|
+
/**
|
|
1859
|
+
* @generated from field: string secret_name = 3;
|
|
1860
|
+
*/
|
|
1861
|
+
secretName: string;
|
|
1862
|
+
};
|
|
1863
|
+
/**
|
|
1864
|
+
* Describes the message numen.sandbox.v1.BindAgentSecretRequest.
|
|
1865
|
+
* Use `create(BindAgentSecretRequestSchema)` to create a new message.
|
|
1866
|
+
*/
|
|
1867
|
+
declare const BindAgentSecretRequestSchema: GenMessage<BindAgentSecretRequest>;
|
|
1868
|
+
/**
|
|
1869
|
+
* @generated from message numen.sandbox.v1.UnbindAgentSecretRequest
|
|
1870
|
+
*/
|
|
1871
|
+
type UnbindAgentSecretRequest = Message<"numen.sandbox.v1.UnbindAgentSecretRequest"> & {
|
|
1872
|
+
/**
|
|
1873
|
+
* @generated from field: string agent_id = 1;
|
|
1874
|
+
*/
|
|
1875
|
+
agentId: string;
|
|
1876
|
+
/**
|
|
1877
|
+
* @generated from field: string env_name = 2;
|
|
1878
|
+
*/
|
|
1879
|
+
envName: string;
|
|
1880
|
+
};
|
|
1881
|
+
/**
|
|
1882
|
+
* Describes the message numen.sandbox.v1.UnbindAgentSecretRequest.
|
|
1883
|
+
* Use `create(UnbindAgentSecretRequestSchema)` to create a new message.
|
|
1884
|
+
*/
|
|
1885
|
+
declare const UnbindAgentSecretRequestSchema: GenMessage<UnbindAgentSecretRequest>;
|
|
1886
|
+
/**
|
|
1887
|
+
* MatrixSession is a short-lived device on the project app user.
|
|
1888
|
+
* It is for SDK callers that already hold Numen credentials.
|
|
1889
|
+
*
|
|
1890
|
+
* @generated from message numen.sandbox.v1.MatrixSession
|
|
1891
|
+
*/
|
|
1892
|
+
type MatrixSession$1 = Message<"numen.sandbox.v1.MatrixSession"> & {
|
|
1893
|
+
/**
|
|
1894
|
+
* @generated from field: string homeserver = 1;
|
|
1895
|
+
*/
|
|
1896
|
+
homeserver: string;
|
|
1897
|
+
/**
|
|
1898
|
+
* @generated from field: string user_id = 2;
|
|
1899
|
+
*/
|
|
1900
|
+
userId: string;
|
|
1901
|
+
/**
|
|
1902
|
+
* @generated from field: string access_token = 3;
|
|
1903
|
+
*/
|
|
1904
|
+
accessToken: string;
|
|
1905
|
+
/**
|
|
1906
|
+
* @generated from field: string session_id = 4;
|
|
1907
|
+
*/
|
|
1908
|
+
sessionId: string;
|
|
1909
|
+
};
|
|
1910
|
+
/**
|
|
1911
|
+
* Describes the message numen.sandbox.v1.MatrixSession.
|
|
1912
|
+
* Use `create(MatrixSessionSchema)` to create a new message.
|
|
1913
|
+
*/
|
|
1914
|
+
declare const MatrixSessionSchema: GenMessage<MatrixSession$1>;
|
|
1915
|
+
/**
|
|
1916
|
+
* @generated from message numen.sandbox.v1.CreateMatrixSessionRequest
|
|
1917
|
+
*/
|
|
1918
|
+
type CreateMatrixSessionRequest = Message<"numen.sandbox.v1.CreateMatrixSessionRequest"> & {};
|
|
1919
|
+
/**
|
|
1920
|
+
* Describes the message numen.sandbox.v1.CreateMatrixSessionRequest.
|
|
1921
|
+
* Use `create(CreateMatrixSessionRequestSchema)` to create a new message.
|
|
1922
|
+
*/
|
|
1923
|
+
declare const CreateMatrixSessionRequestSchema: GenMessage<CreateMatrixSessionRequest>;
|
|
1924
|
+
/**
|
|
1925
|
+
* @generated from message numen.sandbox.v1.DeleteMatrixSessionRequest
|
|
1926
|
+
*/
|
|
1927
|
+
type DeleteMatrixSessionRequest = Message<"numen.sandbox.v1.DeleteMatrixSessionRequest"> & {
|
|
1928
|
+
/**
|
|
1929
|
+
* @generated from field: string session_id = 1;
|
|
1930
|
+
*/
|
|
1931
|
+
sessionId: string;
|
|
1932
|
+
};
|
|
1933
|
+
/**
|
|
1934
|
+
* Describes the message numen.sandbox.v1.DeleteMatrixSessionRequest.
|
|
1935
|
+
* Use `create(DeleteMatrixSessionRequestSchema)` to create a new message.
|
|
1936
|
+
*/
|
|
1937
|
+
declare const DeleteMatrixSessionRequestSchema: GenMessage<DeleteMatrixSessionRequest>;
|
|
1938
|
+
/**
|
|
1939
|
+
* @generated from message numen.sandbox.v1.GetAgentRequest
|
|
1940
|
+
*/
|
|
1941
|
+
type GetAgentRequest = Message<"numen.sandbox.v1.GetAgentRequest"> & {
|
|
1942
|
+
/**
|
|
1943
|
+
* @generated from oneof numen.sandbox.v1.GetAgentRequest.key
|
|
1944
|
+
*/
|
|
1945
|
+
key: {
|
|
1946
|
+
/**
|
|
1947
|
+
* @generated from field: string id = 1;
|
|
1948
|
+
*/
|
|
1949
|
+
value: string;
|
|
1950
|
+
case: "id";
|
|
1951
|
+
} | {
|
|
1952
|
+
/**
|
|
1953
|
+
* @generated from field: string name = 2;
|
|
1954
|
+
*/
|
|
1955
|
+
value: string;
|
|
1956
|
+
case: "name";
|
|
1957
|
+
} | {
|
|
1958
|
+
case: undefined;
|
|
1959
|
+
value?: undefined;
|
|
1960
|
+
};
|
|
1961
|
+
};
|
|
1962
|
+
/**
|
|
1963
|
+
* Describes the message numen.sandbox.v1.GetAgentRequest.
|
|
1964
|
+
* Use `create(GetAgentRequestSchema)` to create a new message.
|
|
1965
|
+
*/
|
|
1966
|
+
declare const GetAgentRequestSchema: GenMessage<GetAgentRequest>;
|
|
1967
|
+
/**
|
|
1968
|
+
* @generated from message numen.sandbox.v1.ListAgentsRequest
|
|
1969
|
+
*/
|
|
1970
|
+
type ListAgentsRequest = Message<"numen.sandbox.v1.ListAgentsRequest"> & {
|
|
1971
|
+
/**
|
|
1972
|
+
* @generated from field: int32 page_size = 1;
|
|
1973
|
+
*/
|
|
1974
|
+
pageSize: number;
|
|
1975
|
+
/**
|
|
1976
|
+
* @generated from field: string page_token = 2;
|
|
1977
|
+
*/
|
|
1978
|
+
pageToken: string;
|
|
1979
|
+
/**
|
|
1980
|
+
* @generated from field: optional bool messaging = 3;
|
|
1981
|
+
*/
|
|
1982
|
+
messaging?: boolean | undefined;
|
|
1983
|
+
};
|
|
1984
|
+
/**
|
|
1985
|
+
* Describes the message numen.sandbox.v1.ListAgentsRequest.
|
|
1986
|
+
* Use `create(ListAgentsRequestSchema)` to create a new message.
|
|
1987
|
+
*/
|
|
1988
|
+
declare const ListAgentsRequestSchema: GenMessage<ListAgentsRequest>;
|
|
1989
|
+
/**
|
|
1990
|
+
* @generated from message numen.sandbox.v1.ListAgentsResponse
|
|
1991
|
+
*/
|
|
1992
|
+
type ListAgentsResponse = Message<"numen.sandbox.v1.ListAgentsResponse"> & {
|
|
1993
|
+
/**
|
|
1994
|
+
* @generated from field: repeated numen.sandbox.v1.Agent agents = 1;
|
|
1995
|
+
*/
|
|
1996
|
+
agents: Agent$2[];
|
|
1997
|
+
/**
|
|
1998
|
+
* @generated from field: string next_page_token = 2;
|
|
1999
|
+
*/
|
|
2000
|
+
nextPageToken: string;
|
|
2001
|
+
};
|
|
2002
|
+
/**
|
|
2003
|
+
* Describes the message numen.sandbox.v1.ListAgentsResponse.
|
|
2004
|
+
* Use `create(ListAgentsResponseSchema)` to create a new message.
|
|
2005
|
+
*/
|
|
2006
|
+
declare const ListAgentsResponseSchema: GenMessage<ListAgentsResponse>;
|
|
2007
|
+
/**
|
|
2008
|
+
* @generated from message numen.sandbox.v1.DeleteAgentRequest
|
|
2009
|
+
*/
|
|
2010
|
+
type DeleteAgentRequest = Message<"numen.sandbox.v1.DeleteAgentRequest"> & {
|
|
2011
|
+
/**
|
|
2012
|
+
* @generated from field: string id = 1;
|
|
2013
|
+
*/
|
|
2014
|
+
id: string;
|
|
2015
|
+
};
|
|
2016
|
+
/**
|
|
2017
|
+
* Describes the message numen.sandbox.v1.DeleteAgentRequest.
|
|
2018
|
+
* Use `create(DeleteAgentRequestSchema)` to create a new message.
|
|
2019
|
+
*/
|
|
2020
|
+
declare const DeleteAgentRequestSchema: GenMessage<DeleteAgentRequest>;
|
|
2021
|
+
/**
|
|
2022
|
+
* An HTTP grant opens the guest HTTP URL for one sandbox port.
|
|
2023
|
+
* token is set only on create. List and delete never return it.
|
|
2024
|
+
*
|
|
2025
|
+
* @generated from message numen.sandbox.v1.HTTPGrant
|
|
2026
|
+
*/
|
|
2027
|
+
type HTTPGrant$2 = Message<"numen.sandbox.v1.HTTPGrant"> & {
|
|
2028
|
+
/**
|
|
2029
|
+
* @generated from field: string id = 1;
|
|
2030
|
+
*/
|
|
2031
|
+
id: string;
|
|
2032
|
+
/**
|
|
2033
|
+
* @generated from field: string sandbox_id = 2;
|
|
2034
|
+
*/
|
|
2035
|
+
sandboxId: string;
|
|
2036
|
+
/**
|
|
2037
|
+
* @generated from field: uint32 port = 3;
|
|
2038
|
+
*/
|
|
2039
|
+
port: number;
|
|
2040
|
+
/**
|
|
2041
|
+
* @generated from field: google.protobuf.Timestamp expires_at = 4;
|
|
2042
|
+
*/
|
|
2043
|
+
expiresAt?: Timestamp | undefined;
|
|
2044
|
+
/**
|
|
2045
|
+
* @generated from field: string token = 5;
|
|
2046
|
+
*/
|
|
2047
|
+
token: string;
|
|
2048
|
+
};
|
|
2049
|
+
/**
|
|
2050
|
+
* Describes the message numen.sandbox.v1.HTTPGrant.
|
|
2051
|
+
* Use `create(HTTPGrantSchema)` to create a new message.
|
|
2052
|
+
*/
|
|
2053
|
+
declare const HTTPGrantSchema: GenMessage<HTTPGrant$2>;
|
|
2054
|
+
/**
|
|
2055
|
+
* @generated from message numen.sandbox.v1.CreateHTTPGrantRequest
|
|
2056
|
+
*/
|
|
2057
|
+
type CreateHTTPGrantRequest = Message<"numen.sandbox.v1.CreateHTTPGrantRequest"> & {
|
|
2058
|
+
/**
|
|
2059
|
+
* @generated from field: string sandbox_id = 1;
|
|
2060
|
+
*/
|
|
2061
|
+
sandboxId: string;
|
|
2062
|
+
/**
|
|
2063
|
+
* @generated from field: uint32 port = 2;
|
|
2064
|
+
*/
|
|
2065
|
+
port: number;
|
|
2066
|
+
/**
|
|
2067
|
+
* 0 means 3600 seconds. Values above 604800 are invalid_argument.
|
|
2068
|
+
*
|
|
2069
|
+
* @generated from field: int64 ttl_sec = 3;
|
|
2070
|
+
*/
|
|
2071
|
+
ttlSec: bigint;
|
|
2072
|
+
};
|
|
2073
|
+
/**
|
|
2074
|
+
* Describes the message numen.sandbox.v1.CreateHTTPGrantRequest.
|
|
2075
|
+
* Use `create(CreateHTTPGrantRequestSchema)` to create a new message.
|
|
2076
|
+
*/
|
|
2077
|
+
declare const CreateHTTPGrantRequestSchema: GenMessage<CreateHTTPGrantRequest>;
|
|
2078
|
+
/**
|
|
2079
|
+
* @generated from message numen.sandbox.v1.ListHTTPGrantsRequest
|
|
2080
|
+
*/
|
|
2081
|
+
type ListHTTPGrantsRequest = Message<"numen.sandbox.v1.ListHTTPGrantsRequest"> & {
|
|
2082
|
+
/**
|
|
2083
|
+
* @generated from field: string sandbox_id = 1;
|
|
2084
|
+
*/
|
|
2085
|
+
sandboxId: string;
|
|
2086
|
+
};
|
|
2087
|
+
/**
|
|
2088
|
+
* Describes the message numen.sandbox.v1.ListHTTPGrantsRequest.
|
|
2089
|
+
* Use `create(ListHTTPGrantsRequestSchema)` to create a new message.
|
|
2090
|
+
*/
|
|
2091
|
+
declare const ListHTTPGrantsRequestSchema: GenMessage<ListHTTPGrantsRequest>;
|
|
2092
|
+
/**
|
|
2093
|
+
* @generated from message numen.sandbox.v1.ListHTTPGrantsResponse
|
|
2094
|
+
*/
|
|
2095
|
+
type ListHTTPGrantsResponse = Message<"numen.sandbox.v1.ListHTTPGrantsResponse"> & {
|
|
2096
|
+
/**
|
|
2097
|
+
* @generated from field: repeated numen.sandbox.v1.HTTPGrant grants = 1;
|
|
2098
|
+
*/
|
|
2099
|
+
grants: HTTPGrant$2[];
|
|
2100
|
+
};
|
|
2101
|
+
/**
|
|
2102
|
+
* Describes the message numen.sandbox.v1.ListHTTPGrantsResponse.
|
|
2103
|
+
* Use `create(ListHTTPGrantsResponseSchema)` to create a new message.
|
|
2104
|
+
*/
|
|
2105
|
+
declare const ListHTTPGrantsResponseSchema: GenMessage<ListHTTPGrantsResponse>;
|
|
2106
|
+
/**
|
|
2107
|
+
* @generated from message numen.sandbox.v1.DeleteHTTPGrantRequest
|
|
2108
|
+
*/
|
|
2109
|
+
type DeleteHTTPGrantRequest = Message<"numen.sandbox.v1.DeleteHTTPGrantRequest"> & {
|
|
2110
|
+
/**
|
|
2111
|
+
* @generated from field: string id = 1;
|
|
2112
|
+
*/
|
|
2113
|
+
id: string;
|
|
2114
|
+
};
|
|
2115
|
+
/**
|
|
2116
|
+
* Describes the message numen.sandbox.v1.DeleteHTTPGrantRequest.
|
|
2117
|
+
* Use `create(DeleteHTTPGrantRequestSchema)` to create a new message.
|
|
2118
|
+
*/
|
|
2119
|
+
declare const DeleteHTTPGrantRequestSchema: GenMessage<DeleteHTTPGrantRequest>;
|
|
2120
|
+
/**
|
|
2121
|
+
* @generated from message numen.sandbox.v1.ResolveHTTPGrantRequest
|
|
2122
|
+
*/
|
|
2123
|
+
type ResolveHTTPGrantRequest = Message<"numen.sandbox.v1.ResolveHTTPGrantRequest"> & {
|
|
2124
|
+
/**
|
|
2125
|
+
* @generated from field: string sandbox_id = 1;
|
|
2126
|
+
*/
|
|
2127
|
+
sandboxId: string;
|
|
2128
|
+
/**
|
|
2129
|
+
* @generated from field: uint32 port = 2;
|
|
2130
|
+
*/
|
|
2131
|
+
port: number;
|
|
2132
|
+
};
|
|
2133
|
+
/**
|
|
2134
|
+
* Describes the message numen.sandbox.v1.ResolveHTTPGrantRequest.
|
|
2135
|
+
* Use `create(ResolveHTTPGrantRequestSchema)` to create a new message.
|
|
2136
|
+
*/
|
|
2137
|
+
declare const ResolveHTTPGrantRequestSchema: GenMessage<ResolveHTTPGrantRequest>;
|
|
2138
|
+
/**
|
|
2139
|
+
* ResolveHTTPGrantResponse is the sandbox owner. The ingress copies tenant
|
|
2140
|
+
* and project onto the hop dial. The visitor has no Keska token.
|
|
2141
|
+
*
|
|
2142
|
+
* @generated from message numen.sandbox.v1.ResolveHTTPGrantResponse
|
|
2143
|
+
*/
|
|
2144
|
+
type ResolveHTTPGrantResponse = Message<"numen.sandbox.v1.ResolveHTTPGrantResponse"> & {
|
|
2145
|
+
/**
|
|
2146
|
+
* @generated from field: string tenant_id = 1;
|
|
2147
|
+
*/
|
|
2148
|
+
tenantId: string;
|
|
2149
|
+
/**
|
|
2150
|
+
* @generated from field: string project_id = 2;
|
|
2151
|
+
*/
|
|
2152
|
+
projectId: string;
|
|
2153
|
+
};
|
|
2154
|
+
/**
|
|
2155
|
+
* Describes the message numen.sandbox.v1.ResolveHTTPGrantResponse.
|
|
2156
|
+
* Use `create(ResolveHTTPGrantResponseSchema)` to create a new message.
|
|
2157
|
+
*/
|
|
2158
|
+
declare const ResolveHTTPGrantResponseSchema: GenMessage<ResolveHTTPGrantResponse>;
|
|
2159
|
+
/**
|
|
2160
|
+
* @generated from message numen.sandbox.v1.ScanPolicy
|
|
2161
|
+
*/
|
|
2162
|
+
type ScanPolicy$1 = Message<"numen.sandbox.v1.ScanPolicy"> & {
|
|
2163
|
+
/**
|
|
2164
|
+
* @generated from field: repeated numen.sandbox.v1.ScanCheck checks = 1;
|
|
2165
|
+
*/
|
|
2166
|
+
checks: ScanCheck$1[];
|
|
2167
|
+
/**
|
|
2168
|
+
* @generated from field: string every = 2;
|
|
2169
|
+
*/
|
|
2170
|
+
every: string;
|
|
2171
|
+
/**
|
|
2172
|
+
* @generated from field: numen.sandbox.v1.Severity min_severity = 3;
|
|
2173
|
+
*/
|
|
2174
|
+
minSeverity: Severity$1;
|
|
2175
|
+
};
|
|
2176
|
+
/**
|
|
2177
|
+
* @generated from message numen.sandbox.v1.RuntimePolicy
|
|
2178
|
+
*/
|
|
2179
|
+
type RuntimePolicy$1 = Message<"numen.sandbox.v1.RuntimePolicy"> & {
|
|
2180
|
+
/**
|
|
2181
|
+
* @generated from field: repeated numen.sandbox.v1.RuntimeEvent events = 1;
|
|
2182
|
+
*/
|
|
2183
|
+
events: RuntimeEvent$1[];
|
|
2184
|
+
};
|
|
2185
|
+
/**
|
|
2186
|
+
* @generated from message numen.sandbox.v1.ResourcePolicy
|
|
2187
|
+
*/
|
|
2188
|
+
type ResourcePolicy$2 = Message<"numen.sandbox.v1.ResourcePolicy"> & {
|
|
2189
|
+
/**
|
|
2190
|
+
* @generated from field: string id = 1;
|
|
2191
|
+
*/
|
|
2192
|
+
id: string;
|
|
2193
|
+
/**
|
|
2194
|
+
* @generated from field: string name = 2;
|
|
2195
|
+
*/
|
|
2196
|
+
name: string;
|
|
2197
|
+
/**
|
|
2198
|
+
* @generated from field: optional int32 cpu_millicores = 3;
|
|
2199
|
+
*/
|
|
2200
|
+
cpuMillicores?: number | undefined;
|
|
2201
|
+
/**
|
|
2202
|
+
* @generated from field: optional int64 memory_bytes = 4;
|
|
2203
|
+
*/
|
|
2204
|
+
memoryBytes?: bigint | undefined;
|
|
2205
|
+
/**
|
|
2206
|
+
* @generated from field: optional int64 disk_bytes = 5;
|
|
2207
|
+
*/
|
|
2208
|
+
diskBytes?: bigint | undefined;
|
|
2209
|
+
/**
|
|
2210
|
+
* @generated from field: google.protobuf.Timestamp created_at = 6;
|
|
2211
|
+
*/
|
|
2212
|
+
createdAt?: Timestamp | undefined;
|
|
2213
|
+
/**
|
|
2214
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 7;
|
|
2215
|
+
*/
|
|
2216
|
+
updatedAt?: Timestamp | undefined;
|
|
2217
|
+
/**
|
|
2218
|
+
* @generated from field: int32 profile_count = 8;
|
|
2219
|
+
*/
|
|
2220
|
+
profileCount: number;
|
|
2221
|
+
};
|
|
2222
|
+
/**
|
|
2223
|
+
* Describes the message numen.sandbox.v1.ResourcePolicy.
|
|
2224
|
+
* Use `create(ResourcePolicySchema)` to create a new message.
|
|
2225
|
+
*/
|
|
2226
|
+
declare const ResourcePolicySchema: GenMessage<ResourcePolicy$2>;
|
|
2227
|
+
/**
|
|
2228
|
+
* @generated from message numen.sandbox.v1.CreateResourcePolicyRequest
|
|
2229
|
+
*/
|
|
2230
|
+
type CreateResourcePolicyRequest = Message<"numen.sandbox.v1.CreateResourcePolicyRequest"> & {
|
|
2231
|
+
/**
|
|
2232
|
+
* @generated from field: string name = 1;
|
|
2233
|
+
*/
|
|
2234
|
+
name: string;
|
|
2235
|
+
/**
|
|
2236
|
+
* @generated from field: optional int32 cpu_millicores = 2;
|
|
2237
|
+
*/
|
|
2238
|
+
cpuMillicores?: number | undefined;
|
|
2239
|
+
/**
|
|
2240
|
+
* @generated from field: optional int64 memory_bytes = 3;
|
|
2241
|
+
*/
|
|
2242
|
+
memoryBytes?: bigint | undefined;
|
|
2243
|
+
/**
|
|
2244
|
+
* @generated from field: optional int64 disk_bytes = 4;
|
|
2245
|
+
*/
|
|
2246
|
+
diskBytes?: bigint | undefined;
|
|
2247
|
+
};
|
|
2248
|
+
/**
|
|
2249
|
+
* Describes the message numen.sandbox.v1.CreateResourcePolicyRequest.
|
|
2250
|
+
* Use `create(CreateResourcePolicyRequestSchema)` to create a new message.
|
|
2251
|
+
*/
|
|
2252
|
+
declare const CreateResourcePolicyRequestSchema: GenMessage<CreateResourcePolicyRequest>;
|
|
2253
|
+
/**
|
|
2254
|
+
* @generated from message numen.sandbox.v1.GetResourcePolicyRequest
|
|
2255
|
+
*/
|
|
2256
|
+
type GetResourcePolicyRequest = Message<"numen.sandbox.v1.GetResourcePolicyRequest"> & {
|
|
2257
|
+
/**
|
|
2258
|
+
* @generated from oneof numen.sandbox.v1.GetResourcePolicyRequest.key
|
|
2259
|
+
*/
|
|
2260
|
+
key: {
|
|
2261
|
+
/**
|
|
2262
|
+
* @generated from field: string id = 1;
|
|
2263
|
+
*/
|
|
2264
|
+
value: string;
|
|
2265
|
+
case: "id";
|
|
2266
|
+
} | {
|
|
2267
|
+
/**
|
|
2268
|
+
* @generated from field: string name = 2;
|
|
2269
|
+
*/
|
|
2270
|
+
value: string;
|
|
2271
|
+
case: "name";
|
|
2272
|
+
} | {
|
|
2273
|
+
case: undefined;
|
|
2274
|
+
value?: undefined;
|
|
2275
|
+
};
|
|
2276
|
+
};
|
|
2277
|
+
/**
|
|
2278
|
+
* Describes the message numen.sandbox.v1.GetResourcePolicyRequest.
|
|
2279
|
+
* Use `create(GetResourcePolicyRequestSchema)` to create a new message.
|
|
2280
|
+
*/
|
|
2281
|
+
declare const GetResourcePolicyRequestSchema: GenMessage<GetResourcePolicyRequest>;
|
|
2282
|
+
/**
|
|
2283
|
+
* @generated from message numen.sandbox.v1.ListResourcePoliciesRequest
|
|
2284
|
+
*/
|
|
2285
|
+
type ListResourcePoliciesRequest = Message<"numen.sandbox.v1.ListResourcePoliciesRequest"> & {
|
|
2286
|
+
/**
|
|
2287
|
+
* @generated from field: int32 page_size = 1;
|
|
2288
|
+
*/
|
|
2289
|
+
pageSize: number;
|
|
2290
|
+
/**
|
|
2291
|
+
* @generated from field: string page_token = 2;
|
|
2292
|
+
*/
|
|
2293
|
+
pageToken: string;
|
|
2294
|
+
};
|
|
2295
|
+
/**
|
|
2296
|
+
* Describes the message numen.sandbox.v1.ListResourcePoliciesRequest.
|
|
2297
|
+
* Use `create(ListResourcePoliciesRequestSchema)` to create a new message.
|
|
2298
|
+
*/
|
|
2299
|
+
declare const ListResourcePoliciesRequestSchema: GenMessage<ListResourcePoliciesRequest>;
|
|
2300
|
+
/**
|
|
2301
|
+
* @generated from message numen.sandbox.v1.ListResourcePoliciesResponse
|
|
2302
|
+
*/
|
|
2303
|
+
type ListResourcePoliciesResponse = Message<"numen.sandbox.v1.ListResourcePoliciesResponse"> & {
|
|
2304
|
+
/**
|
|
2305
|
+
* @generated from field: repeated numen.sandbox.v1.ResourcePolicy resource_policies = 1;
|
|
2306
|
+
*/
|
|
2307
|
+
resourcePolicies: ResourcePolicy$2[];
|
|
2308
|
+
/**
|
|
2309
|
+
* @generated from field: string next_page_token = 2;
|
|
2310
|
+
*/
|
|
2311
|
+
nextPageToken: string;
|
|
2312
|
+
};
|
|
2313
|
+
/**
|
|
2314
|
+
* Describes the message numen.sandbox.v1.ListResourcePoliciesResponse.
|
|
2315
|
+
* Use `create(ListResourcePoliciesResponseSchema)` to create a new message.
|
|
2316
|
+
*/
|
|
2317
|
+
declare const ListResourcePoliciesResponseSchema: GenMessage<ListResourcePoliciesResponse>;
|
|
2318
|
+
/**
|
|
2319
|
+
* @generated from message numen.sandbox.v1.UpdateResourcePolicyRequest
|
|
2320
|
+
*/
|
|
2321
|
+
type UpdateResourcePolicyRequest = Message<"numen.sandbox.v1.UpdateResourcePolicyRequest"> & {
|
|
2322
|
+
/**
|
|
2323
|
+
* @generated from field: string id = 1;
|
|
2324
|
+
*/
|
|
2325
|
+
id: string;
|
|
2326
|
+
/**
|
|
2327
|
+
* @generated from field: string name = 2;
|
|
2328
|
+
*/
|
|
2329
|
+
name: string;
|
|
2330
|
+
/**
|
|
2331
|
+
* @generated from field: optional int32 cpu_millicores = 3;
|
|
2332
|
+
*/
|
|
2333
|
+
cpuMillicores?: number | undefined;
|
|
2334
|
+
/**
|
|
2335
|
+
* @generated from field: optional int64 memory_bytes = 4;
|
|
2336
|
+
*/
|
|
2337
|
+
memoryBytes?: bigint | undefined;
|
|
2338
|
+
/**
|
|
2339
|
+
* @generated from field: optional int64 disk_bytes = 5;
|
|
2340
|
+
*/
|
|
2341
|
+
diskBytes?: bigint | undefined;
|
|
2342
|
+
/**
|
|
2343
|
+
* @generated from field: bool clear_cpu = 6;
|
|
2344
|
+
*/
|
|
2345
|
+
clearCpu: boolean;
|
|
2346
|
+
/**
|
|
2347
|
+
* @generated from field: bool clear_memory = 7;
|
|
2348
|
+
*/
|
|
2349
|
+
clearMemory: boolean;
|
|
2350
|
+
/**
|
|
2351
|
+
* @generated from field: bool clear_disk = 8;
|
|
2352
|
+
*/
|
|
2353
|
+
clearDisk: boolean;
|
|
2354
|
+
};
|
|
2355
|
+
/**
|
|
2356
|
+
* Describes the message numen.sandbox.v1.UpdateResourcePolicyRequest.
|
|
2357
|
+
* Use `create(UpdateResourcePolicyRequestSchema)` to create a new message.
|
|
2358
|
+
*/
|
|
2359
|
+
declare const UpdateResourcePolicyRequestSchema: GenMessage<UpdateResourcePolicyRequest>;
|
|
2360
|
+
/**
|
|
2361
|
+
* @generated from message numen.sandbox.v1.DeleteResourcePolicyRequest
|
|
2362
|
+
*/
|
|
2363
|
+
type DeleteResourcePolicyRequest = Message<"numen.sandbox.v1.DeleteResourcePolicyRequest"> & {
|
|
2364
|
+
/**
|
|
2365
|
+
* @generated from field: string id = 1;
|
|
2366
|
+
*/
|
|
2367
|
+
id: string;
|
|
2368
|
+
};
|
|
2369
|
+
/**
|
|
2370
|
+
* Describes the message numen.sandbox.v1.DeleteResourcePolicyRequest.
|
|
2371
|
+
* Use `create(DeleteResourcePolicyRequestSchema)` to create a new message.
|
|
2372
|
+
*/
|
|
2373
|
+
declare const DeleteResourcePolicyRequestSchema: GenMessage<DeleteResourcePolicyRequest>;
|
|
2374
|
+
/**
|
|
2375
|
+
* @generated from message numen.sandbox.v1.SecurityPolicy
|
|
2376
|
+
*/
|
|
2377
|
+
type SecurityPolicy$2 = Message<"numen.sandbox.v1.SecurityPolicy"> & {
|
|
2378
|
+
/**
|
|
2379
|
+
* @generated from field: string id = 1;
|
|
2380
|
+
*/
|
|
2381
|
+
id: string;
|
|
2382
|
+
/**
|
|
2383
|
+
* @generated from field: string name = 2;
|
|
2384
|
+
*/
|
|
2385
|
+
name: string;
|
|
2386
|
+
/**
|
|
2387
|
+
* @generated from field: google.protobuf.Timestamp created_at = 6;
|
|
2388
|
+
*/
|
|
2389
|
+
createdAt?: Timestamp | undefined;
|
|
2390
|
+
/**
|
|
2391
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 7;
|
|
2392
|
+
*/
|
|
2393
|
+
updatedAt?: Timestamp | undefined;
|
|
2394
|
+
/**
|
|
2395
|
+
* @generated from field: int32 profile_count = 8;
|
|
2396
|
+
*/
|
|
2397
|
+
profileCount: number;
|
|
2398
|
+
/**
|
|
2399
|
+
* @generated from field: numen.sandbox.v1.ScanPolicy scanning = 9;
|
|
2400
|
+
*/
|
|
2401
|
+
scanning?: ScanPolicy$1 | undefined;
|
|
2402
|
+
/**
|
|
2403
|
+
* @generated from field: numen.sandbox.v1.RuntimePolicy runtime = 10;
|
|
2404
|
+
*/
|
|
2405
|
+
runtime?: RuntimePolicy$1 | undefined;
|
|
2406
|
+
};
|
|
2407
|
+
/**
|
|
2408
|
+
* Describes the message numen.sandbox.v1.SecurityPolicy.
|
|
2409
|
+
* Use `create(SecurityPolicySchema)` to create a new message.
|
|
2410
|
+
*/
|
|
2411
|
+
declare const SecurityPolicySchema: GenMessage<SecurityPolicy$2>;
|
|
2412
|
+
/**
|
|
2413
|
+
* @generated from message numen.sandbox.v1.CreateSecurityPolicyRequest
|
|
2414
|
+
*/
|
|
2415
|
+
type CreateSecurityPolicyRequest = Message<"numen.sandbox.v1.CreateSecurityPolicyRequest"> & {
|
|
2416
|
+
/**
|
|
2417
|
+
* @generated from field: string name = 1;
|
|
2418
|
+
*/
|
|
2419
|
+
name: string;
|
|
2420
|
+
/**
|
|
2421
|
+
* @generated from field: numen.sandbox.v1.ScanPolicy scanning = 2;
|
|
2422
|
+
*/
|
|
2423
|
+
scanning?: ScanPolicy$1 | undefined;
|
|
2424
|
+
/**
|
|
2425
|
+
* @generated from field: numen.sandbox.v1.RuntimePolicy runtime = 3;
|
|
2426
|
+
*/
|
|
2427
|
+
runtime?: RuntimePolicy$1 | undefined;
|
|
2428
|
+
};
|
|
2429
|
+
/**
|
|
2430
|
+
* Describes the message numen.sandbox.v1.CreateSecurityPolicyRequest.
|
|
2431
|
+
* Use `create(CreateSecurityPolicyRequestSchema)` to create a new message.
|
|
2432
|
+
*/
|
|
2433
|
+
declare const CreateSecurityPolicyRequestSchema: GenMessage<CreateSecurityPolicyRequest>;
|
|
2434
|
+
/**
|
|
2435
|
+
* @generated from message numen.sandbox.v1.GetSecurityPolicyRequest
|
|
2436
|
+
*/
|
|
2437
|
+
type GetSecurityPolicyRequest = Message<"numen.sandbox.v1.GetSecurityPolicyRequest"> & {
|
|
2438
|
+
/**
|
|
2439
|
+
* @generated from oneof numen.sandbox.v1.GetSecurityPolicyRequest.key
|
|
2440
|
+
*/
|
|
2441
|
+
key: {
|
|
2442
|
+
/**
|
|
2443
|
+
* @generated from field: string id = 1;
|
|
2444
|
+
*/
|
|
2445
|
+
value: string;
|
|
2446
|
+
case: "id";
|
|
2447
|
+
} | {
|
|
2448
|
+
/**
|
|
2449
|
+
* @generated from field: string name = 2;
|
|
2450
|
+
*/
|
|
2451
|
+
value: string;
|
|
2452
|
+
case: "name";
|
|
2453
|
+
} | {
|
|
2454
|
+
case: undefined;
|
|
2455
|
+
value?: undefined;
|
|
2456
|
+
};
|
|
2457
|
+
};
|
|
2458
|
+
/**
|
|
2459
|
+
* Describes the message numen.sandbox.v1.GetSecurityPolicyRequest.
|
|
2460
|
+
* Use `create(GetSecurityPolicyRequestSchema)` to create a new message.
|
|
2461
|
+
*/
|
|
2462
|
+
declare const GetSecurityPolicyRequestSchema: GenMessage<GetSecurityPolicyRequest>;
|
|
2463
|
+
/**
|
|
2464
|
+
* @generated from message numen.sandbox.v1.ListSecurityPoliciesRequest
|
|
2465
|
+
*/
|
|
2466
|
+
type ListSecurityPoliciesRequest = Message<"numen.sandbox.v1.ListSecurityPoliciesRequest"> & {
|
|
2467
|
+
/**
|
|
2468
|
+
* @generated from field: int32 page_size = 1;
|
|
2469
|
+
*/
|
|
2470
|
+
pageSize: number;
|
|
2471
|
+
/**
|
|
2472
|
+
* @generated from field: string page_token = 2;
|
|
2473
|
+
*/
|
|
2474
|
+
pageToken: string;
|
|
2475
|
+
};
|
|
2476
|
+
/**
|
|
2477
|
+
* Describes the message numen.sandbox.v1.ListSecurityPoliciesRequest.
|
|
2478
|
+
* Use `create(ListSecurityPoliciesRequestSchema)` to create a new message.
|
|
2479
|
+
*/
|
|
2480
|
+
declare const ListSecurityPoliciesRequestSchema: GenMessage<ListSecurityPoliciesRequest>;
|
|
2481
|
+
/**
|
|
2482
|
+
* @generated from message numen.sandbox.v1.ListSecurityPoliciesResponse
|
|
2483
|
+
*/
|
|
2484
|
+
type ListSecurityPoliciesResponse = Message<"numen.sandbox.v1.ListSecurityPoliciesResponse"> & {
|
|
2485
|
+
/**
|
|
2486
|
+
* @generated from field: repeated numen.sandbox.v1.SecurityPolicy security_policies = 1;
|
|
2487
|
+
*/
|
|
2488
|
+
securityPolicies: SecurityPolicy$2[];
|
|
2489
|
+
/**
|
|
2490
|
+
* @generated from field: string next_page_token = 2;
|
|
2491
|
+
*/
|
|
2492
|
+
nextPageToken: string;
|
|
2493
|
+
};
|
|
2494
|
+
/**
|
|
2495
|
+
* Describes the message numen.sandbox.v1.ListSecurityPoliciesResponse.
|
|
2496
|
+
* Use `create(ListSecurityPoliciesResponseSchema)` to create a new message.
|
|
2497
|
+
*/
|
|
2498
|
+
declare const ListSecurityPoliciesResponseSchema: GenMessage<ListSecurityPoliciesResponse>;
|
|
2499
|
+
/**
|
|
2500
|
+
* @generated from message numen.sandbox.v1.UpdateSecurityPolicyRequest
|
|
2501
|
+
*/
|
|
2502
|
+
type UpdateSecurityPolicyRequest = Message<"numen.sandbox.v1.UpdateSecurityPolicyRequest"> & {
|
|
2503
|
+
/**
|
|
2504
|
+
* @generated from field: string id = 1;
|
|
2505
|
+
*/
|
|
2506
|
+
id: string;
|
|
2507
|
+
/**
|
|
2508
|
+
* @generated from field: string name = 2;
|
|
2509
|
+
*/
|
|
2510
|
+
name: string;
|
|
2511
|
+
/**
|
|
2512
|
+
* @generated from field: numen.sandbox.v1.ScanPolicy scanning = 3;
|
|
2513
|
+
*/
|
|
2514
|
+
scanning?: ScanPolicy$1 | undefined;
|
|
2515
|
+
/**
|
|
2516
|
+
* @generated from field: numen.sandbox.v1.RuntimePolicy runtime = 4;
|
|
2517
|
+
*/
|
|
2518
|
+
runtime?: RuntimePolicy$1 | undefined;
|
|
2519
|
+
/**
|
|
2520
|
+
* @generated from field: bool clear_scanning = 5;
|
|
2521
|
+
*/
|
|
2522
|
+
clearScanning: boolean;
|
|
2523
|
+
/**
|
|
2524
|
+
* @generated from field: bool clear_runtime = 6;
|
|
2525
|
+
*/
|
|
2526
|
+
clearRuntime: boolean;
|
|
2527
|
+
};
|
|
2528
|
+
/**
|
|
2529
|
+
* Describes the message numen.sandbox.v1.UpdateSecurityPolicyRequest.
|
|
2530
|
+
* Use `create(UpdateSecurityPolicyRequestSchema)` to create a new message.
|
|
2531
|
+
*/
|
|
2532
|
+
declare const UpdateSecurityPolicyRequestSchema: GenMessage<UpdateSecurityPolicyRequest>;
|
|
2533
|
+
/**
|
|
2534
|
+
* @generated from message numen.sandbox.v1.DeleteSecurityPolicyRequest
|
|
2535
|
+
*/
|
|
2536
|
+
type DeleteSecurityPolicyRequest = Message<"numen.sandbox.v1.DeleteSecurityPolicyRequest"> & {
|
|
2537
|
+
/**
|
|
2538
|
+
* @generated from field: string id = 1;
|
|
2539
|
+
*/
|
|
2540
|
+
id: string;
|
|
2541
|
+
};
|
|
2542
|
+
/**
|
|
2543
|
+
* Describes the message numen.sandbox.v1.DeleteSecurityPolicyRequest.
|
|
2544
|
+
* Use `create(DeleteSecurityPolicyRequestSchema)` to create a new message.
|
|
2545
|
+
*/
|
|
2546
|
+
declare const DeleteSecurityPolicyRequestSchema: GenMessage<DeleteSecurityPolicyRequest>;
|
|
2547
|
+
/**
|
|
2548
|
+
* @generated from message numen.sandbox.v1.Profile
|
|
2549
|
+
*/
|
|
2550
|
+
type Profile$2 = Message<"numen.sandbox.v1.Profile"> & {
|
|
2551
|
+
/**
|
|
2552
|
+
* @generated from field: string id = 1;
|
|
2553
|
+
*/
|
|
2554
|
+
id: string;
|
|
2555
|
+
/**
|
|
2556
|
+
* @generated from field: string name = 2;
|
|
2557
|
+
*/
|
|
2558
|
+
name: string;
|
|
2559
|
+
/**
|
|
2560
|
+
* @generated from field: numen.sandbox.v1.ResourcePolicy resource_policy = 3;
|
|
2561
|
+
*/
|
|
2562
|
+
resourcePolicy?: ResourcePolicy$2 | undefined;
|
|
2563
|
+
/**
|
|
2564
|
+
* @generated from field: numen.sandbox.v1.SecurityPolicy security_policy = 4;
|
|
2565
|
+
*/
|
|
2566
|
+
securityPolicy?: SecurityPolicy$2 | undefined;
|
|
2567
|
+
/**
|
|
2568
|
+
* @generated from field: int32 sandbox_count = 5;
|
|
2569
|
+
*/
|
|
2570
|
+
sandboxCount: number;
|
|
2571
|
+
/**
|
|
2572
|
+
* @generated from field: int32 template_count = 6;
|
|
2573
|
+
*/
|
|
2574
|
+
templateCount: number;
|
|
2575
|
+
/**
|
|
2576
|
+
* @generated from field: int32 agent_count = 7;
|
|
2577
|
+
*/
|
|
2578
|
+
agentCount: number;
|
|
2579
|
+
/**
|
|
2580
|
+
* @generated from field: google.protobuf.Timestamp created_at = 8;
|
|
2581
|
+
*/
|
|
2582
|
+
createdAt?: Timestamp | undefined;
|
|
2583
|
+
/**
|
|
2584
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 9;
|
|
2585
|
+
*/
|
|
2586
|
+
updatedAt?: Timestamp | undefined;
|
|
2587
|
+
/**
|
|
2588
|
+
* @generated from field: string resource_policy_id = 10;
|
|
2589
|
+
*/
|
|
2590
|
+
resourcePolicyId: string;
|
|
2591
|
+
/**
|
|
2592
|
+
* @generated from field: string security_policy_id = 11;
|
|
2593
|
+
*/
|
|
2594
|
+
securityPolicyId: string;
|
|
2595
|
+
};
|
|
2596
|
+
/**
|
|
2597
|
+
* Describes the message numen.sandbox.v1.Profile.
|
|
2598
|
+
* Use `create(ProfileSchema)` to create a new message.
|
|
2599
|
+
*/
|
|
2600
|
+
declare const ProfileSchema: GenMessage<Profile$2>;
|
|
2601
|
+
/**
|
|
2602
|
+
* @generated from message numen.sandbox.v1.CreateProfileRequest
|
|
2603
|
+
*/
|
|
2604
|
+
type CreateProfileRequest = Message<"numen.sandbox.v1.CreateProfileRequest"> & {
|
|
2605
|
+
/**
|
|
2606
|
+
* @generated from field: string name = 1;
|
|
2607
|
+
*/
|
|
2608
|
+
name: string;
|
|
2609
|
+
/**
|
|
2610
|
+
* @generated from field: string resource_policy_id = 2;
|
|
2611
|
+
*/
|
|
2612
|
+
resourcePolicyId: string;
|
|
2613
|
+
/**
|
|
2614
|
+
* @generated from field: string security_policy_id = 3;
|
|
2615
|
+
*/
|
|
2616
|
+
securityPolicyId: string;
|
|
2617
|
+
};
|
|
2618
|
+
/**
|
|
2619
|
+
* Describes the message numen.sandbox.v1.CreateProfileRequest.
|
|
2620
|
+
* Use `create(CreateProfileRequestSchema)` to create a new message.
|
|
2621
|
+
*/
|
|
2622
|
+
declare const CreateProfileRequestSchema: GenMessage<CreateProfileRequest>;
|
|
2623
|
+
/**
|
|
2624
|
+
* @generated from message numen.sandbox.v1.GetProfileRequest
|
|
2625
|
+
*/
|
|
2626
|
+
type GetProfileRequest = Message<"numen.sandbox.v1.GetProfileRequest"> & {
|
|
2627
|
+
/**
|
|
2628
|
+
* @generated from oneof numen.sandbox.v1.GetProfileRequest.key
|
|
2629
|
+
*/
|
|
2630
|
+
key: {
|
|
2631
|
+
/**
|
|
2632
|
+
* @generated from field: string id = 1;
|
|
2633
|
+
*/
|
|
2634
|
+
value: string;
|
|
2635
|
+
case: "id";
|
|
2636
|
+
} | {
|
|
2637
|
+
/**
|
|
2638
|
+
* @generated from field: string name = 2;
|
|
2639
|
+
*/
|
|
2640
|
+
value: string;
|
|
2641
|
+
case: "name";
|
|
2642
|
+
} | {
|
|
2643
|
+
case: undefined;
|
|
2644
|
+
value?: undefined;
|
|
2645
|
+
};
|
|
2646
|
+
};
|
|
2647
|
+
/**
|
|
2648
|
+
* Describes the message numen.sandbox.v1.GetProfileRequest.
|
|
2649
|
+
* Use `create(GetProfileRequestSchema)` to create a new message.
|
|
2650
|
+
*/
|
|
2651
|
+
declare const GetProfileRequestSchema: GenMessage<GetProfileRequest>;
|
|
2652
|
+
/**
|
|
2653
|
+
* @generated from message numen.sandbox.v1.ListProfilesRequest
|
|
2654
|
+
*/
|
|
2655
|
+
type ListProfilesRequest = Message<"numen.sandbox.v1.ListProfilesRequest"> & {
|
|
2656
|
+
/**
|
|
2657
|
+
* @generated from field: int32 page_size = 1;
|
|
2658
|
+
*/
|
|
2659
|
+
pageSize: number;
|
|
2660
|
+
/**
|
|
2661
|
+
* @generated from field: string page_token = 2;
|
|
2662
|
+
*/
|
|
2663
|
+
pageToken: string;
|
|
2664
|
+
};
|
|
2665
|
+
/**
|
|
2666
|
+
* Describes the message numen.sandbox.v1.ListProfilesRequest.
|
|
2667
|
+
* Use `create(ListProfilesRequestSchema)` to create a new message.
|
|
2668
|
+
*/
|
|
2669
|
+
declare const ListProfilesRequestSchema: GenMessage<ListProfilesRequest>;
|
|
2670
|
+
/**
|
|
2671
|
+
* @generated from message numen.sandbox.v1.ListProfilesResponse
|
|
2672
|
+
*/
|
|
2673
|
+
type ListProfilesResponse = Message<"numen.sandbox.v1.ListProfilesResponse"> & {
|
|
2674
|
+
/**
|
|
2675
|
+
* @generated from field: repeated numen.sandbox.v1.Profile profiles = 1;
|
|
2676
|
+
*/
|
|
2677
|
+
profiles: Profile$2[];
|
|
2678
|
+
/**
|
|
2679
|
+
* @generated from field: string next_page_token = 2;
|
|
2680
|
+
*/
|
|
2681
|
+
nextPageToken: string;
|
|
2682
|
+
};
|
|
2683
|
+
/**
|
|
2684
|
+
* Describes the message numen.sandbox.v1.ListProfilesResponse.
|
|
2685
|
+
* Use `create(ListProfilesResponseSchema)` to create a new message.
|
|
2686
|
+
*/
|
|
2687
|
+
declare const ListProfilesResponseSchema: GenMessage<ListProfilesResponse>;
|
|
2688
|
+
/**
|
|
2689
|
+
* @generated from message numen.sandbox.v1.UpdateProfileRequest
|
|
2690
|
+
*/
|
|
2691
|
+
type UpdateProfileRequest = Message<"numen.sandbox.v1.UpdateProfileRequest"> & {
|
|
2692
|
+
/**
|
|
2693
|
+
* @generated from field: string id = 1;
|
|
2694
|
+
*/
|
|
2695
|
+
id: string;
|
|
2696
|
+
/**
|
|
2697
|
+
* @generated from field: string name = 2;
|
|
2698
|
+
*/
|
|
2699
|
+
name: string;
|
|
2700
|
+
/**
|
|
2701
|
+
* @generated from field: string resource_policy_id = 3;
|
|
2702
|
+
*/
|
|
2703
|
+
resourcePolicyId: string;
|
|
2704
|
+
/**
|
|
2705
|
+
* @generated from field: string security_policy_id = 4;
|
|
2706
|
+
*/
|
|
2707
|
+
securityPolicyId: string;
|
|
2708
|
+
/**
|
|
2709
|
+
* @generated from field: bool clear_resource_policy = 5;
|
|
2710
|
+
*/
|
|
2711
|
+
clearResourcePolicy: boolean;
|
|
2712
|
+
/**
|
|
2713
|
+
* @generated from field: bool clear_security_policy = 6;
|
|
2714
|
+
*/
|
|
2715
|
+
clearSecurityPolicy: boolean;
|
|
2716
|
+
};
|
|
2717
|
+
/**
|
|
2718
|
+
* Describes the message numen.sandbox.v1.UpdateProfileRequest.
|
|
2719
|
+
* Use `create(UpdateProfileRequestSchema)` to create a new message.
|
|
2720
|
+
*/
|
|
2721
|
+
declare const UpdateProfileRequestSchema: GenMessage<UpdateProfileRequest>;
|
|
2722
|
+
/**
|
|
2723
|
+
* @generated from message numen.sandbox.v1.DeleteProfileRequest
|
|
2724
|
+
*/
|
|
2725
|
+
type DeleteProfileRequest = Message<"numen.sandbox.v1.DeleteProfileRequest"> & {
|
|
2726
|
+
/**
|
|
2727
|
+
* @generated from field: string id = 1;
|
|
2728
|
+
*/
|
|
2729
|
+
id: string;
|
|
2730
|
+
};
|
|
2731
|
+
/**
|
|
2732
|
+
* Describes the message numen.sandbox.v1.DeleteProfileRequest.
|
|
2733
|
+
* Use `create(DeleteProfileRequestSchema)` to create a new message.
|
|
2734
|
+
*/
|
|
2735
|
+
declare const DeleteProfileRequestSchema: GenMessage<DeleteProfileRequest>;
|
|
2736
|
+
/**
|
|
2737
|
+
* @generated from message numen.sandbox.v1.Template
|
|
2738
|
+
*/
|
|
2739
|
+
type Template$2 = Message<"numen.sandbox.v1.Template"> & {
|
|
2740
|
+
/**
|
|
2741
|
+
* @generated from field: string id = 1;
|
|
2742
|
+
*/
|
|
2743
|
+
id: string;
|
|
2744
|
+
/**
|
|
2745
|
+
* @generated from field: string name = 2;
|
|
2746
|
+
*/
|
|
2747
|
+
name: string;
|
|
2748
|
+
/**
|
|
2749
|
+
* @generated from field: string image = 3;
|
|
2750
|
+
*/
|
|
2751
|
+
image: string;
|
|
2752
|
+
/**
|
|
2753
|
+
* @generated from field: map<string, string> secret_env = 4;
|
|
2754
|
+
*/
|
|
2755
|
+
secretEnv: {
|
|
2756
|
+
[key: string]: string;
|
|
2757
|
+
};
|
|
2758
|
+
/**
|
|
2759
|
+
* @generated from field: string profile_id = 5;
|
|
2760
|
+
*/
|
|
2761
|
+
profileId: string;
|
|
2762
|
+
/**
|
|
2763
|
+
* @generated from field: int32 agent_count = 6;
|
|
2764
|
+
*/
|
|
2765
|
+
agentCount: number;
|
|
2766
|
+
/**
|
|
2767
|
+
* @generated from field: google.protobuf.Timestamp created_at = 7;
|
|
2768
|
+
*/
|
|
2769
|
+
createdAt?: Timestamp | undefined;
|
|
2770
|
+
/**
|
|
2771
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 8;
|
|
2772
|
+
*/
|
|
2773
|
+
updatedAt?: Timestamp | undefined;
|
|
2774
|
+
};
|
|
2775
|
+
/**
|
|
2776
|
+
* Describes the message numen.sandbox.v1.Template.
|
|
2777
|
+
* Use `create(TemplateSchema)` to create a new message.
|
|
2778
|
+
*/
|
|
2779
|
+
declare const TemplateSchema: GenMessage<Template$2>;
|
|
2780
|
+
/**
|
|
2781
|
+
* @generated from message numen.sandbox.v1.CreateTemplateRequest
|
|
2782
|
+
*/
|
|
2783
|
+
type CreateTemplateRequest = Message<"numen.sandbox.v1.CreateTemplateRequest"> & {
|
|
2784
|
+
/**
|
|
2785
|
+
* @generated from field: string name = 1;
|
|
2786
|
+
*/
|
|
2787
|
+
name: string;
|
|
2788
|
+
/**
|
|
2789
|
+
* @generated from field: string image = 2;
|
|
2790
|
+
*/
|
|
2791
|
+
image: string;
|
|
2792
|
+
/**
|
|
2793
|
+
* @generated from field: map<string, string> secret_env = 3;
|
|
2794
|
+
*/
|
|
2795
|
+
secretEnv: {
|
|
2796
|
+
[key: string]: string;
|
|
2797
|
+
};
|
|
2798
|
+
/**
|
|
2799
|
+
* @generated from field: string profile_id = 4;
|
|
2800
|
+
*/
|
|
2801
|
+
profileId: string;
|
|
2802
|
+
};
|
|
2803
|
+
/**
|
|
2804
|
+
* Describes the message numen.sandbox.v1.CreateTemplateRequest.
|
|
2805
|
+
* Use `create(CreateTemplateRequestSchema)` to create a new message.
|
|
2806
|
+
*/
|
|
2807
|
+
declare const CreateTemplateRequestSchema: GenMessage<CreateTemplateRequest>;
|
|
2808
|
+
/**
|
|
2809
|
+
* @generated from message numen.sandbox.v1.GetTemplateRequest
|
|
2810
|
+
*/
|
|
2811
|
+
type GetTemplateRequest = Message<"numen.sandbox.v1.GetTemplateRequest"> & {
|
|
2812
|
+
/**
|
|
2813
|
+
* @generated from oneof numen.sandbox.v1.GetTemplateRequest.key
|
|
2814
|
+
*/
|
|
2815
|
+
key: {
|
|
2816
|
+
/**
|
|
2817
|
+
* @generated from field: string id = 1;
|
|
2818
|
+
*/
|
|
2819
|
+
value: string;
|
|
2820
|
+
case: "id";
|
|
2821
|
+
} | {
|
|
2822
|
+
/**
|
|
2823
|
+
* @generated from field: string name = 2;
|
|
2824
|
+
*/
|
|
2825
|
+
value: string;
|
|
2826
|
+
case: "name";
|
|
2827
|
+
} | {
|
|
2828
|
+
case: undefined;
|
|
2829
|
+
value?: undefined;
|
|
2830
|
+
};
|
|
2831
|
+
};
|
|
2832
|
+
/**
|
|
2833
|
+
* Describes the message numen.sandbox.v1.GetTemplateRequest.
|
|
2834
|
+
* Use `create(GetTemplateRequestSchema)` to create a new message.
|
|
2835
|
+
*/
|
|
2836
|
+
declare const GetTemplateRequestSchema: GenMessage<GetTemplateRequest>;
|
|
2837
|
+
/**
|
|
2838
|
+
* @generated from message numen.sandbox.v1.ListTemplatesRequest
|
|
2839
|
+
*/
|
|
2840
|
+
type ListTemplatesRequest = Message<"numen.sandbox.v1.ListTemplatesRequest"> & {
|
|
2841
|
+
/**
|
|
2842
|
+
* @generated from field: int32 page_size = 1;
|
|
2843
|
+
*/
|
|
2844
|
+
pageSize: number;
|
|
2845
|
+
/**
|
|
2846
|
+
* @generated from field: string page_token = 2;
|
|
2847
|
+
*/
|
|
2848
|
+
pageToken: string;
|
|
2849
|
+
};
|
|
2850
|
+
/**
|
|
2851
|
+
* Describes the message numen.sandbox.v1.ListTemplatesRequest.
|
|
2852
|
+
* Use `create(ListTemplatesRequestSchema)` to create a new message.
|
|
2853
|
+
*/
|
|
2854
|
+
declare const ListTemplatesRequestSchema: GenMessage<ListTemplatesRequest>;
|
|
2855
|
+
/**
|
|
2856
|
+
* @generated from message numen.sandbox.v1.ListTemplatesResponse
|
|
2857
|
+
*/
|
|
2858
|
+
type ListTemplatesResponse = Message<"numen.sandbox.v1.ListTemplatesResponse"> & {
|
|
2859
|
+
/**
|
|
2860
|
+
* @generated from field: repeated numen.sandbox.v1.Template templates = 1;
|
|
2861
|
+
*/
|
|
2862
|
+
templates: Template$2[];
|
|
2863
|
+
/**
|
|
2864
|
+
* @generated from field: string next_page_token = 2;
|
|
2865
|
+
*/
|
|
2866
|
+
nextPageToken: string;
|
|
2867
|
+
};
|
|
2868
|
+
/**
|
|
2869
|
+
* Describes the message numen.sandbox.v1.ListTemplatesResponse.
|
|
2870
|
+
* Use `create(ListTemplatesResponseSchema)` to create a new message.
|
|
2871
|
+
*/
|
|
2872
|
+
declare const ListTemplatesResponseSchema: GenMessage<ListTemplatesResponse>;
|
|
2873
|
+
/**
|
|
2874
|
+
* @generated from message numen.sandbox.v1.UpdateTemplateRequest
|
|
2875
|
+
*/
|
|
2876
|
+
type UpdateTemplateRequest = Message<"numen.sandbox.v1.UpdateTemplateRequest"> & {
|
|
2877
|
+
/**
|
|
2878
|
+
* @generated from field: string id = 1;
|
|
2879
|
+
*/
|
|
2880
|
+
id: string;
|
|
2881
|
+
/**
|
|
2882
|
+
* @generated from field: string name = 2;
|
|
2883
|
+
*/
|
|
2884
|
+
name: string;
|
|
2885
|
+
/**
|
|
2886
|
+
* @generated from field: string image = 3;
|
|
2887
|
+
*/
|
|
2888
|
+
image: string;
|
|
2889
|
+
/**
|
|
2890
|
+
* @generated from field: map<string, string> secret_env = 4;
|
|
2891
|
+
*/
|
|
2892
|
+
secretEnv: {
|
|
2893
|
+
[key: string]: string;
|
|
2894
|
+
};
|
|
2895
|
+
/**
|
|
2896
|
+
* @generated from field: string profile_id = 5;
|
|
2897
|
+
*/
|
|
2898
|
+
profileId: string;
|
|
2899
|
+
/**
|
|
2900
|
+
* @generated from field: bool clear_profile = 6;
|
|
2901
|
+
*/
|
|
2902
|
+
clearProfile: boolean;
|
|
2903
|
+
/**
|
|
2904
|
+
* @generated from field: bool replace_secret_env = 7;
|
|
2905
|
+
*/
|
|
2906
|
+
replaceSecretEnv: boolean;
|
|
2907
|
+
};
|
|
2908
|
+
/**
|
|
2909
|
+
* Describes the message numen.sandbox.v1.UpdateTemplateRequest.
|
|
2910
|
+
* Use `create(UpdateTemplateRequestSchema)` to create a new message.
|
|
2911
|
+
*/
|
|
2912
|
+
declare const UpdateTemplateRequestSchema: GenMessage<UpdateTemplateRequest>;
|
|
2913
|
+
/**
|
|
2914
|
+
* @generated from message numen.sandbox.v1.DeleteTemplateRequest
|
|
2915
|
+
*/
|
|
2916
|
+
type DeleteTemplateRequest = Message<"numen.sandbox.v1.DeleteTemplateRequest"> & {
|
|
2917
|
+
/**
|
|
2918
|
+
* @generated from field: string id = 1;
|
|
2919
|
+
*/
|
|
2920
|
+
id: string;
|
|
2921
|
+
};
|
|
2922
|
+
/**
|
|
2923
|
+
* Describes the message numen.sandbox.v1.DeleteTemplateRequest.
|
|
2924
|
+
* Use `create(DeleteTemplateRequestSchema)` to create a new message.
|
|
2925
|
+
*/
|
|
2926
|
+
declare const DeleteTemplateRequestSchema: GenMessage<DeleteTemplateRequest>;
|
|
2927
|
+
/**
|
|
2928
|
+
* @generated from message numen.sandbox.v1.Image
|
|
2929
|
+
*/
|
|
2930
|
+
type Image$1 = Message<"numen.sandbox.v1.Image"> & {
|
|
2931
|
+
/**
|
|
2932
|
+
* @generated from field: string name = 1;
|
|
2933
|
+
*/
|
|
2934
|
+
name: string;
|
|
2935
|
+
/**
|
|
2936
|
+
* @generated from field: numen.sandbox.v1.ImageKind kind = 2;
|
|
2937
|
+
*/
|
|
2938
|
+
kind: ImageKind$1;
|
|
2939
|
+
/**
|
|
2940
|
+
* @generated from field: string digest = 3;
|
|
2941
|
+
*/
|
|
2942
|
+
digest: string;
|
|
2943
|
+
/**
|
|
2944
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 4;
|
|
2945
|
+
*/
|
|
2946
|
+
updatedAt?: Timestamp | undefined;
|
|
2947
|
+
};
|
|
2948
|
+
/**
|
|
2949
|
+
* Describes the message numen.sandbox.v1.Image.
|
|
2950
|
+
* Use `create(ImageSchema)` to create a new message.
|
|
2951
|
+
*/
|
|
2952
|
+
declare const ImageSchema: GenMessage<Image$1>;
|
|
2953
|
+
/**
|
|
2954
|
+
* @generated from message numen.sandbox.v1.RegisterImageRequest
|
|
2955
|
+
*/
|
|
2956
|
+
type RegisterImageRequest = Message<"numen.sandbox.v1.RegisterImageRequest"> & {
|
|
2957
|
+
/**
|
|
2958
|
+
* @generated from field: string name = 1;
|
|
2959
|
+
*/
|
|
2960
|
+
name: string;
|
|
2961
|
+
/**
|
|
2962
|
+
* @generated from field: string source = 2;
|
|
2963
|
+
*/
|
|
2964
|
+
source: string;
|
|
2965
|
+
/**
|
|
2966
|
+
* Omitted waits until every placement peer has pulled the image.
|
|
2967
|
+
* Explicit false returns once the name is in the project registry. The pull still starts.
|
|
2968
|
+
*
|
|
2969
|
+
* @generated from field: optional bool wait_until_ready = 3;
|
|
2970
|
+
*/
|
|
2971
|
+
waitUntilReady?: boolean | undefined;
|
|
2972
|
+
};
|
|
2973
|
+
/**
|
|
2974
|
+
* Describes the message numen.sandbox.v1.RegisterImageRequest.
|
|
2975
|
+
* Use `create(RegisterImageRequestSchema)` to create a new message.
|
|
2976
|
+
*/
|
|
2977
|
+
declare const RegisterImageRequestSchema: GenMessage<RegisterImageRequest>;
|
|
2978
|
+
/**
|
|
2979
|
+
* @generated from message numen.sandbox.v1.BuildImageHeader
|
|
2980
|
+
*/
|
|
2981
|
+
type BuildImageHeader = Message<"numen.sandbox.v1.BuildImageHeader"> & {
|
|
2982
|
+
/**
|
|
2983
|
+
* @generated from field: string name = 1;
|
|
2984
|
+
*/
|
|
2985
|
+
name: string;
|
|
2986
|
+
/**
|
|
2987
|
+
* @generated from field: string dockerfile = 2;
|
|
2988
|
+
*/
|
|
2989
|
+
dockerfile: string;
|
|
2990
|
+
/**
|
|
2991
|
+
* Same rule as RegisterImageRequest.wait_until_ready.
|
|
2992
|
+
*
|
|
2993
|
+
* @generated from field: optional bool wait_until_ready = 3;
|
|
2994
|
+
*/
|
|
2995
|
+
waitUntilReady?: boolean | undefined;
|
|
2996
|
+
};
|
|
2997
|
+
/**
|
|
2998
|
+
* @generated from message numen.sandbox.v1.BuildImageRequest
|
|
2999
|
+
*/
|
|
3000
|
+
type BuildImageRequest = Message<"numen.sandbox.v1.BuildImageRequest"> & {
|
|
3001
|
+
/**
|
|
3002
|
+
* @generated from oneof numen.sandbox.v1.BuildImageRequest.part
|
|
3003
|
+
*/
|
|
3004
|
+
part: {
|
|
3005
|
+
/**
|
|
3006
|
+
* @generated from field: numen.sandbox.v1.BuildImageHeader header = 1;
|
|
3007
|
+
*/
|
|
3008
|
+
value: BuildImageHeader;
|
|
3009
|
+
case: "header";
|
|
3010
|
+
} | {
|
|
3011
|
+
/**
|
|
3012
|
+
* @generated from field: bytes chunk = 2;
|
|
3013
|
+
*/
|
|
3014
|
+
value: Uint8Array;
|
|
3015
|
+
case: "chunk";
|
|
3016
|
+
} | {
|
|
3017
|
+
case: undefined;
|
|
3018
|
+
value?: undefined;
|
|
3019
|
+
};
|
|
3020
|
+
};
|
|
3021
|
+
/**
|
|
3022
|
+
* Describes the message numen.sandbox.v1.BuildImageRequest.
|
|
3023
|
+
* Use `create(BuildImageRequestSchema)` to create a new message.
|
|
3024
|
+
*/
|
|
3025
|
+
declare const BuildImageRequestSchema: GenMessage<BuildImageRequest>;
|
|
3026
|
+
/**
|
|
3027
|
+
* @generated from message numen.sandbox.v1.GetImageRequest
|
|
3028
|
+
*/
|
|
3029
|
+
type GetImageRequest = Message<"numen.sandbox.v1.GetImageRequest"> & {
|
|
3030
|
+
/**
|
|
3031
|
+
* @generated from field: string name = 1;
|
|
3032
|
+
*/
|
|
3033
|
+
name: string;
|
|
3034
|
+
};
|
|
3035
|
+
/**
|
|
3036
|
+
* Describes the message numen.sandbox.v1.GetImageRequest.
|
|
3037
|
+
* Use `create(GetImageRequestSchema)` to create a new message.
|
|
3038
|
+
*/
|
|
3039
|
+
declare const GetImageRequestSchema: GenMessage<GetImageRequest>;
|
|
3040
|
+
/**
|
|
3041
|
+
* @generated from message numen.sandbox.v1.ListImagesRequest
|
|
3042
|
+
*/
|
|
3043
|
+
type ListImagesRequest = Message<"numen.sandbox.v1.ListImagesRequest"> & {
|
|
3044
|
+
/**
|
|
3045
|
+
* @generated from field: int32 page_size = 1;
|
|
3046
|
+
*/
|
|
3047
|
+
pageSize: number;
|
|
3048
|
+
/**
|
|
3049
|
+
* @generated from field: string page_token = 2;
|
|
3050
|
+
*/
|
|
3051
|
+
pageToken: string;
|
|
3052
|
+
};
|
|
3053
|
+
/**
|
|
3054
|
+
* Describes the message numen.sandbox.v1.ListImagesRequest.
|
|
3055
|
+
* Use `create(ListImagesRequestSchema)` to create a new message.
|
|
3056
|
+
*/
|
|
3057
|
+
declare const ListImagesRequestSchema: GenMessage<ListImagesRequest>;
|
|
3058
|
+
/**
|
|
3059
|
+
* @generated from message numen.sandbox.v1.ListImagesResponse
|
|
3060
|
+
*/
|
|
3061
|
+
type ListImagesResponse = Message<"numen.sandbox.v1.ListImagesResponse"> & {
|
|
3062
|
+
/**
|
|
3063
|
+
* @generated from field: repeated numen.sandbox.v1.Image images = 1;
|
|
3064
|
+
*/
|
|
3065
|
+
images: Image$1[];
|
|
3066
|
+
/**
|
|
3067
|
+
* @generated from field: string next_page_token = 2;
|
|
3068
|
+
*/
|
|
3069
|
+
nextPageToken: string;
|
|
3070
|
+
};
|
|
3071
|
+
/**
|
|
3072
|
+
* Describes the message numen.sandbox.v1.ListImagesResponse.
|
|
3073
|
+
* Use `create(ListImagesResponseSchema)` to create a new message.
|
|
3074
|
+
*/
|
|
3075
|
+
declare const ListImagesResponseSchema: GenMessage<ListImagesResponse>;
|
|
3076
|
+
/**
|
|
3077
|
+
* @generated from message numen.sandbox.v1.DeleteImageRequest
|
|
3078
|
+
*/
|
|
3079
|
+
type DeleteImageRequest = Message<"numen.sandbox.v1.DeleteImageRequest"> & {
|
|
3080
|
+
/**
|
|
3081
|
+
* @generated from field: string name = 1;
|
|
3082
|
+
*/
|
|
3083
|
+
name: string;
|
|
3084
|
+
};
|
|
3085
|
+
/**
|
|
3086
|
+
* Describes the message numen.sandbox.v1.DeleteImageRequest.
|
|
3087
|
+
* Use `create(DeleteImageRequestSchema)` to create a new message.
|
|
3088
|
+
*/
|
|
3089
|
+
declare const DeleteImageRequestSchema: GenMessage<DeleteImageRequest>;
|
|
3090
|
+
/**
|
|
3091
|
+
* @generated from message numen.sandbox.v1.LogArchive
|
|
3092
|
+
*/
|
|
3093
|
+
type LogArchive = Message<"numen.sandbox.v1.LogArchive"> & {
|
|
3094
|
+
/**
|
|
3095
|
+
* @generated from field: string sandbox_id = 1;
|
|
3096
|
+
*/
|
|
3097
|
+
sandboxId: string;
|
|
3098
|
+
/**
|
|
3099
|
+
* @generated from field: google.protobuf.Timestamp deleted_at = 2;
|
|
3100
|
+
*/
|
|
3101
|
+
deletedAt?: Timestamp | undefined;
|
|
3102
|
+
/**
|
|
3103
|
+
* @generated from field: google.protobuf.Timestamp expires_at = 3;
|
|
3104
|
+
*/
|
|
3105
|
+
expiresAt?: Timestamp | undefined;
|
|
3106
|
+
/**
|
|
3107
|
+
* @generated from field: string name = 4;
|
|
3108
|
+
*/
|
|
3109
|
+
name: string;
|
|
3110
|
+
/**
|
|
3111
|
+
* @generated from field: string image = 5;
|
|
3112
|
+
*/
|
|
3113
|
+
image: string;
|
|
3114
|
+
/**
|
|
3115
|
+
* @generated from field: map<string, string> labels = 6;
|
|
3116
|
+
*/
|
|
3117
|
+
labels: {
|
|
3118
|
+
[key: string]: string;
|
|
3119
|
+
};
|
|
3120
|
+
/**
|
|
3121
|
+
* @generated from field: google.protobuf.Timestamp created_at = 8;
|
|
3122
|
+
*/
|
|
3123
|
+
createdAt?: Timestamp | undefined;
|
|
3124
|
+
/**
|
|
3125
|
+
* @generated from field: string profile_id = 9;
|
|
3126
|
+
*/
|
|
3127
|
+
profileId: string;
|
|
3128
|
+
};
|
|
3129
|
+
/**
|
|
3130
|
+
* @generated from message numen.sandbox.v1.ListLogArchivesRequest
|
|
3131
|
+
*/
|
|
3132
|
+
type ListLogArchivesRequest = Message<"numen.sandbox.v1.ListLogArchivesRequest"> & {
|
|
3133
|
+
/**
|
|
3134
|
+
* @generated from field: int32 page_size = 1;
|
|
3135
|
+
*/
|
|
3136
|
+
pageSize: number;
|
|
3137
|
+
/**
|
|
3138
|
+
* @generated from field: string page_token = 2;
|
|
3139
|
+
*/
|
|
3140
|
+
pageToken: string;
|
|
3141
|
+
};
|
|
3142
|
+
/**
|
|
3143
|
+
* Describes the message numen.sandbox.v1.ListLogArchivesRequest.
|
|
3144
|
+
* Use `create(ListLogArchivesRequestSchema)` to create a new message.
|
|
3145
|
+
*/
|
|
3146
|
+
declare const ListLogArchivesRequestSchema: GenMessage<ListLogArchivesRequest>;
|
|
3147
|
+
/**
|
|
3148
|
+
* @generated from message numen.sandbox.v1.ListLogArchivesResponse
|
|
3149
|
+
*/
|
|
3150
|
+
type ListLogArchivesResponse = Message<"numen.sandbox.v1.ListLogArchivesResponse"> & {
|
|
3151
|
+
/**
|
|
3152
|
+
* @generated from field: repeated numen.sandbox.v1.LogArchive archives = 1;
|
|
3153
|
+
*/
|
|
3154
|
+
archives: LogArchive[];
|
|
3155
|
+
/**
|
|
3156
|
+
* @generated from field: string next_page_token = 2;
|
|
3157
|
+
*/
|
|
3158
|
+
nextPageToken: string;
|
|
3159
|
+
};
|
|
3160
|
+
/**
|
|
3161
|
+
* Describes the message numen.sandbox.v1.ListLogArchivesResponse.
|
|
3162
|
+
* Use `create(ListLogArchivesResponseSchema)` to create a new message.
|
|
3163
|
+
*/
|
|
3164
|
+
declare const ListLogArchivesResponseSchema: GenMessage<ListLogArchivesResponse>;
|
|
3165
|
+
/**
|
|
3166
|
+
* @generated from message numen.sandbox.v1.GetSandboxLogsRequest
|
|
3167
|
+
*/
|
|
3168
|
+
type GetSandboxLogsRequest = Message<"numen.sandbox.v1.GetSandboxLogsRequest"> & {
|
|
3169
|
+
/**
|
|
3170
|
+
* @generated from field: string sandbox_id = 1;
|
|
3171
|
+
*/
|
|
3172
|
+
sandboxId: string;
|
|
3173
|
+
/**
|
|
3174
|
+
* @generated from field: string process_id = 2;
|
|
3175
|
+
*/
|
|
3176
|
+
processId: string;
|
|
3177
|
+
/**
|
|
3178
|
+
* @generated from field: int32 page_size = 3;
|
|
3179
|
+
*/
|
|
3180
|
+
pageSize: number;
|
|
3181
|
+
/**
|
|
3182
|
+
* @generated from field: string page_token = 4;
|
|
3183
|
+
*/
|
|
3184
|
+
pageToken: string;
|
|
3185
|
+
/**
|
|
3186
|
+
* @generated from field: numen.sandbox.v1.LogStream stream = 5;
|
|
3187
|
+
*/
|
|
3188
|
+
stream: LogStream$2;
|
|
3189
|
+
};
|
|
3190
|
+
/**
|
|
3191
|
+
* Describes the message numen.sandbox.v1.GetSandboxLogsRequest.
|
|
3192
|
+
* Use `create(GetSandboxLogsRequestSchema)` to create a new message.
|
|
3193
|
+
*/
|
|
3194
|
+
declare const GetSandboxLogsRequestSchema: GenMessage<GetSandboxLogsRequest>;
|
|
3195
|
+
/**
|
|
3196
|
+
* @generated from message numen.sandbox.v1.LogEntry
|
|
3197
|
+
*/
|
|
3198
|
+
type LogEntry$1 = Message<"numen.sandbox.v1.LogEntry"> & {
|
|
3199
|
+
/**
|
|
3200
|
+
* @generated from field: google.protobuf.Timestamp timestamp = 1;
|
|
3201
|
+
*/
|
|
3202
|
+
timestamp?: Timestamp | undefined;
|
|
3203
|
+
/**
|
|
3204
|
+
* @generated from field: string process_id = 2;
|
|
3205
|
+
*/
|
|
3206
|
+
processId: string;
|
|
3207
|
+
/**
|
|
3208
|
+
* @generated from field: numen.sandbox.v1.LogStream stream = 3;
|
|
3209
|
+
*/
|
|
3210
|
+
stream: LogStream$2;
|
|
3211
|
+
/**
|
|
3212
|
+
* @generated from field: string line = 4;
|
|
3213
|
+
*/
|
|
3214
|
+
line: string;
|
|
3215
|
+
};
|
|
3216
|
+
/**
|
|
3217
|
+
* @generated from message numen.sandbox.v1.GetSandboxLogsResponse
|
|
3218
|
+
*/
|
|
3219
|
+
type GetSandboxLogsResponse = Message<"numen.sandbox.v1.GetSandboxLogsResponse"> & {
|
|
3220
|
+
/**
|
|
3221
|
+
* @generated from field: repeated numen.sandbox.v1.LogEntry entries = 1;
|
|
3222
|
+
*/
|
|
3223
|
+
entries: LogEntry$1[];
|
|
3224
|
+
/**
|
|
3225
|
+
* @generated from field: string next_page_token = 2;
|
|
3226
|
+
*/
|
|
3227
|
+
nextPageToken: string;
|
|
3228
|
+
};
|
|
3229
|
+
/**
|
|
3230
|
+
* Describes the message numen.sandbox.v1.GetSandboxLogsResponse.
|
|
3231
|
+
* Use `create(GetSandboxLogsResponseSchema)` to create a new message.
|
|
3232
|
+
*/
|
|
3233
|
+
declare const GetSandboxLogsResponseSchema: GenMessage<GetSandboxLogsResponse>;
|
|
3234
|
+
/**
|
|
3235
|
+
* @generated from message numen.sandbox.v1.LogFieldFilter
|
|
3236
|
+
*/
|
|
3237
|
+
type LogFieldFilter = Message<"numen.sandbox.v1.LogFieldFilter"> & {
|
|
3238
|
+
/**
|
|
3239
|
+
* @generated from field: string key = 1;
|
|
3240
|
+
*/
|
|
3241
|
+
key: string;
|
|
3242
|
+
/**
|
|
3243
|
+
* @generated from field: string value = 2;
|
|
3244
|
+
*/
|
|
3245
|
+
value: string;
|
|
3246
|
+
/**
|
|
3247
|
+
* @generated from field: numen.sandbox.v1.LogFieldOp op = 3;
|
|
3248
|
+
*/
|
|
3249
|
+
op: LogFieldOp;
|
|
3250
|
+
};
|
|
3251
|
+
/**
|
|
3252
|
+
* @generated from message numen.sandbox.v1.QueryLogsRequest
|
|
3253
|
+
*/
|
|
3254
|
+
type QueryLogsRequest = Message<"numen.sandbox.v1.QueryLogsRequest"> & {
|
|
3255
|
+
/**
|
|
3256
|
+
* @generated from field: google.protobuf.Timestamp start = 1;
|
|
3257
|
+
*/
|
|
3258
|
+
start?: Timestamp | undefined;
|
|
3259
|
+
/**
|
|
3260
|
+
* @generated from field: google.protobuf.Timestamp end = 2;
|
|
3261
|
+
*/
|
|
3262
|
+
end?: Timestamp | undefined;
|
|
3263
|
+
/**
|
|
3264
|
+
* @generated from field: string sandbox_id = 3;
|
|
3265
|
+
*/
|
|
3266
|
+
sandboxId: string;
|
|
3267
|
+
/**
|
|
3268
|
+
* @generated from field: string process_id = 4;
|
|
3269
|
+
*/
|
|
3270
|
+
processId: string;
|
|
3271
|
+
/**
|
|
3272
|
+
* @generated from field: numen.sandbox.v1.LogStream stream = 5;
|
|
3273
|
+
*/
|
|
3274
|
+
stream: LogStream$2;
|
|
3275
|
+
/**
|
|
3276
|
+
* @generated from field: string contains = 6;
|
|
3277
|
+
*/
|
|
3278
|
+
contains: string;
|
|
3279
|
+
/**
|
|
3280
|
+
* @generated from field: int32 page_size = 7;
|
|
3281
|
+
*/
|
|
3282
|
+
pageSize: number;
|
|
3283
|
+
/**
|
|
3284
|
+
* @generated from field: string page_token = 8;
|
|
3285
|
+
*/
|
|
3286
|
+
pageToken: string;
|
|
3287
|
+
/**
|
|
3288
|
+
* @generated from field: numen.sandbox.v1.LogDirection direction = 9;
|
|
3289
|
+
*/
|
|
3290
|
+
direction: LogDirection;
|
|
3291
|
+
/**
|
|
3292
|
+
* @generated from field: repeated numen.sandbox.v1.LogStream streams = 10;
|
|
3293
|
+
*/
|
|
3294
|
+
streams: LogStream$2[];
|
|
3295
|
+
/**
|
|
3296
|
+
* @generated from field: bool case_insensitive = 11;
|
|
3297
|
+
*/
|
|
3298
|
+
caseInsensitive: boolean;
|
|
3299
|
+
/**
|
|
3300
|
+
* @generated from field: repeated numen.sandbox.v1.LogFieldFilter fields = 12;
|
|
3301
|
+
*/
|
|
3302
|
+
fields: LogFieldFilter[];
|
|
3303
|
+
};
|
|
3304
|
+
/**
|
|
3305
|
+
* Describes the message numen.sandbox.v1.QueryLogsRequest.
|
|
3306
|
+
* Use `create(QueryLogsRequestSchema)` to create a new message.
|
|
3307
|
+
*/
|
|
3308
|
+
declare const QueryLogsRequestSchema: GenMessage<QueryLogsRequest>;
|
|
3309
|
+
/**
|
|
3310
|
+
* @generated from message numen.sandbox.v1.QueryLogsResponse
|
|
3311
|
+
*/
|
|
3312
|
+
type QueryLogsResponse = Message<"numen.sandbox.v1.QueryLogsResponse"> & {
|
|
3313
|
+
/**
|
|
3314
|
+
* @generated from field: repeated numen.sandbox.v1.LogEntry entries = 1;
|
|
3315
|
+
*/
|
|
3316
|
+
entries: LogEntry$1[];
|
|
3317
|
+
/**
|
|
3318
|
+
* @generated from field: string next_page_token = 2;
|
|
3319
|
+
*/
|
|
3320
|
+
nextPageToken: string;
|
|
3321
|
+
};
|
|
3322
|
+
/**
|
|
3323
|
+
* Describes the message numen.sandbox.v1.QueryLogsResponse.
|
|
3324
|
+
* Use `create(QueryLogsResponseSchema)` to create a new message.
|
|
3325
|
+
*/
|
|
3326
|
+
declare const QueryLogsResponseSchema: GenMessage<QueryLogsResponse>;
|
|
3327
|
+
/**
|
|
3328
|
+
* @generated from message numen.sandbox.v1.SleepSandboxRequest
|
|
3329
|
+
*/
|
|
3330
|
+
type SleepSandboxRequest = Message<"numen.sandbox.v1.SleepSandboxRequest"> & {
|
|
3331
|
+
/**
|
|
3332
|
+
* @generated from oneof numen.sandbox.v1.SleepSandboxRequest.key
|
|
3333
|
+
*/
|
|
3334
|
+
key: {
|
|
3335
|
+
/**
|
|
3336
|
+
* @generated from field: string id = 1;
|
|
3337
|
+
*/
|
|
3338
|
+
value: string;
|
|
3339
|
+
case: "id";
|
|
3340
|
+
} | {
|
|
3341
|
+
/**
|
|
3342
|
+
* @generated from field: string name = 2;
|
|
3343
|
+
*/
|
|
3344
|
+
value: string;
|
|
3345
|
+
case: "name";
|
|
3346
|
+
} | {
|
|
3347
|
+
case: undefined;
|
|
3348
|
+
value?: undefined;
|
|
3349
|
+
};
|
|
3350
|
+
};
|
|
3351
|
+
/**
|
|
3352
|
+
* Describes the message numen.sandbox.v1.SleepSandboxRequest.
|
|
3353
|
+
* Use `create(SleepSandboxRequestSchema)` to create a new message.
|
|
3354
|
+
*/
|
|
3355
|
+
declare const SleepSandboxRequestSchema: GenMessage<SleepSandboxRequest>;
|
|
3356
|
+
/**
|
|
3357
|
+
* @generated from message numen.sandbox.v1.ForwardRequest
|
|
3358
|
+
*/
|
|
3359
|
+
type ForwardRequest = Message<"numen.sandbox.v1.ForwardRequest"> & {
|
|
3360
|
+
/**
|
|
3361
|
+
* first client frame; later frames leave empty
|
|
3362
|
+
*
|
|
3363
|
+
* @generated from field: string sandbox_id = 1;
|
|
3364
|
+
*/
|
|
3365
|
+
sandboxId: string;
|
|
3366
|
+
/**
|
|
3367
|
+
* @generated from field: uint32 port = 2;
|
|
3368
|
+
*/
|
|
3369
|
+
port: number;
|
|
3370
|
+
/**
|
|
3371
|
+
* @generated from field: bytes data = 3;
|
|
3372
|
+
*/
|
|
3373
|
+
data: Uint8Array;
|
|
3374
|
+
};
|
|
3375
|
+
/**
|
|
3376
|
+
* Describes the message numen.sandbox.v1.ForwardRequest.
|
|
3377
|
+
* Use `create(ForwardRequestSchema)` to create a new message.
|
|
3378
|
+
*/
|
|
3379
|
+
declare const ForwardRequestSchema: GenMessage<ForwardRequest>;
|
|
3380
|
+
/**
|
|
3381
|
+
* @generated from message numen.sandbox.v1.ForwardResponse
|
|
3382
|
+
*/
|
|
3383
|
+
type ForwardResponse = Message<"numen.sandbox.v1.ForwardResponse"> & {
|
|
3384
|
+
/**
|
|
3385
|
+
* The first empty payload is the open ack. A later empty payload means the guest stopped sending.
|
|
3386
|
+
*
|
|
3387
|
+
* @generated from field: bytes data = 1;
|
|
3388
|
+
*/
|
|
3389
|
+
data: Uint8Array;
|
|
3390
|
+
};
|
|
3391
|
+
/**
|
|
3392
|
+
* Describes the message numen.sandbox.v1.ForwardResponse.
|
|
3393
|
+
* Use `create(ForwardResponseSchema)` to create a new message.
|
|
3394
|
+
*/
|
|
3395
|
+
declare const ForwardResponseSchema: GenMessage<ForwardResponse>;
|
|
3396
|
+
/**
|
|
3397
|
+
* @generated from enum numen.sandbox.v1.SandboxStatus
|
|
3398
|
+
*/
|
|
3399
|
+
declare enum SandboxStatus$2 {
|
|
3400
|
+
/**
|
|
3401
|
+
* @generated from enum value: SANDBOX_STATUS_UNSPECIFIED = 0;
|
|
3402
|
+
*/
|
|
3403
|
+
UNSPECIFIED = 0,
|
|
3404
|
+
/**
|
|
3405
|
+
* @generated from enum value: SANDBOX_STATUS_PENDING = 1;
|
|
3406
|
+
*/
|
|
3407
|
+
PENDING = 1,
|
|
3408
|
+
/**
|
|
3409
|
+
* @generated from enum value: SANDBOX_STATUS_READY = 2;
|
|
3410
|
+
*/
|
|
3411
|
+
READY = 2,
|
|
3412
|
+
/**
|
|
3413
|
+
* @generated from enum value: SANDBOX_STATUS_SLEEPING = 3;
|
|
3414
|
+
*/
|
|
3415
|
+
SLEEPING = 3,
|
|
3416
|
+
/**
|
|
3417
|
+
* @generated from enum value: SANDBOX_STATUS_FINISHED = 4;
|
|
3418
|
+
*/
|
|
3419
|
+
FINISHED = 4,
|
|
3420
|
+
/**
|
|
3421
|
+
* @generated from enum value: SANDBOX_STATUS_DELETING = 5;
|
|
3422
|
+
*/
|
|
3423
|
+
DELETING = 5
|
|
3424
|
+
}
|
|
3425
|
+
/**
|
|
3426
|
+
* @generated from enum numen.sandbox.v1.NetMode
|
|
3427
|
+
*/
|
|
3428
|
+
declare enum NetMode {
|
|
3429
|
+
/**
|
|
3430
|
+
* omit means egress; the control plane fills it
|
|
3431
|
+
*
|
|
3432
|
+
* @generated from enum value: NET_MODE_UNSPECIFIED = 0;
|
|
3433
|
+
*/
|
|
3434
|
+
UNSPECIFIED = 0,
|
|
3435
|
+
/**
|
|
3436
|
+
* rejected; sandboxes always have egress
|
|
3437
|
+
*
|
|
3438
|
+
* @generated from enum value: NET_MODE_NO_EGRESS = 1;
|
|
3439
|
+
*/
|
|
3440
|
+
NO_EGRESS = 1,
|
|
3441
|
+
/**
|
|
3442
|
+
* @generated from enum value: NET_MODE_EGRESS = 2;
|
|
3443
|
+
*/
|
|
3444
|
+
EGRESS = 2
|
|
3445
|
+
}
|
|
3446
|
+
/**
|
|
3447
|
+
* @generated from enum numen.sandbox.v1.ProcessStatus
|
|
3448
|
+
*/
|
|
3449
|
+
declare enum ProcessStatus {
|
|
3450
|
+
/**
|
|
3451
|
+
* @generated from enum value: PROCESS_STATUS_UNSPECIFIED = 0;
|
|
3452
|
+
*/
|
|
3453
|
+
UNSPECIFIED = 0,
|
|
3454
|
+
/**
|
|
3455
|
+
* @generated from enum value: PROCESS_STATUS_RUNNING = 1;
|
|
3456
|
+
*/
|
|
3457
|
+
RUNNING = 1,
|
|
3458
|
+
/**
|
|
3459
|
+
* @generated from enum value: PROCESS_STATUS_EXITED = 2;
|
|
3460
|
+
*/
|
|
3461
|
+
EXITED = 2,
|
|
3462
|
+
/**
|
|
3463
|
+
* @generated from enum value: PROCESS_STATUS_KILLED = 3;
|
|
3464
|
+
*/
|
|
3465
|
+
KILLED = 3
|
|
3466
|
+
}
|
|
3467
|
+
/**
|
|
3468
|
+
* @generated from enum numen.sandbox.v1.FileType
|
|
3469
|
+
*/
|
|
3470
|
+
declare enum FileType {
|
|
3471
|
+
/**
|
|
3472
|
+
* @generated from enum value: FILE_TYPE_UNSPECIFIED = 0;
|
|
3473
|
+
*/
|
|
3474
|
+
UNSPECIFIED = 0,
|
|
3475
|
+
/**
|
|
3476
|
+
* @generated from enum value: FILE_TYPE_FILE = 1;
|
|
3477
|
+
*/
|
|
3478
|
+
FILE = 1,
|
|
3479
|
+
/**
|
|
3480
|
+
* @generated from enum value: FILE_TYPE_DIR = 2;
|
|
3481
|
+
*/
|
|
3482
|
+
DIR = 2,
|
|
3483
|
+
/**
|
|
3484
|
+
* @generated from enum value: FILE_TYPE_SYMLINK = 3;
|
|
3485
|
+
*/
|
|
3486
|
+
SYMLINK = 3
|
|
3487
|
+
}
|
|
3488
|
+
/**
|
|
3489
|
+
* @generated from enum numen.sandbox.v1.LogStream
|
|
3490
|
+
*/
|
|
3491
|
+
declare enum LogStream$2 {
|
|
3492
|
+
/**
|
|
3493
|
+
* @generated from enum value: LOG_STREAM_UNSPECIFIED = 0;
|
|
3494
|
+
*/
|
|
3495
|
+
UNSPECIFIED = 0,
|
|
3496
|
+
/**
|
|
3497
|
+
* @generated from enum value: LOG_STREAM_STDOUT = 1;
|
|
3498
|
+
*/
|
|
3499
|
+
STDOUT = 1,
|
|
3500
|
+
/**
|
|
3501
|
+
* @generated from enum value: LOG_STREAM_STDERR = 2;
|
|
3502
|
+
*/
|
|
3503
|
+
STDERR = 2,
|
|
3504
|
+
/**
|
|
3505
|
+
* @generated from enum value: LOG_STREAM_EVENT = 3;
|
|
3506
|
+
*/
|
|
3507
|
+
EVENT = 3
|
|
3508
|
+
}
|
|
3509
|
+
/**
|
|
3510
|
+
* Unspecified keeps today's newest-first page.
|
|
3511
|
+
*
|
|
3512
|
+
* @generated from enum numen.sandbox.v1.LogDirection
|
|
3513
|
+
*/
|
|
3514
|
+
declare enum LogDirection {
|
|
3515
|
+
/**
|
|
3516
|
+
* @generated from enum value: LOG_DIRECTION_UNSPECIFIED = 0;
|
|
3517
|
+
*/
|
|
3518
|
+
UNSPECIFIED = 0,
|
|
3519
|
+
/**
|
|
3520
|
+
* @generated from enum value: LOG_DIRECTION_BACKWARD = 1;
|
|
3521
|
+
*/
|
|
3522
|
+
BACKWARD = 1,
|
|
3523
|
+
/**
|
|
3524
|
+
* @generated from enum value: LOG_DIRECTION_FORWARD = 2;
|
|
3525
|
+
*/
|
|
3526
|
+
FORWARD = 2
|
|
3527
|
+
}
|
|
3528
|
+
/**
|
|
3529
|
+
* @generated from enum numen.sandbox.v1.ExportPathFormat
|
|
3530
|
+
*/
|
|
3531
|
+
declare enum ExportPathFormat {
|
|
3532
|
+
/**
|
|
3533
|
+
* @generated from enum value: EXPORT_PATH_FORMAT_UNSPECIFIED = 0;
|
|
3534
|
+
*/
|
|
3535
|
+
UNSPECIFIED = 0,
|
|
3536
|
+
/**
|
|
3537
|
+
* @generated from enum value: EXPORT_PATH_FORMAT_TAR = 1;
|
|
3538
|
+
*/
|
|
3539
|
+
TAR = 1,
|
|
3540
|
+
/**
|
|
3541
|
+
* @generated from enum value: EXPORT_PATH_FORMAT_TAR_GZIP = 2;
|
|
3542
|
+
*/
|
|
3543
|
+
TAR_GZIP = 2
|
|
3544
|
+
}
|
|
3545
|
+
/**
|
|
3546
|
+
* @generated from enum numen.sandbox.v1.Severity
|
|
3547
|
+
*/
|
|
3548
|
+
declare enum Severity$1 {
|
|
3549
|
+
/**
|
|
3550
|
+
* @generated from enum value: SEVERITY_UNSPECIFIED = 0;
|
|
3551
|
+
*/
|
|
3552
|
+
UNSPECIFIED = 0,
|
|
3553
|
+
/**
|
|
3554
|
+
* @generated from enum value: SEVERITY_LOW = 1;
|
|
3555
|
+
*/
|
|
3556
|
+
LOW = 1,
|
|
3557
|
+
/**
|
|
3558
|
+
* @generated from enum value: SEVERITY_MEDIUM = 2;
|
|
3559
|
+
*/
|
|
3560
|
+
MEDIUM = 2,
|
|
3561
|
+
/**
|
|
3562
|
+
* @generated from enum value: SEVERITY_HIGH = 3;
|
|
3563
|
+
*/
|
|
3564
|
+
HIGH = 3,
|
|
3565
|
+
/**
|
|
3566
|
+
* @generated from enum value: SEVERITY_CRITICAL = 4;
|
|
3567
|
+
*/
|
|
3568
|
+
CRITICAL = 4
|
|
3569
|
+
}
|
|
3570
|
+
/**
|
|
3571
|
+
* @generated from enum numen.sandbox.v1.ScanCheck
|
|
3572
|
+
*/
|
|
3573
|
+
declare enum ScanCheck$1 {
|
|
3574
|
+
/**
|
|
3575
|
+
* @generated from enum value: SCAN_CHECK_UNSPECIFIED = 0;
|
|
3576
|
+
*/
|
|
3577
|
+
UNSPECIFIED = 0,
|
|
3578
|
+
/**
|
|
3579
|
+
* @generated from enum value: SCAN_CHECK_VULNERABILITIES = 1;
|
|
3580
|
+
*/
|
|
3581
|
+
VULNERABILITIES = 1,
|
|
3582
|
+
/**
|
|
3583
|
+
* @generated from enum value: SCAN_CHECK_SECRETS = 2;
|
|
3584
|
+
*/
|
|
3585
|
+
SECRETS = 2
|
|
3586
|
+
}
|
|
3587
|
+
/**
|
|
3588
|
+
* @generated from enum numen.sandbox.v1.RuntimeEvent
|
|
3589
|
+
*/
|
|
3590
|
+
declare enum RuntimeEvent$1 {
|
|
3591
|
+
/**
|
|
3592
|
+
* @generated from enum value: RUNTIME_EVENT_UNSPECIFIED = 0;
|
|
3593
|
+
*/
|
|
3594
|
+
UNSPECIFIED = 0,
|
|
3595
|
+
/**
|
|
3596
|
+
* @generated from enum value: RUNTIME_EVENT_EXEC = 1;
|
|
3597
|
+
*/
|
|
3598
|
+
EXEC = 1,
|
|
3599
|
+
/**
|
|
3600
|
+
* @generated from enum value: RUNTIME_EVENT_FILESYSTEM = 2;
|
|
3601
|
+
*/
|
|
3602
|
+
FILESYSTEM = 2,
|
|
3603
|
+
/**
|
|
3604
|
+
* @generated from enum value: RUNTIME_EVENT_NETWORK = 3;
|
|
3605
|
+
*/
|
|
3606
|
+
NETWORK = 3
|
|
3607
|
+
}
|
|
3608
|
+
/**
|
|
3609
|
+
* @generated from enum numen.sandbox.v1.ImageKind
|
|
3610
|
+
*/
|
|
3611
|
+
declare enum ImageKind$1 {
|
|
3612
|
+
/**
|
|
3613
|
+
* @generated from enum value: IMAGE_KIND_UNSPECIFIED = 0;
|
|
3614
|
+
*/
|
|
3615
|
+
UNSPECIFIED = 0,
|
|
3616
|
+
/**
|
|
3617
|
+
* @generated from enum value: IMAGE_KIND_PLATFORM = 1;
|
|
3618
|
+
*/
|
|
3619
|
+
PLATFORM = 1,
|
|
3620
|
+
/**
|
|
3621
|
+
* @generated from enum value: IMAGE_KIND_PROJECT = 2;
|
|
3622
|
+
*/
|
|
3623
|
+
PROJECT = 2
|
|
3624
|
+
}
|
|
3625
|
+
/**
|
|
3626
|
+
* Unspecified means equals, so a client that only sends key and value stays valid.
|
|
3627
|
+
*
|
|
3628
|
+
* @generated from enum numen.sandbox.v1.LogFieldOp
|
|
3629
|
+
*/
|
|
3630
|
+
declare enum LogFieldOp {
|
|
3631
|
+
/**
|
|
3632
|
+
* @generated from enum value: LOG_FIELD_OP_UNSPECIFIED = 0;
|
|
3633
|
+
*/
|
|
3634
|
+
UNSPECIFIED = 0,
|
|
3635
|
+
/**
|
|
3636
|
+
* @generated from enum value: LOG_FIELD_OP_EQ = 1;
|
|
3637
|
+
*/
|
|
3638
|
+
EQ = 1,
|
|
3639
|
+
/**
|
|
3640
|
+
* @generated from enum value: LOG_FIELD_OP_NE = 2;
|
|
3641
|
+
*/
|
|
3642
|
+
NE = 2,
|
|
3643
|
+
/**
|
|
3644
|
+
* @generated from enum value: LOG_FIELD_OP_CONTAINS = 3;
|
|
3645
|
+
*/
|
|
3646
|
+
CONTAINS = 3,
|
|
3647
|
+
/**
|
|
3648
|
+
* @generated from enum value: LOG_FIELD_OP_STARTS_WITH = 4;
|
|
3649
|
+
*/
|
|
3650
|
+
STARTS_WITH = 4
|
|
3651
|
+
}
|
|
3652
|
+
/**
|
|
3653
|
+
* @generated from service numen.sandbox.v1.SandboxService
|
|
3654
|
+
*/
|
|
3655
|
+
declare const SandboxService: GenService<{
|
|
3656
|
+
/**
|
|
3657
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.CreateSandbox
|
|
3658
|
+
*/
|
|
3659
|
+
createSandbox: {
|
|
3660
|
+
methodKind: "unary";
|
|
3661
|
+
input: typeof CreateSandboxRequestSchema;
|
|
3662
|
+
output: typeof SandboxSchema;
|
|
3663
|
+
};
|
|
3664
|
+
/**
|
|
3665
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.WakeSandbox
|
|
3666
|
+
*/
|
|
3667
|
+
wakeSandbox: {
|
|
3668
|
+
methodKind: "unary";
|
|
3669
|
+
input: typeof WakeSandboxRequestSchema;
|
|
3670
|
+
output: typeof SandboxSchema;
|
|
3671
|
+
};
|
|
3672
|
+
/**
|
|
3673
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.GetSandbox
|
|
3674
|
+
*/
|
|
3675
|
+
getSandbox: {
|
|
3676
|
+
methodKind: "unary";
|
|
3677
|
+
input: typeof GetSandboxRequestSchema;
|
|
3678
|
+
output: typeof SandboxSchema;
|
|
3679
|
+
};
|
|
3680
|
+
/**
|
|
3681
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.ListSandboxes
|
|
3682
|
+
*/
|
|
3683
|
+
listSandboxes: {
|
|
3684
|
+
methodKind: "unary";
|
|
3685
|
+
input: typeof ListSandboxesRequestSchema;
|
|
3686
|
+
output: typeof ListSandboxesResponseSchema;
|
|
3687
|
+
};
|
|
3688
|
+
/**
|
|
3689
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.DeleteSandbox
|
|
3690
|
+
*/
|
|
3691
|
+
deleteSandbox: {
|
|
3692
|
+
methodKind: "unary";
|
|
3693
|
+
input: typeof DeleteSandboxRequestSchema;
|
|
3694
|
+
output: typeof EmptySchema;
|
|
3695
|
+
};
|
|
3696
|
+
/**
|
|
3697
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.SleepSandbox
|
|
3698
|
+
*/
|
|
3699
|
+
sleepSandbox: {
|
|
3700
|
+
methodKind: "unary";
|
|
3701
|
+
input: typeof SleepSandboxRequestSchema;
|
|
3702
|
+
output: typeof SandboxSchema;
|
|
3703
|
+
};
|
|
3704
|
+
/**
|
|
3705
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.UpdateSandbox
|
|
3706
|
+
*/
|
|
3707
|
+
updateSandbox: {
|
|
3708
|
+
methodKind: "unary";
|
|
3709
|
+
input: typeof UpdateSandboxRequestSchema;
|
|
3710
|
+
output: typeof SandboxSchema;
|
|
3711
|
+
};
|
|
3712
|
+
/**
|
|
3713
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.ResizeSandbox
|
|
3714
|
+
*/
|
|
3715
|
+
resizeSandbox: {
|
|
3716
|
+
methodKind: "unary";
|
|
3717
|
+
input: typeof ResizeSandboxRequestSchema;
|
|
3718
|
+
output: typeof SandboxSchema;
|
|
3719
|
+
};
|
|
3720
|
+
/**
|
|
3721
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.WaitSandbox
|
|
3722
|
+
*/
|
|
3723
|
+
waitSandbox: {
|
|
3724
|
+
methodKind: "unary";
|
|
3725
|
+
input: typeof WaitSandboxRequestSchema;
|
|
3726
|
+
output: typeof WaitSandboxResponseSchema;
|
|
3727
|
+
};
|
|
3728
|
+
/**
|
|
3729
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.WaitProcess
|
|
3730
|
+
*/
|
|
3731
|
+
waitProcess: {
|
|
3732
|
+
methodKind: "unary";
|
|
3733
|
+
input: typeof WaitProcessRequestSchema;
|
|
3734
|
+
output: typeof ProcessSchema;
|
|
3735
|
+
};
|
|
3736
|
+
/**
|
|
3737
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.Exec
|
|
3738
|
+
*/
|
|
3739
|
+
exec: {
|
|
3740
|
+
methodKind: "bidi_streaming";
|
|
3741
|
+
input: typeof ExecRequestSchema;
|
|
3742
|
+
output: typeof ExecResponseSchema;
|
|
3743
|
+
};
|
|
3744
|
+
/**
|
|
3745
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.StartProcess
|
|
3746
|
+
*/
|
|
3747
|
+
startProcess: {
|
|
3748
|
+
methodKind: "unary";
|
|
3749
|
+
input: typeof StartProcessRequestSchema;
|
|
3750
|
+
output: typeof ProcessSchema;
|
|
3751
|
+
};
|
|
3752
|
+
/**
|
|
3753
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.GetProcess
|
|
3754
|
+
*/
|
|
3755
|
+
getProcess: {
|
|
3756
|
+
methodKind: "unary";
|
|
3757
|
+
input: typeof GetProcessRequestSchema;
|
|
3758
|
+
output: typeof ProcessSchema;
|
|
3759
|
+
};
|
|
3760
|
+
/**
|
|
3761
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.ListProcesses
|
|
3762
|
+
*/
|
|
3763
|
+
listProcesses: {
|
|
3764
|
+
methodKind: "unary";
|
|
3765
|
+
input: typeof ListProcessesRequestSchema;
|
|
3766
|
+
output: typeof ListProcessesResponseSchema;
|
|
3767
|
+
};
|
|
3768
|
+
/**
|
|
3769
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.KillProcess
|
|
3770
|
+
*/
|
|
3771
|
+
killProcess: {
|
|
3772
|
+
methodKind: "unary";
|
|
3773
|
+
input: typeof KillProcessRequestSchema;
|
|
3774
|
+
output: typeof ProcessSchema;
|
|
3775
|
+
};
|
|
3776
|
+
/**
|
|
3777
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.FollowProcess
|
|
3778
|
+
*/
|
|
3779
|
+
followProcess: {
|
|
3780
|
+
methodKind: "server_streaming";
|
|
3781
|
+
input: typeof FollowProcessRequestSchema;
|
|
3782
|
+
output: typeof ExecResponseSchema;
|
|
3783
|
+
};
|
|
3784
|
+
/**
|
|
3785
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.WriteProcessStdin
|
|
3786
|
+
*/
|
|
3787
|
+
writeProcessStdin: {
|
|
3788
|
+
methodKind: "unary";
|
|
3789
|
+
input: typeof WriteProcessStdinRequestSchema;
|
|
3790
|
+
output: typeof EmptySchema;
|
|
3791
|
+
};
|
|
3792
|
+
/**
|
|
3793
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.WriteFiles
|
|
3794
|
+
*/
|
|
3795
|
+
writeFiles: {
|
|
3796
|
+
methodKind: "unary";
|
|
3797
|
+
input: typeof WriteFilesRequestSchema;
|
|
3798
|
+
output: typeof EmptySchema;
|
|
3799
|
+
};
|
|
3800
|
+
/**
|
|
3801
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.WriteFile
|
|
3802
|
+
*/
|
|
3803
|
+
writeFile: {
|
|
3804
|
+
methodKind: "client_streaming";
|
|
3805
|
+
input: typeof WriteFileRequestSchema;
|
|
3806
|
+
output: typeof EmptySchema;
|
|
3807
|
+
};
|
|
3808
|
+
/**
|
|
3809
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.ReadFile
|
|
3810
|
+
*/
|
|
3811
|
+
readFile: {
|
|
3812
|
+
methodKind: "server_streaming";
|
|
3813
|
+
input: typeof ReadFileRequestSchema;
|
|
3814
|
+
output: typeof FileChunkSchema;
|
|
3815
|
+
};
|
|
3816
|
+
/**
|
|
3817
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.ListFiles
|
|
3818
|
+
*/
|
|
3819
|
+
listFiles: {
|
|
3820
|
+
methodKind: "server_streaming";
|
|
3821
|
+
input: typeof ListFilesRequestSchema;
|
|
3822
|
+
output: typeof FileInfoSchema;
|
|
3823
|
+
};
|
|
3824
|
+
/**
|
|
3825
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.StatFile
|
|
3826
|
+
*/
|
|
3827
|
+
statFile: {
|
|
3828
|
+
methodKind: "unary";
|
|
3829
|
+
input: typeof StatFileRequestSchema;
|
|
3830
|
+
output: typeof FileInfoSchema;
|
|
3831
|
+
};
|
|
3832
|
+
/**
|
|
3833
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.ExportPath
|
|
3834
|
+
*/
|
|
3835
|
+
exportPath: {
|
|
3836
|
+
methodKind: "server_streaming";
|
|
3837
|
+
input: typeof ExportPathRequestSchema;
|
|
3838
|
+
output: typeof FileChunkSchema;
|
|
3839
|
+
};
|
|
3840
|
+
/**
|
|
3841
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.CreateSnapshot
|
|
3842
|
+
*/
|
|
3843
|
+
createSnapshot: {
|
|
3844
|
+
methodKind: "unary";
|
|
3845
|
+
input: typeof CreateSnapshotRequestSchema;
|
|
3846
|
+
output: typeof SnapshotSchema;
|
|
3847
|
+
};
|
|
3848
|
+
/**
|
|
3849
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.GetSnapshot
|
|
3850
|
+
*/
|
|
3851
|
+
getSnapshot: {
|
|
3852
|
+
methodKind: "unary";
|
|
3853
|
+
input: typeof GetSnapshotRequestSchema;
|
|
3854
|
+
output: typeof SnapshotSchema;
|
|
3855
|
+
};
|
|
3856
|
+
/**
|
|
3857
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.ListSnapshots
|
|
3858
|
+
*/
|
|
3859
|
+
listSnapshots: {
|
|
3860
|
+
methodKind: "unary";
|
|
3861
|
+
input: typeof ListSnapshotsRequestSchema;
|
|
3862
|
+
output: typeof ListSnapshotsResponseSchema;
|
|
3863
|
+
};
|
|
3864
|
+
/**
|
|
3865
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.DeleteSnapshot
|
|
3866
|
+
*/
|
|
3867
|
+
deleteSnapshot: {
|
|
3868
|
+
methodKind: "unary";
|
|
3869
|
+
input: typeof DeleteSnapshotRequestSchema;
|
|
3870
|
+
output: typeof EmptySchema;
|
|
3871
|
+
};
|
|
3872
|
+
/**
|
|
3873
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.UpdateSnapshot
|
|
3874
|
+
*/
|
|
3875
|
+
updateSnapshot: {
|
|
3876
|
+
methodKind: "unary";
|
|
3877
|
+
input: typeof UpdateSnapshotRequestSchema;
|
|
3878
|
+
output: typeof SnapshotSchema;
|
|
3879
|
+
};
|
|
3880
|
+
/**
|
|
3881
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.CreateVolume
|
|
3882
|
+
*/
|
|
3883
|
+
createVolume: {
|
|
3884
|
+
methodKind: "unary";
|
|
3885
|
+
input: typeof CreateVolumeRequestSchema;
|
|
3886
|
+
output: typeof VolumeSchema;
|
|
3887
|
+
};
|
|
3888
|
+
/**
|
|
3889
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.GetVolume
|
|
3890
|
+
*/
|
|
3891
|
+
getVolume: {
|
|
3892
|
+
methodKind: "unary";
|
|
3893
|
+
input: typeof GetVolumeRequestSchema;
|
|
3894
|
+
output: typeof VolumeSchema;
|
|
3895
|
+
};
|
|
3896
|
+
/**
|
|
3897
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.ListVolumes
|
|
3898
|
+
*/
|
|
3899
|
+
listVolumes: {
|
|
3900
|
+
methodKind: "unary";
|
|
3901
|
+
input: typeof ListVolumesRequestSchema;
|
|
3902
|
+
output: typeof ListVolumesResponseSchema;
|
|
3903
|
+
};
|
|
3904
|
+
/**
|
|
3905
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.DeleteVolume
|
|
3906
|
+
*/
|
|
3907
|
+
deleteVolume: {
|
|
3908
|
+
methodKind: "unary";
|
|
3909
|
+
input: typeof DeleteVolumeRequestSchema;
|
|
3910
|
+
output: typeof EmptySchema;
|
|
3911
|
+
};
|
|
3912
|
+
/**
|
|
3913
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.UpdateVolume
|
|
3914
|
+
*/
|
|
3915
|
+
updateVolume: {
|
|
3916
|
+
methodKind: "unary";
|
|
3917
|
+
input: typeof UpdateVolumeRequestSchema;
|
|
3918
|
+
output: typeof VolumeSchema;
|
|
3919
|
+
};
|
|
3920
|
+
/**
|
|
3921
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.SetSecret
|
|
3922
|
+
*/
|
|
3923
|
+
setSecret: {
|
|
3924
|
+
methodKind: "unary";
|
|
3925
|
+
input: typeof SetSecretRequestSchema;
|
|
3926
|
+
output: typeof SecretSchema;
|
|
3927
|
+
};
|
|
3928
|
+
/**
|
|
3929
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.GetSecret
|
|
3930
|
+
*/
|
|
3931
|
+
getSecret: {
|
|
3932
|
+
methodKind: "unary";
|
|
3933
|
+
input: typeof GetSecretRequestSchema;
|
|
3934
|
+
output: typeof SecretSchema;
|
|
3935
|
+
};
|
|
3936
|
+
/**
|
|
3937
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.ListSecrets
|
|
3938
|
+
*/
|
|
3939
|
+
listSecrets: {
|
|
3940
|
+
methodKind: "unary";
|
|
3941
|
+
input: typeof ListSecretsRequestSchema;
|
|
3942
|
+
output: typeof ListSecretsResponseSchema;
|
|
3943
|
+
};
|
|
3944
|
+
/**
|
|
3945
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.DeleteSecret
|
|
3946
|
+
*/
|
|
3947
|
+
deleteSecret: {
|
|
3948
|
+
methodKind: "unary";
|
|
3949
|
+
input: typeof DeleteSecretRequestSchema;
|
|
3950
|
+
output: typeof EmptySchema;
|
|
3951
|
+
};
|
|
3952
|
+
/**
|
|
3953
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.CreateAgent
|
|
3954
|
+
*/
|
|
3955
|
+
createAgent: {
|
|
3956
|
+
methodKind: "unary";
|
|
3957
|
+
input: typeof CreateAgentRequestSchema;
|
|
3958
|
+
output: typeof AgentSchema;
|
|
3959
|
+
};
|
|
3960
|
+
/**
|
|
3961
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.GetAgent
|
|
3962
|
+
*/
|
|
3963
|
+
getAgent: {
|
|
3964
|
+
methodKind: "unary";
|
|
3965
|
+
input: typeof GetAgentRequestSchema;
|
|
3966
|
+
output: typeof AgentSchema;
|
|
3967
|
+
};
|
|
3968
|
+
/**
|
|
3969
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.ListAgents
|
|
3970
|
+
*/
|
|
3971
|
+
listAgents: {
|
|
3972
|
+
methodKind: "unary";
|
|
3973
|
+
input: typeof ListAgentsRequestSchema;
|
|
3974
|
+
output: typeof ListAgentsResponseSchema;
|
|
3975
|
+
};
|
|
3976
|
+
/**
|
|
3977
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.DeleteAgent
|
|
3978
|
+
*/
|
|
3979
|
+
deleteAgent: {
|
|
3980
|
+
methodKind: "unary";
|
|
3981
|
+
input: typeof DeleteAgentRequestSchema;
|
|
3982
|
+
output: typeof EmptySchema;
|
|
3983
|
+
};
|
|
3984
|
+
/**
|
|
3985
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.BindAgentSecret
|
|
3986
|
+
*/
|
|
3987
|
+
bindAgentSecret: {
|
|
3988
|
+
methodKind: "unary";
|
|
3989
|
+
input: typeof BindAgentSecretRequestSchema;
|
|
3990
|
+
output: typeof AgentSchema;
|
|
3991
|
+
};
|
|
3992
|
+
/**
|
|
3993
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.UnbindAgentSecret
|
|
3994
|
+
*/
|
|
3995
|
+
unbindAgentSecret: {
|
|
3996
|
+
methodKind: "unary";
|
|
3997
|
+
input: typeof UnbindAgentSecretRequestSchema;
|
|
3998
|
+
output: typeof AgentSchema;
|
|
3999
|
+
};
|
|
4000
|
+
/**
|
|
4001
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.CreateTemplate
|
|
4002
|
+
*/
|
|
4003
|
+
createTemplate: {
|
|
4004
|
+
methodKind: "unary";
|
|
4005
|
+
input: typeof CreateTemplateRequestSchema;
|
|
4006
|
+
output: typeof TemplateSchema;
|
|
4007
|
+
};
|
|
4008
|
+
/**
|
|
4009
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.GetTemplate
|
|
4010
|
+
*/
|
|
4011
|
+
getTemplate: {
|
|
4012
|
+
methodKind: "unary";
|
|
4013
|
+
input: typeof GetTemplateRequestSchema;
|
|
4014
|
+
output: typeof TemplateSchema;
|
|
4015
|
+
};
|
|
4016
|
+
/**
|
|
4017
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.ListTemplates
|
|
4018
|
+
*/
|
|
4019
|
+
listTemplates: {
|
|
4020
|
+
methodKind: "unary";
|
|
4021
|
+
input: typeof ListTemplatesRequestSchema;
|
|
4022
|
+
output: typeof ListTemplatesResponseSchema;
|
|
4023
|
+
};
|
|
4024
|
+
/**
|
|
4025
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.UpdateTemplate
|
|
4026
|
+
*/
|
|
4027
|
+
updateTemplate: {
|
|
4028
|
+
methodKind: "unary";
|
|
4029
|
+
input: typeof UpdateTemplateRequestSchema;
|
|
4030
|
+
output: typeof TemplateSchema;
|
|
4031
|
+
};
|
|
4032
|
+
/**
|
|
4033
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.DeleteTemplate
|
|
4034
|
+
*/
|
|
4035
|
+
deleteTemplate: {
|
|
4036
|
+
methodKind: "unary";
|
|
4037
|
+
input: typeof DeleteTemplateRequestSchema;
|
|
4038
|
+
output: typeof EmptySchema;
|
|
4039
|
+
};
|
|
4040
|
+
/**
|
|
4041
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.CreateMatrixSession
|
|
4042
|
+
*/
|
|
4043
|
+
createMatrixSession: {
|
|
4044
|
+
methodKind: "unary";
|
|
4045
|
+
input: typeof CreateMatrixSessionRequestSchema;
|
|
4046
|
+
output: typeof MatrixSessionSchema;
|
|
4047
|
+
};
|
|
4048
|
+
/**
|
|
4049
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.DeleteMatrixSession
|
|
4050
|
+
*/
|
|
4051
|
+
deleteMatrixSession: {
|
|
4052
|
+
methodKind: "unary";
|
|
4053
|
+
input: typeof DeleteMatrixSessionRequestSchema;
|
|
4054
|
+
output: typeof EmptySchema;
|
|
4055
|
+
};
|
|
4056
|
+
/**
|
|
4057
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.CreateConversation
|
|
4058
|
+
*/
|
|
4059
|
+
createConversation: {
|
|
4060
|
+
methodKind: "unary";
|
|
4061
|
+
input: typeof CreateConversationRequestSchema;
|
|
4062
|
+
output: typeof ConversationSchema;
|
|
4063
|
+
};
|
|
4064
|
+
/**
|
|
4065
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.ListConversations
|
|
4066
|
+
*/
|
|
4067
|
+
listConversations: {
|
|
4068
|
+
methodKind: "unary";
|
|
4069
|
+
input: typeof ListConversationsRequestSchema;
|
|
4070
|
+
output: typeof ListConversationsResponseSchema;
|
|
4071
|
+
};
|
|
4072
|
+
/**
|
|
4073
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.DeleteConversation
|
|
4074
|
+
*/
|
|
4075
|
+
deleteConversation: {
|
|
4076
|
+
methodKind: "unary";
|
|
4077
|
+
input: typeof DeleteConversationRequestSchema;
|
|
4078
|
+
output: typeof EmptySchema;
|
|
4079
|
+
};
|
|
4080
|
+
/**
|
|
4081
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.CreateLoginToken
|
|
4082
|
+
*/
|
|
4083
|
+
createLoginToken: {
|
|
4084
|
+
methodKind: "unary";
|
|
4085
|
+
input: typeof CreateLoginTokenRequestSchema;
|
|
4086
|
+
output: typeof LoginTokenSchema;
|
|
4087
|
+
};
|
|
4088
|
+
/**
|
|
4089
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.RevokeEndUser
|
|
4090
|
+
*/
|
|
4091
|
+
revokeEndUser: {
|
|
4092
|
+
methodKind: "unary";
|
|
4093
|
+
input: typeof RevokeEndUserRequestSchema;
|
|
4094
|
+
output: typeof EmptySchema;
|
|
4095
|
+
};
|
|
4096
|
+
/**
|
|
4097
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.DeleteEndUser
|
|
4098
|
+
*/
|
|
4099
|
+
deleteEndUser: {
|
|
4100
|
+
methodKind: "unary";
|
|
4101
|
+
input: typeof DeleteEndUserRequestSchema;
|
|
4102
|
+
output: typeof EmptySchema;
|
|
4103
|
+
};
|
|
4104
|
+
/**
|
|
4105
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.CreateHTTPGrant
|
|
4106
|
+
*/
|
|
4107
|
+
createHTTPGrant: {
|
|
4108
|
+
methodKind: "unary";
|
|
4109
|
+
input: typeof CreateHTTPGrantRequestSchema;
|
|
4110
|
+
output: typeof HTTPGrantSchema;
|
|
4111
|
+
};
|
|
4112
|
+
/**
|
|
4113
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.ListHTTPGrants
|
|
4114
|
+
*/
|
|
4115
|
+
listHTTPGrants: {
|
|
4116
|
+
methodKind: "unary";
|
|
4117
|
+
input: typeof ListHTTPGrantsRequestSchema;
|
|
4118
|
+
output: typeof ListHTTPGrantsResponseSchema;
|
|
4119
|
+
};
|
|
4120
|
+
/**
|
|
4121
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.DeleteHTTPGrant
|
|
4122
|
+
*/
|
|
4123
|
+
deleteHTTPGrant: {
|
|
4124
|
+
methodKind: "unary";
|
|
4125
|
+
input: typeof DeleteHTTPGrantRequestSchema;
|
|
4126
|
+
output: typeof EmptySchema;
|
|
4127
|
+
};
|
|
4128
|
+
/**
|
|
4129
|
+
* ResolveHTTPGrant checks an nht_ bearer against one sandbox port.
|
|
4130
|
+
* The bearer is the grant. A Keska token is rejected.
|
|
4131
|
+
* The response is the owner tenant and project, for the hop dial.
|
|
4132
|
+
*
|
|
4133
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.ResolveHTTPGrant
|
|
4134
|
+
*/
|
|
4135
|
+
resolveHTTPGrant: {
|
|
4136
|
+
methodKind: "unary";
|
|
4137
|
+
input: typeof ResolveHTTPGrantRequestSchema;
|
|
4138
|
+
output: typeof ResolveHTTPGrantResponseSchema;
|
|
4139
|
+
};
|
|
4140
|
+
/**
|
|
4141
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.CreateResourcePolicy
|
|
4142
|
+
*/
|
|
4143
|
+
createResourcePolicy: {
|
|
4144
|
+
methodKind: "unary";
|
|
4145
|
+
input: typeof CreateResourcePolicyRequestSchema;
|
|
4146
|
+
output: typeof ResourcePolicySchema;
|
|
4147
|
+
};
|
|
4148
|
+
/**
|
|
4149
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.GetResourcePolicy
|
|
4150
|
+
*/
|
|
4151
|
+
getResourcePolicy: {
|
|
4152
|
+
methodKind: "unary";
|
|
4153
|
+
input: typeof GetResourcePolicyRequestSchema;
|
|
4154
|
+
output: typeof ResourcePolicySchema;
|
|
4155
|
+
};
|
|
4156
|
+
/**
|
|
4157
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.ListResourcePolicies
|
|
4158
|
+
*/
|
|
4159
|
+
listResourcePolicies: {
|
|
4160
|
+
methodKind: "unary";
|
|
4161
|
+
input: typeof ListResourcePoliciesRequestSchema;
|
|
4162
|
+
output: typeof ListResourcePoliciesResponseSchema;
|
|
4163
|
+
};
|
|
4164
|
+
/**
|
|
4165
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.UpdateResourcePolicy
|
|
4166
|
+
*/
|
|
4167
|
+
updateResourcePolicy: {
|
|
4168
|
+
methodKind: "unary";
|
|
4169
|
+
input: typeof UpdateResourcePolicyRequestSchema;
|
|
4170
|
+
output: typeof ResourcePolicySchema;
|
|
4171
|
+
};
|
|
4172
|
+
/**
|
|
4173
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.DeleteResourcePolicy
|
|
4174
|
+
*/
|
|
4175
|
+
deleteResourcePolicy: {
|
|
4176
|
+
methodKind: "unary";
|
|
4177
|
+
input: typeof DeleteResourcePolicyRequestSchema;
|
|
4178
|
+
output: typeof EmptySchema;
|
|
4179
|
+
};
|
|
4180
|
+
/**
|
|
4181
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.CreateSecurityPolicy
|
|
4182
|
+
*/
|
|
4183
|
+
createSecurityPolicy: {
|
|
4184
|
+
methodKind: "unary";
|
|
4185
|
+
input: typeof CreateSecurityPolicyRequestSchema;
|
|
4186
|
+
output: typeof SecurityPolicySchema;
|
|
4187
|
+
};
|
|
4188
|
+
/**
|
|
4189
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.GetSecurityPolicy
|
|
4190
|
+
*/
|
|
4191
|
+
getSecurityPolicy: {
|
|
4192
|
+
methodKind: "unary";
|
|
4193
|
+
input: typeof GetSecurityPolicyRequestSchema;
|
|
4194
|
+
output: typeof SecurityPolicySchema;
|
|
4195
|
+
};
|
|
4196
|
+
/**
|
|
4197
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.ListSecurityPolicies
|
|
4198
|
+
*/
|
|
4199
|
+
listSecurityPolicies: {
|
|
4200
|
+
methodKind: "unary";
|
|
4201
|
+
input: typeof ListSecurityPoliciesRequestSchema;
|
|
4202
|
+
output: typeof ListSecurityPoliciesResponseSchema;
|
|
4203
|
+
};
|
|
4204
|
+
/**
|
|
4205
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.UpdateSecurityPolicy
|
|
4206
|
+
*/
|
|
4207
|
+
updateSecurityPolicy: {
|
|
4208
|
+
methodKind: "unary";
|
|
4209
|
+
input: typeof UpdateSecurityPolicyRequestSchema;
|
|
4210
|
+
output: typeof SecurityPolicySchema;
|
|
4211
|
+
};
|
|
4212
|
+
/**
|
|
4213
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.DeleteSecurityPolicy
|
|
4214
|
+
*/
|
|
4215
|
+
deleteSecurityPolicy: {
|
|
4216
|
+
methodKind: "unary";
|
|
4217
|
+
input: typeof DeleteSecurityPolicyRequestSchema;
|
|
4218
|
+
output: typeof EmptySchema;
|
|
4219
|
+
};
|
|
4220
|
+
/**
|
|
4221
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.CreateProfile
|
|
4222
|
+
*/
|
|
4223
|
+
createProfile: {
|
|
4224
|
+
methodKind: "unary";
|
|
4225
|
+
input: typeof CreateProfileRequestSchema;
|
|
4226
|
+
output: typeof ProfileSchema;
|
|
4227
|
+
};
|
|
4228
|
+
/**
|
|
4229
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.GetProfile
|
|
4230
|
+
*/
|
|
4231
|
+
getProfile: {
|
|
4232
|
+
methodKind: "unary";
|
|
4233
|
+
input: typeof GetProfileRequestSchema;
|
|
4234
|
+
output: typeof ProfileSchema;
|
|
4235
|
+
};
|
|
4236
|
+
/**
|
|
4237
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.ListProfiles
|
|
4238
|
+
*/
|
|
4239
|
+
listProfiles: {
|
|
4240
|
+
methodKind: "unary";
|
|
4241
|
+
input: typeof ListProfilesRequestSchema;
|
|
4242
|
+
output: typeof ListProfilesResponseSchema;
|
|
4243
|
+
};
|
|
4244
|
+
/**
|
|
4245
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.UpdateProfile
|
|
4246
|
+
*/
|
|
4247
|
+
updateProfile: {
|
|
4248
|
+
methodKind: "unary";
|
|
4249
|
+
input: typeof UpdateProfileRequestSchema;
|
|
4250
|
+
output: typeof ProfileSchema;
|
|
4251
|
+
};
|
|
4252
|
+
/**
|
|
4253
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.DeleteProfile
|
|
4254
|
+
*/
|
|
4255
|
+
deleteProfile: {
|
|
4256
|
+
methodKind: "unary";
|
|
4257
|
+
input: typeof DeleteProfileRequestSchema;
|
|
4258
|
+
output: typeof EmptySchema;
|
|
4259
|
+
};
|
|
4260
|
+
/**
|
|
4261
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.RegisterImage
|
|
4262
|
+
*/
|
|
4263
|
+
registerImage: {
|
|
4264
|
+
methodKind: "unary";
|
|
4265
|
+
input: typeof RegisterImageRequestSchema;
|
|
4266
|
+
output: typeof ImageSchema;
|
|
4267
|
+
};
|
|
4268
|
+
/**
|
|
4269
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.BuildImage
|
|
4270
|
+
*/
|
|
4271
|
+
buildImage: {
|
|
4272
|
+
methodKind: "client_streaming";
|
|
4273
|
+
input: typeof BuildImageRequestSchema;
|
|
4274
|
+
output: typeof ImageSchema;
|
|
4275
|
+
};
|
|
4276
|
+
/**
|
|
4277
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.GetImage
|
|
4278
|
+
*/
|
|
4279
|
+
getImage: {
|
|
4280
|
+
methodKind: "unary";
|
|
4281
|
+
input: typeof GetImageRequestSchema;
|
|
4282
|
+
output: typeof ImageSchema;
|
|
4283
|
+
};
|
|
4284
|
+
/**
|
|
4285
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.ListImages
|
|
4286
|
+
*/
|
|
4287
|
+
listImages: {
|
|
4288
|
+
methodKind: "unary";
|
|
4289
|
+
input: typeof ListImagesRequestSchema;
|
|
4290
|
+
output: typeof ListImagesResponseSchema;
|
|
4291
|
+
};
|
|
4292
|
+
/**
|
|
4293
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.DeleteImage
|
|
4294
|
+
*/
|
|
4295
|
+
deleteImage: {
|
|
4296
|
+
methodKind: "unary";
|
|
4297
|
+
input: typeof DeleteImageRequestSchema;
|
|
4298
|
+
output: typeof EmptySchema;
|
|
4299
|
+
};
|
|
4300
|
+
/**
|
|
4301
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.ListLogArchives
|
|
4302
|
+
*/
|
|
4303
|
+
listLogArchives: {
|
|
4304
|
+
methodKind: "unary";
|
|
4305
|
+
input: typeof ListLogArchivesRequestSchema;
|
|
4306
|
+
output: typeof ListLogArchivesResponseSchema;
|
|
4307
|
+
};
|
|
4308
|
+
/**
|
|
4309
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.GetSandboxLogs
|
|
4310
|
+
*/
|
|
4311
|
+
getSandboxLogs: {
|
|
4312
|
+
methodKind: "unary";
|
|
4313
|
+
input: typeof GetSandboxLogsRequestSchema;
|
|
4314
|
+
output: typeof GetSandboxLogsResponseSchema;
|
|
4315
|
+
};
|
|
4316
|
+
/**
|
|
4317
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.QueryLogs
|
|
4318
|
+
*/
|
|
4319
|
+
queryLogs: {
|
|
4320
|
+
methodKind: "unary";
|
|
4321
|
+
input: typeof QueryLogsRequestSchema;
|
|
4322
|
+
output: typeof QueryLogsResponseSchema;
|
|
4323
|
+
};
|
|
4324
|
+
/**
|
|
4325
|
+
* Customer byte stream on sbx. First frame carries sandbox_id and port.
|
|
4326
|
+
*
|
|
4327
|
+
* @generated from rpc numen.sandbox.v1.SandboxService.Forward
|
|
4328
|
+
*/
|
|
4329
|
+
forward: {
|
|
4330
|
+
methodKind: "bidi_streaming";
|
|
4331
|
+
input: typeof ForwardRequestSchema;
|
|
4332
|
+
output: typeof ForwardResponseSchema;
|
|
4333
|
+
};
|
|
4334
|
+
}>;
|
|
4335
|
+
|
|
32
4336
|
/** Typed records returned by the TypeScript SDK. */
|
|
33
4337
|
|
|
34
4338
|
/** Sandbox lifecycle. Deleted is not a status: the record is gone. */
|
|
@@ -181,7 +4485,8 @@ type Agent$1 = {
|
|
|
181
4485
|
/** Sandbox this agent is attached to now. Empty when it has none. */
|
|
182
4486
|
activeSandboxId: string;
|
|
183
4487
|
messaging: boolean;
|
|
184
|
-
|
|
4488
|
+
userId: string;
|
|
4489
|
+
displayName: string;
|
|
185
4490
|
templateId: string;
|
|
186
4491
|
image: string;
|
|
187
4492
|
profileId: string;
|
|
@@ -190,6 +4495,23 @@ type AgentList = {
|
|
|
190
4495
|
agents: Agent$1[];
|
|
191
4496
|
nextPageToken: string;
|
|
192
4497
|
};
|
|
4498
|
+
/** One conversation room. */
|
|
4499
|
+
type Conversation = {
|
|
4500
|
+
id: string;
|
|
4501
|
+
agentId: string;
|
|
4502
|
+
userId: string;
|
|
4503
|
+
title: string;
|
|
4504
|
+
createdAt: string;
|
|
4505
|
+
};
|
|
4506
|
+
type ConversationList = {
|
|
4507
|
+
conversations: Conversation[];
|
|
4508
|
+
nextPageToken: string;
|
|
4509
|
+
};
|
|
4510
|
+
/** Short-lived login JWT. The app exchanges it at the homeserver. */
|
|
4511
|
+
type LoginToken = {
|
|
4512
|
+
token: string;
|
|
4513
|
+
expiresAt: string;
|
|
4514
|
+
};
|
|
193
4515
|
/** Short-lived Matrix device for an SDK process (CreateMatrixSession). */
|
|
194
4516
|
type MatrixSession = {
|
|
195
4517
|
homeserver: string;
|
|
@@ -459,6 +4781,10 @@ declare class SandboxWaitTimeoutError extends SandboxTimeoutError {
|
|
|
459
4781
|
}
|
|
460
4782
|
|
|
461
4783
|
declare function authInterceptor(auth: TokenProvider, runId?: string): Interceptor;
|
|
4784
|
+
/** Wire names (PascalCase) of the unary RPCs on a generated service. */
|
|
4785
|
+
type UnaryRpc<S> = S extends GenService<infer M> ? {
|
|
4786
|
+
[K in keyof M & string]: M[K]["methodKind"] extends "unary" ? Capitalize<K> : never;
|
|
4787
|
+
}[keyof M & string] : never;
|
|
462
4788
|
|
|
463
4789
|
type CreateSandboxParams = {
|
|
464
4790
|
/** Optional lookup. The server mints the id. */
|
|
@@ -551,7 +4877,7 @@ declare class Session {
|
|
|
551
4877
|
interceptors: ReturnType<typeof authInterceptor>[];
|
|
552
4878
|
};
|
|
553
4879
|
extraHeaders(sandboxId?: string): Record<string, string> | undefined;
|
|
554
|
-
call(method:
|
|
4880
|
+
call(method: UnaryRpc<typeof SandboxService>, body: Record<string, unknown>, timeoutMs: number | undefined, signal?: AbortSignal): Promise<Record<string, unknown>>;
|
|
555
4881
|
close(): void;
|
|
556
4882
|
get forwardBaseUrl(): string;
|
|
557
4883
|
/** Byte stream to a guest port. The call is gRPC on `sbx`.
|
|
@@ -749,6 +5075,8 @@ declare class Session {
|
|
|
749
5075
|
createAgent(name: string, opts?: CallOpts & {
|
|
750
5076
|
templateId?: string;
|
|
751
5077
|
messaging?: boolean;
|
|
5078
|
+
userId?: string;
|
|
5079
|
+
displayName?: string;
|
|
752
5080
|
}): Promise<Agent$1>;
|
|
753
5081
|
getAgent(id?: string, opts?: CallOpts & {
|
|
754
5082
|
name?: string;
|
|
@@ -759,6 +5087,20 @@ declare class Session {
|
|
|
759
5087
|
messaging?: boolean;
|
|
760
5088
|
}): Promise<AgentList>;
|
|
761
5089
|
deleteAgent(id: string, opts?: CallOpts): Promise<void>;
|
|
5090
|
+
createConversation(agentId: string, opts?: CallOpts & {
|
|
5091
|
+
userId?: string;
|
|
5092
|
+
title?: string;
|
|
5093
|
+
}): Promise<Conversation>;
|
|
5094
|
+
listConversations(opts?: CallOpts & {
|
|
5095
|
+
agentId?: string;
|
|
5096
|
+
userId?: string;
|
|
5097
|
+
pageSize?: number;
|
|
5098
|
+
pageToken?: string;
|
|
5099
|
+
}): Promise<ConversationList>;
|
|
5100
|
+
deleteConversation(id: string, opts?: CallOpts): Promise<void>;
|
|
5101
|
+
createLoginToken(userId: string, opts?: CallOpts): Promise<LoginToken>;
|
|
5102
|
+
revokeEndUser(userId: string, opts?: CallOpts): Promise<void>;
|
|
5103
|
+
deleteEndUser(userId: string, opts?: CallOpts): Promise<void>;
|
|
762
5104
|
bindAgentSecret(agentId: string, envName: string, secretName: string, opts?: CallOpts): Promise<Agent$1>;
|
|
763
5105
|
unbindAgentSecret(agentId: string, envName: string, opts?: CallOpts): Promise<Agent$1>;
|
|
764
5106
|
createMatrixSession(opts?: CallOpts): Promise<MatrixSession>;
|
|
@@ -894,108 +5236,6 @@ declare class GuestHttp$1 {
|
|
|
894
5236
|
websocket(path?: string): Promise<WebSocket>;
|
|
895
5237
|
}
|
|
896
5238
|
|
|
897
|
-
type RawEvent = {
|
|
898
|
-
type?: string;
|
|
899
|
-
event_id?: string;
|
|
900
|
-
sender?: string;
|
|
901
|
-
origin_server_ts?: number;
|
|
902
|
-
content?: Record<string, unknown>;
|
|
903
|
-
};
|
|
904
|
-
type SyncBody = {
|
|
905
|
-
next_batch?: string;
|
|
906
|
-
rooms?: {
|
|
907
|
-
join?: Record<string, {
|
|
908
|
-
timeline?: {
|
|
909
|
-
events?: RawEvent[];
|
|
910
|
-
prev_batch?: string;
|
|
911
|
-
};
|
|
912
|
-
}>;
|
|
913
|
-
};
|
|
914
|
-
};
|
|
915
|
-
interface RoomIO {
|
|
916
|
-
send(roomId: string, content: Record<string, unknown>): Promise<string>;
|
|
917
|
-
messages(roomId: string, fromToken: string, limit: number): Promise<{
|
|
918
|
-
chunk: RawEvent[];
|
|
919
|
-
end: string;
|
|
920
|
-
}>;
|
|
921
|
-
sync(since: string | null, timeoutMs: number): Promise<SyncBody>;
|
|
922
|
-
/**
|
|
923
|
-
* Optional first window for history: this room's recent message timeline
|
|
924
|
-
* only. A plain `sync(null, 0)` on a fresh device is an initial sync over
|
|
925
|
-
* every joined room, which takes seconds; implementations that can scope
|
|
926
|
-
* the request to one room should.
|
|
927
|
-
*/
|
|
928
|
-
historyWindow?(roomId: string, limit: number): Promise<SyncBody>;
|
|
929
|
-
close(): void;
|
|
930
|
-
}
|
|
931
|
-
|
|
932
|
-
/** Agent DM timeline and live-stream event shapes. */
|
|
933
|
-
|
|
934
|
-
type SenderKind = "agent" | "user" | "unknown";
|
|
935
|
-
/** One text message in the agent DM. */
|
|
936
|
-
type MessageEvent = {
|
|
937
|
-
/** Discriminator; always `"message"`. */
|
|
938
|
-
type: "message";
|
|
939
|
-
/** Message body. */
|
|
940
|
-
content: string;
|
|
941
|
-
/** Matrix user id of the sender. */
|
|
942
|
-
sender: string;
|
|
943
|
-
/** Matrix event id. */
|
|
944
|
-
eventId: string;
|
|
945
|
-
/** Server timestamp in milliseconds. */
|
|
946
|
-
ts: number;
|
|
947
|
-
/** Whether the sender is the agent, the portal user, or unknown. */
|
|
948
|
-
senderKind?: SenderKind;
|
|
949
|
-
/** Human-readable sender label when known. */
|
|
950
|
-
senderLabel?: string;
|
|
951
|
-
/** Set when an agent posted a protocol final. */
|
|
952
|
-
isFinal?: boolean;
|
|
953
|
-
/** Agent final tied to a human trigger, when present on the Matrix event. */
|
|
954
|
-
triggerEventId?: string;
|
|
955
|
-
};
|
|
956
|
-
|
|
957
|
-
/** Display labels for Matrix senders on agent message events. */
|
|
958
|
-
|
|
959
|
-
type SenderLabelContext = {
|
|
960
|
-
agentMatrixUserId?: string;
|
|
961
|
-
agentName?: string;
|
|
962
|
-
projectUserId?: string;
|
|
963
|
-
};
|
|
964
|
-
|
|
965
|
-
/** One sync pump per Client; room subscriptions receive live messaging events. */
|
|
966
|
-
|
|
967
|
-
declare class RoomSyncPump {
|
|
968
|
-
private readonly io;
|
|
969
|
-
private since;
|
|
970
|
-
private primed;
|
|
971
|
-
private running;
|
|
972
|
-
private stopped;
|
|
973
|
-
private readonly rooms;
|
|
974
|
-
private readonly seenByRoom;
|
|
975
|
-
constructor(io: RoomIO);
|
|
976
|
-
subscribe(roomId: string, labels: SenderLabelContext): MessageSubscription;
|
|
977
|
-
unsubscribe(sub: MessageSubscription, roomId: string): void;
|
|
978
|
-
stop(): void;
|
|
979
|
-
private hasSubscribers;
|
|
980
|
-
private ensurePrimed;
|
|
981
|
-
private seen;
|
|
982
|
-
private deliver;
|
|
983
|
-
private loop;
|
|
984
|
-
take(sub: MessageSubscription, roomId: string): MessageEvent | undefined;
|
|
985
|
-
waitFor(sub: MessageSubscription, roomId: string): Promise<void>;
|
|
986
|
-
isOpen(sub: MessageSubscription, roomId: string): boolean;
|
|
987
|
-
}
|
|
988
|
-
/** Live messaging events for one room. Start before `post()` so fast replies are not missed. */
|
|
989
|
-
declare class MessageSubscription {
|
|
990
|
-
private readonly pump;
|
|
991
|
-
private readonly roomId;
|
|
992
|
-
constructor(pump: RoomSyncPump, roomId: string);
|
|
993
|
-
/** Stop receiving events. */
|
|
994
|
-
close(): void;
|
|
995
|
-
/** Iterate live agent messages until {@link MessageSubscription.close}. */
|
|
996
|
-
[Symbol.asyncIterator](): AsyncIterator<MessageEvent>;
|
|
997
|
-
}
|
|
998
|
-
|
|
999
5239
|
type TimeoutOpts = {
|
|
1000
5240
|
timeout?: number;
|
|
1001
5241
|
signal?: AbortSignal;
|
|
@@ -1053,6 +5293,8 @@ declare class Agents$1 {
|
|
|
1053
5293
|
create(name: string, opts?: {
|
|
1054
5294
|
template?: string;
|
|
1055
5295
|
messaging?: boolean;
|
|
5296
|
+
userId?: string;
|
|
5297
|
+
displayName?: string;
|
|
1056
5298
|
} & TimeoutOpts): Promise<Agent$1>;
|
|
1057
5299
|
/** Get by name. */
|
|
1058
5300
|
getByName(name: string, opts?: TimeoutOpts): Promise<Agent$1>;
|
|
@@ -1070,6 +5312,44 @@ declare class Agents$1 {
|
|
|
1070
5312
|
/** Remove one binding. Fails with reason `AGENT_BUSY` while a sandbox is live. */
|
|
1071
5313
|
unbindSecret(id: string, envName: string, opts?: TimeoutOpts): Promise<Agent$1>;
|
|
1072
5314
|
}
|
|
5315
|
+
/** Conversation rooms for the project's agents. */
|
|
5316
|
+
declare class Conversations$1 {
|
|
5317
|
+
private readonly wire;
|
|
5318
|
+
/** Create the handle. */
|
|
5319
|
+
constructor(wire: Session);
|
|
5320
|
+
/** Open a room. `userId` is required when the agent is not bound to one. */
|
|
5321
|
+
create(agentId: string, opts?: {
|
|
5322
|
+
userId?: string;
|
|
5323
|
+
title?: string;
|
|
5324
|
+
} & TimeoutOpts): Promise<Conversation>;
|
|
5325
|
+
/** List, newest activity first. Pass an agent id or an end-user id. */
|
|
5326
|
+
list(opts?: {
|
|
5327
|
+
agentId?: string;
|
|
5328
|
+
userId?: string;
|
|
5329
|
+
pageSize?: number;
|
|
5330
|
+
pageToken?: string;
|
|
5331
|
+
} & TimeoutOpts): Promise<ConversationList>;
|
|
5332
|
+
/** Delete one room. */
|
|
5333
|
+
delete(id: string, opts?: TimeoutOpts): Promise<void>;
|
|
5334
|
+
}
|
|
5335
|
+
/** Login JWTs for end-user apps. */
|
|
5336
|
+
declare class Tokens$1 {
|
|
5337
|
+
private readonly wire;
|
|
5338
|
+
/** Create the handle. */
|
|
5339
|
+
constructor(wire: Session);
|
|
5340
|
+
/** Mint a login JWT. An empty user id uses the authenticated subject. */
|
|
5341
|
+
create(userId?: string, opts?: TimeoutOpts): Promise<LoginToken>;
|
|
5342
|
+
}
|
|
5343
|
+
/** End users shared by every agent in the project. */
|
|
5344
|
+
declare class EndUsers$1 {
|
|
5345
|
+
private readonly wire;
|
|
5346
|
+
/** Create the handle. */
|
|
5347
|
+
constructor(wire: Session);
|
|
5348
|
+
/** Revoke every Matrix device of this end user. */
|
|
5349
|
+
revoke(userId: string, opts?: TimeoutOpts): Promise<void>;
|
|
5350
|
+
/** Deactivate the Matrix user and erase their devices. */
|
|
5351
|
+
delete(userId: string, opts?: TimeoutOpts): Promise<void>;
|
|
5352
|
+
}
|
|
1073
5353
|
/** Platform names and project images. */
|
|
1074
5354
|
declare class Images$1 {
|
|
1075
5355
|
private readonly wire;
|
|
@@ -1259,6 +5539,12 @@ declare class Client$1 {
|
|
|
1259
5539
|
readonly secrets: Secrets$1;
|
|
1260
5540
|
/** Agents. */
|
|
1261
5541
|
readonly agents: Agents$1;
|
|
5542
|
+
/** Conversation rooms. */
|
|
5543
|
+
readonly conversations: Conversations$1;
|
|
5544
|
+
/** End-user login JWTs. */
|
|
5545
|
+
readonly tokens: Tokens$1;
|
|
5546
|
+
/** End users across every agent. */
|
|
5547
|
+
readonly endUsers: EndUsers$1;
|
|
1262
5548
|
/** Images. */
|
|
1263
5549
|
readonly images: Images$1;
|
|
1264
5550
|
/** Snapshots. */
|
|
@@ -1299,20 +5585,6 @@ declare class Client$1 {
|
|
|
1299
5585
|
listImagesIter(opts?: Omit<NonNullable<Parameters<Images$1["list"]>[0]>, "pageToken">): AsyncGenerator<Image>;
|
|
1300
5586
|
}
|
|
1301
5587
|
|
|
1302
|
-
/** Bounded message history snapshots from Matrix. */
|
|
1303
|
-
|
|
1304
|
-
declare const UNLIMITED$1: number;
|
|
1305
|
-
type HistoryOptions = {
|
|
1306
|
-
/** Maximum eligible text messages. Default 50. */
|
|
1307
|
-
limit?: number;
|
|
1308
|
-
/** Present newest messages first. Default oldest first. */
|
|
1309
|
-
newestFirst?: boolean;
|
|
1310
|
-
/** Overall fetch deadline in seconds. Default 180. */
|
|
1311
|
-
timeout?: number | typeof UNLIMITED$1;
|
|
1312
|
-
/** @internal Resolved by `Agent.history`. */
|
|
1313
|
-
labels?: SenderLabelContext;
|
|
1314
|
-
};
|
|
1315
|
-
|
|
1316
5588
|
/** Arguments for `Sandbox.create`. Fields say what omit means. */
|
|
1317
5589
|
type SandboxCreateParams$1 = {
|
|
1318
5590
|
/** Guest rootfs. Required. Platform aliases such as `numen/base` resolve on the control plane. */
|
|
@@ -1828,7 +6100,6 @@ declare function remove(path: string, recursive?: boolean): Remove;
|
|
|
1828
6100
|
type FileOp = Write | Mkdir | Remove;
|
|
1829
6101
|
/** One agent. One sandbox. Sleep stops the process you started. */
|
|
1830
6102
|
declare class Agent {
|
|
1831
|
-
#private;
|
|
1832
6103
|
private readonly client;
|
|
1833
6104
|
/** Agent id. */
|
|
1834
6105
|
readonly id: string;
|
|
@@ -1842,6 +6113,10 @@ declare class Agent {
|
|
|
1842
6113
|
activeSandboxId: string;
|
|
1843
6114
|
/** False when this agent has no Matrix identity. */
|
|
1844
6115
|
messaging: boolean;
|
|
6116
|
+
/** End user this agent is bound to. Empty means each conversation names its own. */
|
|
6117
|
+
userId: string;
|
|
6118
|
+
/** What end users see. Empty shows `name`. */
|
|
6119
|
+
displayName: string;
|
|
1845
6120
|
/** Template this agent was copied from. */
|
|
1846
6121
|
templateId: string;
|
|
1847
6122
|
/** Image copied from the template. */
|
|
@@ -1862,13 +6137,14 @@ declare class Agent {
|
|
|
1862
6137
|
newSandbox(opts?: Omit<SandboxCreateParams, "agentId" | "image"> & {
|
|
1863
6138
|
image?: string;
|
|
1864
6139
|
}): Promise<Sandbox>;
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
6140
|
+
/** Chat goes through agent-kit. This client creates conversations and login tokens. */
|
|
6141
|
+
sendMessage(_body: string): Promise<string>;
|
|
6142
|
+
/** Chat goes through agent-kit. */
|
|
6143
|
+
subscribe(): Promise<never>;
|
|
6144
|
+
/** Chat goes through agent-kit. */
|
|
6145
|
+
history(): AsyncGenerator<never>;
|
|
6146
|
+
/** Messaging off is reported first. A messaging agent still chats through agent-kit. */
|
|
6147
|
+
private chatElsewhere;
|
|
1872
6148
|
}
|
|
1873
6149
|
/** Copied onto an agent at create. Later edits do not change existing agents. */
|
|
1874
6150
|
declare class Template {
|
|
@@ -1936,6 +6212,8 @@ declare class Agents {
|
|
|
1936
6212
|
create(name: string, opts?: {
|
|
1937
6213
|
template?: string;
|
|
1938
6214
|
messaging?: boolean;
|
|
6215
|
+
userId?: string;
|
|
6216
|
+
displayName?: string;
|
|
1939
6217
|
timeout?: Timeout;
|
|
1940
6218
|
}): Promise<Agent>;
|
|
1941
6219
|
getByName(name: string, opts?: {
|
|
@@ -1953,6 +6231,52 @@ declare class Agents {
|
|
|
1953
6231
|
timeout?: Timeout;
|
|
1954
6232
|
}): Promise<void>;
|
|
1955
6233
|
}
|
|
6234
|
+
/** Rooms between an agent and one end user. */
|
|
6235
|
+
declare class Conversations {
|
|
6236
|
+
private readonly client;
|
|
6237
|
+
constructor(client: Client);
|
|
6238
|
+
/** Open a room. Pass an agent id or an Agent. */
|
|
6239
|
+
create(agent: Agent | string, opts?: {
|
|
6240
|
+
userId?: string;
|
|
6241
|
+
title?: string;
|
|
6242
|
+
timeout?: Timeout;
|
|
6243
|
+
}): Promise<Conversation>;
|
|
6244
|
+
/** Newest activity first. Pass an agent or an end-user id. */
|
|
6245
|
+
list(opts?: {
|
|
6246
|
+
agent?: Agent | string;
|
|
6247
|
+
userId?: string;
|
|
6248
|
+
pageSize?: number;
|
|
6249
|
+
pageToken?: string;
|
|
6250
|
+
timeout?: Timeout;
|
|
6251
|
+
}): Promise<ConversationList>;
|
|
6252
|
+
/** Delete one room. */
|
|
6253
|
+
delete(id: string, opts?: {
|
|
6254
|
+
missingOk?: boolean;
|
|
6255
|
+
timeout?: Timeout;
|
|
6256
|
+
}): Promise<void>;
|
|
6257
|
+
}
|
|
6258
|
+
/** Login JWTs. The caller exchanges the token at the homeserver. */
|
|
6259
|
+
declare class Tokens {
|
|
6260
|
+
private readonly client;
|
|
6261
|
+
constructor(client: Client);
|
|
6262
|
+
/** Mint a login JWT. An empty user id uses the authenticated subject. */
|
|
6263
|
+
create(userId?: string, opts?: {
|
|
6264
|
+
timeout?: Timeout;
|
|
6265
|
+
}): Promise<LoginToken>;
|
|
6266
|
+
}
|
|
6267
|
+
/** One end user across every agent in the project. */
|
|
6268
|
+
declare class EndUsers {
|
|
6269
|
+
private readonly client;
|
|
6270
|
+
constructor(client: Client);
|
|
6271
|
+
/** Revoke every Matrix device of this end user. */
|
|
6272
|
+
revoke(userId: string, opts?: {
|
|
6273
|
+
timeout?: Timeout;
|
|
6274
|
+
}): Promise<void>;
|
|
6275
|
+
/** Deactivate the Matrix user. */
|
|
6276
|
+
delete(userId: string, opts?: {
|
|
6277
|
+
timeout?: Timeout;
|
|
6278
|
+
}): Promise<void>;
|
|
6279
|
+
}
|
|
1956
6280
|
/** Where to connect. */
|
|
1957
6281
|
type ClientOptions = {
|
|
1958
6282
|
/** Control plane URL. Omit to use credentials, then the default cloud URL. */
|
|
@@ -1982,6 +6306,12 @@ declare class Client {
|
|
|
1982
6306
|
readonly secrets: Secrets;
|
|
1983
6307
|
/** Matrix agents. */
|
|
1984
6308
|
readonly agents: Agents;
|
|
6309
|
+
/** Conversation rooms. */
|
|
6310
|
+
readonly conversations: Conversations;
|
|
6311
|
+
/** End-user login JWTs. */
|
|
6312
|
+
readonly tokens: Tokens;
|
|
6313
|
+
/** End users across every agent. */
|
|
6314
|
+
readonly endUsers: EndUsers;
|
|
1985
6315
|
/** Platform and project images. */
|
|
1986
6316
|
readonly images: Images;
|
|
1987
6317
|
/** Filesystem snapshots. */
|
|
@@ -1993,12 +6323,7 @@ declare class Client {
|
|
|
1993
6323
|
/** Create, list, and open sandboxes. */
|
|
1994
6324
|
readonly sandboxes: Sandboxes;
|
|
1995
6325
|
constructor(opts?: ClientOptions);
|
|
1996
|
-
|
|
1997
|
-
/** The Matrix client for send and receive. One device for this process. */
|
|
1998
|
-
room(): Promise<RoomIO>;
|
|
1999
|
-
/** @internal Matrix user id for the live SDK session. */
|
|
2000
|
-
matrixUserId(): Promise<string>;
|
|
2001
|
-
/** Close the connection and log out this process's Matrix device. */
|
|
6326
|
+
/** Close the connection. */
|
|
2002
6327
|
close(): void;
|
|
2003
6328
|
/** `using` calls this. */
|
|
2004
6329
|
[Symbol.dispose](): void;
|
|
@@ -2610,6 +6935,6 @@ type GuestHttp = GuestHttp$1;
|
|
|
2610
6935
|
/** Body returned by `GuestHttp.get` and `GuestHttp.post`. */
|
|
2611
6936
|
type GuestResponse = GuestResponse$1;
|
|
2612
6937
|
|
|
2613
|
-
declare const publicExports: readonly ["Agent", "Template", "
|
|
6938
|
+
declare const publicExports: readonly ["Agent", "Template", "AuthenticationError", "CapacityError", "Client", "CommandFailedError", "CommandTimeoutError", "CommandTooLargeError", "ConflictError", "DirectoryNotEmptyError", "ExecutableNotFoundError", "FileExistsError", "FileTooLargeError", "GuestRuntimeDeadError", "ImageTimeoutError", "InvalidArgumentError", "InvalidPathError", "Mkdir", "UNLIMITED", "NameTakenError", "NotFoundError", "Page", "PathNotFoundError", "PageExhaustedError", "PermissionDeniedError", "PortNotOpenError", "ProcessHandle", "Profile", "ResourceInUseError", "ResourcePolicy", "SecurityPolicy", "ProcessNotFoundError", "ProcessWaitTimeoutError", "Remove", "Sandbox", "SandboxConflictError", "SandboxError", "SandboxNotFoundError", "SandboxNotReadyError", "SandboxSleepingError", "SandboxStateError", "LogStream", "SandboxStatus", "SandboxWaitTimeoutError", "SandboxTimeoutError", "TimeoutError", "UnavailableError", "Write", "mkdir", "publicExports", "remove", "write"];
|
|
2614
6939
|
|
|
2615
|
-
export { Agent, AuthenticationError, CapacityError, Client, type ClientOptions, CommandFailedError, CommandTimeoutError, CommandTooLargeError, ConflictError, DirectoryNotEmptyError, type ExecBytesResult, type ExecResult, ExecutableNotFoundError, FileExistsError, type FileInfo, type FileList, FileTooLargeError, type GuestHttp, type GuestResponse, GuestRuntimeDeadError, type HTTPGrant, type Image, type ImageKind, ImageTimeoutError, InvalidArgumentError, InvalidPathError, type LogEntry, LogStream,
|
|
6940
|
+
export { Agent, AuthenticationError, CapacityError, Client, type ClientOptions, CommandFailedError, CommandTimeoutError, CommandTooLargeError, ConflictError, DirectoryNotEmptyError, type ExecBytesResult, type ExecResult, ExecutableNotFoundError, FileExistsError, type FileInfo, type FileList, FileTooLargeError, type GuestHttp, type GuestResponse, GuestRuntimeDeadError, type HTTPGrant, type Image, type ImageKind, ImageTimeoutError, InvalidArgumentError, InvalidPathError, type LogEntry, LogStream, Mkdir, NameTakenError, NotFoundError, Page, PageExhaustedError, PathNotFoundError, PermissionDeniedError, PortNotOpenError, type Process, ProcessHandle, ProcessNotFoundError, ProcessWaitTimeoutError, Profile, Remove, ResourceInUseError, ResourcePolicy, type Resources, Sandbox, SandboxConflictError, type SandboxCreateParams, SandboxError, type SandboxInfo, SandboxNotFoundError, SandboxNotReadyError, type SandboxRow, SandboxSleepingError, SandboxStateError, SandboxStatus, SandboxTimeoutError, SandboxWaitTimeoutError, type Secret, SecurityPolicy, type Snapshot, type StreamChunk, Template, TimeoutError, UNLIMITED, UnavailableError, type Volume, Write, mkdir, publicExports, remove, write };
|