@slipway-systems/sdk 0.0.0-stage → 0.2.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.
@@ -0,0 +1,2368 @@
1
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { FieldMask, Timestamp } from "@bufbuild/protobuf/wkt";
3
+ import type { PageRequest, PageResponse } from "./common_pb.js";
4
+ import type { JsonObject, Message } from "@bufbuild/protobuf";
5
+ /**
6
+ * Describes the file slipway/v1/integrations.proto.
7
+ */
8
+ export declare const file_slipway_v1_integrations: GenFile;
9
+ /**
10
+ * CredentialField describes one secret or non-secret input collected when installing via a form.
11
+ *
12
+ * @generated from message slipway.v1.CredentialField
13
+ */
14
+ export type CredentialField = Message<"slipway.v1.CredentialField"> & {
15
+ /**
16
+ * @generated from field: string key = 1;
17
+ */
18
+ key: string;
19
+ /**
20
+ * @generated from field: string label = 2;
21
+ */
22
+ label: string;
23
+ /**
24
+ * @generated from field: string description = 3;
25
+ */
26
+ description: string;
27
+ /**
28
+ * true: stored in the secret store, never returned by the API
29
+ *
30
+ * @generated from field: bool secret = 4;
31
+ */
32
+ secret: boolean;
33
+ /**
34
+ * @generated from field: bool required = 5;
35
+ */
36
+ required: boolean;
37
+ /**
38
+ * @generated from field: string placeholder = 6;
39
+ */
40
+ placeholder: string;
41
+ /**
42
+ * text | password | textarea | url
43
+ *
44
+ * @generated from field: string kind = 7;
45
+ */
46
+ kind: string;
47
+ };
48
+ /**
49
+ * Describes the message slipway.v1.CredentialField.
50
+ * Use `create(CredentialFieldSchema)` to create a new message.
51
+ */
52
+ export declare const CredentialFieldSchema: GenMessage<CredentialField>;
53
+ /**
54
+ * OAuthSpec describes the authorization-code flow of a provider.
55
+ *
56
+ * @generated from message slipway.v1.OAuthSpec
57
+ */
58
+ export type OAuthSpec = Message<"slipway.v1.OAuthSpec"> & {
59
+ /**
60
+ * @generated from field: string authorize_url = 1;
61
+ */
62
+ authorizeUrl: string;
63
+ /**
64
+ * @generated from field: string token_url = 2;
65
+ */
66
+ tokenUrl: string;
67
+ /**
68
+ * @generated from field: repeated string scopes = 3;
69
+ */
70
+ scopes: string[];
71
+ /**
72
+ * @generated from field: bool pkce = 4;
73
+ */
74
+ pkce: boolean;
75
+ /**
76
+ * true when the server operator has configured a client id/secret for this provider
77
+ *
78
+ * @generated from field: bool configured = 5;
79
+ */
80
+ configured: boolean;
81
+ };
82
+ /**
83
+ * Describes the message slipway.v1.OAuthSpec.
84
+ * Use `create(OAuthSpecSchema)` to create a new message.
85
+ */
86
+ export declare const OAuthSpecSchema: GenMessage<OAuthSpec>;
87
+ /**
88
+ * ProviderManifest is the static description of a provider (DOMAIN.md: ProviderManifest).
89
+ *
90
+ * @generated from message slipway.v1.ProviderManifest
91
+ */
92
+ export type ProviderManifest = Message<"slipway.v1.ProviderManifest"> & {
93
+ /**
94
+ * slack, jira, datadog …
95
+ *
96
+ * @generated from field: string id = 1;
97
+ */
98
+ id: string;
99
+ /**
100
+ * notification | incident | issue | change | metrics | registry | feature_flags | scanner | observability
101
+ *
102
+ * @generated from field: string category = 2;
103
+ */
104
+ category: string;
105
+ /**
106
+ * @generated from field: string name = 3;
107
+ */
108
+ name: string;
109
+ /**
110
+ * @generated from field: string description = 4;
111
+ */
112
+ description: string;
113
+ /**
114
+ * @generated from field: string icon_key = 5;
115
+ */
116
+ iconKey: string;
117
+ /**
118
+ * @generated from field: string docs_url = 6;
119
+ */
120
+ docsUrl: string;
121
+ /**
122
+ * @generated from field: string vendor = 7;
123
+ */
124
+ vendor: string;
125
+ /**
126
+ * JSON Schema for non-secret config
127
+ *
128
+ * @generated from field: google.protobuf.Struct config_schema = 8;
129
+ */
130
+ configSchema?: JsonObject | undefined;
131
+ /**
132
+ * JSON Schema for subscription targets (notification providers)
133
+ *
134
+ * @generated from field: google.protobuf.Struct target_schema = 9;
135
+ */
136
+ targetSchema?: JsonObject | undefined;
137
+ /**
138
+ * @generated from field: repeated slipway.v1.CredentialField credential_fields = 10;
139
+ */
140
+ credentialFields: CredentialField[];
141
+ /**
142
+ * unset when the provider has no OAuth install
143
+ *
144
+ * @generated from field: slipway.v1.OAuthSpec oauth = 11;
145
+ */
146
+ oauth?: OAuthSpec | undefined;
147
+ /**
148
+ * notify, interactive_approvals, change_management, metrics, registry, feature_flags, issue_tracker, deploy_marker, scanner
149
+ *
150
+ * @generated from field: repeated string capabilities = 12;
151
+ */
152
+ capabilities: string[];
153
+ /**
154
+ * free | team | business | enterprise
155
+ *
156
+ * @generated from field: string min_plan = 13;
157
+ */
158
+ minPlan: string;
159
+ /**
160
+ * oauth | form
161
+ *
162
+ * @generated from field: repeated string install_modes = 14;
163
+ */
164
+ installModes: string[];
165
+ /**
166
+ * @generated from field: bool beta = 15;
167
+ */
168
+ beta: boolean;
169
+ /**
170
+ * per-capability plan overrides (e.g. change_management -> business)
171
+ *
172
+ * @generated from field: map<string, string> capability_min_plan = 16;
173
+ */
174
+ capabilityMinPlan: {
175
+ [key: string]: string;
176
+ };
177
+ /**
178
+ * event types the provider can render natively; empty means all
179
+ *
180
+ * @generated from field: repeated string event_types = 17;
181
+ */
182
+ eventTypes: string[];
183
+ };
184
+ /**
185
+ * Describes the message slipway.v1.ProviderManifest.
186
+ * Use `create(ProviderManifestSchema)` to create a new message.
187
+ */
188
+ export declare const ProviderManifestSchema: GenMessage<ProviderManifest>;
189
+ /**
190
+ * @generated from message slipway.v1.IntegrationHealth
191
+ */
192
+ export type IntegrationHealth = Message<"slipway.v1.IntegrationHealth"> & {
193
+ /**
194
+ * healthy | degraded | unhealthy | unknown
195
+ *
196
+ * @generated from field: string status = 1;
197
+ */
198
+ status: string;
199
+ /**
200
+ * @generated from field: string message = 2;
201
+ */
202
+ message: string;
203
+ /**
204
+ * @generated from field: google.protobuf.Timestamp checked_at = 3;
205
+ */
206
+ checkedAt?: Timestamp | undefined;
207
+ /**
208
+ * @generated from field: int64 latency_ms = 4;
209
+ */
210
+ latencyMs: bigint;
211
+ /**
212
+ * @generated from field: map<string, string> details = 5;
213
+ */
214
+ details: {
215
+ [key: string]: string;
216
+ };
217
+ };
218
+ /**
219
+ * Describes the message slipway.v1.IntegrationHealth.
220
+ * Use `create(IntegrationHealthSchema)` to create a new message.
221
+ */
222
+ export declare const IntegrationHealthSchema: GenMessage<IntegrationHealth>;
223
+ /**
224
+ * Integration is an installed provider instance in an org (DOMAIN.md: Integration). Secret credential
225
+ * values are never returned; credential_keys lists which keys are present.
226
+ *
227
+ * @generated from message slipway.v1.Integration
228
+ */
229
+ export type Integration = Message<"slipway.v1.Integration"> & {
230
+ /**
231
+ * @generated from field: string id = 1;
232
+ */
233
+ id: string;
234
+ /**
235
+ * @generated from field: string provider = 2;
236
+ */
237
+ provider: string;
238
+ /**
239
+ * @generated from field: string category = 3;
240
+ */
241
+ category: string;
242
+ /**
243
+ * @generated from field: string name = 4;
244
+ */
245
+ name: string;
246
+ /**
247
+ * @generated from field: google.protobuf.Struct config = 5;
248
+ */
249
+ config?: JsonObject | undefined;
250
+ /**
251
+ * active | disabled | error
252
+ *
253
+ * @generated from field: string status = 6;
254
+ */
255
+ status: string;
256
+ /**
257
+ * @generated from field: slipway.v1.IntegrationHealth health = 7;
258
+ */
259
+ health?: IntegrationHealth | undefined;
260
+ /**
261
+ * provider-side identity (Slack team id, Jira cloud id …)
262
+ *
263
+ * @generated from field: string external_id = 8;
264
+ */
265
+ externalId: string;
266
+ /**
267
+ * empty = org-wide
268
+ *
269
+ * @generated from field: string project_id = 9;
270
+ */
271
+ projectId: string;
272
+ /**
273
+ * @generated from field: string installed_by = 10;
274
+ */
275
+ installedBy: string;
276
+ /**
277
+ * @generated from field: repeated string credential_keys = 11;
278
+ */
279
+ credentialKeys: string[];
280
+ /**
281
+ * @generated from field: google.protobuf.Timestamp created_at = 12;
282
+ */
283
+ createdAt?: Timestamp | undefined;
284
+ /**
285
+ * @generated from field: google.protobuf.Timestamp updated_at = 13;
286
+ */
287
+ updatedAt?: Timestamp | undefined;
288
+ };
289
+ /**
290
+ * Describes the message slipway.v1.Integration.
291
+ * Use `create(IntegrationSchema)` to create a new message.
292
+ */
293
+ export declare const IntegrationSchema: GenMessage<Integration>;
294
+ /**
295
+ * @generated from message slipway.v1.ListProvidersRequest
296
+ */
297
+ export type ListProvidersRequest = Message<"slipway.v1.ListProvidersRequest"> & {
298
+ /**
299
+ * optional filter
300
+ *
301
+ * @generated from field: string category = 1;
302
+ */
303
+ category: string;
304
+ };
305
+ /**
306
+ * Describes the message slipway.v1.ListProvidersRequest.
307
+ * Use `create(ListProvidersRequestSchema)` to create a new message.
308
+ */
309
+ export declare const ListProvidersRequestSchema: GenMessage<ListProvidersRequest>;
310
+ /**
311
+ * @generated from message slipway.v1.ListProvidersResponse
312
+ */
313
+ export type ListProvidersResponse = Message<"slipway.v1.ListProvidersResponse"> & {
314
+ /**
315
+ * @generated from field: repeated slipway.v1.ProviderManifest items = 1;
316
+ */
317
+ items: ProviderManifest[];
318
+ };
319
+ /**
320
+ * Describes the message slipway.v1.ListProvidersResponse.
321
+ * Use `create(ListProvidersResponseSchema)` to create a new message.
322
+ */
323
+ export declare const ListProvidersResponseSchema: GenMessage<ListProvidersResponse>;
324
+ /**
325
+ * @generated from message slipway.v1.ListIntegrationsRequest
326
+ */
327
+ export type ListIntegrationsRequest = Message<"slipway.v1.ListIntegrationsRequest"> & {
328
+ /**
329
+ * @generated from field: slipway.v1.PageRequest page = 1;
330
+ */
331
+ page?: PageRequest | undefined;
332
+ /**
333
+ * @generated from field: string provider = 2;
334
+ */
335
+ provider: string;
336
+ /**
337
+ * @generated from field: string category = 3;
338
+ */
339
+ category: string;
340
+ /**
341
+ * @generated from field: string project_id = 4;
342
+ */
343
+ projectId: string;
344
+ };
345
+ /**
346
+ * Describes the message slipway.v1.ListIntegrationsRequest.
347
+ * Use `create(ListIntegrationsRequestSchema)` to create a new message.
348
+ */
349
+ export declare const ListIntegrationsRequestSchema: GenMessage<ListIntegrationsRequest>;
350
+ /**
351
+ * @generated from message slipway.v1.ListIntegrationsResponse
352
+ */
353
+ export type ListIntegrationsResponse = Message<"slipway.v1.ListIntegrationsResponse"> & {
354
+ /**
355
+ * @generated from field: repeated slipway.v1.Integration items = 1;
356
+ */
357
+ items: Integration[];
358
+ /**
359
+ * @generated from field: slipway.v1.PageResponse page = 2;
360
+ */
361
+ page?: PageResponse | undefined;
362
+ };
363
+ /**
364
+ * Describes the message slipway.v1.ListIntegrationsResponse.
365
+ * Use `create(ListIntegrationsResponseSchema)` to create a new message.
366
+ */
367
+ export declare const ListIntegrationsResponseSchema: GenMessage<ListIntegrationsResponse>;
368
+ /**
369
+ * @generated from message slipway.v1.GetIntegrationRequest
370
+ */
371
+ export type GetIntegrationRequest = Message<"slipway.v1.GetIntegrationRequest"> & {
372
+ /**
373
+ * @generated from field: string id = 1;
374
+ */
375
+ id: string;
376
+ };
377
+ /**
378
+ * Describes the message slipway.v1.GetIntegrationRequest.
379
+ * Use `create(GetIntegrationRequestSchema)` to create a new message.
380
+ */
381
+ export declare const GetIntegrationRequestSchema: GenMessage<GetIntegrationRequest>;
382
+ /**
383
+ * @generated from message slipway.v1.GetIntegrationResponse
384
+ */
385
+ export type GetIntegrationResponse = Message<"slipway.v1.GetIntegrationResponse"> & {
386
+ /**
387
+ * @generated from field: slipway.v1.Integration integration = 1;
388
+ */
389
+ integration?: Integration | undefined;
390
+ };
391
+ /**
392
+ * Describes the message slipway.v1.GetIntegrationResponse.
393
+ * Use `create(GetIntegrationResponseSchema)` to create a new message.
394
+ */
395
+ export declare const GetIntegrationResponseSchema: GenMessage<GetIntegrationResponse>;
396
+ /**
397
+ * StartInstall begins an OAuth install and returns the URL to send the browser to.
398
+ *
399
+ * @generated from message slipway.v1.StartInstallRequest
400
+ */
401
+ export type StartInstallRequest = Message<"slipway.v1.StartInstallRequest"> & {
402
+ /**
403
+ * @generated from field: string provider = 1;
404
+ */
405
+ provider: string;
406
+ /**
407
+ * @generated from field: string name = 2;
408
+ */
409
+ name: string;
410
+ /**
411
+ * SPA path to land on after the callback
412
+ *
413
+ * @generated from field: string return_to = 3;
414
+ */
415
+ returnTo: string;
416
+ /**
417
+ * non-secret config known before redirect (e.g. Jira site)
418
+ *
419
+ * @generated from field: google.protobuf.Struct config = 4;
420
+ */
421
+ config?: JsonObject | undefined;
422
+ /**
423
+ * @generated from field: string project_id = 5;
424
+ */
425
+ projectId: string;
426
+ };
427
+ /**
428
+ * Describes the message slipway.v1.StartInstallRequest.
429
+ * Use `create(StartInstallRequestSchema)` to create a new message.
430
+ */
431
+ export declare const StartInstallRequestSchema: GenMessage<StartInstallRequest>;
432
+ /**
433
+ * @generated from message slipway.v1.StartInstallResponse
434
+ */
435
+ export type StartInstallResponse = Message<"slipway.v1.StartInstallResponse"> & {
436
+ /**
437
+ * @generated from field: string authorize_url = 1;
438
+ */
439
+ authorizeUrl: string;
440
+ /**
441
+ * @generated from field: string state = 2;
442
+ */
443
+ state: string;
444
+ };
445
+ /**
446
+ * Describes the message slipway.v1.StartInstallResponse.
447
+ * Use `create(StartInstallResponseSchema)` to create a new message.
448
+ */
449
+ export declare const StartInstallResponseSchema: GenMessage<StartInstallResponse>;
450
+ /**
451
+ * CompleteInstall finishes an OAuth install when the SPA (not the server callback) received the code.
452
+ *
453
+ * @generated from message slipway.v1.CompleteInstallRequest
454
+ */
455
+ export type CompleteInstallRequest = Message<"slipway.v1.CompleteInstallRequest"> & {
456
+ /**
457
+ * @generated from field: string provider = 1;
458
+ */
459
+ provider: string;
460
+ /**
461
+ * @generated from field: string state = 2;
462
+ */
463
+ state: string;
464
+ /**
465
+ * @generated from field: string code = 3;
466
+ */
467
+ code: string;
468
+ };
469
+ /**
470
+ * Describes the message slipway.v1.CompleteInstallRequest.
471
+ * Use `create(CompleteInstallRequestSchema)` to create a new message.
472
+ */
473
+ export declare const CompleteInstallRequestSchema: GenMessage<CompleteInstallRequest>;
474
+ /**
475
+ * @generated from message slipway.v1.CompleteInstallResponse
476
+ */
477
+ export type CompleteInstallResponse = Message<"slipway.v1.CompleteInstallResponse"> & {
478
+ /**
479
+ * @generated from field: slipway.v1.Integration integration = 1;
480
+ */
481
+ integration?: Integration | undefined;
482
+ /**
483
+ * @generated from field: string return_to = 2;
484
+ */
485
+ returnTo: string;
486
+ };
487
+ /**
488
+ * Describes the message slipway.v1.CompleteInstallResponse.
489
+ * Use `create(CompleteInstallResponseSchema)` to create a new message.
490
+ */
491
+ export declare const CompleteInstallResponseSchema: GenMessage<CompleteInstallResponse>;
492
+ /**
493
+ * Install installs a provider from a form: config plus credentials.
494
+ *
495
+ * @generated from message slipway.v1.InstallRequest
496
+ */
497
+ export type InstallRequest = Message<"slipway.v1.InstallRequest"> & {
498
+ /**
499
+ * @generated from field: string provider = 1;
500
+ */
501
+ provider: string;
502
+ /**
503
+ * @generated from field: string name = 2;
504
+ */
505
+ name: string;
506
+ /**
507
+ * @generated from field: google.protobuf.Struct config = 3;
508
+ */
509
+ config?: JsonObject | undefined;
510
+ /**
511
+ * @generated from field: map<string, string> credentials = 4;
512
+ */
513
+ credentials: {
514
+ [key: string]: string;
515
+ };
516
+ /**
517
+ * @generated from field: string project_id = 5;
518
+ */
519
+ projectId: string;
520
+ };
521
+ /**
522
+ * Describes the message slipway.v1.InstallRequest.
523
+ * Use `create(InstallRequestSchema)` to create a new message.
524
+ */
525
+ export declare const InstallRequestSchema: GenMessage<InstallRequest>;
526
+ /**
527
+ * @generated from message slipway.v1.InstallResponse
528
+ */
529
+ export type InstallResponse = Message<"slipway.v1.InstallResponse"> & {
530
+ /**
531
+ * @generated from field: slipway.v1.Integration integration = 1;
532
+ */
533
+ integration?: Integration | undefined;
534
+ };
535
+ /**
536
+ * Describes the message slipway.v1.InstallResponse.
537
+ * Use `create(InstallResponseSchema)` to create a new message.
538
+ */
539
+ export declare const InstallResponseSchema: GenMessage<InstallResponse>;
540
+ /**
541
+ * @generated from message slipway.v1.UpdateIntegrationRequest
542
+ */
543
+ export type UpdateIntegrationRequest = Message<"slipway.v1.UpdateIntegrationRequest"> & {
544
+ /**
545
+ * @generated from field: string id = 1;
546
+ */
547
+ id: string;
548
+ /**
549
+ * @generated from field: string name = 2;
550
+ */
551
+ name: string;
552
+ /**
553
+ * @generated from field: google.protobuf.Struct config = 3;
554
+ */
555
+ config?: JsonObject | undefined;
556
+ /**
557
+ * merged over existing credentials; empty values are ignored
558
+ *
559
+ * @generated from field: map<string, string> credentials = 4;
560
+ */
561
+ credentials: {
562
+ [key: string]: string;
563
+ };
564
+ /**
565
+ * @generated from field: bool disabled = 5;
566
+ */
567
+ disabled: boolean;
568
+ /**
569
+ * @generated from field: google.protobuf.FieldMask update_mask = 6;
570
+ */
571
+ updateMask?: FieldMask | undefined;
572
+ };
573
+ /**
574
+ * Describes the message slipway.v1.UpdateIntegrationRequest.
575
+ * Use `create(UpdateIntegrationRequestSchema)` to create a new message.
576
+ */
577
+ export declare const UpdateIntegrationRequestSchema: GenMessage<UpdateIntegrationRequest>;
578
+ /**
579
+ * @generated from message slipway.v1.UpdateIntegrationResponse
580
+ */
581
+ export type UpdateIntegrationResponse = Message<"slipway.v1.UpdateIntegrationResponse"> & {
582
+ /**
583
+ * @generated from field: slipway.v1.Integration integration = 1;
584
+ */
585
+ integration?: Integration | undefined;
586
+ };
587
+ /**
588
+ * Describes the message slipway.v1.UpdateIntegrationResponse.
589
+ * Use `create(UpdateIntegrationResponseSchema)` to create a new message.
590
+ */
591
+ export declare const UpdateIntegrationResponseSchema: GenMessage<UpdateIntegrationResponse>;
592
+ /**
593
+ * @generated from message slipway.v1.TestIntegrationRequest
594
+ */
595
+ export type TestIntegrationRequest = Message<"slipway.v1.TestIntegrationRequest"> & {
596
+ /**
597
+ * @generated from field: string id = 1;
598
+ */
599
+ id: string;
600
+ };
601
+ /**
602
+ * Describes the message slipway.v1.TestIntegrationRequest.
603
+ * Use `create(TestIntegrationRequestSchema)` to create a new message.
604
+ */
605
+ export declare const TestIntegrationRequestSchema: GenMessage<TestIntegrationRequest>;
606
+ /**
607
+ * @generated from message slipway.v1.TestIntegrationResponse
608
+ */
609
+ export type TestIntegrationResponse = Message<"slipway.v1.TestIntegrationResponse"> & {
610
+ /**
611
+ * @generated from field: slipway.v1.IntegrationHealth health = 1;
612
+ */
613
+ health?: IntegrationHealth | undefined;
614
+ };
615
+ /**
616
+ * Describes the message slipway.v1.TestIntegrationResponse.
617
+ * Use `create(TestIntegrationResponseSchema)` to create a new message.
618
+ */
619
+ export declare const TestIntegrationResponseSchema: GenMessage<TestIntegrationResponse>;
620
+ /**
621
+ * ListTargets asks the provider for the choices behind a subscription target field (Slack channels …). Providers
622
+ * that cannot list answer supported=false and the field stays a free-text input.
623
+ *
624
+ * @generated from message slipway.v1.ListTargetsRequest
625
+ */
626
+ export type ListTargetsRequest = Message<"slipway.v1.ListTargetsRequest"> & {
627
+ /**
628
+ * integration id
629
+ *
630
+ * @generated from field: string id = 1;
631
+ */
632
+ id: string;
633
+ /**
634
+ * optional name filter
635
+ *
636
+ * @generated from field: string query = 2;
637
+ */
638
+ query: string;
639
+ };
640
+ /**
641
+ * Describes the message slipway.v1.ListTargetsRequest.
642
+ * Use `create(ListTargetsRequestSchema)` to create a new message.
643
+ */
644
+ export declare const ListTargetsRequestSchema: GenMessage<ListTargetsRequest>;
645
+ /**
646
+ * @generated from message slipway.v1.TargetOption
647
+ */
648
+ export type TargetOption = Message<"slipway.v1.TargetOption"> & {
649
+ /**
650
+ * target schema property the option is for, e.g. "channel"
651
+ *
652
+ * @generated from field: string field = 1;
653
+ */
654
+ field: string;
655
+ /**
656
+ * what to store in the target
657
+ *
658
+ * @generated from field: string value = 2;
659
+ */
660
+ value: string;
661
+ /**
662
+ * what to show
663
+ *
664
+ * @generated from field: string label = 3;
665
+ */
666
+ label: string;
667
+ /**
668
+ * @generated from field: string description = 4;
669
+ */
670
+ description: string;
671
+ };
672
+ /**
673
+ * Describes the message slipway.v1.TargetOption.
674
+ * Use `create(TargetOptionSchema)` to create a new message.
675
+ */
676
+ export declare const TargetOptionSchema: GenMessage<TargetOption>;
677
+ /**
678
+ * @generated from message slipway.v1.ListTargetsResponse
679
+ */
680
+ export type ListTargetsResponse = Message<"slipway.v1.ListTargetsResponse"> & {
681
+ /**
682
+ * @generated from field: bool supported = 1;
683
+ */
684
+ supported: boolean;
685
+ /**
686
+ * @generated from field: repeated slipway.v1.TargetOption items = 2;
687
+ */
688
+ items: TargetOption[];
689
+ };
690
+ /**
691
+ * Describes the message slipway.v1.ListTargetsResponse.
692
+ * Use `create(ListTargetsResponseSchema)` to create a new message.
693
+ */
694
+ export declare const ListTargetsResponseSchema: GenMessage<ListTargetsResponse>;
695
+ /**
696
+ * @generated from message slipway.v1.UninstallIntegrationRequest
697
+ */
698
+ export type UninstallIntegrationRequest = Message<"slipway.v1.UninstallIntegrationRequest"> & {
699
+ /**
700
+ * @generated from field: string id = 1;
701
+ */
702
+ id: string;
703
+ };
704
+ /**
705
+ * Describes the message slipway.v1.UninstallIntegrationRequest.
706
+ * Use `create(UninstallIntegrationRequestSchema)` to create a new message.
707
+ */
708
+ export declare const UninstallIntegrationRequestSchema: GenMessage<UninstallIntegrationRequest>;
709
+ /**
710
+ * @generated from message slipway.v1.UninstallIntegrationResponse
711
+ */
712
+ export type UninstallIntegrationResponse = Message<"slipway.v1.UninstallIntegrationResponse"> & {};
713
+ /**
714
+ * Describes the message slipway.v1.UninstallIntegrationResponse.
715
+ * Use `create(UninstallIntegrationResponseSchema)` to create a new message.
716
+ */
717
+ export declare const UninstallIntegrationResponseSchema: GenMessage<UninstallIntegrationResponse>;
718
+ /**
719
+ * @generated from message slipway.v1.Subscription
720
+ */
721
+ export type Subscription = Message<"slipway.v1.Subscription"> & {
722
+ /**
723
+ * @generated from field: string id = 1;
724
+ */
725
+ id: string;
726
+ /**
727
+ * @generated from field: string integration_id = 2;
728
+ */
729
+ integrationId: string;
730
+ /**
731
+ * @generated from field: string name = 3;
732
+ */
733
+ name: string;
734
+ /**
735
+ * glob patterns: "run.*", "deployment.failed", "*"
736
+ *
737
+ * @generated from field: repeated string event_types = 4;
738
+ */
739
+ eventTypes: string[];
740
+ /**
741
+ * CEL over `type`, `data`, `actor`
742
+ *
743
+ * @generated from field: string filter = 5;
744
+ */
745
+ filter: string;
746
+ /**
747
+ * optional: only events for this project
748
+ *
749
+ * @generated from field: string project_id = 6;
750
+ */
751
+ projectId: string;
752
+ /**
753
+ * provider specific: channel, routing_key, project_key …
754
+ *
755
+ * @generated from field: google.protobuf.Struct target = 7;
756
+ */
757
+ target?: JsonObject | undefined;
758
+ /**
759
+ * optional Go template overriding the default body
760
+ *
761
+ * @generated from field: string template = 8;
762
+ */
763
+ template: string;
764
+ /**
765
+ * @generated from field: bool enabled = 9;
766
+ */
767
+ enabled: boolean;
768
+ /**
769
+ * @generated from field: string created_by = 10;
770
+ */
771
+ createdBy: string;
772
+ /**
773
+ * @generated from field: google.protobuf.Timestamp created_at = 11;
774
+ */
775
+ createdAt?: Timestamp | undefined;
776
+ /**
777
+ * @generated from field: google.protobuf.Timestamp updated_at = 12;
778
+ */
779
+ updatedAt?: Timestamp | undefined;
780
+ };
781
+ /**
782
+ * Describes the message slipway.v1.Subscription.
783
+ * Use `create(SubscriptionSchema)` to create a new message.
784
+ */
785
+ export declare const SubscriptionSchema: GenMessage<Subscription>;
786
+ /**
787
+ * @generated from message slipway.v1.ListSubscriptionsRequest
788
+ */
789
+ export type ListSubscriptionsRequest = Message<"slipway.v1.ListSubscriptionsRequest"> & {
790
+ /**
791
+ * @generated from field: slipway.v1.PageRequest page = 1;
792
+ */
793
+ page?: PageRequest | undefined;
794
+ /**
795
+ * @generated from field: string integration_id = 2;
796
+ */
797
+ integrationId: string;
798
+ };
799
+ /**
800
+ * Describes the message slipway.v1.ListSubscriptionsRequest.
801
+ * Use `create(ListSubscriptionsRequestSchema)` to create a new message.
802
+ */
803
+ export declare const ListSubscriptionsRequestSchema: GenMessage<ListSubscriptionsRequest>;
804
+ /**
805
+ * @generated from message slipway.v1.ListSubscriptionsResponse
806
+ */
807
+ export type ListSubscriptionsResponse = Message<"slipway.v1.ListSubscriptionsResponse"> & {
808
+ /**
809
+ * @generated from field: repeated slipway.v1.Subscription items = 1;
810
+ */
811
+ items: Subscription[];
812
+ /**
813
+ * @generated from field: slipway.v1.PageResponse page = 2;
814
+ */
815
+ page?: PageResponse | undefined;
816
+ };
817
+ /**
818
+ * Describes the message slipway.v1.ListSubscriptionsResponse.
819
+ * Use `create(ListSubscriptionsResponseSchema)` to create a new message.
820
+ */
821
+ export declare const ListSubscriptionsResponseSchema: GenMessage<ListSubscriptionsResponse>;
822
+ /**
823
+ * @generated from message slipway.v1.CreateSubscriptionRequest
824
+ */
825
+ export type CreateSubscriptionRequest = Message<"slipway.v1.CreateSubscriptionRequest"> & {
826
+ /**
827
+ * @generated from field: slipway.v1.Subscription subscription = 1;
828
+ */
829
+ subscription?: Subscription | undefined;
830
+ };
831
+ /**
832
+ * Describes the message slipway.v1.CreateSubscriptionRequest.
833
+ * Use `create(CreateSubscriptionRequestSchema)` to create a new message.
834
+ */
835
+ export declare const CreateSubscriptionRequestSchema: GenMessage<CreateSubscriptionRequest>;
836
+ /**
837
+ * @generated from message slipway.v1.CreateSubscriptionResponse
838
+ */
839
+ export type CreateSubscriptionResponse = Message<"slipway.v1.CreateSubscriptionResponse"> & {
840
+ /**
841
+ * @generated from field: slipway.v1.Subscription subscription = 1;
842
+ */
843
+ subscription?: Subscription | undefined;
844
+ };
845
+ /**
846
+ * Describes the message slipway.v1.CreateSubscriptionResponse.
847
+ * Use `create(CreateSubscriptionResponseSchema)` to create a new message.
848
+ */
849
+ export declare const CreateSubscriptionResponseSchema: GenMessage<CreateSubscriptionResponse>;
850
+ /**
851
+ * @generated from message slipway.v1.UpdateSubscriptionRequest
852
+ */
853
+ export type UpdateSubscriptionRequest = Message<"slipway.v1.UpdateSubscriptionRequest"> & {
854
+ /**
855
+ * @generated from field: slipway.v1.Subscription subscription = 1;
856
+ */
857
+ subscription?: Subscription | undefined;
858
+ /**
859
+ * @generated from field: google.protobuf.FieldMask update_mask = 2;
860
+ */
861
+ updateMask?: FieldMask | undefined;
862
+ };
863
+ /**
864
+ * Describes the message slipway.v1.UpdateSubscriptionRequest.
865
+ * Use `create(UpdateSubscriptionRequestSchema)` to create a new message.
866
+ */
867
+ export declare const UpdateSubscriptionRequestSchema: GenMessage<UpdateSubscriptionRequest>;
868
+ /**
869
+ * @generated from message slipway.v1.UpdateSubscriptionResponse
870
+ */
871
+ export type UpdateSubscriptionResponse = Message<"slipway.v1.UpdateSubscriptionResponse"> & {
872
+ /**
873
+ * @generated from field: slipway.v1.Subscription subscription = 1;
874
+ */
875
+ subscription?: Subscription | undefined;
876
+ };
877
+ /**
878
+ * Describes the message slipway.v1.UpdateSubscriptionResponse.
879
+ * Use `create(UpdateSubscriptionResponseSchema)` to create a new message.
880
+ */
881
+ export declare const UpdateSubscriptionResponseSchema: GenMessage<UpdateSubscriptionResponse>;
882
+ /**
883
+ * @generated from message slipway.v1.DeleteSubscriptionRequest
884
+ */
885
+ export type DeleteSubscriptionRequest = Message<"slipway.v1.DeleteSubscriptionRequest"> & {
886
+ /**
887
+ * @generated from field: string id = 1;
888
+ */
889
+ id: string;
890
+ };
891
+ /**
892
+ * Describes the message slipway.v1.DeleteSubscriptionRequest.
893
+ * Use `create(DeleteSubscriptionRequestSchema)` to create a new message.
894
+ */
895
+ export declare const DeleteSubscriptionRequestSchema: GenMessage<DeleteSubscriptionRequest>;
896
+ /**
897
+ * @generated from message slipway.v1.DeleteSubscriptionResponse
898
+ */
899
+ export type DeleteSubscriptionResponse = Message<"slipway.v1.DeleteSubscriptionResponse"> & {};
900
+ /**
901
+ * Describes the message slipway.v1.DeleteSubscriptionResponse.
902
+ * Use `create(DeleteSubscriptionResponseSchema)` to create a new message.
903
+ */
904
+ export declare const DeleteSubscriptionResponseSchema: GenMessage<DeleteSubscriptionResponse>;
905
+ /**
906
+ * @generated from message slipway.v1.SendTestRequest
907
+ */
908
+ export type SendTestRequest = Message<"slipway.v1.SendTestRequest"> & {
909
+ /**
910
+ * @generated from field: string integration_id = 1;
911
+ */
912
+ integrationId: string;
913
+ /**
914
+ * optional: use this subscription's target and template
915
+ *
916
+ * @generated from field: string subscription_id = 2;
917
+ */
918
+ subscriptionId: string;
919
+ /**
920
+ * used when subscription_id is empty
921
+ *
922
+ * @generated from field: google.protobuf.Struct target = 3;
923
+ */
924
+ target?: JsonObject | undefined;
925
+ /**
926
+ * sample event to render; default deployment.succeeded
927
+ *
928
+ * @generated from field: string event_type = 4;
929
+ */
930
+ eventType: string;
931
+ };
932
+ /**
933
+ * Describes the message slipway.v1.SendTestRequest.
934
+ * Use `create(SendTestRequestSchema)` to create a new message.
935
+ */
936
+ export declare const SendTestRequestSchema: GenMessage<SendTestRequest>;
937
+ /**
938
+ * @generated from message slipway.v1.SendTestResponse
939
+ */
940
+ export type SendTestResponse = Message<"slipway.v1.SendTestResponse"> & {
941
+ /**
942
+ * @generated from field: bool ok = 1;
943
+ */
944
+ ok: boolean;
945
+ /**
946
+ * provider receipt or error text
947
+ *
948
+ * @generated from field: string message = 2;
949
+ */
950
+ message: string;
951
+ };
952
+ /**
953
+ * Describes the message slipway.v1.SendTestResponse.
954
+ * Use `create(SendTestResponseSchema)` to create a new message.
955
+ */
956
+ export declare const SendTestResponseSchema: GenMessage<SendTestResponse>;
957
+ /**
958
+ * NotificationDelivery is one attempt chain of delivering an event to a subscription target.
959
+ *
960
+ * @generated from message slipway.v1.NotificationDelivery
961
+ */
962
+ export type NotificationDelivery = Message<"slipway.v1.NotificationDelivery"> & {
963
+ /**
964
+ * @generated from field: string id = 1;
965
+ */
966
+ id: string;
967
+ /**
968
+ * @generated from field: string subscription_id = 2;
969
+ */
970
+ subscriptionId: string;
971
+ /**
972
+ * @generated from field: string integration_id = 3;
973
+ */
974
+ integrationId: string;
975
+ /**
976
+ * @generated from field: string event_id = 4;
977
+ */
978
+ eventId: string;
979
+ /**
980
+ * @generated from field: string event_type = 5;
981
+ */
982
+ eventType: string;
983
+ /**
984
+ * @generated from field: int32 attempt = 6;
985
+ */
986
+ attempt: number;
987
+ /**
988
+ * pending | succeeded | retrying | dead
989
+ *
990
+ * @generated from field: string status = 7;
991
+ */
992
+ status: string;
993
+ /**
994
+ * @generated from field: string error = 8;
995
+ */
996
+ error: string;
997
+ /**
998
+ * @generated from field: google.protobuf.Timestamp next_attempt_at = 9;
999
+ */
1000
+ nextAttemptAt?: Timestamp | undefined;
1001
+ /**
1002
+ * @generated from field: google.protobuf.Timestamp delivered_at = 10;
1003
+ */
1004
+ deliveredAt?: Timestamp | undefined;
1005
+ /**
1006
+ * @generated from field: google.protobuf.Timestamp created_at = 11;
1007
+ */
1008
+ createdAt?: Timestamp | undefined;
1009
+ };
1010
+ /**
1011
+ * Describes the message slipway.v1.NotificationDelivery.
1012
+ * Use `create(NotificationDeliverySchema)` to create a new message.
1013
+ */
1014
+ export declare const NotificationDeliverySchema: GenMessage<NotificationDelivery>;
1015
+ /**
1016
+ * @generated from message slipway.v1.ListNotificationDeliveriesRequest
1017
+ */
1018
+ export type ListNotificationDeliveriesRequest = Message<"slipway.v1.ListNotificationDeliveriesRequest"> & {
1019
+ /**
1020
+ * @generated from field: slipway.v1.PageRequest page = 1;
1021
+ */
1022
+ page?: PageRequest | undefined;
1023
+ /**
1024
+ * @generated from field: string integration_id = 2;
1025
+ */
1026
+ integrationId: string;
1027
+ /**
1028
+ * @generated from field: string subscription_id = 3;
1029
+ */
1030
+ subscriptionId: string;
1031
+ /**
1032
+ * @generated from field: string status = 4;
1033
+ */
1034
+ status: string;
1035
+ };
1036
+ /**
1037
+ * Describes the message slipway.v1.ListNotificationDeliveriesRequest.
1038
+ * Use `create(ListNotificationDeliveriesRequestSchema)` to create a new message.
1039
+ */
1040
+ export declare const ListNotificationDeliveriesRequestSchema: GenMessage<ListNotificationDeliveriesRequest>;
1041
+ /**
1042
+ * @generated from message slipway.v1.ListNotificationDeliveriesResponse
1043
+ */
1044
+ export type ListNotificationDeliveriesResponse = Message<"slipway.v1.ListNotificationDeliveriesResponse"> & {
1045
+ /**
1046
+ * @generated from field: repeated slipway.v1.NotificationDelivery items = 1;
1047
+ */
1048
+ items: NotificationDelivery[];
1049
+ /**
1050
+ * @generated from field: slipway.v1.PageResponse page = 2;
1051
+ */
1052
+ page?: PageResponse | undefined;
1053
+ };
1054
+ /**
1055
+ * Describes the message slipway.v1.ListNotificationDeliveriesResponse.
1056
+ * Use `create(ListNotificationDeliveriesResponseSchema)` to create a new message.
1057
+ */
1058
+ export declare const ListNotificationDeliveriesResponseSchema: GenMessage<ListNotificationDeliveriesResponse>;
1059
+ /**
1060
+ * @generated from message slipway.v1.RegistryTag
1061
+ */
1062
+ export type RegistryTag = Message<"slipway.v1.RegistryTag"> & {
1063
+ /**
1064
+ * @generated from field: string name = 1;
1065
+ */
1066
+ name: string;
1067
+ /**
1068
+ * @generated from field: string digest = 2;
1069
+ */
1070
+ digest: string;
1071
+ };
1072
+ /**
1073
+ * Describes the message slipway.v1.RegistryTag.
1074
+ * Use `create(RegistryTagSchema)` to create a new message.
1075
+ */
1076
+ export declare const RegistryTagSchema: GenMessage<RegistryTag>;
1077
+ /**
1078
+ * @generated from message slipway.v1.ListRegistryRepositoriesRequest
1079
+ */
1080
+ export type ListRegistryRepositoriesRequest = Message<"slipway.v1.ListRegistryRepositoriesRequest"> & {
1081
+ /**
1082
+ * @generated from field: string integration_id = 1;
1083
+ */
1084
+ integrationId: string;
1085
+ /**
1086
+ * @generated from field: string query = 2;
1087
+ */
1088
+ query: string;
1089
+ };
1090
+ /**
1091
+ * Describes the message slipway.v1.ListRegistryRepositoriesRequest.
1092
+ * Use `create(ListRegistryRepositoriesRequestSchema)` to create a new message.
1093
+ */
1094
+ export declare const ListRegistryRepositoriesRequestSchema: GenMessage<ListRegistryRepositoriesRequest>;
1095
+ /**
1096
+ * @generated from message slipway.v1.ListRegistryRepositoriesResponse
1097
+ */
1098
+ export type ListRegistryRepositoriesResponse = Message<"slipway.v1.ListRegistryRepositoriesResponse"> & {
1099
+ /**
1100
+ * @generated from field: repeated string repositories = 1;
1101
+ */
1102
+ repositories: string[];
1103
+ };
1104
+ /**
1105
+ * Describes the message slipway.v1.ListRegistryRepositoriesResponse.
1106
+ * Use `create(ListRegistryRepositoriesResponseSchema)` to create a new message.
1107
+ */
1108
+ export declare const ListRegistryRepositoriesResponseSchema: GenMessage<ListRegistryRepositoriesResponse>;
1109
+ /**
1110
+ * @generated from message slipway.v1.ListRegistryTagsRequest
1111
+ */
1112
+ export type ListRegistryTagsRequest = Message<"slipway.v1.ListRegistryTagsRequest"> & {
1113
+ /**
1114
+ * @generated from field: string integration_id = 1;
1115
+ */
1116
+ integrationId: string;
1117
+ /**
1118
+ * @generated from field: string repository = 2;
1119
+ */
1120
+ repository: string;
1121
+ /**
1122
+ * @generated from field: int32 limit = 3;
1123
+ */
1124
+ limit: number;
1125
+ /**
1126
+ * @generated from field: bool resolve_digests = 4;
1127
+ */
1128
+ resolveDigests: boolean;
1129
+ };
1130
+ /**
1131
+ * Describes the message slipway.v1.ListRegistryTagsRequest.
1132
+ * Use `create(ListRegistryTagsRequestSchema)` to create a new message.
1133
+ */
1134
+ export declare const ListRegistryTagsRequestSchema: GenMessage<ListRegistryTagsRequest>;
1135
+ /**
1136
+ * @generated from message slipway.v1.ListRegistryTagsResponse
1137
+ */
1138
+ export type ListRegistryTagsResponse = Message<"slipway.v1.ListRegistryTagsResponse"> & {
1139
+ /**
1140
+ * @generated from field: repeated slipway.v1.RegistryTag tags = 1;
1141
+ */
1142
+ tags: RegistryTag[];
1143
+ };
1144
+ /**
1145
+ * Describes the message slipway.v1.ListRegistryTagsResponse.
1146
+ * Use `create(ListRegistryTagsResponseSchema)` to create a new message.
1147
+ */
1148
+ export declare const ListRegistryTagsResponseSchema: GenMessage<ListRegistryTagsResponse>;
1149
+ /**
1150
+ * @generated from message slipway.v1.ScanFinding
1151
+ */
1152
+ export type ScanFinding = Message<"slipway.v1.ScanFinding"> & {
1153
+ /**
1154
+ * @generated from field: string id = 1;
1155
+ */
1156
+ id: string;
1157
+ /**
1158
+ * CVE-… / rule id
1159
+ *
1160
+ * @generated from field: string vuln_id = 2;
1161
+ */
1162
+ vulnId: string;
1163
+ /**
1164
+ * critical | high | medium | low | info | unknown
1165
+ *
1166
+ * @generated from field: string severity = 3;
1167
+ */
1168
+ severity: string;
1169
+ /**
1170
+ * @generated from field: string title = 4;
1171
+ */
1172
+ title: string;
1173
+ /**
1174
+ * @generated from field: string package = 5;
1175
+ */
1176
+ package: string;
1177
+ /**
1178
+ * @generated from field: string installed_version = 6;
1179
+ */
1180
+ installedVersion: string;
1181
+ /**
1182
+ * @generated from field: string fixed_version = 7;
1183
+ */
1184
+ fixedVersion: string;
1185
+ /**
1186
+ * file:line or image layer
1187
+ *
1188
+ * @generated from field: string location = 8;
1189
+ */
1190
+ location: string;
1191
+ /**
1192
+ * @generated from field: string description = 9;
1193
+ */
1194
+ description: string;
1195
+ /**
1196
+ * @generated from field: string url = 10;
1197
+ */
1198
+ url: string;
1199
+ /**
1200
+ * @generated from field: string fingerprint = 11;
1201
+ */
1202
+ fingerprint: string;
1203
+ };
1204
+ /**
1205
+ * Describes the message slipway.v1.ScanFinding.
1206
+ * Use `create(ScanFindingSchema)` to create a new message.
1207
+ */
1208
+ export declare const ScanFindingSchema: GenMessage<ScanFinding>;
1209
+ /**
1210
+ * @generated from message slipway.v1.ScanSummary
1211
+ */
1212
+ export type ScanSummary = Message<"slipway.v1.ScanSummary"> & {
1213
+ /**
1214
+ * @generated from field: int32 critical = 1;
1215
+ */
1216
+ critical: number;
1217
+ /**
1218
+ * @generated from field: int32 high = 2;
1219
+ */
1220
+ high: number;
1221
+ /**
1222
+ * @generated from field: int32 medium = 3;
1223
+ */
1224
+ medium: number;
1225
+ /**
1226
+ * @generated from field: int32 low = 4;
1227
+ */
1228
+ low: number;
1229
+ /**
1230
+ * @generated from field: int32 info = 5;
1231
+ */
1232
+ info: number;
1233
+ /**
1234
+ * @generated from field: int32 unknown = 6;
1235
+ */
1236
+ unknown: number;
1237
+ /**
1238
+ * @generated from field: int32 total = 7;
1239
+ */
1240
+ total: number;
1241
+ /**
1242
+ * @generated from field: int32 fixable = 8;
1243
+ */
1244
+ fixable: number;
1245
+ };
1246
+ /**
1247
+ * Describes the message slipway.v1.ScanSummary.
1248
+ * Use `create(ScanSummarySchema)` to create a new message.
1249
+ */
1250
+ export declare const ScanSummarySchema: GenMessage<ScanSummary>;
1251
+ /**
1252
+ * @generated from message slipway.v1.ScanReport
1253
+ */
1254
+ export type ScanReport = Message<"slipway.v1.ScanReport"> & {
1255
+ /**
1256
+ * @generated from field: string id = 1;
1257
+ */
1258
+ id: string;
1259
+ /**
1260
+ * trivy | grype | snyk | semgrep | sonarqube
1261
+ *
1262
+ * @generated from field: string tool = 2;
1263
+ */
1264
+ tool: string;
1265
+ /**
1266
+ * image ref, path or project key
1267
+ *
1268
+ * @generated from field: string target = 3;
1269
+ */
1270
+ target: string;
1271
+ /**
1272
+ * @generated from field: string project_id = 4;
1273
+ */
1274
+ projectId: string;
1275
+ /**
1276
+ * @generated from field: string run_id = 5;
1277
+ */
1278
+ runId: string;
1279
+ /**
1280
+ * @generated from field: string job_id = 6;
1281
+ */
1282
+ jobId: string;
1283
+ /**
1284
+ * @generated from field: string release_id = 7;
1285
+ */
1286
+ releaseId: string;
1287
+ /**
1288
+ * @generated from field: slipway.v1.ScanSummary summary = 8;
1289
+ */
1290
+ summary?: ScanSummary | undefined;
1291
+ /**
1292
+ * @generated from field: bool gate_passed = 9;
1293
+ */
1294
+ gatePassed: boolean;
1295
+ /**
1296
+ * @generated from field: string gate_reason = 10;
1297
+ */
1298
+ gateReason: string;
1299
+ /**
1300
+ * @generated from field: google.protobuf.Timestamp created_at = 11;
1301
+ */
1302
+ createdAt?: Timestamp | undefined;
1303
+ };
1304
+ /**
1305
+ * Describes the message slipway.v1.ScanReport.
1306
+ * Use `create(ScanReportSchema)` to create a new message.
1307
+ */
1308
+ export declare const ScanReportSchema: GenMessage<ScanReport>;
1309
+ /**
1310
+ * ScanGate is the threshold policy applied on ingestion. Zero means "no findings of this severity allowed";
1311
+ * negative means "unlimited".
1312
+ *
1313
+ * @generated from message slipway.v1.ScanGate
1314
+ */
1315
+ export type ScanGate = Message<"slipway.v1.ScanGate"> & {
1316
+ /**
1317
+ * @generated from field: int32 max_critical = 1;
1318
+ */
1319
+ maxCritical: number;
1320
+ /**
1321
+ * @generated from field: int32 max_high = 2;
1322
+ */
1323
+ maxHigh: number;
1324
+ /**
1325
+ * @generated from field: int32 max_medium = 3;
1326
+ */
1327
+ maxMedium: number;
1328
+ /**
1329
+ * @generated from field: int32 max_low = 4;
1330
+ */
1331
+ maxLow: number;
1332
+ /**
1333
+ * count only findings with a fixed version
1334
+ *
1335
+ * @generated from field: bool fixable_only = 5;
1336
+ */
1337
+ fixableOnly: boolean;
1338
+ /**
1339
+ * @generated from field: bool disabled = 6;
1340
+ */
1341
+ disabled: boolean;
1342
+ };
1343
+ /**
1344
+ * Describes the message slipway.v1.ScanGate.
1345
+ * Use `create(ScanGateSchema)` to create a new message.
1346
+ */
1347
+ export declare const ScanGateSchema: GenMessage<ScanGate>;
1348
+ /**
1349
+ * @generated from message slipway.v1.IngestScanReportRequest
1350
+ */
1351
+ export type IngestScanReportRequest = Message<"slipway.v1.IngestScanReportRequest"> & {
1352
+ /**
1353
+ * @generated from field: string tool = 1;
1354
+ */
1355
+ tool: string;
1356
+ /**
1357
+ * raw tool output (JSON)
1358
+ *
1359
+ * @generated from field: bytes report = 2;
1360
+ */
1361
+ report: Uint8Array;
1362
+ /**
1363
+ * @generated from field: string target = 3;
1364
+ */
1365
+ target: string;
1366
+ /**
1367
+ * @generated from field: string project_id = 4;
1368
+ */
1369
+ projectId: string;
1370
+ /**
1371
+ * @generated from field: string run_id = 5;
1372
+ */
1373
+ runId: string;
1374
+ /**
1375
+ * @generated from field: string job_id = 6;
1376
+ */
1377
+ jobId: string;
1378
+ /**
1379
+ * @generated from field: string release_id = 7;
1380
+ */
1381
+ releaseId: string;
1382
+ /**
1383
+ * @generated from field: slipway.v1.ScanGate gate = 8;
1384
+ */
1385
+ gate?: ScanGate | undefined;
1386
+ };
1387
+ /**
1388
+ * Describes the message slipway.v1.IngestScanReportRequest.
1389
+ * Use `create(IngestScanReportRequestSchema)` to create a new message.
1390
+ */
1391
+ export declare const IngestScanReportRequestSchema: GenMessage<IngestScanReportRequest>;
1392
+ /**
1393
+ * @generated from message slipway.v1.IngestScanReportResponse
1394
+ */
1395
+ export type IngestScanReportResponse = Message<"slipway.v1.IngestScanReportResponse"> & {
1396
+ /**
1397
+ * @generated from field: slipway.v1.ScanReport report = 1;
1398
+ */
1399
+ report?: ScanReport | undefined;
1400
+ };
1401
+ /**
1402
+ * Describes the message slipway.v1.IngestScanReportResponse.
1403
+ * Use `create(IngestScanReportResponseSchema)` to create a new message.
1404
+ */
1405
+ export declare const IngestScanReportResponseSchema: GenMessage<IngestScanReportResponse>;
1406
+ /**
1407
+ * @generated from message slipway.v1.ListScanReportsRequest
1408
+ */
1409
+ export type ListScanReportsRequest = Message<"slipway.v1.ListScanReportsRequest"> & {
1410
+ /**
1411
+ * @generated from field: slipway.v1.PageRequest page = 1;
1412
+ */
1413
+ page?: PageRequest | undefined;
1414
+ /**
1415
+ * @generated from field: string project_id = 2;
1416
+ */
1417
+ projectId: string;
1418
+ /**
1419
+ * @generated from field: string run_id = 3;
1420
+ */
1421
+ runId: string;
1422
+ /**
1423
+ * @generated from field: string release_id = 4;
1424
+ */
1425
+ releaseId: string;
1426
+ /**
1427
+ * @generated from field: string tool = 5;
1428
+ */
1429
+ tool: string;
1430
+ };
1431
+ /**
1432
+ * Describes the message slipway.v1.ListScanReportsRequest.
1433
+ * Use `create(ListScanReportsRequestSchema)` to create a new message.
1434
+ */
1435
+ export declare const ListScanReportsRequestSchema: GenMessage<ListScanReportsRequest>;
1436
+ /**
1437
+ * @generated from message slipway.v1.ListScanReportsResponse
1438
+ */
1439
+ export type ListScanReportsResponse = Message<"slipway.v1.ListScanReportsResponse"> & {
1440
+ /**
1441
+ * @generated from field: repeated slipway.v1.ScanReport items = 1;
1442
+ */
1443
+ items: ScanReport[];
1444
+ /**
1445
+ * @generated from field: slipway.v1.PageResponse page = 2;
1446
+ */
1447
+ page?: PageResponse | undefined;
1448
+ };
1449
+ /**
1450
+ * Describes the message slipway.v1.ListScanReportsResponse.
1451
+ * Use `create(ListScanReportsResponseSchema)` to create a new message.
1452
+ */
1453
+ export declare const ListScanReportsResponseSchema: GenMessage<ListScanReportsResponse>;
1454
+ /**
1455
+ * @generated from message slipway.v1.GetScanReportRequest
1456
+ */
1457
+ export type GetScanReportRequest = Message<"slipway.v1.GetScanReportRequest"> & {
1458
+ /**
1459
+ * @generated from field: string id = 1;
1460
+ */
1461
+ id: string;
1462
+ /**
1463
+ * @generated from field: slipway.v1.PageRequest findings_page = 2;
1464
+ */
1465
+ findingsPage?: PageRequest | undefined;
1466
+ /**
1467
+ * @generated from field: string min_severity = 3;
1468
+ */
1469
+ minSeverity: string;
1470
+ };
1471
+ /**
1472
+ * Describes the message slipway.v1.GetScanReportRequest.
1473
+ * Use `create(GetScanReportRequestSchema)` to create a new message.
1474
+ */
1475
+ export declare const GetScanReportRequestSchema: GenMessage<GetScanReportRequest>;
1476
+ /**
1477
+ * @generated from message slipway.v1.GetScanReportResponse
1478
+ */
1479
+ export type GetScanReportResponse = Message<"slipway.v1.GetScanReportResponse"> & {
1480
+ /**
1481
+ * @generated from field: slipway.v1.ScanReport report = 1;
1482
+ */
1483
+ report?: ScanReport | undefined;
1484
+ /**
1485
+ * @generated from field: repeated slipway.v1.ScanFinding findings = 2;
1486
+ */
1487
+ findings: ScanFinding[];
1488
+ /**
1489
+ * @generated from field: slipway.v1.PageResponse findings_page = 3;
1490
+ */
1491
+ findingsPage?: PageResponse | undefined;
1492
+ };
1493
+ /**
1494
+ * Describes the message slipway.v1.GetScanReportResponse.
1495
+ * Use `create(GetScanReportResponseSchema)` to create a new message.
1496
+ */
1497
+ export declare const GetScanReportResponseSchema: GenMessage<GetScanReportResponse>;
1498
+ /**
1499
+ * ChatLink binds a chat user id on one integration to the Slipway user that authenticated the link. Chat
1500
+ * approvals and commands act only as the linked user.
1501
+ *
1502
+ * @generated from message slipway.v1.ChatLink
1503
+ */
1504
+ export type ChatLink = Message<"slipway.v1.ChatLink"> & {
1505
+ /**
1506
+ * @generated from field: string id = 1;
1507
+ */
1508
+ id: string;
1509
+ /**
1510
+ * @generated from field: string integration_id = 2;
1511
+ */
1512
+ integrationId: string;
1513
+ /**
1514
+ * @generated from field: string provider = 3;
1515
+ */
1516
+ provider: string;
1517
+ /**
1518
+ * @generated from field: string external_id = 4;
1519
+ */
1520
+ externalId: string;
1521
+ /**
1522
+ * @generated from field: string external_name = 5;
1523
+ */
1524
+ externalName: string;
1525
+ /**
1526
+ * @generated from field: string user_id = 6;
1527
+ */
1528
+ userId: string;
1529
+ /**
1530
+ * @generated from field: google.protobuf.Timestamp created_at = 7;
1531
+ */
1532
+ createdAt?: Timestamp | undefined;
1533
+ };
1534
+ /**
1535
+ * Describes the message slipway.v1.ChatLink.
1536
+ * Use `create(ChatLinkSchema)` to create a new message.
1537
+ */
1538
+ export declare const ChatLinkSchema: GenMessage<ChatLink>;
1539
+ /**
1540
+ * @generated from message slipway.v1.CreateChatLinkCodeRequest
1541
+ */
1542
+ export type CreateChatLinkCodeRequest = Message<"slipway.v1.CreateChatLinkCodeRequest"> & {
1543
+ /**
1544
+ * @generated from field: string integration_id = 1;
1545
+ */
1546
+ integrationId: string;
1547
+ };
1548
+ /**
1549
+ * Describes the message slipway.v1.CreateChatLinkCodeRequest.
1550
+ * Use `create(CreateChatLinkCodeRequestSchema)` to create a new message.
1551
+ */
1552
+ export declare const CreateChatLinkCodeRequestSchema: GenMessage<CreateChatLinkCodeRequest>;
1553
+ /**
1554
+ * @generated from message slipway.v1.CreateChatLinkCodeResponse
1555
+ */
1556
+ export type CreateChatLinkCodeResponse = Message<"slipway.v1.CreateChatLinkCodeResponse"> & {
1557
+ /**
1558
+ * One-time code the signed-in user sends from chat as `/slipway link <code>`. Shown once; only a hash is stored.
1559
+ *
1560
+ * @generated from field: string code = 1;
1561
+ */
1562
+ code: string;
1563
+ /**
1564
+ * @generated from field: google.protobuf.Timestamp expires_at = 2;
1565
+ */
1566
+ expiresAt?: Timestamp | undefined;
1567
+ };
1568
+ /**
1569
+ * Describes the message slipway.v1.CreateChatLinkCodeResponse.
1570
+ * Use `create(CreateChatLinkCodeResponseSchema)` to create a new message.
1571
+ */
1572
+ export declare const CreateChatLinkCodeResponseSchema: GenMessage<CreateChatLinkCodeResponse>;
1573
+ /**
1574
+ * ListChatLinksRequest lists the caller's own linked chat accounts.
1575
+ *
1576
+ * @generated from message slipway.v1.ListChatLinksRequest
1577
+ */
1578
+ export type ListChatLinksRequest = Message<"slipway.v1.ListChatLinksRequest"> & {};
1579
+ /**
1580
+ * Describes the message slipway.v1.ListChatLinksRequest.
1581
+ * Use `create(ListChatLinksRequestSchema)` to create a new message.
1582
+ */
1583
+ export declare const ListChatLinksRequestSchema: GenMessage<ListChatLinksRequest>;
1584
+ /**
1585
+ * @generated from message slipway.v1.ListChatLinksResponse
1586
+ */
1587
+ export type ListChatLinksResponse = Message<"slipway.v1.ListChatLinksResponse"> & {
1588
+ /**
1589
+ * @generated from field: repeated slipway.v1.ChatLink items = 1;
1590
+ */
1591
+ items: ChatLink[];
1592
+ };
1593
+ /**
1594
+ * Describes the message slipway.v1.ListChatLinksResponse.
1595
+ * Use `create(ListChatLinksResponseSchema)` to create a new message.
1596
+ */
1597
+ export declare const ListChatLinksResponseSchema: GenMessage<ListChatLinksResponse>;
1598
+ /**
1599
+ * @generated from message slipway.v1.DeleteChatLinkRequest
1600
+ */
1601
+ export type DeleteChatLinkRequest = Message<"slipway.v1.DeleteChatLinkRequest"> & {
1602
+ /**
1603
+ * @generated from field: string id = 1;
1604
+ */
1605
+ id: string;
1606
+ };
1607
+ /**
1608
+ * Describes the message slipway.v1.DeleteChatLinkRequest.
1609
+ * Use `create(DeleteChatLinkRequestSchema)` to create a new message.
1610
+ */
1611
+ export declare const DeleteChatLinkRequestSchema: GenMessage<DeleteChatLinkRequest>;
1612
+ /**
1613
+ * @generated from message slipway.v1.DeleteChatLinkResponse
1614
+ */
1615
+ export type DeleteChatLinkResponse = Message<"slipway.v1.DeleteChatLinkResponse"> & {};
1616
+ /**
1617
+ * Describes the message slipway.v1.DeleteChatLinkResponse.
1618
+ * Use `create(DeleteChatLinkResponseSchema)` to create a new message.
1619
+ */
1620
+ export declare const DeleteChatLinkResponseSchema: GenMessage<DeleteChatLinkResponse>;
1621
+ /**
1622
+ * @generated from message slipway.v1.OutboundWebhook
1623
+ */
1624
+ export type OutboundWebhook = Message<"slipway.v1.OutboundWebhook"> & {
1625
+ /**
1626
+ * @generated from field: string id = 1;
1627
+ */
1628
+ id: string;
1629
+ /**
1630
+ * @generated from field: string name = 2;
1631
+ */
1632
+ name: string;
1633
+ /**
1634
+ * @generated from field: string url = 3;
1635
+ */
1636
+ url: string;
1637
+ /**
1638
+ * glob patterns
1639
+ *
1640
+ * @generated from field: repeated string event_types = 4;
1641
+ */
1642
+ eventTypes: string[];
1643
+ /**
1644
+ * CEL over `type`, `data`, `actor`
1645
+ *
1646
+ * @generated from field: string filter = 5;
1647
+ */
1648
+ filter: string;
1649
+ /**
1650
+ * @generated from field: bool enabled = 6;
1651
+ */
1652
+ enabled: boolean;
1653
+ /**
1654
+ * first characters of the signing secret, for identification
1655
+ *
1656
+ * @generated from field: string secret_prefix = 7;
1657
+ */
1658
+ secretPrefix: string;
1659
+ /**
1660
+ * extra static, non-secret headers
1661
+ *
1662
+ * @generated from field: map<string, string> headers = 8;
1663
+ */
1664
+ headers: {
1665
+ [key: string]: string;
1666
+ };
1667
+ /**
1668
+ * @generated from field: string project_id = 9;
1669
+ */
1670
+ projectId: string;
1671
+ /**
1672
+ * status of the most recent delivery
1673
+ *
1674
+ * @generated from field: string last_status = 10;
1675
+ */
1676
+ lastStatus: string;
1677
+ /**
1678
+ * @generated from field: google.protobuf.Timestamp last_delivery_at = 11;
1679
+ */
1680
+ lastDeliveryAt?: Timestamp | undefined;
1681
+ /**
1682
+ * @generated from field: string created_by = 12;
1683
+ */
1684
+ createdBy: string;
1685
+ /**
1686
+ * @generated from field: google.protobuf.Timestamp created_at = 13;
1687
+ */
1688
+ createdAt?: Timestamp | undefined;
1689
+ /**
1690
+ * @generated from field: google.protobuf.Timestamp updated_at = 14;
1691
+ */
1692
+ updatedAt?: Timestamp | undefined;
1693
+ };
1694
+ /**
1695
+ * Describes the message slipway.v1.OutboundWebhook.
1696
+ * Use `create(OutboundWebhookSchema)` to create a new message.
1697
+ */
1698
+ export declare const OutboundWebhookSchema: GenMessage<OutboundWebhook>;
1699
+ /**
1700
+ * @generated from message slipway.v1.WebhookDelivery
1701
+ */
1702
+ export type WebhookDelivery = Message<"slipway.v1.WebhookDelivery"> & {
1703
+ /**
1704
+ * @generated from field: string id = 1;
1705
+ */
1706
+ id: string;
1707
+ /**
1708
+ * @generated from field: string webhook_id = 2;
1709
+ */
1710
+ webhookId: string;
1711
+ /**
1712
+ * @generated from field: string event_id = 3;
1713
+ */
1714
+ eventId: string;
1715
+ /**
1716
+ * @generated from field: string event_type = 4;
1717
+ */
1718
+ eventType: string;
1719
+ /**
1720
+ * @generated from field: int32 attempt = 5;
1721
+ */
1722
+ attempt: number;
1723
+ /**
1724
+ * pending | succeeded | retrying | dead
1725
+ *
1726
+ * @generated from field: string status = 6;
1727
+ */
1728
+ status: string;
1729
+ /**
1730
+ * @generated from field: int32 response_status = 7;
1731
+ */
1732
+ responseStatus: number;
1733
+ /**
1734
+ * truncated
1735
+ *
1736
+ * @generated from field: string response_body = 8;
1737
+ */
1738
+ responseBody: string;
1739
+ /**
1740
+ * @generated from field: string error = 9;
1741
+ */
1742
+ error: string;
1743
+ /**
1744
+ * @generated from field: int64 duration_ms = 10;
1745
+ */
1746
+ durationMs: bigint;
1747
+ /**
1748
+ * @generated from field: google.protobuf.Struct payload = 11;
1749
+ */
1750
+ payload?: JsonObject | undefined;
1751
+ /**
1752
+ * @generated from field: string redelivery_of = 12;
1753
+ */
1754
+ redeliveryOf: string;
1755
+ /**
1756
+ * @generated from field: google.protobuf.Timestamp next_attempt_at = 13;
1757
+ */
1758
+ nextAttemptAt?: Timestamp | undefined;
1759
+ /**
1760
+ * @generated from field: google.protobuf.Timestamp created_at = 14;
1761
+ */
1762
+ createdAt?: Timestamp | undefined;
1763
+ };
1764
+ /**
1765
+ * Describes the message slipway.v1.WebhookDelivery.
1766
+ * Use `create(WebhookDeliverySchema)` to create a new message.
1767
+ */
1768
+ export declare const WebhookDeliverySchema: GenMessage<WebhookDelivery>;
1769
+ /**
1770
+ * @generated from message slipway.v1.ListWebhooksRequest
1771
+ */
1772
+ export type ListWebhooksRequest = Message<"slipway.v1.ListWebhooksRequest"> & {
1773
+ /**
1774
+ * @generated from field: slipway.v1.PageRequest page = 1;
1775
+ */
1776
+ page?: PageRequest | undefined;
1777
+ };
1778
+ /**
1779
+ * Describes the message slipway.v1.ListWebhooksRequest.
1780
+ * Use `create(ListWebhooksRequestSchema)` to create a new message.
1781
+ */
1782
+ export declare const ListWebhooksRequestSchema: GenMessage<ListWebhooksRequest>;
1783
+ /**
1784
+ * @generated from message slipway.v1.ListWebhooksResponse
1785
+ */
1786
+ export type ListWebhooksResponse = Message<"slipway.v1.ListWebhooksResponse"> & {
1787
+ /**
1788
+ * @generated from field: repeated slipway.v1.OutboundWebhook items = 1;
1789
+ */
1790
+ items: OutboundWebhook[];
1791
+ /**
1792
+ * @generated from field: slipway.v1.PageResponse page = 2;
1793
+ */
1794
+ page?: PageResponse | undefined;
1795
+ };
1796
+ /**
1797
+ * Describes the message slipway.v1.ListWebhooksResponse.
1798
+ * Use `create(ListWebhooksResponseSchema)` to create a new message.
1799
+ */
1800
+ export declare const ListWebhooksResponseSchema: GenMessage<ListWebhooksResponse>;
1801
+ /**
1802
+ * @generated from message slipway.v1.GetWebhookRequest
1803
+ */
1804
+ export type GetWebhookRequest = Message<"slipway.v1.GetWebhookRequest"> & {
1805
+ /**
1806
+ * @generated from field: string id = 1;
1807
+ */
1808
+ id: string;
1809
+ };
1810
+ /**
1811
+ * Describes the message slipway.v1.GetWebhookRequest.
1812
+ * Use `create(GetWebhookRequestSchema)` to create a new message.
1813
+ */
1814
+ export declare const GetWebhookRequestSchema: GenMessage<GetWebhookRequest>;
1815
+ /**
1816
+ * @generated from message slipway.v1.GetWebhookResponse
1817
+ */
1818
+ export type GetWebhookResponse = Message<"slipway.v1.GetWebhookResponse"> & {
1819
+ /**
1820
+ * @generated from field: slipway.v1.OutboundWebhook webhook = 1;
1821
+ */
1822
+ webhook?: OutboundWebhook | undefined;
1823
+ };
1824
+ /**
1825
+ * Describes the message slipway.v1.GetWebhookResponse.
1826
+ * Use `create(GetWebhookResponseSchema)` to create a new message.
1827
+ */
1828
+ export declare const GetWebhookResponseSchema: GenMessage<GetWebhookResponse>;
1829
+ /**
1830
+ * @generated from message slipway.v1.CreateWebhookRequest
1831
+ */
1832
+ export type CreateWebhookRequest = Message<"slipway.v1.CreateWebhookRequest"> & {
1833
+ /**
1834
+ * @generated from field: slipway.v1.OutboundWebhook webhook = 1;
1835
+ */
1836
+ webhook?: OutboundWebhook | undefined;
1837
+ };
1838
+ /**
1839
+ * Describes the message slipway.v1.CreateWebhookRequest.
1840
+ * Use `create(CreateWebhookRequestSchema)` to create a new message.
1841
+ */
1842
+ export declare const CreateWebhookRequestSchema: GenMessage<CreateWebhookRequest>;
1843
+ /**
1844
+ * @generated from message slipway.v1.CreateWebhookResponse
1845
+ */
1846
+ export type CreateWebhookResponse = Message<"slipway.v1.CreateWebhookResponse"> & {
1847
+ /**
1848
+ * @generated from field: slipway.v1.OutboundWebhook webhook = 1;
1849
+ */
1850
+ webhook?: OutboundWebhook | undefined;
1851
+ /**
1852
+ * returned exactly once
1853
+ *
1854
+ * @generated from field: string secret = 2;
1855
+ */
1856
+ secret: string;
1857
+ };
1858
+ /**
1859
+ * Describes the message slipway.v1.CreateWebhookResponse.
1860
+ * Use `create(CreateWebhookResponseSchema)` to create a new message.
1861
+ */
1862
+ export declare const CreateWebhookResponseSchema: GenMessage<CreateWebhookResponse>;
1863
+ /**
1864
+ * @generated from message slipway.v1.UpdateWebhookRequest
1865
+ */
1866
+ export type UpdateWebhookRequest = Message<"slipway.v1.UpdateWebhookRequest"> & {
1867
+ /**
1868
+ * @generated from field: slipway.v1.OutboundWebhook webhook = 1;
1869
+ */
1870
+ webhook?: OutboundWebhook | undefined;
1871
+ /**
1872
+ * @generated from field: google.protobuf.FieldMask update_mask = 2;
1873
+ */
1874
+ updateMask?: FieldMask | undefined;
1875
+ };
1876
+ /**
1877
+ * Describes the message slipway.v1.UpdateWebhookRequest.
1878
+ * Use `create(UpdateWebhookRequestSchema)` to create a new message.
1879
+ */
1880
+ export declare const UpdateWebhookRequestSchema: GenMessage<UpdateWebhookRequest>;
1881
+ /**
1882
+ * @generated from message slipway.v1.UpdateWebhookResponse
1883
+ */
1884
+ export type UpdateWebhookResponse = Message<"slipway.v1.UpdateWebhookResponse"> & {
1885
+ /**
1886
+ * @generated from field: slipway.v1.OutboundWebhook webhook = 1;
1887
+ */
1888
+ webhook?: OutboundWebhook | undefined;
1889
+ };
1890
+ /**
1891
+ * Describes the message slipway.v1.UpdateWebhookResponse.
1892
+ * Use `create(UpdateWebhookResponseSchema)` to create a new message.
1893
+ */
1894
+ export declare const UpdateWebhookResponseSchema: GenMessage<UpdateWebhookResponse>;
1895
+ /**
1896
+ * @generated from message slipway.v1.DeleteWebhookRequest
1897
+ */
1898
+ export type DeleteWebhookRequest = Message<"slipway.v1.DeleteWebhookRequest"> & {
1899
+ /**
1900
+ * @generated from field: string id = 1;
1901
+ */
1902
+ id: string;
1903
+ };
1904
+ /**
1905
+ * Describes the message slipway.v1.DeleteWebhookRequest.
1906
+ * Use `create(DeleteWebhookRequestSchema)` to create a new message.
1907
+ */
1908
+ export declare const DeleteWebhookRequestSchema: GenMessage<DeleteWebhookRequest>;
1909
+ /**
1910
+ * @generated from message slipway.v1.DeleteWebhookResponse
1911
+ */
1912
+ export type DeleteWebhookResponse = Message<"slipway.v1.DeleteWebhookResponse"> & {};
1913
+ /**
1914
+ * Describes the message slipway.v1.DeleteWebhookResponse.
1915
+ * Use `create(DeleteWebhookResponseSchema)` to create a new message.
1916
+ */
1917
+ export declare const DeleteWebhookResponseSchema: GenMessage<DeleteWebhookResponse>;
1918
+ /**
1919
+ * @generated from message slipway.v1.RotateWebhookSecretRequest
1920
+ */
1921
+ export type RotateWebhookSecretRequest = Message<"slipway.v1.RotateWebhookSecretRequest"> & {
1922
+ /**
1923
+ * @generated from field: string id = 1;
1924
+ */
1925
+ id: string;
1926
+ };
1927
+ /**
1928
+ * Describes the message slipway.v1.RotateWebhookSecretRequest.
1929
+ * Use `create(RotateWebhookSecretRequestSchema)` to create a new message.
1930
+ */
1931
+ export declare const RotateWebhookSecretRequestSchema: GenMessage<RotateWebhookSecretRequest>;
1932
+ /**
1933
+ * @generated from message slipway.v1.RotateWebhookSecretResponse
1934
+ */
1935
+ export type RotateWebhookSecretResponse = Message<"slipway.v1.RotateWebhookSecretResponse"> & {
1936
+ /**
1937
+ * @generated from field: slipway.v1.OutboundWebhook webhook = 1;
1938
+ */
1939
+ webhook?: OutboundWebhook | undefined;
1940
+ /**
1941
+ * returned exactly once
1942
+ *
1943
+ * @generated from field: string secret = 2;
1944
+ */
1945
+ secret: string;
1946
+ };
1947
+ /**
1948
+ * Describes the message slipway.v1.RotateWebhookSecretResponse.
1949
+ * Use `create(RotateWebhookSecretResponseSchema)` to create a new message.
1950
+ */
1951
+ export declare const RotateWebhookSecretResponseSchema: GenMessage<RotateWebhookSecretResponse>;
1952
+ /**
1953
+ * @generated from message slipway.v1.ListWebhookDeliveriesRequest
1954
+ */
1955
+ export type ListWebhookDeliveriesRequest = Message<"slipway.v1.ListWebhookDeliveriesRequest"> & {
1956
+ /**
1957
+ * @generated from field: slipway.v1.PageRequest page = 1;
1958
+ */
1959
+ page?: PageRequest | undefined;
1960
+ /**
1961
+ * @generated from field: string webhook_id = 2;
1962
+ */
1963
+ webhookId: string;
1964
+ /**
1965
+ * @generated from field: string status = 3;
1966
+ */
1967
+ status: string;
1968
+ };
1969
+ /**
1970
+ * Describes the message slipway.v1.ListWebhookDeliveriesRequest.
1971
+ * Use `create(ListWebhookDeliveriesRequestSchema)` to create a new message.
1972
+ */
1973
+ export declare const ListWebhookDeliveriesRequestSchema: GenMessage<ListWebhookDeliveriesRequest>;
1974
+ /**
1975
+ * @generated from message slipway.v1.ListWebhookDeliveriesResponse
1976
+ */
1977
+ export type ListWebhookDeliveriesResponse = Message<"slipway.v1.ListWebhookDeliveriesResponse"> & {
1978
+ /**
1979
+ * @generated from field: repeated slipway.v1.WebhookDelivery items = 1;
1980
+ */
1981
+ items: WebhookDelivery[];
1982
+ /**
1983
+ * @generated from field: slipway.v1.PageResponse page = 2;
1984
+ */
1985
+ page?: PageResponse | undefined;
1986
+ };
1987
+ /**
1988
+ * Describes the message slipway.v1.ListWebhookDeliveriesResponse.
1989
+ * Use `create(ListWebhookDeliveriesResponseSchema)` to create a new message.
1990
+ */
1991
+ export declare const ListWebhookDeliveriesResponseSchema: GenMessage<ListWebhookDeliveriesResponse>;
1992
+ /**
1993
+ * @generated from message slipway.v1.GetWebhookDeliveryRequest
1994
+ */
1995
+ export type GetWebhookDeliveryRequest = Message<"slipway.v1.GetWebhookDeliveryRequest"> & {
1996
+ /**
1997
+ * @generated from field: string id = 1;
1998
+ */
1999
+ id: string;
2000
+ };
2001
+ /**
2002
+ * Describes the message slipway.v1.GetWebhookDeliveryRequest.
2003
+ * Use `create(GetWebhookDeliveryRequestSchema)` to create a new message.
2004
+ */
2005
+ export declare const GetWebhookDeliveryRequestSchema: GenMessage<GetWebhookDeliveryRequest>;
2006
+ /**
2007
+ * @generated from message slipway.v1.GetWebhookDeliveryResponse
2008
+ */
2009
+ export type GetWebhookDeliveryResponse = Message<"slipway.v1.GetWebhookDeliveryResponse"> & {
2010
+ /**
2011
+ * @generated from field: slipway.v1.WebhookDelivery delivery = 1;
2012
+ */
2013
+ delivery?: WebhookDelivery | undefined;
2014
+ };
2015
+ /**
2016
+ * Describes the message slipway.v1.GetWebhookDeliveryResponse.
2017
+ * Use `create(GetWebhookDeliveryResponseSchema)` to create a new message.
2018
+ */
2019
+ export declare const GetWebhookDeliveryResponseSchema: GenMessage<GetWebhookDeliveryResponse>;
2020
+ /**
2021
+ * @generated from message slipway.v1.RedeliverWebhookRequest
2022
+ */
2023
+ export type RedeliverWebhookRequest = Message<"slipway.v1.RedeliverWebhookRequest"> & {
2024
+ /**
2025
+ * @generated from field: string delivery_id = 1;
2026
+ */
2027
+ deliveryId: string;
2028
+ };
2029
+ /**
2030
+ * Describes the message slipway.v1.RedeliverWebhookRequest.
2031
+ * Use `create(RedeliverWebhookRequestSchema)` to create a new message.
2032
+ */
2033
+ export declare const RedeliverWebhookRequestSchema: GenMessage<RedeliverWebhookRequest>;
2034
+ /**
2035
+ * @generated from message slipway.v1.RedeliverWebhookResponse
2036
+ */
2037
+ export type RedeliverWebhookResponse = Message<"slipway.v1.RedeliverWebhookResponse"> & {
2038
+ /**
2039
+ * the new delivery, already attempted once
2040
+ *
2041
+ * @generated from field: slipway.v1.WebhookDelivery delivery = 1;
2042
+ */
2043
+ delivery?: WebhookDelivery | undefined;
2044
+ };
2045
+ /**
2046
+ * Describes the message slipway.v1.RedeliverWebhookResponse.
2047
+ * Use `create(RedeliverWebhookResponseSchema)` to create a new message.
2048
+ */
2049
+ export declare const RedeliverWebhookResponseSchema: GenMessage<RedeliverWebhookResponse>;
2050
+ /**
2051
+ * @generated from message slipway.v1.PingWebhookRequest
2052
+ */
2053
+ export type PingWebhookRequest = Message<"slipway.v1.PingWebhookRequest"> & {
2054
+ /**
2055
+ * @generated from field: string id = 1;
2056
+ */
2057
+ id: string;
2058
+ };
2059
+ /**
2060
+ * Describes the message slipway.v1.PingWebhookRequest.
2061
+ * Use `create(PingWebhookRequestSchema)` to create a new message.
2062
+ */
2063
+ export declare const PingWebhookRequestSchema: GenMessage<PingWebhookRequest>;
2064
+ /**
2065
+ * @generated from message slipway.v1.PingWebhookResponse
2066
+ */
2067
+ export type PingWebhookResponse = Message<"slipway.v1.PingWebhookResponse"> & {
2068
+ /**
2069
+ * @generated from field: slipway.v1.WebhookDelivery delivery = 1;
2070
+ */
2071
+ delivery?: WebhookDelivery | undefined;
2072
+ };
2073
+ /**
2074
+ * Describes the message slipway.v1.PingWebhookResponse.
2075
+ * Use `create(PingWebhookResponseSchema)` to create a new message.
2076
+ */
2077
+ export declare const PingWebhookResponseSchema: GenMessage<PingWebhookResponse>;
2078
+ /**
2079
+ * IntegrationService manages providers, installed integrations, subscriptions and scanner reports.
2080
+ * Permissions: integrations.read, integrations.manage, scans.write.
2081
+ *
2082
+ * @generated from service slipway.v1.IntegrationService
2083
+ */
2084
+ export declare const IntegrationService: GenService<{
2085
+ /**
2086
+ * @generated from rpc slipway.v1.IntegrationService.ListProviders
2087
+ */
2088
+ listProviders: {
2089
+ methodKind: "unary";
2090
+ input: typeof ListProvidersRequestSchema;
2091
+ output: typeof ListProvidersResponseSchema;
2092
+ };
2093
+ /**
2094
+ * @generated from rpc slipway.v1.IntegrationService.ListIntegrations
2095
+ */
2096
+ listIntegrations: {
2097
+ methodKind: "unary";
2098
+ input: typeof ListIntegrationsRequestSchema;
2099
+ output: typeof ListIntegrationsResponseSchema;
2100
+ };
2101
+ /**
2102
+ * @generated from rpc slipway.v1.IntegrationService.GetIntegration
2103
+ */
2104
+ getIntegration: {
2105
+ methodKind: "unary";
2106
+ input: typeof GetIntegrationRequestSchema;
2107
+ output: typeof GetIntegrationResponseSchema;
2108
+ };
2109
+ /**
2110
+ * @generated from rpc slipway.v1.IntegrationService.StartInstall
2111
+ */
2112
+ startInstall: {
2113
+ methodKind: "unary";
2114
+ input: typeof StartInstallRequestSchema;
2115
+ output: typeof StartInstallResponseSchema;
2116
+ };
2117
+ /**
2118
+ * @generated from rpc slipway.v1.IntegrationService.CompleteInstall
2119
+ */
2120
+ completeInstall: {
2121
+ methodKind: "unary";
2122
+ input: typeof CompleteInstallRequestSchema;
2123
+ output: typeof CompleteInstallResponseSchema;
2124
+ };
2125
+ /**
2126
+ * @generated from rpc slipway.v1.IntegrationService.Install
2127
+ */
2128
+ install: {
2129
+ methodKind: "unary";
2130
+ input: typeof InstallRequestSchema;
2131
+ output: typeof InstallResponseSchema;
2132
+ };
2133
+ /**
2134
+ * @generated from rpc slipway.v1.IntegrationService.UpdateIntegration
2135
+ */
2136
+ updateIntegration: {
2137
+ methodKind: "unary";
2138
+ input: typeof UpdateIntegrationRequestSchema;
2139
+ output: typeof UpdateIntegrationResponseSchema;
2140
+ };
2141
+ /**
2142
+ * @generated from rpc slipway.v1.IntegrationService.TestIntegration
2143
+ */
2144
+ testIntegration: {
2145
+ methodKind: "unary";
2146
+ input: typeof TestIntegrationRequestSchema;
2147
+ output: typeof TestIntegrationResponseSchema;
2148
+ };
2149
+ /**
2150
+ * @generated from rpc slipway.v1.IntegrationService.UninstallIntegration
2151
+ */
2152
+ uninstallIntegration: {
2153
+ methodKind: "unary";
2154
+ input: typeof UninstallIntegrationRequestSchema;
2155
+ output: typeof UninstallIntegrationResponseSchema;
2156
+ };
2157
+ /**
2158
+ * @generated from rpc slipway.v1.IntegrationService.ListTargets
2159
+ */
2160
+ listTargets: {
2161
+ methodKind: "unary";
2162
+ input: typeof ListTargetsRequestSchema;
2163
+ output: typeof ListTargetsResponseSchema;
2164
+ };
2165
+ /**
2166
+ * @generated from rpc slipway.v1.IntegrationService.ListSubscriptions
2167
+ */
2168
+ listSubscriptions: {
2169
+ methodKind: "unary";
2170
+ input: typeof ListSubscriptionsRequestSchema;
2171
+ output: typeof ListSubscriptionsResponseSchema;
2172
+ };
2173
+ /**
2174
+ * @generated from rpc slipway.v1.IntegrationService.CreateSubscription
2175
+ */
2176
+ createSubscription: {
2177
+ methodKind: "unary";
2178
+ input: typeof CreateSubscriptionRequestSchema;
2179
+ output: typeof CreateSubscriptionResponseSchema;
2180
+ };
2181
+ /**
2182
+ * @generated from rpc slipway.v1.IntegrationService.UpdateSubscription
2183
+ */
2184
+ updateSubscription: {
2185
+ methodKind: "unary";
2186
+ input: typeof UpdateSubscriptionRequestSchema;
2187
+ output: typeof UpdateSubscriptionResponseSchema;
2188
+ };
2189
+ /**
2190
+ * @generated from rpc slipway.v1.IntegrationService.DeleteSubscription
2191
+ */
2192
+ deleteSubscription: {
2193
+ methodKind: "unary";
2194
+ input: typeof DeleteSubscriptionRequestSchema;
2195
+ output: typeof DeleteSubscriptionResponseSchema;
2196
+ };
2197
+ /**
2198
+ * @generated from rpc slipway.v1.IntegrationService.SendTest
2199
+ */
2200
+ sendTest: {
2201
+ methodKind: "unary";
2202
+ input: typeof SendTestRequestSchema;
2203
+ output: typeof SendTestResponseSchema;
2204
+ };
2205
+ /**
2206
+ * @generated from rpc slipway.v1.IntegrationService.ListNotificationDeliveries
2207
+ */
2208
+ listNotificationDeliveries: {
2209
+ methodKind: "unary";
2210
+ input: typeof ListNotificationDeliveriesRequestSchema;
2211
+ output: typeof ListNotificationDeliveriesResponseSchema;
2212
+ };
2213
+ /**
2214
+ * @generated from rpc slipway.v1.IntegrationService.ListRegistryRepositories
2215
+ */
2216
+ listRegistryRepositories: {
2217
+ methodKind: "unary";
2218
+ input: typeof ListRegistryRepositoriesRequestSchema;
2219
+ output: typeof ListRegistryRepositoriesResponseSchema;
2220
+ };
2221
+ /**
2222
+ * @generated from rpc slipway.v1.IntegrationService.ListRegistryTags
2223
+ */
2224
+ listRegistryTags: {
2225
+ methodKind: "unary";
2226
+ input: typeof ListRegistryTagsRequestSchema;
2227
+ output: typeof ListRegistryTagsResponseSchema;
2228
+ };
2229
+ /**
2230
+ * @generated from rpc slipway.v1.IntegrationService.IngestScanReport
2231
+ */
2232
+ ingestScanReport: {
2233
+ methodKind: "unary";
2234
+ input: typeof IngestScanReportRequestSchema;
2235
+ output: typeof IngestScanReportResponseSchema;
2236
+ };
2237
+ /**
2238
+ * @generated from rpc slipway.v1.IntegrationService.ListScanReports
2239
+ */
2240
+ listScanReports: {
2241
+ methodKind: "unary";
2242
+ input: typeof ListScanReportsRequestSchema;
2243
+ output: typeof ListScanReportsResponseSchema;
2244
+ };
2245
+ /**
2246
+ * @generated from rpc slipway.v1.IntegrationService.GetScanReport
2247
+ */
2248
+ getScanReport: {
2249
+ methodKind: "unary";
2250
+ input: typeof GetScanReportRequestSchema;
2251
+ output: typeof GetScanReportResponseSchema;
2252
+ };
2253
+ /**
2254
+ * Chat account linking. Callable only by a signed-in user session (not tokens or service accounts); no
2255
+ * integrations.* permission is needed to manage one's own links.
2256
+ *
2257
+ * @generated from rpc slipway.v1.IntegrationService.CreateChatLinkCode
2258
+ */
2259
+ createChatLinkCode: {
2260
+ methodKind: "unary";
2261
+ input: typeof CreateChatLinkCodeRequestSchema;
2262
+ output: typeof CreateChatLinkCodeResponseSchema;
2263
+ };
2264
+ /**
2265
+ * @generated from rpc slipway.v1.IntegrationService.ListChatLinks
2266
+ */
2267
+ listChatLinks: {
2268
+ methodKind: "unary";
2269
+ input: typeof ListChatLinksRequestSchema;
2270
+ output: typeof ListChatLinksResponseSchema;
2271
+ };
2272
+ /**
2273
+ * @generated from rpc slipway.v1.IntegrationService.DeleteChatLink
2274
+ */
2275
+ deleteChatLink: {
2276
+ methodKind: "unary";
2277
+ input: typeof DeleteChatLinkRequestSchema;
2278
+ output: typeof DeleteChatLinkResponseSchema;
2279
+ };
2280
+ }>;
2281
+ /**
2282
+ * WebhookService manages generic outbound webhooks (HMAC-signed with X-Slipway-Signature).
2283
+ * Permissions: webhooks.read, webhooks.manage.
2284
+ *
2285
+ * @generated from service slipway.v1.WebhookService
2286
+ */
2287
+ export declare const WebhookService: GenService<{
2288
+ /**
2289
+ * @generated from rpc slipway.v1.WebhookService.ListWebhooks
2290
+ */
2291
+ listWebhooks: {
2292
+ methodKind: "unary";
2293
+ input: typeof ListWebhooksRequestSchema;
2294
+ output: typeof ListWebhooksResponseSchema;
2295
+ };
2296
+ /**
2297
+ * @generated from rpc slipway.v1.WebhookService.GetWebhook
2298
+ */
2299
+ getWebhook: {
2300
+ methodKind: "unary";
2301
+ input: typeof GetWebhookRequestSchema;
2302
+ output: typeof GetWebhookResponseSchema;
2303
+ };
2304
+ /**
2305
+ * @generated from rpc slipway.v1.WebhookService.CreateWebhook
2306
+ */
2307
+ createWebhook: {
2308
+ methodKind: "unary";
2309
+ input: typeof CreateWebhookRequestSchema;
2310
+ output: typeof CreateWebhookResponseSchema;
2311
+ };
2312
+ /**
2313
+ * @generated from rpc slipway.v1.WebhookService.UpdateWebhook
2314
+ */
2315
+ updateWebhook: {
2316
+ methodKind: "unary";
2317
+ input: typeof UpdateWebhookRequestSchema;
2318
+ output: typeof UpdateWebhookResponseSchema;
2319
+ };
2320
+ /**
2321
+ * @generated from rpc slipway.v1.WebhookService.DeleteWebhook
2322
+ */
2323
+ deleteWebhook: {
2324
+ methodKind: "unary";
2325
+ input: typeof DeleteWebhookRequestSchema;
2326
+ output: typeof DeleteWebhookResponseSchema;
2327
+ };
2328
+ /**
2329
+ * @generated from rpc slipway.v1.WebhookService.RotateWebhookSecret
2330
+ */
2331
+ rotateWebhookSecret: {
2332
+ methodKind: "unary";
2333
+ input: typeof RotateWebhookSecretRequestSchema;
2334
+ output: typeof RotateWebhookSecretResponseSchema;
2335
+ };
2336
+ /**
2337
+ * @generated from rpc slipway.v1.WebhookService.ListWebhookDeliveries
2338
+ */
2339
+ listWebhookDeliveries: {
2340
+ methodKind: "unary";
2341
+ input: typeof ListWebhookDeliveriesRequestSchema;
2342
+ output: typeof ListWebhookDeliveriesResponseSchema;
2343
+ };
2344
+ /**
2345
+ * @generated from rpc slipway.v1.WebhookService.GetWebhookDelivery
2346
+ */
2347
+ getWebhookDelivery: {
2348
+ methodKind: "unary";
2349
+ input: typeof GetWebhookDeliveryRequestSchema;
2350
+ output: typeof GetWebhookDeliveryResponseSchema;
2351
+ };
2352
+ /**
2353
+ * @generated from rpc slipway.v1.WebhookService.RedeliverWebhook
2354
+ */
2355
+ redeliverWebhook: {
2356
+ methodKind: "unary";
2357
+ input: typeof RedeliverWebhookRequestSchema;
2358
+ output: typeof RedeliverWebhookResponseSchema;
2359
+ };
2360
+ /**
2361
+ * @generated from rpc slipway.v1.WebhookService.PingWebhook
2362
+ */
2363
+ pingWebhook: {
2364
+ methodKind: "unary";
2365
+ input: typeof PingWebhookRequestSchema;
2366
+ output: typeof PingWebhookResponseSchema;
2367
+ };
2368
+ }>;