@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
|
@@ -120,6 +120,18 @@ export type ListVolumesRequest = Message<"toshi.workspace.v1.ListVolumesRequest"
|
|
|
120
120
|
* @generated from field: string project = 1;
|
|
121
121
|
*/
|
|
122
122
|
project: string;
|
|
123
|
+
/**
|
|
124
|
+
* The most volumes in one page; zero lets the server choose.
|
|
125
|
+
*
|
|
126
|
+
* @generated from field: int32 page_size = 2;
|
|
127
|
+
*/
|
|
128
|
+
pageSize: number;
|
|
129
|
+
/**
|
|
130
|
+
* From an earlier response's next_page_token; empty for the first page.
|
|
131
|
+
*
|
|
132
|
+
* @generated from field: string page_token = 3;
|
|
133
|
+
*/
|
|
134
|
+
pageToken: string;
|
|
123
135
|
};
|
|
124
136
|
/**
|
|
125
137
|
* @generated from message toshi.workspace.v1.ListVolumesRequest
|
|
@@ -129,6 +141,18 @@ export type ListVolumesRequestJson = {
|
|
|
129
141
|
* @generated from field: string project = 1;
|
|
130
142
|
*/
|
|
131
143
|
project?: string;
|
|
144
|
+
/**
|
|
145
|
+
* The most volumes in one page; zero lets the server choose.
|
|
146
|
+
*
|
|
147
|
+
* @generated from field: int32 page_size = 2;
|
|
148
|
+
*/
|
|
149
|
+
pageSize?: number;
|
|
150
|
+
/**
|
|
151
|
+
* From an earlier response's next_page_token; empty for the first page.
|
|
152
|
+
*
|
|
153
|
+
* @generated from field: string page_token = 3;
|
|
154
|
+
*/
|
|
155
|
+
pageToken?: string;
|
|
132
156
|
};
|
|
133
157
|
/**
|
|
134
158
|
* Describes the message toshi.workspace.v1.ListVolumesRequest.
|
|
@@ -145,6 +169,12 @@ export type ListVolumesResponse = Message<"toshi.workspace.v1.ListVolumesRespons
|
|
|
145
169
|
* @generated from field: repeated toshi.workspace.v1.Volume volumes = 1;
|
|
146
170
|
*/
|
|
147
171
|
volumes: Volume[];
|
|
172
|
+
/**
|
|
173
|
+
* Empty on the last page.
|
|
174
|
+
*
|
|
175
|
+
* @generated from field: string next_page_token = 2;
|
|
176
|
+
*/
|
|
177
|
+
nextPageToken: string;
|
|
148
178
|
};
|
|
149
179
|
/**
|
|
150
180
|
* @generated from message toshi.workspace.v1.ListVolumesResponse
|
|
@@ -154,6 +184,12 @@ export type ListVolumesResponseJson = {
|
|
|
154
184
|
* @generated from field: repeated toshi.workspace.v1.Volume volumes = 1;
|
|
155
185
|
*/
|
|
156
186
|
volumes?: VolumeJson[];
|
|
187
|
+
/**
|
|
188
|
+
* Empty on the last page.
|
|
189
|
+
*
|
|
190
|
+
* @generated from field: string next_page_token = 2;
|
|
191
|
+
*/
|
|
192
|
+
nextPageToken?: string;
|
|
157
193
|
};
|
|
158
194
|
/**
|
|
159
195
|
* Describes the message toshi.workspace.v1.ListVolumesResponse.
|
|
@@ -343,7 +379,7 @@ export declare const VolumeModeSchema: GenEnum<VolumeMode, VolumeModeJson>;
|
|
|
343
379
|
* a time. A state volume is mounted by one VM at a time, whichever run of
|
|
344
380
|
* its workload holds it.
|
|
345
381
|
*
|
|
346
|
-
* The caller's credential names the workspace, as for
|
|
382
|
+
* The caller's credential names the workspace, as for WorkloadService.
|
|
347
383
|
* Every request names a project; an empty one is the default project. A
|
|
348
384
|
* project the workspace does not have is NOT_FOUND, and so is a volume of
|
|
349
385
|
* another project or workspace and a workload of another workspace. With a
|
|
@@ -362,6 +398,8 @@ export declare const VolumeService: GenService<{
|
|
|
362
398
|
* ListVolumes returns the project's volumes that are not deleted,
|
|
363
399
|
* ordered by name.
|
|
364
400
|
*
|
|
401
|
+
* A page holds 100 volumes when page_size is zero, and 1000 at most.
|
|
402
|
+
*
|
|
365
403
|
* @generated from rpc toshi.workspace.v1.VolumeService.ListVolumes
|
|
366
404
|
*/
|
|
367
405
|
listVolumes: {
|
|
@@ -6,7 +6,7 @@ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
|
6
6
|
/**
|
|
7
7
|
* Describes the file toshi/workspace/v1/volumes.proto.
|
|
8
8
|
*/
|
|
9
|
-
export const file_toshi_workspace_v1_volumes = /*@__PURE__*/ fileDesc("
|
|
9
|
+
export const file_toshi_workspace_v1_volumes = /*@__PURE__*/ fileDesc("CiB0b3NoaS93b3Jrc3BhY2UvdjEvdm9sdW1lcy5wcm90bxISdG9zaGkud29ya3NwYWNlLnYxItwBCgZWb2x1bWUSCgoCaWQYASABKAkSDAoEbmFtZRgCIAEoCRIPCgdwcm9qZWN0GAMgASgJEhIKCnByb2plY3RfaWQYBCABKAkSLAoEbW9kZRgFIAEoDjIeLnRvc2hpLndvcmtzcGFjZS52MS5Wb2x1bWVNb2RlEhYKDnNpemVfY2FwX2J5dGVzGAYgASgDEi8KC2NyZWF0ZV90aW1lGAcgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIcChRhdHRhY2hlZF93b3JrbG9hZF9pZBgIIAEoCSJMChJMaXN0Vm9sdW1lc1JlcXVl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hpLndvcmtzcGFjZS52MS5EZXRhY2hWb2x1bWVSZXF1ZXN0GigudG9zaGkud29ya3NwYWNlLnYxLkRldGFjaFZvbHVtZVJlc3BvbnNlQi1aK2dpdGh1Yi5jb20vdG9zaGljbG91ZC90b3NoaS1hcGkvd29ya3NwYWNldjFiBnByb3RvMw", [file_google_protobuf_timestamp]);
|
|
10
10
|
/**
|
|
11
11
|
* Describes the message toshi.workspace.v1.Volume.
|
|
12
12
|
* Use `create(VolumeSchema)` to create a new message.
|
|
@@ -90,7 +90,7 @@ export const VolumeModeSchema = /*@__PURE__*/ enumDesc(file_toshi_workspace_v1_v
|
|
|
90
90
|
* a time. A state volume is mounted by one VM at a time, whichever run of
|
|
91
91
|
* its workload holds it.
|
|
92
92
|
*
|
|
93
|
-
* The caller's credential names the workspace, as for
|
|
93
|
+
* The caller's credential names the workspace, as for WorkloadService.
|
|
94
94
|
* Every request names a project; an empty one is the default project. A
|
|
95
95
|
* project the workspace does not have is NOT_FOUND, and so is a volume of
|
|
96
96
|
* another project or workspace and a workload of another workspace. With a
|
|
@@ -382,11 +382,37 @@ export declare const GetWebhookEndpointResponseSchema: GenMessage<GetWebhookEndp
|
|
|
382
382
|
/**
|
|
383
383
|
* @generated from message toshi.workspace.v1.ListWebhookEndpointsRequest
|
|
384
384
|
*/
|
|
385
|
-
export type ListWebhookEndpointsRequest = Message<"toshi.workspace.v1.ListWebhookEndpointsRequest"> & {
|
|
385
|
+
export type ListWebhookEndpointsRequest = Message<"toshi.workspace.v1.ListWebhookEndpointsRequest"> & {
|
|
386
|
+
/**
|
|
387
|
+
* The most endpoints in one page; zero lets the server choose.
|
|
388
|
+
*
|
|
389
|
+
* @generated from field: int32 page_size = 1;
|
|
390
|
+
*/
|
|
391
|
+
pageSize: number;
|
|
392
|
+
/**
|
|
393
|
+
* From an earlier response's next_page_token; empty for the first page.
|
|
394
|
+
*
|
|
395
|
+
* @generated from field: string page_token = 2;
|
|
396
|
+
*/
|
|
397
|
+
pageToken: string;
|
|
398
|
+
};
|
|
386
399
|
/**
|
|
387
400
|
* @generated from message toshi.workspace.v1.ListWebhookEndpointsRequest
|
|
388
401
|
*/
|
|
389
|
-
export type ListWebhookEndpointsRequestJson = {
|
|
402
|
+
export type ListWebhookEndpointsRequestJson = {
|
|
403
|
+
/**
|
|
404
|
+
* The most endpoints in one page; zero lets the server choose.
|
|
405
|
+
*
|
|
406
|
+
* @generated from field: int32 page_size = 1;
|
|
407
|
+
*/
|
|
408
|
+
pageSize?: number;
|
|
409
|
+
/**
|
|
410
|
+
* From an earlier response's next_page_token; empty for the first page.
|
|
411
|
+
*
|
|
412
|
+
* @generated from field: string page_token = 2;
|
|
413
|
+
*/
|
|
414
|
+
pageToken?: string;
|
|
415
|
+
};
|
|
390
416
|
/**
|
|
391
417
|
* Describes the message toshi.workspace.v1.ListWebhookEndpointsRequest.
|
|
392
418
|
* Use `create(ListWebhookEndpointsRequestSchema)` to create a new message.
|
|
@@ -402,6 +428,12 @@ export type ListWebhookEndpointsResponse = Message<"toshi.workspace.v1.ListWebho
|
|
|
402
428
|
* @generated from field: repeated toshi.workspace.v1.WebhookEndpoint endpoints = 1;
|
|
403
429
|
*/
|
|
404
430
|
endpoints: WebhookEndpoint[];
|
|
431
|
+
/**
|
|
432
|
+
* Empty on the last page.
|
|
433
|
+
*
|
|
434
|
+
* @generated from field: string next_page_token = 2;
|
|
435
|
+
*/
|
|
436
|
+
nextPageToken: string;
|
|
405
437
|
};
|
|
406
438
|
/**
|
|
407
439
|
* @generated from message toshi.workspace.v1.ListWebhookEndpointsResponse
|
|
@@ -411,6 +443,12 @@ export type ListWebhookEndpointsResponseJson = {
|
|
|
411
443
|
* @generated from field: repeated toshi.workspace.v1.WebhookEndpoint endpoints = 1;
|
|
412
444
|
*/
|
|
413
445
|
endpoints?: WebhookEndpointJson[];
|
|
446
|
+
/**
|
|
447
|
+
* Empty on the last page.
|
|
448
|
+
*
|
|
449
|
+
* @generated from field: string next_page_token = 2;
|
|
450
|
+
*/
|
|
451
|
+
nextPageToken?: string;
|
|
414
452
|
};
|
|
415
453
|
/**
|
|
416
454
|
* Describes the message toshi.workspace.v1.ListWebhookEndpointsResponse.
|
|
@@ -628,11 +666,13 @@ export type ListWebhookDeliveriesRequest = Message<"toshi.workspace.v1.ListWebho
|
|
|
628
666
|
*/
|
|
629
667
|
endpointId: string;
|
|
630
668
|
/**
|
|
631
|
-
*
|
|
669
|
+
* From an earlier response's next_page_token, or a delivery's cursor:
|
|
670
|
+
* the deliveries of the events after that position. Empty starts at the
|
|
671
|
+
* oldest.
|
|
632
672
|
*
|
|
633
|
-
* @generated from field: string
|
|
673
|
+
* @generated from field: string page_token = 2;
|
|
634
674
|
*/
|
|
635
|
-
|
|
675
|
+
pageToken: string;
|
|
636
676
|
/**
|
|
637
677
|
* The most deliveries in one page; zero lets the server choose.
|
|
638
678
|
*
|
|
@@ -649,11 +689,13 @@ export type ListWebhookDeliveriesRequestJson = {
|
|
|
649
689
|
*/
|
|
650
690
|
endpointId?: string;
|
|
651
691
|
/**
|
|
652
|
-
*
|
|
692
|
+
* From an earlier response's next_page_token, or a delivery's cursor:
|
|
693
|
+
* the deliveries of the events after that position. Empty starts at the
|
|
694
|
+
* oldest.
|
|
653
695
|
*
|
|
654
|
-
* @generated from field: string
|
|
696
|
+
* @generated from field: string page_token = 2;
|
|
655
697
|
*/
|
|
656
|
-
|
|
698
|
+
pageToken?: string;
|
|
657
699
|
/**
|
|
658
700
|
* The most deliveries in one page; zero lets the server choose.
|
|
659
701
|
*
|
|
@@ -677,12 +719,11 @@ export type ListWebhookDeliveriesResponse = Message<"toshi.workspace.v1.ListWebh
|
|
|
677
719
|
*/
|
|
678
720
|
deliveries: WebhookDelivery[];
|
|
679
721
|
/**
|
|
680
|
-
*
|
|
681
|
-
* there were none: pass it to the next call.
|
|
722
|
+
* Empty on the last page.
|
|
682
723
|
*
|
|
683
|
-
* @generated from field: string
|
|
724
|
+
* @generated from field: string next_page_token = 2;
|
|
684
725
|
*/
|
|
685
|
-
|
|
726
|
+
nextPageToken: string;
|
|
686
727
|
};
|
|
687
728
|
/**
|
|
688
729
|
* @generated from message toshi.workspace.v1.ListWebhookDeliveriesResponse
|
|
@@ -693,12 +734,11 @@ export type ListWebhookDeliveriesResponseJson = {
|
|
|
693
734
|
*/
|
|
694
735
|
deliveries?: WebhookDeliveryJson[];
|
|
695
736
|
/**
|
|
696
|
-
*
|
|
697
|
-
* there were none: pass it to the next call.
|
|
737
|
+
* Empty on the last page.
|
|
698
738
|
*
|
|
699
|
-
* @generated from field: string
|
|
739
|
+
* @generated from field: string next_page_token = 2;
|
|
700
740
|
*/
|
|
701
|
-
|
|
741
|
+
nextPageToken?: string;
|
|
702
742
|
};
|
|
703
743
|
/**
|
|
704
744
|
* Describes the message toshi.workspace.v1.ListWebhookDeliveriesResponse.
|
|
@@ -847,12 +887,12 @@ export declare const WebhookDeliveryStateSchema: GenEnum<WebhookDeliveryState, W
|
|
|
847
887
|
/**
|
|
848
888
|
* WebhookService manages a workspace's webhook endpoints: the URLs its
|
|
849
889
|
* events are POSTed to, signed per Standard Webhooks. The caller's credential
|
|
850
|
-
* names the workspace, as for
|
|
890
|
+
* names the workspace, as for WorkloadService. An endpoint belongs to the
|
|
851
891
|
* workspace, not to a project or environment, and is owed the events of all
|
|
852
892
|
* of them; no request names either. An endpoint of another workspace is
|
|
853
893
|
* NOT_FOUND.
|
|
854
894
|
*
|
|
855
|
-
* Every mutating call takes a request_key, with
|
|
895
|
+
* Every mutating call takes a request_key, with WorkloadService's rule: a
|
|
856
896
|
* retry with the same key and the same payload returns what the first
|
|
857
897
|
* call returned and changes nothing; the same key with a different payload
|
|
858
898
|
* fails with FAILED_PRECONDITION; an empty key means no retry protection.
|
|
@@ -893,6 +933,8 @@ export declare const WebhookService: GenService<{
|
|
|
893
933
|
/**
|
|
894
934
|
* ListWebhookEndpoints returns the workspace's endpoints in ID order.
|
|
895
935
|
*
|
|
936
|
+
* A page holds 100 endpoints when page_size is zero, and 1000 at most.
|
|
937
|
+
*
|
|
896
938
|
* @generated from rpc toshi.workspace.v1.WebhookService.ListWebhookEndpoints
|
|
897
939
|
*/
|
|
898
940
|
listWebhookEndpoints: {
|
|
@@ -944,6 +986,8 @@ export declare const WebhookService: GenService<{
|
|
|
944
986
|
* ListWebhookDeliveries returns an endpoint's deliveries in event order,
|
|
945
987
|
* a page at a time.
|
|
946
988
|
*
|
|
989
|
+
* A page holds 50 deliveries when page_size is zero, and 500 at most.
|
|
990
|
+
*
|
|
947
991
|
* @generated from rpc toshi.workspace.v1.WebhookService.ListWebhookDeliveries
|
|
948
992
|
*/
|
|
949
993
|
listWebhookDeliveries: {
|
|
@@ -6,7 +6,7 @@ import { file_google_protobuf_field_mask, file_google_protobuf_timestamp } from
|
|
|
6
6
|
/**
|
|
7
7
|
* Describes the file toshi/workspace/v1/webhook.proto.
|
|
8
8
|
*/
|
|
9
|
-
export const file_toshi_workspace_v1_webhook = /*@__PURE__*/ fileDesc("CiB0b3NoaS93b3Jrc3BhY2UvdjEvd2ViaG9vay5wcm90bxISdG9zaGkud29ya3NwYWNlLnYxIvsBCg9XZWJob29rRW5kcG9pbnQSCgoCaWQYASABKAkSCwoDdXJsGAIgASgJEg4KBmV2ZW50cxgDIAMoCRIPCgdlbmFibGVkGAQgASgIEg4KBmN1cnNvchgFIAEoCRI+
|
|
9
|
+
export const file_toshi_workspace_v1_webhook = /*@__PURE__*/ fileDesc("CiB0b3NoaS93b3Jrc3BhY2UvdjEvd2ViaG9vay5wcm90bxISdG9zaGkud29ya3NwYWNlLnYxIvsBCg9XZWJob29rRW5kcG9pbnQSCgoCaWQYASABKAkSCwoDdXJsGAIgASgJEg4KBmV2ZW50cxgDIAMoCRIPCgdlbmFibGVkGAQgASgIEg4KBmN1cnNvchgFIAEoCRI+ChpwcmV2aW91c19zZWNyZXRfZXhwaXJlc19hdBgGIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLgoKY3JlYXRlZF9hdBgHIAE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tFbmRwb2ludFJlcXVlc3QaMS50b3NoaS53b3Jrc3BhY2UudjEuVXBkYXRlV2ViaG9va0VuZHBvaW50UmVzcG9uc2USfAoVRGVsZXRlV2ViaG9va0VuZHBvaW50EjAudG9zaGkud29ya3NwYWNlLnYxLkRlbGV0ZVdlYmhvb2tFbmRwb2ludFJlcXVlc3QaMS50b3NoaS53b3Jrc3BhY2UudjEuRGVsZXRlV2ViaG9va0VuZHBvaW50UmVzcG9uc2USjgEKG1JvdGF0ZVdlYmhvb2tFbmRwb2ludFNlY3JldBI2LnRvc2hpLndvcmtzcGFjZS52MS5Sb3RhdGVXZWJob29rRW5kcG9pbnRTZWNyZXRSZXF1ZXN0GjcudG9zaGkud29ya3NwYWNlLnYxLlJvdGF0ZVdlYmhvb2tFbmRwb2ludFNlY3JldFJlc3BvbnNlEnwKFUxpc3RXZWJob29rRGVsaXZlcmllcxIwLnRvc2hpLndvcmtzcGFjZS52MS5MaXN0V2ViaG9va0RlbGl2ZXJpZXNSZXF1ZXN0GjEudG9zaGkud29ya3NwYWNlLnYxLkxpc3RXZWJob29rRGVsaXZlcmllc1Jlc3BvbnNlEnYKE1JlcGxheVdlYmhvb2tFdmVudHMSLi50b3NoaS53b3Jrc3BhY2UudjEuUmVwbGF5V2ViaG9va0V2ZW50c1JlcXVlc3QaLy50b3NoaS53b3Jrc3BhY2UudjEuUmVwbGF5V2ViaG9va0V2ZW50c1Jlc3BvbnNlQi1aK2dpdGh1Yi5jb20vdG9zaGljbG91ZC90b3NoaS1hcGkvd29ya3NwYWNldjFiBnByb3RvMw", [file_google_protobuf_field_mask, file_google_protobuf_timestamp]);
|
|
10
10
|
/**
|
|
11
11
|
* Describes the message toshi.workspace.v1.WebhookEndpoint.
|
|
12
12
|
* Use `create(WebhookEndpointSchema)` to create a new message.
|
|
@@ -132,12 +132,12 @@ export const WebhookDeliveryStateSchema = /*@__PURE__*/ enumDesc(file_toshi_work
|
|
|
132
132
|
/**
|
|
133
133
|
* WebhookService manages a workspace's webhook endpoints: the URLs its
|
|
134
134
|
* events are POSTed to, signed per Standard Webhooks. The caller's credential
|
|
135
|
-
* names the workspace, as for
|
|
135
|
+
* names the workspace, as for WorkloadService. An endpoint belongs to the
|
|
136
136
|
* workspace, not to a project or environment, and is owed the events of all
|
|
137
137
|
* of them; no request names either. An endpoint of another workspace is
|
|
138
138
|
* NOT_FOUND.
|
|
139
139
|
*
|
|
140
|
-
* Every mutating call takes a request_key, with
|
|
140
|
+
* Every mutating call takes a request_key, with WorkloadService's rule: a
|
|
141
141
|
* retry with the same key and the same payload returns what the first
|
|
142
142
|
* call returned and changes nothing; the same key with a different payload
|
|
143
143
|
* fails with FAILED_PRECONDITION; an empty key means no retry protection.
|