@toshicloud/sdk 0.2.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +74 -18
- package/dist/client.d.ts +111 -18
- package/dist/client.js +82 -16
- package/dist/errors.d.ts +9 -1
- package/dist/errors.js +22 -0
- package/dist/execute.d.ts +3 -2
- package/dist/execute.js +3 -3
- package/dist/gen/toshi/workspace/v1/artifacts_pb.d.ts +25 -23
- package/dist/gen/toshi/workspace/v1/artifacts_pb.js +7 -7
- package/dist/gen/toshi/workspace/v1/audit_events_pb.d.ts +297 -0
- package/dist/gen/toshi/workspace/v1/audit_events_pb.js +37 -0
- package/dist/gen/toshi/workspace/v1/channels_pb.d.ts +2713 -0
- package/dist/gen/toshi/workspace/v1/channels_pb.js +336 -0
- package/dist/gen/toshi/workspace/v1/display_pb.d.ts +35 -11
- package/dist/gen/toshi/workspace/v1/display_pb.js +2 -2
- package/dist/gen/toshi/workspace/v1/fillers_pb.d.ts +920 -0
- package/dist/gen/toshi/workspace/v1/fillers_pb.js +94 -0
- package/dist/gen/toshi/workspace/v1/hostjobs_pb.d.ts +2048 -0
- package/dist/gen/toshi/workspace/v1/hostjobs_pb.js +226 -0
- package/dist/gen/toshi/workspace/v1/hosts_pb.d.ts +2135 -0
- package/dist/gen/toshi/workspace/v1/hosts_pb.js +301 -0
- package/dist/gen/toshi/workspace/v1/projects_pb.d.ts +157 -3
- package/dist/gen/toshi/workspace/v1/projects_pb.js +2 -2
- package/dist/gen/toshi/workspace/v1/recordings_pb.d.ts +76 -0
- package/dist/gen/toshi/workspace/v1/recordings_pb.js +1 -1
- package/dist/gen/toshi/workspace/v1/secrets_pb.d.ts +175 -23
- package/dist/gen/toshi/workspace/v1/secrets_pb.js +9 -9
- package/dist/gen/toshi/workspace/v1/storage_providers_pb.d.ts +717 -0
- package/dist/gen/toshi/workspace/v1/storage_providers_pb.js +74 -0
- package/dist/gen/toshi/workspace/v1/tokens_pb.d.ts +518 -0
- package/dist/gen/toshi/workspace/v1/tokens_pb.js +88 -0
- package/dist/gen/toshi/workspace/v1/volumes_pb.d.ts +39 -1
- package/dist/gen/toshi/workspace/v1/volumes_pb.js +2 -2
- package/dist/gen/toshi/workspace/v1/webhook_pb.d.ts +62 -18
- package/dist/gen/toshi/workspace/v1/webhook_pb.js +3 -3
- package/dist/gen/toshi/workspace/v1/workloads_pb.d.ts +2858 -0
- package/dist/gen/toshi/workspace/v1/workloads_pb.js +261 -0
- package/dist/gen/toshi/workspace/v1/workspace_pb.d.ts +1377 -2130
- package/dist/gen/toshi/workspace/v1/workspace_pb.js +235 -272
- package/dist/gen/toshi/workspace/v1/workspace_service_pb.d.ts +3719 -0
- package/dist/gen/toshi/workspace/v1/workspace_service_pb.js +270 -0
- package/dist/index.d.ts +14 -2
- package/dist/index.js +13 -1
- package/dist/output.d.ts +3 -2
- package/dist/output.js +2 -2
- package/dist/retry.js +116 -30
- package/dist/run.d.ts +10 -0
- package/dist/run.js +175 -0
- package/dist/wait.d.ts +10 -5
- package/dist/wait.js +23 -11
- package/dist/watch.d.ts +14 -6
- package/dist/watch.js +138 -85
- package/package.json +1 -1
|
@@ -271,6 +271,18 @@ export type ListRecordingsRequest = Message<"toshi.workspace.v1.ListRecordingsRe
|
|
|
271
271
|
* @generated from field: string workload_id = 1;
|
|
272
272
|
*/
|
|
273
273
|
workloadId: string;
|
|
274
|
+
/**
|
|
275
|
+
* The most recordings in one page; zero lets the server choose.
|
|
276
|
+
*
|
|
277
|
+
* @generated from field: int32 page_size = 2;
|
|
278
|
+
*/
|
|
279
|
+
pageSize: number;
|
|
280
|
+
/**
|
|
281
|
+
* From an earlier response's next_page_token; empty for the first page.
|
|
282
|
+
*
|
|
283
|
+
* @generated from field: string page_token = 3;
|
|
284
|
+
*/
|
|
285
|
+
pageToken: string;
|
|
274
286
|
};
|
|
275
287
|
/**
|
|
276
288
|
* @generated from message toshi.workspace.v1.ListRecordingsRequest
|
|
@@ -280,6 +292,18 @@ export type ListRecordingsRequestJson = {
|
|
|
280
292
|
* @generated from field: string workload_id = 1;
|
|
281
293
|
*/
|
|
282
294
|
workloadId?: string;
|
|
295
|
+
/**
|
|
296
|
+
* The most recordings in one page; zero lets the server choose.
|
|
297
|
+
*
|
|
298
|
+
* @generated from field: int32 page_size = 2;
|
|
299
|
+
*/
|
|
300
|
+
pageSize?: number;
|
|
301
|
+
/**
|
|
302
|
+
* From an earlier response's next_page_token; empty for the first page.
|
|
303
|
+
*
|
|
304
|
+
* @generated from field: string page_token = 3;
|
|
305
|
+
*/
|
|
306
|
+
pageToken?: string;
|
|
283
307
|
};
|
|
284
308
|
/**
|
|
285
309
|
* Describes the message toshi.workspace.v1.ListRecordingsRequest.
|
|
@@ -296,6 +320,12 @@ export type ListRecordingsResponse = Message<"toshi.workspace.v1.ListRecordingsR
|
|
|
296
320
|
* @generated from field: repeated toshi.workspace.v1.Recording recordings = 1;
|
|
297
321
|
*/
|
|
298
322
|
recordings: Recording[];
|
|
323
|
+
/**
|
|
324
|
+
* Empty on the last page.
|
|
325
|
+
*
|
|
326
|
+
* @generated from field: string next_page_token = 2;
|
|
327
|
+
*/
|
|
328
|
+
nextPageToken: string;
|
|
299
329
|
};
|
|
300
330
|
/**
|
|
301
331
|
* @generated from message toshi.workspace.v1.ListRecordingsResponse
|
|
@@ -305,6 +335,12 @@ export type ListRecordingsResponseJson = {
|
|
|
305
335
|
* @generated from field: repeated toshi.workspace.v1.Recording recordings = 1;
|
|
306
336
|
*/
|
|
307
337
|
recordings?: RecordingJson[];
|
|
338
|
+
/**
|
|
339
|
+
* Empty on the last page.
|
|
340
|
+
*
|
|
341
|
+
* @generated from field: string next_page_token = 2;
|
|
342
|
+
*/
|
|
343
|
+
nextPageToken?: string;
|
|
308
344
|
};
|
|
309
345
|
/**
|
|
310
346
|
* Describes the message toshi.workspace.v1.ListRecordingsResponse.
|
|
@@ -648,6 +684,18 @@ export type ListRecordingShareLinksRequest = Message<"toshi.workspace.v1.ListRec
|
|
|
648
684
|
* @generated from field: string recording_id = 1;
|
|
649
685
|
*/
|
|
650
686
|
recordingId: string;
|
|
687
|
+
/**
|
|
688
|
+
* The most share links in one page; zero lets the server choose.
|
|
689
|
+
*
|
|
690
|
+
* @generated from field: int32 page_size = 2;
|
|
691
|
+
*/
|
|
692
|
+
pageSize: number;
|
|
693
|
+
/**
|
|
694
|
+
* From an earlier response's next_page_token; empty for the first page.
|
|
695
|
+
*
|
|
696
|
+
* @generated from field: string page_token = 3;
|
|
697
|
+
*/
|
|
698
|
+
pageToken: string;
|
|
651
699
|
};
|
|
652
700
|
/**
|
|
653
701
|
* @generated from message toshi.workspace.v1.ListRecordingShareLinksRequest
|
|
@@ -657,6 +705,18 @@ export type ListRecordingShareLinksRequestJson = {
|
|
|
657
705
|
* @generated from field: string recording_id = 1;
|
|
658
706
|
*/
|
|
659
707
|
recordingId?: string;
|
|
708
|
+
/**
|
|
709
|
+
* The most share links in one page; zero lets the server choose.
|
|
710
|
+
*
|
|
711
|
+
* @generated from field: int32 page_size = 2;
|
|
712
|
+
*/
|
|
713
|
+
pageSize?: number;
|
|
714
|
+
/**
|
|
715
|
+
* From an earlier response's next_page_token; empty for the first page.
|
|
716
|
+
*
|
|
717
|
+
* @generated from field: string page_token = 3;
|
|
718
|
+
*/
|
|
719
|
+
pageToken?: string;
|
|
660
720
|
};
|
|
661
721
|
/**
|
|
662
722
|
* Describes the message toshi.workspace.v1.ListRecordingShareLinksRequest.
|
|
@@ -673,6 +733,12 @@ export type ListRecordingShareLinksResponse = Message<"toshi.workspace.v1.ListRe
|
|
|
673
733
|
* @generated from field: repeated toshi.workspace.v1.RecordingShareLink share_links = 1;
|
|
674
734
|
*/
|
|
675
735
|
shareLinks: RecordingShareLink[];
|
|
736
|
+
/**
|
|
737
|
+
* Empty on the last page.
|
|
738
|
+
*
|
|
739
|
+
* @generated from field: string next_page_token = 2;
|
|
740
|
+
*/
|
|
741
|
+
nextPageToken: string;
|
|
676
742
|
};
|
|
677
743
|
/**
|
|
678
744
|
* @generated from message toshi.workspace.v1.ListRecordingShareLinksResponse
|
|
@@ -682,6 +748,12 @@ export type ListRecordingShareLinksResponseJson = {
|
|
|
682
748
|
* @generated from field: repeated toshi.workspace.v1.RecordingShareLink share_links = 1;
|
|
683
749
|
*/
|
|
684
750
|
shareLinks?: RecordingShareLinkJson[];
|
|
751
|
+
/**
|
|
752
|
+
* Empty on the last page.
|
|
753
|
+
*
|
|
754
|
+
* @generated from field: string next_page_token = 2;
|
|
755
|
+
*/
|
|
756
|
+
nextPageToken?: string;
|
|
685
757
|
};
|
|
686
758
|
/**
|
|
687
759
|
* Describes the message toshi.workspace.v1.ListRecordingShareLinksResponse.
|
|
@@ -889,6 +961,8 @@ export declare const RecordingService: GenService<{
|
|
|
889
961
|
* its test framework's recording, so an attempt may have several. Never
|
|
890
962
|
* a URL.
|
|
891
963
|
*
|
|
964
|
+
* A page holds 100 recordings when page_size is zero, and 1000 at most.
|
|
965
|
+
*
|
|
892
966
|
* @generated from rpc toshi.workspace.v1.RecordingService.ListRecordings
|
|
893
967
|
*/
|
|
894
968
|
listRecordings: {
|
|
@@ -927,6 +1001,8 @@ export declare const RecordingService: GenService<{
|
|
|
927
1001
|
* ListRecordingShareLinks returns a recording's share links, oldest
|
|
928
1002
|
* first, without the links themselves.
|
|
929
1003
|
*
|
|
1004
|
+
* A page holds 100 share links when page_size is zero, and 1000 at most.
|
|
1005
|
+
*
|
|
930
1006
|
* @generated from rpc toshi.workspace.v1.RecordingService.ListRecordingShareLinks
|
|
931
1007
|
*/
|
|
932
1008
|
listRecordingShareLinks: {
|
|
@@ -6,7 +6,7 @@ import { file_google_protobuf_duration, file_google_protobuf_timestamp } from "@
|
|
|
6
6
|
/**
|
|
7
7
|
* Describes the file toshi/workspace/v1/recordings.proto.
|
|
8
8
|
*/
|
|
9
|
-
export const file_toshi_workspace_v1_recordings = /*@__PURE__*/ fileDesc("
|
|
9
|
+
export const file_toshi_workspace_v1_recordings = /*@__P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WIuY29tL3Rvc2hpY2xvdWQvdG9zaGktYXBpL3dvcmtzcGFjZXYxYgZwcm90bzM", [file_google_protobuf_duration, file_google_protobuf_timestamp]);
|
|
10
10
|
/**
|
|
11
11
|
* Describes the message toshi.workspace.v1.Recording.
|
|
12
12
|
* Use `create(RecordingSchema)` to create a new message.
|
|
@@ -283,6 +283,18 @@ export type ListSecretSetsRequest = Message<"toshi.workspace.v1.ListSecretSetsRe
|
|
|
283
283
|
* @generated from field: string project = 1;
|
|
284
284
|
*/
|
|
285
285
|
project: string;
|
|
286
|
+
/**
|
|
287
|
+
* The most sets in one page; zero lets the server choose.
|
|
288
|
+
*
|
|
289
|
+
* @generated from field: int32 page_size = 2;
|
|
290
|
+
*/
|
|
291
|
+
pageSize: number;
|
|
292
|
+
/**
|
|
293
|
+
* From an earlier response's next_page_token; empty for the first page.
|
|
294
|
+
*
|
|
295
|
+
* @generated from field: string page_token = 3;
|
|
296
|
+
*/
|
|
297
|
+
pageToken: string;
|
|
286
298
|
};
|
|
287
299
|
/**
|
|
288
300
|
* @generated from message toshi.workspace.v1.ListSecretSetsRequest
|
|
@@ -292,6 +304,18 @@ export type ListSecretSetsRequestJson = {
|
|
|
292
304
|
* @generated from field: string project = 1;
|
|
293
305
|
*/
|
|
294
306
|
project?: string;
|
|
307
|
+
/**
|
|
308
|
+
* The most sets in one page; zero lets the server choose.
|
|
309
|
+
*
|
|
310
|
+
* @generated from field: int32 page_size = 2;
|
|
311
|
+
*/
|
|
312
|
+
pageSize?: number;
|
|
313
|
+
/**
|
|
314
|
+
* From an earlier response's next_page_token; empty for the first page.
|
|
315
|
+
*
|
|
316
|
+
* @generated from field: string page_token = 3;
|
|
317
|
+
*/
|
|
318
|
+
pageToken?: string;
|
|
295
319
|
};
|
|
296
320
|
/**
|
|
297
321
|
* Describes the message toshi.workspace.v1.ListSecretSetsRequest.
|
|
@@ -308,6 +332,12 @@ export type ListSecretSetsResponse = Message<"toshi.workspace.v1.ListSecretSetsR
|
|
|
308
332
|
* @generated from field: repeated toshi.workspace.v1.SecretSet sets = 1;
|
|
309
333
|
*/
|
|
310
334
|
sets: SecretSet[];
|
|
335
|
+
/**
|
|
336
|
+
* Empty on the last page.
|
|
337
|
+
*
|
|
338
|
+
* @generated from field: string next_page_token = 2;
|
|
339
|
+
*/
|
|
340
|
+
nextPageToken: string;
|
|
311
341
|
};
|
|
312
342
|
/**
|
|
313
343
|
* @generated from message toshi.workspace.v1.ListSecretSetsResponse
|
|
@@ -317,6 +347,12 @@ export type ListSecretSetsResponseJson = {
|
|
|
317
347
|
* @generated from field: repeated toshi.workspace.v1.SecretSet sets = 1;
|
|
318
348
|
*/
|
|
319
349
|
sets?: SecretSetJson[];
|
|
350
|
+
/**
|
|
351
|
+
* Empty on the last page.
|
|
352
|
+
*
|
|
353
|
+
* @generated from field: string next_page_token = 2;
|
|
354
|
+
*/
|
|
355
|
+
nextPageToken?: string;
|
|
320
356
|
};
|
|
321
357
|
/**
|
|
322
358
|
* Describes the message toshi.workspace.v1.ListSecretSetsResponse.
|
|
@@ -382,9 +418,9 @@ export declare const DeleteSecretSetResponseSchema: GenMessage<DeleteSecretSetRe
|
|
|
382
418
|
jsonType: DeleteSecretSetResponseJson;
|
|
383
419
|
}>;
|
|
384
420
|
/**
|
|
385
|
-
* @generated from message toshi.workspace.v1.
|
|
421
|
+
* @generated from message toshi.workspace.v1.PutSecretRequest
|
|
386
422
|
*/
|
|
387
|
-
export type
|
|
423
|
+
export type PutSecretRequest = Message<"toshi.workspace.v1.PutSecretRequest"> & {
|
|
388
424
|
/**
|
|
389
425
|
* @generated from field: string project = 1;
|
|
390
426
|
*/
|
|
@@ -410,9 +446,9 @@ export type SetSecretRequest = Message<"toshi.workspace.v1.SetSecretRequest"> &
|
|
|
410
446
|
value: Uint8Array;
|
|
411
447
|
};
|
|
412
448
|
/**
|
|
413
|
-
* @generated from message toshi.workspace.v1.
|
|
449
|
+
* @generated from message toshi.workspace.v1.PutSecretRequest
|
|
414
450
|
*/
|
|
415
|
-
export type
|
|
451
|
+
export type PutSecretRequestJson = {
|
|
416
452
|
/**
|
|
417
453
|
* @generated from field: string project = 1;
|
|
418
454
|
*/
|
|
@@ -438,36 +474,36 @@ export type SetSecretRequestJson = {
|
|
|
438
474
|
value?: string;
|
|
439
475
|
};
|
|
440
476
|
/**
|
|
441
|
-
* Describes the message toshi.workspace.v1.
|
|
442
|
-
* Use `create(
|
|
477
|
+
* Describes the message toshi.workspace.v1.PutSecretRequest.
|
|
478
|
+
* Use `create(PutSecretRequestSchema)` to create a new message.
|
|
443
479
|
*/
|
|
444
|
-
export declare const
|
|
445
|
-
jsonType:
|
|
480
|
+
export declare const PutSecretRequestSchema: GenMessage<PutSecretRequest, {
|
|
481
|
+
jsonType: PutSecretRequestJson;
|
|
446
482
|
}>;
|
|
447
483
|
/**
|
|
448
|
-
* @generated from message toshi.workspace.v1.
|
|
484
|
+
* @generated from message toshi.workspace.v1.PutSecretResponse
|
|
449
485
|
*/
|
|
450
|
-
export type
|
|
486
|
+
export type PutSecretResponse = Message<"toshi.workspace.v1.PutSecretResponse"> & {
|
|
451
487
|
/**
|
|
452
488
|
* @generated from field: toshi.workspace.v1.Secret secret = 1;
|
|
453
489
|
*/
|
|
454
490
|
secret?: Secret | undefined;
|
|
455
491
|
};
|
|
456
492
|
/**
|
|
457
|
-
* @generated from message toshi.workspace.v1.
|
|
493
|
+
* @generated from message toshi.workspace.v1.PutSecretResponse
|
|
458
494
|
*/
|
|
459
|
-
export type
|
|
495
|
+
export type PutSecretResponseJson = {
|
|
460
496
|
/**
|
|
461
497
|
* @generated from field: toshi.workspace.v1.Secret secret = 1;
|
|
462
498
|
*/
|
|
463
499
|
secret?: SecretJson;
|
|
464
500
|
};
|
|
465
501
|
/**
|
|
466
|
-
* Describes the message toshi.workspace.v1.
|
|
467
|
-
* Use `create(
|
|
502
|
+
* Describes the message toshi.workspace.v1.PutSecretResponse.
|
|
503
|
+
* Use `create(PutSecretResponseSchema)` to create a new message.
|
|
468
504
|
*/
|
|
469
|
-
export declare const
|
|
470
|
-
jsonType:
|
|
505
|
+
export declare const PutSecretResponseSchema: GenMessage<PutSecretResponse, {
|
|
506
|
+
jsonType: PutSecretResponseJson;
|
|
471
507
|
}>;
|
|
472
508
|
/**
|
|
473
509
|
* @generated from message toshi.workspace.v1.DeleteSecretRequest
|
|
@@ -549,6 +585,18 @@ export type ListSecretsRequest = Message<"toshi.workspace.v1.ListSecretsRequest"
|
|
|
549
585
|
* @generated from field: bool shared = 3;
|
|
550
586
|
*/
|
|
551
587
|
shared: boolean;
|
|
588
|
+
/**
|
|
589
|
+
* The most keys in one page; zero lets the server choose.
|
|
590
|
+
*
|
|
591
|
+
* @generated from field: int32 page_size = 4;
|
|
592
|
+
*/
|
|
593
|
+
pageSize: number;
|
|
594
|
+
/**
|
|
595
|
+
* From an earlier response's next_page_token; empty for the first page.
|
|
596
|
+
*
|
|
597
|
+
* @generated from field: string page_token = 5;
|
|
598
|
+
*/
|
|
599
|
+
pageToken: string;
|
|
552
600
|
};
|
|
553
601
|
/**
|
|
554
602
|
* @generated from message toshi.workspace.v1.ListSecretsRequest
|
|
@@ -566,6 +614,18 @@ export type ListSecretsRequestJson = {
|
|
|
566
614
|
* @generated from field: bool shared = 3;
|
|
567
615
|
*/
|
|
568
616
|
shared?: boolean;
|
|
617
|
+
/**
|
|
618
|
+
* The most keys in one page; zero lets the server choose.
|
|
619
|
+
*
|
|
620
|
+
* @generated from field: int32 page_size = 4;
|
|
621
|
+
*/
|
|
622
|
+
pageSize?: number;
|
|
623
|
+
/**
|
|
624
|
+
* From an earlier response's next_page_token; empty for the first page.
|
|
625
|
+
*
|
|
626
|
+
* @generated from field: string page_token = 5;
|
|
627
|
+
*/
|
|
628
|
+
pageToken?: string;
|
|
569
629
|
};
|
|
570
630
|
/**
|
|
571
631
|
* Describes the message toshi.workspace.v1.ListSecretsRequest.
|
|
@@ -582,6 +642,12 @@ export type ListSecretsResponse = Message<"toshi.workspace.v1.ListSecretsRespons
|
|
|
582
642
|
* @generated from field: repeated toshi.workspace.v1.Secret secrets = 1;
|
|
583
643
|
*/
|
|
584
644
|
secrets: Secret[];
|
|
645
|
+
/**
|
|
646
|
+
* Empty on the last page.
|
|
647
|
+
*
|
|
648
|
+
* @generated from field: string next_page_token = 2;
|
|
649
|
+
*/
|
|
650
|
+
nextPageToken: string;
|
|
585
651
|
};
|
|
586
652
|
/**
|
|
587
653
|
* @generated from message toshi.workspace.v1.ListSecretsResponse
|
|
@@ -591,6 +657,12 @@ export type ListSecretsResponseJson = {
|
|
|
591
657
|
* @generated from field: repeated toshi.workspace.v1.Secret secrets = 1;
|
|
592
658
|
*/
|
|
593
659
|
secrets?: SecretJson[];
|
|
660
|
+
/**
|
|
661
|
+
* Empty on the last page.
|
|
662
|
+
*
|
|
663
|
+
* @generated from field: string next_page_token = 2;
|
|
664
|
+
*/
|
|
665
|
+
nextPageToken?: string;
|
|
594
666
|
};
|
|
595
667
|
/**
|
|
596
668
|
* Describes the message toshi.workspace.v1.ListSecretsResponse.
|
|
@@ -619,6 +691,18 @@ export type ListSecretVersionsRequest = Message<"toshi.workspace.v1.ListSecretVe
|
|
|
619
691
|
* @generated from field: string name = 4;
|
|
620
692
|
*/
|
|
621
693
|
name: string;
|
|
694
|
+
/**
|
|
695
|
+
* The most versions in one page; zero lets the server choose.
|
|
696
|
+
*
|
|
697
|
+
* @generated from field: int32 page_size = 5;
|
|
698
|
+
*/
|
|
699
|
+
pageSize: number;
|
|
700
|
+
/**
|
|
701
|
+
* From an earlier response's next_page_token; empty for the first page.
|
|
702
|
+
*
|
|
703
|
+
* @generated from field: string page_token = 6;
|
|
704
|
+
*/
|
|
705
|
+
pageToken: string;
|
|
622
706
|
};
|
|
623
707
|
/**
|
|
624
708
|
* @generated from message toshi.workspace.v1.ListSecretVersionsRequest
|
|
@@ -640,6 +724,18 @@ export type ListSecretVersionsRequestJson = {
|
|
|
640
724
|
* @generated from field: string name = 4;
|
|
641
725
|
*/
|
|
642
726
|
name?: string;
|
|
727
|
+
/**
|
|
728
|
+
* The most versions in one page; zero lets the server choose.
|
|
729
|
+
*
|
|
730
|
+
* @generated from field: int32 page_size = 5;
|
|
731
|
+
*/
|
|
732
|
+
pageSize?: number;
|
|
733
|
+
/**
|
|
734
|
+
* From an earlier response's next_page_token; empty for the first page.
|
|
735
|
+
*
|
|
736
|
+
* @generated from field: string page_token = 6;
|
|
737
|
+
*/
|
|
738
|
+
pageToken?: string;
|
|
643
739
|
};
|
|
644
740
|
/**
|
|
645
741
|
* Describes the message toshi.workspace.v1.ListSecretVersionsRequest.
|
|
@@ -656,6 +752,12 @@ export type ListSecretVersionsResponse = Message<"toshi.workspace.v1.ListSecretV
|
|
|
656
752
|
* @generated from field: repeated toshi.workspace.v1.SecretVersion versions = 1;
|
|
657
753
|
*/
|
|
658
754
|
versions: SecretVersion[];
|
|
755
|
+
/**
|
|
756
|
+
* Empty on the last page.
|
|
757
|
+
*
|
|
758
|
+
* @generated from field: string next_page_token = 2;
|
|
759
|
+
*/
|
|
760
|
+
nextPageToken: string;
|
|
659
761
|
};
|
|
660
762
|
/**
|
|
661
763
|
* @generated from message toshi.workspace.v1.ListSecretVersionsResponse
|
|
@@ -665,6 +767,12 @@ export type ListSecretVersionsResponseJson = {
|
|
|
665
767
|
* @generated from field: repeated toshi.workspace.v1.SecretVersion versions = 1;
|
|
666
768
|
*/
|
|
667
769
|
versions?: SecretVersionJson[];
|
|
770
|
+
/**
|
|
771
|
+
* Empty on the last page.
|
|
772
|
+
*
|
|
773
|
+
* @generated from field: string next_page_token = 2;
|
|
774
|
+
*/
|
|
775
|
+
nextPageToken?: string;
|
|
668
776
|
};
|
|
669
777
|
/**
|
|
670
778
|
* Describes the message toshi.workspace.v1.ListSecretVersionsResponse.
|
|
@@ -843,6 +951,18 @@ export type ListSecretSetGrantsRequest = Message<"toshi.workspace.v1.ListSecretS
|
|
|
843
951
|
* @generated from field: bool shared = 3;
|
|
844
952
|
*/
|
|
845
953
|
shared: boolean;
|
|
954
|
+
/**
|
|
955
|
+
* The most grants in one page; zero lets the server choose.
|
|
956
|
+
*
|
|
957
|
+
* @generated from field: int32 page_size = 4;
|
|
958
|
+
*/
|
|
959
|
+
pageSize: number;
|
|
960
|
+
/**
|
|
961
|
+
* From an earlier response's next_page_token; empty for the first page.
|
|
962
|
+
*
|
|
963
|
+
* @generated from field: string page_token = 5;
|
|
964
|
+
*/
|
|
965
|
+
pageToken: string;
|
|
846
966
|
};
|
|
847
967
|
/**
|
|
848
968
|
* @generated from message toshi.workspace.v1.ListSecretSetGrantsRequest
|
|
@@ -860,6 +980,18 @@ export type ListSecretSetGrantsRequestJson = {
|
|
|
860
980
|
* @generated from field: bool shared = 3;
|
|
861
981
|
*/
|
|
862
982
|
shared?: boolean;
|
|
983
|
+
/**
|
|
984
|
+
* The most grants in one page; zero lets the server choose.
|
|
985
|
+
*
|
|
986
|
+
* @generated from field: int32 page_size = 4;
|
|
987
|
+
*/
|
|
988
|
+
pageSize?: number;
|
|
989
|
+
/**
|
|
990
|
+
* From an earlier response's next_page_token; empty for the first page.
|
|
991
|
+
*
|
|
992
|
+
* @generated from field: string page_token = 5;
|
|
993
|
+
*/
|
|
994
|
+
pageToken?: string;
|
|
863
995
|
};
|
|
864
996
|
/**
|
|
865
997
|
* Describes the message toshi.workspace.v1.ListSecretSetGrantsRequest.
|
|
@@ -876,6 +1008,12 @@ export type ListSecretSetGrantsResponse = Message<"toshi.workspace.v1.ListSecret
|
|
|
876
1008
|
* @generated from field: repeated toshi.workspace.v1.SecretGrant grants = 1;
|
|
877
1009
|
*/
|
|
878
1010
|
grants: SecretGrant[];
|
|
1011
|
+
/**
|
|
1012
|
+
* Empty on the last page.
|
|
1013
|
+
*
|
|
1014
|
+
* @generated from field: string next_page_token = 2;
|
|
1015
|
+
*/
|
|
1016
|
+
nextPageToken: string;
|
|
879
1017
|
};
|
|
880
1018
|
/**
|
|
881
1019
|
* @generated from message toshi.workspace.v1.ListSecretSetGrantsResponse
|
|
@@ -885,6 +1023,12 @@ export type ListSecretSetGrantsResponseJson = {
|
|
|
885
1023
|
* @generated from field: repeated toshi.workspace.v1.SecretGrant grants = 1;
|
|
886
1024
|
*/
|
|
887
1025
|
grants?: SecretGrantJson[];
|
|
1026
|
+
/**
|
|
1027
|
+
* Empty on the last page.
|
|
1028
|
+
*
|
|
1029
|
+
* @generated from field: string next_page_token = 2;
|
|
1030
|
+
*/
|
|
1031
|
+
nextPageToken?: string;
|
|
888
1032
|
};
|
|
889
1033
|
/**
|
|
890
1034
|
* Describes the message toshi.workspace.v1.ListSecretSetGrantsResponse.
|
|
@@ -938,14 +1082,14 @@ export declare const SecretGranteeKindSchema: GenEnum<SecretGranteeKind, SecretG
|
|
|
938
1082
|
* AES-256-GCM under the workspace's data key before the store sees it, and
|
|
939
1083
|
* every version of a key is kept until the key or its set is deleted.
|
|
940
1084
|
*
|
|
941
|
-
* The caller's credential names the workspace, as for
|
|
1085
|
+
* The caller's credential names the workspace, as for WorkloadService.
|
|
942
1086
|
* Every request names a set by its project and either its environment or
|
|
943
1087
|
* shared, which is the project's shared set; a request that names both, or
|
|
944
1088
|
* neither, fails with INVALID_ARGUMENT. A project or environment the
|
|
945
1089
|
* workspace does not have is NOT_FOUND.
|
|
946
1090
|
*
|
|
947
1091
|
* No call returns a value: a key is answered with its name, version, size
|
|
948
|
-
* and time. The calls take no request_key: a retried
|
|
1092
|
+
* and time. The calls take no request_key: a retried PutSecret makes one
|
|
949
1093
|
* more version.
|
|
950
1094
|
*
|
|
951
1095
|
* @generated from service toshi.workspace.v1.SecretService
|
|
@@ -965,6 +1109,8 @@ export declare const SecretService: GenService<{
|
|
|
965
1109
|
/**
|
|
966
1110
|
* ListSecretSets returns the project's sets, the shared set first.
|
|
967
1111
|
*
|
|
1112
|
+
* A page holds 100 sets when page_size is zero, and 1000 at most.
|
|
1113
|
+
*
|
|
968
1114
|
* @generated from rpc toshi.workspace.v1.SecretService.ListSecretSets
|
|
969
1115
|
*/
|
|
970
1116
|
listSecretSets: {
|
|
@@ -983,18 +1129,18 @@ export declare const SecretService: GenService<{
|
|
|
983
1129
|
output: typeof DeleteSecretSetResponseSchema;
|
|
984
1130
|
};
|
|
985
1131
|
/**
|
|
986
|
-
*
|
|
1132
|
+
* PutSecret makes the key's next version, holding value, and returns the
|
|
987
1133
|
* key without it. A name is either shared or set per environment: a
|
|
988
1134
|
* shared name set in an environment's set, or an environment's name set
|
|
989
1135
|
* in the shared set, fails with FAILED_PRECONDITION. Two environments'
|
|
990
1136
|
* sets may hold the same name.
|
|
991
1137
|
*
|
|
992
|
-
* @generated from rpc toshi.workspace.v1.SecretService.
|
|
1138
|
+
* @generated from rpc toshi.workspace.v1.SecretService.PutSecret
|
|
993
1139
|
*/
|
|
994
|
-
|
|
1140
|
+
putSecret: {
|
|
995
1141
|
methodKind: "unary";
|
|
996
|
-
input: typeof
|
|
997
|
-
output: typeof
|
|
1142
|
+
input: typeof PutSecretRequestSchema;
|
|
1143
|
+
output: typeof PutSecretResponseSchema;
|
|
998
1144
|
};
|
|
999
1145
|
/**
|
|
1000
1146
|
* DeleteSecret removes the key and every version of it.
|
|
@@ -1010,6 +1156,8 @@ export declare const SecretService: GenService<{
|
|
|
1010
1156
|
* ListSecrets returns the set's keys by name, each with its newest
|
|
1011
1157
|
* version.
|
|
1012
1158
|
*
|
|
1159
|
+
* A page holds 100 keys when page_size is zero, and 1000 at most.
|
|
1160
|
+
*
|
|
1013
1161
|
* @generated from rpc toshi.workspace.v1.SecretService.ListSecrets
|
|
1014
1162
|
*/
|
|
1015
1163
|
listSecrets: {
|
|
@@ -1020,6 +1168,8 @@ export declare const SecretService: GenService<{
|
|
|
1020
1168
|
/**
|
|
1021
1169
|
* ListSecretVersions returns the key's versions, oldest first.
|
|
1022
1170
|
*
|
|
1171
|
+
* A page holds 100 versions when page_size is zero, and 1000 at most.
|
|
1172
|
+
*
|
|
1023
1173
|
* @generated from rpc toshi.workspace.v1.SecretService.ListSecretVersions
|
|
1024
1174
|
*/
|
|
1025
1175
|
listSecretVersions: {
|
|
@@ -1052,6 +1202,8 @@ export declare const SecretService: GenService<{
|
|
|
1052
1202
|
/**
|
|
1053
1203
|
* ListSecretSetGrants returns the set's grants by kind and grantee.
|
|
1054
1204
|
*
|
|
1205
|
+
* A page holds 100 grants when page_size is zero, and 1000 at most.
|
|
1206
|
+
*
|
|
1055
1207
|
* @generated from rpc toshi.workspace.v1.SecretService.ListSecretSetGrants
|
|
1056
1208
|
*/
|
|
1057
1209
|
listSecretSetGrants: {
|
|
@@ -6,7 +6,7 @@ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
|
6
6
|
/**
|
|
7
7
|
* Describes the file toshi/workspace/v1/secrets.proto.
|
|
8
8
|
*/
|
|
9
|
-
export const file_toshi_workspace_v1_secrets = /*@__PURE__*/ fileDesc("
|
|
9
|
+
export const file_toshi_workspace_v1_secrets = /*@__PURE__*/ fileDesc("CiB0b3NoaS93b3Jrc3BhY2UvdjEvc2VjcmV0cy5wcm90bxISdG9zaGkud29ya3NwYWNlLnYxInEKCVNlY3JldFNldBIPCgdwcm9qZWN0GAEgASgJEhMKC2Vudmlyb25tZW50GAIgASgJEg4KBnNoYXJlZBgDIAEoCBIuCgpjcmVhdGVkX2F0GAQgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCJlCgZTZWNyZXQSDAoEbmFtZRgBIAEoCRIPCgd2ZXJzaW9uGAIgASgDEgwKBHNpemUYAyABKAMSLgoKdXBkYXRlZF9hdBgEIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAiXgoNU2VjcmV0VmVyc2lvbhIPCgd2ZXJzaW9uGAEgASgDEgwKBHNpemUYAiABKAMSLgoKY3JlYXRlZF9hdBgDIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAigwEKC1NlY3JldEdyYW50EjMKBGtpbmQYASABKA4yJS50b3NoaS53b3Jrc3BhY2UudjEuU2VjcmV0R3Jh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jrc3BhY2UudjEuUHV0U2VjcmV0UmVzcG9uc2USYQoMRGVsZXRlU2VjcmV0EicudG9zaGkud29ya3NwYWNlLnYxLkRlbGV0ZVNlY3JldFJlcXVlc3QaKC50b3NoaS53b3Jrc3BhY2UudjEuRGVsZXRlU2VjcmV0UmVzcG9uc2USXgoLTGlzdFNlY3JldHMSJi50b3NoaS53b3Jrc3BhY2UudjEuTGlzdFNlY3JldHNSZXF1ZXN0GicudG9zaGkud29ya3NwYWNlLnYxLkxpc3RTZWNyZXRzUmVzcG9uc2UScwoSTGlzdFNlY3JldFZlcnNpb25zEi0udG9zaGkud29ya3NwYWNlLnYxLkxpc3RTZWNyZXRWZXJzaW9uc1JlcXVlc3QaLi50b3NoaS53b3Jrc3BhY2UudjEuTGlzdFNlY3JldFZlcnNpb25zUmVzcG9uc2USZwoOR3JhbnRTZWNyZXRTZXQSKS50b3NoaS53b3Jrc3BhY2UudjEuR3JhbnRTZWNyZXRTZXRSZXF1ZXN0GioudG9zaGkud29ya3NwYWNlLnYxLkdyYW50U2VjcmV0U2V0UmVzcG9uc2USagoPUmV2b2tlU2VjcmV0U2V0EioudG9zaGkud29ya3NwYWNlLnYxLlJldm9rZVNlY3JldFNldFJlcXVlc3QaKy50b3NoaS53b3Jrc3BhY2UudjEuUmV2b2tlU2VjcmV0U2V0UmVzcG9uc2USdgoTTGlzdFNlY3JldFNldEdyYW50cxIuLnRvc2hpLndvcmtzcGFjZS52MS5MaXN0U2VjcmV0U2V0R3JhbnRzUmVxdWVzdBovLnRvc2hpLndvcmtzcGFjZS52MS5MaXN0U2VjcmV0U2V0R3JhbnRzUmVzcG9uc2VCLVorZ2l0aHViLmNvbS90b3NoaWNsb3VkL3Rvc2hpLWFwaS93b3Jrc3BhY2V2MWIGcHJvdG8z", [file_google_protobuf_timestamp]);
|
|
10
10
|
/**
|
|
11
11
|
* Describes the message toshi.workspace.v1.SecretSet.
|
|
12
12
|
* Use `create(SecretSetSchema)` to create a new message.
|
|
@@ -58,15 +58,15 @@ export const DeleteSecretSetRequestSchema = /*@__PURE__*/ messageDesc(file_toshi
|
|
|
58
58
|
*/
|
|
59
59
|
export const DeleteSecretSetResponseSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_secrets, 9);
|
|
60
60
|
/**
|
|
61
|
-
* Describes the message toshi.workspace.v1.
|
|
62
|
-
* Use `create(
|
|
61
|
+
* Describes the message toshi.workspace.v1.PutSecretRequest.
|
|
62
|
+
* Use `create(PutSecretRequestSchema)` to create a new message.
|
|
63
63
|
*/
|
|
64
|
-
export const
|
|
64
|
+
export const PutSecretRequestSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_secrets, 10);
|
|
65
65
|
/**
|
|
66
|
-
* Describes the message toshi.workspace.v1.
|
|
67
|
-
* Use `create(
|
|
66
|
+
* Describes the message toshi.workspace.v1.PutSecretResponse.
|
|
67
|
+
* Use `create(PutSecretResponseSchema)` to create a new message.
|
|
68
68
|
*/
|
|
69
|
-
export const
|
|
69
|
+
export const PutSecretResponseSchema = /*@__PURE__*/ messageDesc(file_toshi_workspace_v1_secrets, 11);
|
|
70
70
|
/**
|
|
71
71
|
* Describes the message toshi.workspace.v1.DeleteSecretRequest.
|
|
72
72
|
* Use `create(DeleteSecretRequestSchema)` to create a new message.
|
|
@@ -167,14 +167,14 @@ export const SecretGranteeKindSchema = /*@__PURE__*/ enumDesc(file_toshi_workspa
|
|
|
167
167
|
* AES-256-GCM under the workspace's data key before the store sees it, and
|
|
168
168
|
* every version of a key is kept until the key or its set is deleted.
|
|
169
169
|
*
|
|
170
|
-
* The caller's credential names the workspace, as for
|
|
170
|
+
* The caller's credential names the workspace, as for WorkloadService.
|
|
171
171
|
* Every request names a set by its project and either its environment or
|
|
172
172
|
* shared, which is the project's shared set; a request that names both, or
|
|
173
173
|
* neither, fails with INVALID_ARGUMENT. A project or environment the
|
|
174
174
|
* workspace does not have is NOT_FOUND.
|
|
175
175
|
*
|
|
176
176
|
* No call returns a value: a key is answered with its name, version, size
|
|
177
|
-
* and time. The calls take no request_key: a retried
|
|
177
|
+
* and time. The calls take no request_key: a retried PutSecret makes one
|
|
178
178
|
* more version.
|
|
179
179
|
*
|
|
180
180
|
* @generated from service toshi.workspace.v1.SecretService
|