@slipway-systems/sdk 0.0.0 → 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.
- package/LICENSE +202 -0
- package/README.md +28 -1
- package/dist/client.d.ts +23 -0
- package/dist/client.js +23 -0
- package/dist/gen/slipway/v1/billing_pb.d.ts +960 -0
- package/dist/gen/slipway/v1/billing_pb.js +158 -0
- package/dist/gen/slipway/v1/common_pb.d.ts +256 -0
- package/dist/gen/slipway/v1/common_pb.js +78 -0
- package/dist/gen/slipway/v1/deploy_pb.d.ts +5901 -0
- package/dist/gen/slipway/v1/deploy_pb.js +1035 -0
- package/dist/gen/slipway/v1/identity_pb.d.ts +4321 -0
- package/dist/gen/slipway/v1/identity_pb.js +1038 -0
- package/dist/gen/slipway/v1/integrations_pb.d.ts +2368 -0
- package/dist/gen/slipway/v1/integrations_pb.js +444 -0
- package/dist/gen/slipway/v1/notifications_pb.d.ts +324 -0
- package/dist/gen/slipway/v1/notifications_pb.js +79 -0
- package/dist/gen/slipway/v1/pipeline_pb.d.ts +933 -0
- package/dist/gen/slipway/v1/pipeline_pb.js +193 -0
- package/dist/gen/slipway/v1/runs_pb.d.ts +4756 -0
- package/dist/gen/slipway/v1/runs_pb.js +1086 -0
- package/dist/gen/slipway/v1/scm_pb.d.ts +1599 -0
- package/dist/gen/slipway/v1/scm_pb.js +453 -0
- package/dist/gen/slipway/v1/secrets_pb.d.ts +1298 -0
- package/dist/gen/slipway/v1/secrets_pb.js +311 -0
- package/dist/gen.d.ts +10 -0
- package/dist/gen.js +11 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +4 -0
- package/dist/services.d.ts +38 -0
- package/dist/services.js +39 -0
- package/package.json +43 -5
|
@@ -0,0 +1,1599 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { PageRequest, PageResponse } from "./common_pb.js";
|
|
4
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file slipway/v1/scm.proto.
|
|
7
|
+
*/
|
|
8
|
+
export declare const file_slipway_v1_scm: GenFile;
|
|
9
|
+
/**
|
|
10
|
+
* @generated from message slipway.v1.ScmProvider
|
|
11
|
+
*/
|
|
12
|
+
export type ScmProvider = Message<"slipway.v1.ScmProvider"> & {
|
|
13
|
+
/**
|
|
14
|
+
* @generated from field: slipway.v1.ScmProviderKind kind = 1;
|
|
15
|
+
*/
|
|
16
|
+
kind: ScmProviderKind;
|
|
17
|
+
/**
|
|
18
|
+
* github, gitlab, bitbucket_cloud, bitbucket_dc, azure_repos, gitea
|
|
19
|
+
*
|
|
20
|
+
* @generated from field: string id = 2;
|
|
21
|
+
*/
|
|
22
|
+
id: string;
|
|
23
|
+
/**
|
|
24
|
+
* @generated from field: string display_name = 3;
|
|
25
|
+
*/
|
|
26
|
+
displayName: string;
|
|
27
|
+
/**
|
|
28
|
+
* @generated from field: repeated slipway.v1.ScmAuthMethod auth_methods = 4;
|
|
29
|
+
*/
|
|
30
|
+
authMethods: ScmAuthMethod[];
|
|
31
|
+
/**
|
|
32
|
+
* base_url may be set on StartConnection
|
|
33
|
+
*
|
|
34
|
+
* @generated from field: bool supports_self_managed = 5;
|
|
35
|
+
*/
|
|
36
|
+
supportsSelfManaged: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* server has OAuth/App credentials for the SaaS offering
|
|
39
|
+
*
|
|
40
|
+
* @generated from field: bool oauth_configured = 6;
|
|
41
|
+
*/
|
|
42
|
+
oauthConfigured: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* rich check runs with annotations
|
|
45
|
+
*
|
|
46
|
+
* @generated from field: bool supports_checks = 7;
|
|
47
|
+
*/
|
|
48
|
+
supportsChecks: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* @generated from field: bool supports_deployments = 8;
|
|
51
|
+
*/
|
|
52
|
+
supportsDeployments: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* @generated from field: bool supports_pr_comments = 9;
|
|
55
|
+
*/
|
|
56
|
+
supportsPrComments: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* events arrive via the app, no per-repo hook needed
|
|
59
|
+
*
|
|
60
|
+
* @generated from field: bool app_webhooks = 10;
|
|
61
|
+
*/
|
|
62
|
+
appWebhooks: boolean;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
* Describes the message slipway.v1.ScmProvider.
|
|
66
|
+
* Use `create(ScmProviderSchema)` to create a new message.
|
|
67
|
+
*/
|
|
68
|
+
export declare const ScmProviderSchema: GenMessage<ScmProvider>;
|
|
69
|
+
/**
|
|
70
|
+
* @generated from message slipway.v1.ScmConnection
|
|
71
|
+
*/
|
|
72
|
+
export type ScmConnection = Message<"slipway.v1.ScmConnection"> & {
|
|
73
|
+
/**
|
|
74
|
+
* @generated from field: string id = 1;
|
|
75
|
+
*/
|
|
76
|
+
id: string;
|
|
77
|
+
/**
|
|
78
|
+
* @generated from field: slipway.v1.ScmProviderKind provider = 2;
|
|
79
|
+
*/
|
|
80
|
+
provider: ScmProviderKind;
|
|
81
|
+
/**
|
|
82
|
+
* @generated from field: slipway.v1.ScmAuthMethod auth_method = 3;
|
|
83
|
+
*/
|
|
84
|
+
authMethod: ScmAuthMethod;
|
|
85
|
+
/**
|
|
86
|
+
* @generated from field: string display_name = 4;
|
|
87
|
+
*/
|
|
88
|
+
displayName: string;
|
|
89
|
+
/**
|
|
90
|
+
* @generated from field: string base_url = 5;
|
|
91
|
+
*/
|
|
92
|
+
baseUrl: string;
|
|
93
|
+
/**
|
|
94
|
+
* @generated from field: string account_login = 6;
|
|
95
|
+
*/
|
|
96
|
+
accountLogin: string;
|
|
97
|
+
/**
|
|
98
|
+
* @generated from field: string account_type = 7;
|
|
99
|
+
*/
|
|
100
|
+
accountType: string;
|
|
101
|
+
/**
|
|
102
|
+
* @generated from field: slipway.v1.ScmConnectionStatus status = 8;
|
|
103
|
+
*/
|
|
104
|
+
status: ScmConnectionStatus;
|
|
105
|
+
/**
|
|
106
|
+
* @generated from field: string status_detail = 9;
|
|
107
|
+
*/
|
|
108
|
+
statusDetail: string;
|
|
109
|
+
/**
|
|
110
|
+
* @generated from field: string installation_id = 10;
|
|
111
|
+
*/
|
|
112
|
+
installationId: string;
|
|
113
|
+
/**
|
|
114
|
+
* @generated from field: string created_by = 11;
|
|
115
|
+
*/
|
|
116
|
+
createdBy: string;
|
|
117
|
+
/**
|
|
118
|
+
* @generated from field: google.protobuf.Timestamp created_at = 12;
|
|
119
|
+
*/
|
|
120
|
+
createdAt?: Timestamp | undefined;
|
|
121
|
+
/**
|
|
122
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 13;
|
|
123
|
+
*/
|
|
124
|
+
updatedAt?: Timestamp | undefined;
|
|
125
|
+
/**
|
|
126
|
+
* @generated from field: int32 repository_count = 14;
|
|
127
|
+
*/
|
|
128
|
+
repositoryCount: number;
|
|
129
|
+
};
|
|
130
|
+
/**
|
|
131
|
+
* Describes the message slipway.v1.ScmConnection.
|
|
132
|
+
* Use `create(ScmConnectionSchema)` to create a new message.
|
|
133
|
+
*/
|
|
134
|
+
export declare const ScmConnectionSchema: GenMessage<ScmConnection>;
|
|
135
|
+
/**
|
|
136
|
+
* @generated from message slipway.v1.ScmRepository
|
|
137
|
+
*/
|
|
138
|
+
export type ScmRepository = Message<"slipway.v1.ScmRepository"> & {
|
|
139
|
+
/**
|
|
140
|
+
* @generated from field: string id = 1;
|
|
141
|
+
*/
|
|
142
|
+
id: string;
|
|
143
|
+
/**
|
|
144
|
+
* @generated from field: string project_id = 2;
|
|
145
|
+
*/
|
|
146
|
+
projectId: string;
|
|
147
|
+
/**
|
|
148
|
+
* @generated from field: string connection_id = 3;
|
|
149
|
+
*/
|
|
150
|
+
connectionId: string;
|
|
151
|
+
/**
|
|
152
|
+
* @generated from field: slipway.v1.ScmProviderKind provider = 4;
|
|
153
|
+
*/
|
|
154
|
+
provider: ScmProviderKind;
|
|
155
|
+
/**
|
|
156
|
+
* @generated from field: string external_id = 5;
|
|
157
|
+
*/
|
|
158
|
+
externalId: string;
|
|
159
|
+
/**
|
|
160
|
+
* @generated from field: string full_name = 6;
|
|
161
|
+
*/
|
|
162
|
+
fullName: string;
|
|
163
|
+
/**
|
|
164
|
+
* @generated from field: string default_branch = 7;
|
|
165
|
+
*/
|
|
166
|
+
defaultBranch: string;
|
|
167
|
+
/**
|
|
168
|
+
* @generated from field: string clone_url = 8;
|
|
169
|
+
*/
|
|
170
|
+
cloneUrl: string;
|
|
171
|
+
/**
|
|
172
|
+
* @generated from field: string html_url = 9;
|
|
173
|
+
*/
|
|
174
|
+
htmlUrl: string;
|
|
175
|
+
/**
|
|
176
|
+
* @generated from field: bool private = 10;
|
|
177
|
+
*/
|
|
178
|
+
private: boolean;
|
|
179
|
+
/**
|
|
180
|
+
* @generated from field: string webhook_id = 11;
|
|
181
|
+
*/
|
|
182
|
+
webhookId: string;
|
|
183
|
+
/**
|
|
184
|
+
* @generated from field: slipway.v1.ScmWebhookStatus webhook_status = 12;
|
|
185
|
+
*/
|
|
186
|
+
webhookStatus: ScmWebhookStatus;
|
|
187
|
+
/**
|
|
188
|
+
* @generated from field: string webhook_error = 13;
|
|
189
|
+
*/
|
|
190
|
+
webhookError: string;
|
|
191
|
+
/**
|
|
192
|
+
* @generated from field: google.protobuf.Timestamp created_at = 14;
|
|
193
|
+
*/
|
|
194
|
+
createdAt?: Timestamp | undefined;
|
|
195
|
+
/**
|
|
196
|
+
* Pipeline files the last default-branch sync did not load because their name is already taken in the project.
|
|
197
|
+
*
|
|
198
|
+
* @generated from field: repeated slipway.v1.ScmPipelineConflict pipeline_conflicts = 15;
|
|
199
|
+
*/
|
|
200
|
+
pipelineConflicts: ScmPipelineConflict[];
|
|
201
|
+
};
|
|
202
|
+
/**
|
|
203
|
+
* Describes the message slipway.v1.ScmRepository.
|
|
204
|
+
* Use `create(ScmRepositorySchema)` to create a new message.
|
|
205
|
+
*/
|
|
206
|
+
export declare const ScmRepositorySchema: GenMessage<ScmRepository>;
|
|
207
|
+
/**
|
|
208
|
+
* ScmPipelineConflict is a pipeline file of a linked repository that was not loaded: its `name:` is already used in
|
|
209
|
+
* the project by an inline pipeline, another repository's file or another file of the same repository.
|
|
210
|
+
*
|
|
211
|
+
* @generated from message slipway.v1.ScmPipelineConflict
|
|
212
|
+
*/
|
|
213
|
+
export type ScmPipelineConflict = Message<"slipway.v1.ScmPipelineConflict"> & {
|
|
214
|
+
/**
|
|
215
|
+
* ".slipway/ci.yaml"
|
|
216
|
+
*
|
|
217
|
+
* @generated from field: string path = 1;
|
|
218
|
+
*/
|
|
219
|
+
path: string;
|
|
220
|
+
/**
|
|
221
|
+
* the pipeline name the file declares
|
|
222
|
+
*
|
|
223
|
+
* @generated from field: string name = 2;
|
|
224
|
+
*/
|
|
225
|
+
name: string;
|
|
226
|
+
/**
|
|
227
|
+
* what holds the name and what to do, ready to show
|
|
228
|
+
*
|
|
229
|
+
* @generated from field: string message = 3;
|
|
230
|
+
*/
|
|
231
|
+
message: string;
|
|
232
|
+
/**
|
|
233
|
+
* the pipeline holding the name (as PipelineService returns it); empty when another file of the same repository does
|
|
234
|
+
*
|
|
235
|
+
* @generated from field: string pipeline_id = 4;
|
|
236
|
+
*/
|
|
237
|
+
pipelineId: string;
|
|
238
|
+
};
|
|
239
|
+
/**
|
|
240
|
+
* Describes the message slipway.v1.ScmPipelineConflict.
|
|
241
|
+
* Use `create(ScmPipelineConflictSchema)` to create a new message.
|
|
242
|
+
*/
|
|
243
|
+
export declare const ScmPipelineConflictSchema: GenMessage<ScmPipelineConflict>;
|
|
244
|
+
/**
|
|
245
|
+
* RemoteRepository is a repository visible through a connection, linked or not.
|
|
246
|
+
*
|
|
247
|
+
* @generated from message slipway.v1.RemoteRepository
|
|
248
|
+
*/
|
|
249
|
+
export type RemoteRepository = Message<"slipway.v1.RemoteRepository"> & {
|
|
250
|
+
/**
|
|
251
|
+
* @generated from field: string external_id = 1;
|
|
252
|
+
*/
|
|
253
|
+
externalId: string;
|
|
254
|
+
/**
|
|
255
|
+
* @generated from field: string full_name = 2;
|
|
256
|
+
*/
|
|
257
|
+
fullName: string;
|
|
258
|
+
/**
|
|
259
|
+
* @generated from field: string description = 3;
|
|
260
|
+
*/
|
|
261
|
+
description: string;
|
|
262
|
+
/**
|
|
263
|
+
* @generated from field: string default_branch = 4;
|
|
264
|
+
*/
|
|
265
|
+
defaultBranch: string;
|
|
266
|
+
/**
|
|
267
|
+
* @generated from field: string clone_url = 5;
|
|
268
|
+
*/
|
|
269
|
+
cloneUrl: string;
|
|
270
|
+
/**
|
|
271
|
+
* @generated from field: string html_url = 6;
|
|
272
|
+
*/
|
|
273
|
+
htmlUrl: string;
|
|
274
|
+
/**
|
|
275
|
+
* @generated from field: bool private = 7;
|
|
276
|
+
*/
|
|
277
|
+
private: boolean;
|
|
278
|
+
/**
|
|
279
|
+
* @generated from field: bool archived = 8;
|
|
280
|
+
*/
|
|
281
|
+
archived: boolean;
|
|
282
|
+
/**
|
|
283
|
+
* linked into at least one project in this org
|
|
284
|
+
*
|
|
285
|
+
* @generated from field: bool linked = 9;
|
|
286
|
+
*/
|
|
287
|
+
linked: boolean;
|
|
288
|
+
/**
|
|
289
|
+
* @generated from field: repeated string linked_project_ids = 10;
|
|
290
|
+
*/
|
|
291
|
+
linkedProjectIds: string[];
|
|
292
|
+
};
|
|
293
|
+
/**
|
|
294
|
+
* Describes the message slipway.v1.RemoteRepository.
|
|
295
|
+
* Use `create(RemoteRepositorySchema)` to create a new message.
|
|
296
|
+
*/
|
|
297
|
+
export declare const RemoteRepositorySchema: GenMessage<RemoteRepository>;
|
|
298
|
+
/**
|
|
299
|
+
* @generated from message slipway.v1.ScmBranch
|
|
300
|
+
*/
|
|
301
|
+
export type ScmBranch = Message<"slipway.v1.ScmBranch"> & {
|
|
302
|
+
/**
|
|
303
|
+
* @generated from field: string name = 1;
|
|
304
|
+
*/
|
|
305
|
+
name: string;
|
|
306
|
+
/**
|
|
307
|
+
* @generated from field: string sha = 2;
|
|
308
|
+
*/
|
|
309
|
+
sha: string;
|
|
310
|
+
/**
|
|
311
|
+
* @generated from field: bool protected = 3;
|
|
312
|
+
*/
|
|
313
|
+
protected: boolean;
|
|
314
|
+
/**
|
|
315
|
+
* @generated from field: bool is_default = 4;
|
|
316
|
+
*/
|
|
317
|
+
isDefault: boolean;
|
|
318
|
+
};
|
|
319
|
+
/**
|
|
320
|
+
* Describes the message slipway.v1.ScmBranch.
|
|
321
|
+
* Use `create(ScmBranchSchema)` to create a new message.
|
|
322
|
+
*/
|
|
323
|
+
export declare const ScmBranchSchema: GenMessage<ScmBranch>;
|
|
324
|
+
/**
|
|
325
|
+
* @generated from message slipway.v1.ScmFileEntry
|
|
326
|
+
*/
|
|
327
|
+
export type ScmFileEntry = Message<"slipway.v1.ScmFileEntry"> & {
|
|
328
|
+
/**
|
|
329
|
+
* @generated from field: string path = 1;
|
|
330
|
+
*/
|
|
331
|
+
path: string;
|
|
332
|
+
/**
|
|
333
|
+
* @generated from field: string name = 2;
|
|
334
|
+
*/
|
|
335
|
+
name: string;
|
|
336
|
+
/**
|
|
337
|
+
* file | dir | symlink | submodule
|
|
338
|
+
*
|
|
339
|
+
* @generated from field: string type = 3;
|
|
340
|
+
*/
|
|
341
|
+
type: string;
|
|
342
|
+
/**
|
|
343
|
+
* @generated from field: int64 size = 4;
|
|
344
|
+
*/
|
|
345
|
+
size: bigint;
|
|
346
|
+
/**
|
|
347
|
+
* @generated from field: string sha = 5;
|
|
348
|
+
*/
|
|
349
|
+
sha: string;
|
|
350
|
+
};
|
|
351
|
+
/**
|
|
352
|
+
* Describes the message slipway.v1.ScmFileEntry.
|
|
353
|
+
* Use `create(ScmFileEntrySchema)` to create a new message.
|
|
354
|
+
*/
|
|
355
|
+
export declare const ScmFileEntrySchema: GenMessage<ScmFileEntry>;
|
|
356
|
+
/**
|
|
357
|
+
* @generated from message slipway.v1.ScmWebhookDelivery
|
|
358
|
+
*/
|
|
359
|
+
export type ScmWebhookDelivery = Message<"slipway.v1.ScmWebhookDelivery"> & {
|
|
360
|
+
/**
|
|
361
|
+
* @generated from field: string id = 1;
|
|
362
|
+
*/
|
|
363
|
+
id: string;
|
|
364
|
+
/**
|
|
365
|
+
* @generated from field: string connection_id = 2;
|
|
366
|
+
*/
|
|
367
|
+
connectionId: string;
|
|
368
|
+
/**
|
|
369
|
+
* @generated from field: string repository_id = 3;
|
|
370
|
+
*/
|
|
371
|
+
repositoryId: string;
|
|
372
|
+
/**
|
|
373
|
+
* @generated from field: slipway.v1.ScmProviderKind provider = 4;
|
|
374
|
+
*/
|
|
375
|
+
provider: ScmProviderKind;
|
|
376
|
+
/**
|
|
377
|
+
* provider-supplied
|
|
378
|
+
*
|
|
379
|
+
* @generated from field: string delivery_id = 5;
|
|
380
|
+
*/
|
|
381
|
+
deliveryId: string;
|
|
382
|
+
/**
|
|
383
|
+
* @generated from field: string event_type = 6;
|
|
384
|
+
*/
|
|
385
|
+
eventType: string;
|
|
386
|
+
/**
|
|
387
|
+
* @generated from field: string action = 7;
|
|
388
|
+
*/
|
|
389
|
+
action: string;
|
|
390
|
+
/**
|
|
391
|
+
* @generated from field: string repo_full_name = 8;
|
|
392
|
+
*/
|
|
393
|
+
repoFullName: string;
|
|
394
|
+
/**
|
|
395
|
+
* @generated from field: string ref = 9;
|
|
396
|
+
*/
|
|
397
|
+
ref: string;
|
|
398
|
+
/**
|
|
399
|
+
* @generated from field: string sha = 10;
|
|
400
|
+
*/
|
|
401
|
+
sha: string;
|
|
402
|
+
/**
|
|
403
|
+
* @generated from field: slipway.v1.ScmDeliveryStatus status = 11;
|
|
404
|
+
*/
|
|
405
|
+
status: ScmDeliveryStatus;
|
|
406
|
+
/**
|
|
407
|
+
* @generated from field: string detail = 12;
|
|
408
|
+
*/
|
|
409
|
+
detail: string;
|
|
410
|
+
/**
|
|
411
|
+
* @generated from field: int32 http_status = 13;
|
|
412
|
+
*/
|
|
413
|
+
httpStatus: number;
|
|
414
|
+
/**
|
|
415
|
+
* @generated from field: map<string, string> headers = 14;
|
|
416
|
+
*/
|
|
417
|
+
headers: {
|
|
418
|
+
[key: string]: string;
|
|
419
|
+
};
|
|
420
|
+
/**
|
|
421
|
+
* @generated from field: int64 payload_size = 15;
|
|
422
|
+
*/
|
|
423
|
+
payloadSize: bigint;
|
|
424
|
+
/**
|
|
425
|
+
* @generated from field: string redelivery_of = 16;
|
|
426
|
+
*/
|
|
427
|
+
redeliveryOf: string;
|
|
428
|
+
/**
|
|
429
|
+
* @generated from field: google.protobuf.Timestamp received_at = 17;
|
|
430
|
+
*/
|
|
431
|
+
receivedAt?: Timestamp | undefined;
|
|
432
|
+
/**
|
|
433
|
+
* @generated from field: google.protobuf.Timestamp processed_at = 18;
|
|
434
|
+
*/
|
|
435
|
+
processedAt?: Timestamp | undefined;
|
|
436
|
+
/**
|
|
437
|
+
* only populated by GetWebhookDelivery
|
|
438
|
+
*
|
|
439
|
+
* @generated from field: bytes payload = 19;
|
|
440
|
+
*/
|
|
441
|
+
payload: Uint8Array;
|
|
442
|
+
};
|
|
443
|
+
/**
|
|
444
|
+
* Describes the message slipway.v1.ScmWebhookDelivery.
|
|
445
|
+
* Use `create(ScmWebhookDeliverySchema)` to create a new message.
|
|
446
|
+
*/
|
|
447
|
+
export declare const ScmWebhookDeliverySchema: GenMessage<ScmWebhookDelivery>;
|
|
448
|
+
/**
|
|
449
|
+
* @generated from message slipway.v1.ScmServiceListProvidersRequest
|
|
450
|
+
*/
|
|
451
|
+
export type ScmServiceListProvidersRequest = Message<"slipway.v1.ScmServiceListProvidersRequest"> & {};
|
|
452
|
+
/**
|
|
453
|
+
* Describes the message slipway.v1.ScmServiceListProvidersRequest.
|
|
454
|
+
* Use `create(ScmServiceListProvidersRequestSchema)` to create a new message.
|
|
455
|
+
*/
|
|
456
|
+
export declare const ScmServiceListProvidersRequestSchema: GenMessage<ScmServiceListProvidersRequest>;
|
|
457
|
+
/**
|
|
458
|
+
* @generated from message slipway.v1.ScmServiceListProvidersResponse
|
|
459
|
+
*/
|
|
460
|
+
export type ScmServiceListProvidersResponse = Message<"slipway.v1.ScmServiceListProvidersResponse"> & {
|
|
461
|
+
/**
|
|
462
|
+
* @generated from field: repeated slipway.v1.ScmProvider items = 1;
|
|
463
|
+
*/
|
|
464
|
+
items: ScmProvider[];
|
|
465
|
+
};
|
|
466
|
+
/**
|
|
467
|
+
* Describes the message slipway.v1.ScmServiceListProvidersResponse.
|
|
468
|
+
* Use `create(ScmServiceListProvidersResponseSchema)` to create a new message.
|
|
469
|
+
*/
|
|
470
|
+
export declare const ScmServiceListProvidersResponseSchema: GenMessage<ScmServiceListProvidersResponse>;
|
|
471
|
+
/**
|
|
472
|
+
* StartConnection begins connecting a provider. For redirect flows (GitHub App install, OAuth) the response carries an
|
|
473
|
+
* authorization_url to send the browser to; for token flows (PAT) the connection is created immediately.
|
|
474
|
+
*
|
|
475
|
+
* @generated from message slipway.v1.StartConnectionRequest
|
|
476
|
+
*/
|
|
477
|
+
export type StartConnectionRequest = Message<"slipway.v1.StartConnectionRequest"> & {
|
|
478
|
+
/**
|
|
479
|
+
* @generated from field: slipway.v1.ScmProviderKind provider = 1;
|
|
480
|
+
*/
|
|
481
|
+
provider: ScmProviderKind;
|
|
482
|
+
/**
|
|
483
|
+
* default: the provider's preferred method
|
|
484
|
+
*
|
|
485
|
+
* @generated from field: slipway.v1.ScmAuthMethod auth_method = 2;
|
|
486
|
+
*/
|
|
487
|
+
authMethod: ScmAuthMethod;
|
|
488
|
+
/**
|
|
489
|
+
* GHES, self-managed GitLab, Bitbucket DC, Gitea; empty for SaaS
|
|
490
|
+
*
|
|
491
|
+
* @generated from field: string base_url = 3;
|
|
492
|
+
*/
|
|
493
|
+
baseUrl: string;
|
|
494
|
+
/**
|
|
495
|
+
* @generated from field: string display_name = 4;
|
|
496
|
+
*/
|
|
497
|
+
displayName: string;
|
|
498
|
+
/**
|
|
499
|
+
* PAT flows
|
|
500
|
+
*
|
|
501
|
+
* @generated from field: string token = 5;
|
|
502
|
+
*/
|
|
503
|
+
token: string;
|
|
504
|
+
/**
|
|
505
|
+
* Bitbucket Cloud app-password flows
|
|
506
|
+
*
|
|
507
|
+
* @generated from field: string username = 6;
|
|
508
|
+
*/
|
|
509
|
+
username: string;
|
|
510
|
+
/**
|
|
511
|
+
* Azure Repos organisation (dev.azure.com/{org})
|
|
512
|
+
*
|
|
513
|
+
* @generated from field: string azure_organization = 7;
|
|
514
|
+
*/
|
|
515
|
+
azureOrganization: string;
|
|
516
|
+
/**
|
|
517
|
+
* per-connection OAuth app (self-managed instances)
|
|
518
|
+
*
|
|
519
|
+
* @generated from field: string client_id = 8;
|
|
520
|
+
*/
|
|
521
|
+
clientId: string;
|
|
522
|
+
/**
|
|
523
|
+
* @generated from field: string client_secret = 9;
|
|
524
|
+
*/
|
|
525
|
+
clientSecret: string;
|
|
526
|
+
/**
|
|
527
|
+
* SPA path to land on after the callback
|
|
528
|
+
*
|
|
529
|
+
* @generated from field: string return_to = 10;
|
|
530
|
+
*/
|
|
531
|
+
returnTo: string;
|
|
532
|
+
};
|
|
533
|
+
/**
|
|
534
|
+
* Describes the message slipway.v1.StartConnectionRequest.
|
|
535
|
+
* Use `create(StartConnectionRequestSchema)` to create a new message.
|
|
536
|
+
*/
|
|
537
|
+
export declare const StartConnectionRequestSchema: GenMessage<StartConnectionRequest>;
|
|
538
|
+
/**
|
|
539
|
+
* @generated from message slipway.v1.StartConnectionResponse
|
|
540
|
+
*/
|
|
541
|
+
export type StartConnectionResponse = Message<"slipway.v1.StartConnectionResponse"> & {
|
|
542
|
+
/**
|
|
543
|
+
* set for redirect flows
|
|
544
|
+
*
|
|
545
|
+
* @generated from field: string authorization_url = 1;
|
|
546
|
+
*/
|
|
547
|
+
authorizationUrl: string;
|
|
548
|
+
/**
|
|
549
|
+
* set when the connection was created immediately
|
|
550
|
+
*
|
|
551
|
+
* @generated from field: slipway.v1.ScmConnection connection = 2;
|
|
552
|
+
*/
|
|
553
|
+
connection?: ScmConnection | undefined;
|
|
554
|
+
};
|
|
555
|
+
/**
|
|
556
|
+
* Describes the message slipway.v1.StartConnectionResponse.
|
|
557
|
+
* Use `create(StartConnectionResponseSchema)` to create a new message.
|
|
558
|
+
*/
|
|
559
|
+
export declare const StartConnectionResponseSchema: GenMessage<StartConnectionResponse>;
|
|
560
|
+
/**
|
|
561
|
+
* CompleteConnection finishes a redirect flow. The browser normally lands on /auth/scm/{provider}/callback, which
|
|
562
|
+
* calls this internally; the RPC exists for SPAs that proxy the callback.
|
|
563
|
+
*
|
|
564
|
+
* @generated from message slipway.v1.CompleteConnectionRequest
|
|
565
|
+
*/
|
|
566
|
+
export type CompleteConnectionRequest = Message<"slipway.v1.CompleteConnectionRequest"> & {
|
|
567
|
+
/**
|
|
568
|
+
* @generated from field: slipway.v1.ScmProviderKind provider = 1;
|
|
569
|
+
*/
|
|
570
|
+
provider: ScmProviderKind;
|
|
571
|
+
/**
|
|
572
|
+
* @generated from field: string state = 2;
|
|
573
|
+
*/
|
|
574
|
+
state: string;
|
|
575
|
+
/**
|
|
576
|
+
* code, installation_id, setup_action, error, ...
|
|
577
|
+
*
|
|
578
|
+
* @generated from field: map<string, string> params = 3;
|
|
579
|
+
*/
|
|
580
|
+
params: {
|
|
581
|
+
[key: string]: string;
|
|
582
|
+
};
|
|
583
|
+
};
|
|
584
|
+
/**
|
|
585
|
+
* Describes the message slipway.v1.CompleteConnectionRequest.
|
|
586
|
+
* Use `create(CompleteConnectionRequestSchema)` to create a new message.
|
|
587
|
+
*/
|
|
588
|
+
export declare const CompleteConnectionRequestSchema: GenMessage<CompleteConnectionRequest>;
|
|
589
|
+
/**
|
|
590
|
+
* @generated from message slipway.v1.CompleteConnectionResponse
|
|
591
|
+
*/
|
|
592
|
+
export type CompleteConnectionResponse = Message<"slipway.v1.CompleteConnectionResponse"> & {
|
|
593
|
+
/**
|
|
594
|
+
* @generated from field: slipway.v1.ScmConnection connection = 1;
|
|
595
|
+
*/
|
|
596
|
+
connection?: ScmConnection | undefined;
|
|
597
|
+
/**
|
|
598
|
+
* @generated from field: string return_to = 2;
|
|
599
|
+
*/
|
|
600
|
+
returnTo: string;
|
|
601
|
+
};
|
|
602
|
+
/**
|
|
603
|
+
* Describes the message slipway.v1.CompleteConnectionResponse.
|
|
604
|
+
* Use `create(CompleteConnectionResponseSchema)` to create a new message.
|
|
605
|
+
*/
|
|
606
|
+
export declare const CompleteConnectionResponseSchema: GenMessage<CompleteConnectionResponse>;
|
|
607
|
+
/**
|
|
608
|
+
* @generated from message slipway.v1.ScmServiceListConnectionsRequest
|
|
609
|
+
*/
|
|
610
|
+
export type ScmServiceListConnectionsRequest = Message<"slipway.v1.ScmServiceListConnectionsRequest"> & {
|
|
611
|
+
/**
|
|
612
|
+
* @generated from field: slipway.v1.PageRequest page = 1;
|
|
613
|
+
*/
|
|
614
|
+
page?: PageRequest | undefined;
|
|
615
|
+
};
|
|
616
|
+
/**
|
|
617
|
+
* Describes the message slipway.v1.ScmServiceListConnectionsRequest.
|
|
618
|
+
* Use `create(ScmServiceListConnectionsRequestSchema)` to create a new message.
|
|
619
|
+
*/
|
|
620
|
+
export declare const ScmServiceListConnectionsRequestSchema: GenMessage<ScmServiceListConnectionsRequest>;
|
|
621
|
+
/**
|
|
622
|
+
* @generated from message slipway.v1.ScmServiceListConnectionsResponse
|
|
623
|
+
*/
|
|
624
|
+
export type ScmServiceListConnectionsResponse = Message<"slipway.v1.ScmServiceListConnectionsResponse"> & {
|
|
625
|
+
/**
|
|
626
|
+
* @generated from field: repeated slipway.v1.ScmConnection items = 1;
|
|
627
|
+
*/
|
|
628
|
+
items: ScmConnection[];
|
|
629
|
+
/**
|
|
630
|
+
* @generated from field: slipway.v1.PageResponse page = 2;
|
|
631
|
+
*/
|
|
632
|
+
page?: PageResponse | undefined;
|
|
633
|
+
};
|
|
634
|
+
/**
|
|
635
|
+
* Describes the message slipway.v1.ScmServiceListConnectionsResponse.
|
|
636
|
+
* Use `create(ScmServiceListConnectionsResponseSchema)` to create a new message.
|
|
637
|
+
*/
|
|
638
|
+
export declare const ScmServiceListConnectionsResponseSchema: GenMessage<ScmServiceListConnectionsResponse>;
|
|
639
|
+
/**
|
|
640
|
+
* @generated from message slipway.v1.ScmServiceGetConnectionRequest
|
|
641
|
+
*/
|
|
642
|
+
export type ScmServiceGetConnectionRequest = Message<"slipway.v1.ScmServiceGetConnectionRequest"> & {
|
|
643
|
+
/**
|
|
644
|
+
* @generated from field: string id = 1;
|
|
645
|
+
*/
|
|
646
|
+
id: string;
|
|
647
|
+
};
|
|
648
|
+
/**
|
|
649
|
+
* Describes the message slipway.v1.ScmServiceGetConnectionRequest.
|
|
650
|
+
* Use `create(ScmServiceGetConnectionRequestSchema)` to create a new message.
|
|
651
|
+
*/
|
|
652
|
+
export declare const ScmServiceGetConnectionRequestSchema: GenMessage<ScmServiceGetConnectionRequest>;
|
|
653
|
+
/**
|
|
654
|
+
* @generated from message slipway.v1.ScmServiceGetConnectionResponse
|
|
655
|
+
*/
|
|
656
|
+
export type ScmServiceGetConnectionResponse = Message<"slipway.v1.ScmServiceGetConnectionResponse"> & {
|
|
657
|
+
/**
|
|
658
|
+
* @generated from field: slipway.v1.ScmConnection connection = 1;
|
|
659
|
+
*/
|
|
660
|
+
connection?: ScmConnection | undefined;
|
|
661
|
+
};
|
|
662
|
+
/**
|
|
663
|
+
* Describes the message slipway.v1.ScmServiceGetConnectionResponse.
|
|
664
|
+
* Use `create(ScmServiceGetConnectionResponseSchema)` to create a new message.
|
|
665
|
+
*/
|
|
666
|
+
export declare const ScmServiceGetConnectionResponseSchema: GenMessage<ScmServiceGetConnectionResponse>;
|
|
667
|
+
/**
|
|
668
|
+
* @generated from message slipway.v1.ScmServiceDeleteConnectionRequest
|
|
669
|
+
*/
|
|
670
|
+
export type ScmServiceDeleteConnectionRequest = Message<"slipway.v1.ScmServiceDeleteConnectionRequest"> & {
|
|
671
|
+
/**
|
|
672
|
+
* @generated from field: string id = 1;
|
|
673
|
+
*/
|
|
674
|
+
id: string;
|
|
675
|
+
/**
|
|
676
|
+
* @generated from field: bool delete_webhooks = 2;
|
|
677
|
+
*/
|
|
678
|
+
deleteWebhooks: boolean;
|
|
679
|
+
};
|
|
680
|
+
/**
|
|
681
|
+
* Describes the message slipway.v1.ScmServiceDeleteConnectionRequest.
|
|
682
|
+
* Use `create(ScmServiceDeleteConnectionRequestSchema)` to create a new message.
|
|
683
|
+
*/
|
|
684
|
+
export declare const ScmServiceDeleteConnectionRequestSchema: GenMessage<ScmServiceDeleteConnectionRequest>;
|
|
685
|
+
/**
|
|
686
|
+
* @generated from message slipway.v1.ScmServiceDeleteConnectionResponse
|
|
687
|
+
*/
|
|
688
|
+
export type ScmServiceDeleteConnectionResponse = Message<"slipway.v1.ScmServiceDeleteConnectionResponse"> & {};
|
|
689
|
+
/**
|
|
690
|
+
* Describes the message slipway.v1.ScmServiceDeleteConnectionResponse.
|
|
691
|
+
* Use `create(ScmServiceDeleteConnectionResponseSchema)` to create a new message.
|
|
692
|
+
*/
|
|
693
|
+
export declare const ScmServiceDeleteConnectionResponseSchema: GenMessage<ScmServiceDeleteConnectionResponse>;
|
|
694
|
+
/**
|
|
695
|
+
* @generated from message slipway.v1.ListAvailableReposRequest
|
|
696
|
+
*/
|
|
697
|
+
export type ListAvailableReposRequest = Message<"slipway.v1.ListAvailableReposRequest"> & {
|
|
698
|
+
/**
|
|
699
|
+
* @generated from field: string connection_id = 1;
|
|
700
|
+
*/
|
|
701
|
+
connectionId: string;
|
|
702
|
+
/**
|
|
703
|
+
* @generated from field: string query = 2;
|
|
704
|
+
*/
|
|
705
|
+
query: string;
|
|
706
|
+
/**
|
|
707
|
+
* page_token is the provider's cursor, opaque
|
|
708
|
+
*
|
|
709
|
+
* @generated from field: slipway.v1.PageRequest page = 3;
|
|
710
|
+
*/
|
|
711
|
+
page?: PageRequest | undefined;
|
|
712
|
+
};
|
|
713
|
+
/**
|
|
714
|
+
* Describes the message slipway.v1.ListAvailableReposRequest.
|
|
715
|
+
* Use `create(ListAvailableReposRequestSchema)` to create a new message.
|
|
716
|
+
*/
|
|
717
|
+
export declare const ListAvailableReposRequestSchema: GenMessage<ListAvailableReposRequest>;
|
|
718
|
+
/**
|
|
719
|
+
* @generated from message slipway.v1.ListAvailableReposResponse
|
|
720
|
+
*/
|
|
721
|
+
export type ListAvailableReposResponse = Message<"slipway.v1.ListAvailableReposResponse"> & {
|
|
722
|
+
/**
|
|
723
|
+
* @generated from field: repeated slipway.v1.RemoteRepository items = 1;
|
|
724
|
+
*/
|
|
725
|
+
items: RemoteRepository[];
|
|
726
|
+
/**
|
|
727
|
+
* @generated from field: slipway.v1.PageResponse page = 2;
|
|
728
|
+
*/
|
|
729
|
+
page?: PageResponse | undefined;
|
|
730
|
+
};
|
|
731
|
+
/**
|
|
732
|
+
* Describes the message slipway.v1.ListAvailableReposResponse.
|
|
733
|
+
* Use `create(ListAvailableReposResponseSchema)` to create a new message.
|
|
734
|
+
*/
|
|
735
|
+
export declare const ListAvailableReposResponseSchema: GenMessage<ListAvailableReposResponse>;
|
|
736
|
+
/**
|
|
737
|
+
* @generated from message slipway.v1.LinkRepoRequest
|
|
738
|
+
*/
|
|
739
|
+
export type LinkRepoRequest = Message<"slipway.v1.LinkRepoRequest"> & {
|
|
740
|
+
/**
|
|
741
|
+
* @generated from field: string project_id = 1;
|
|
742
|
+
*/
|
|
743
|
+
projectId: string;
|
|
744
|
+
/**
|
|
745
|
+
* @generated from field: string connection_id = 2;
|
|
746
|
+
*/
|
|
747
|
+
connectionId: string;
|
|
748
|
+
/**
|
|
749
|
+
* from ListAvailableRepos; or full_name when external_id is unknown
|
|
750
|
+
*
|
|
751
|
+
* @generated from field: string external_id = 3;
|
|
752
|
+
*/
|
|
753
|
+
externalId: string;
|
|
754
|
+
/**
|
|
755
|
+
* @generated from field: string full_name = 4;
|
|
756
|
+
*/
|
|
757
|
+
fullName: string;
|
|
758
|
+
/**
|
|
759
|
+
* register the push/PR hook on the provider (ignored for app-webhook providers)
|
|
760
|
+
*
|
|
761
|
+
* @generated from field: bool create_webhook = 5;
|
|
762
|
+
*/
|
|
763
|
+
createWebhook: boolean;
|
|
764
|
+
};
|
|
765
|
+
/**
|
|
766
|
+
* Describes the message slipway.v1.LinkRepoRequest.
|
|
767
|
+
* Use `create(LinkRepoRequestSchema)` to create a new message.
|
|
768
|
+
*/
|
|
769
|
+
export declare const LinkRepoRequestSchema: GenMessage<LinkRepoRequest>;
|
|
770
|
+
/**
|
|
771
|
+
* @generated from message slipway.v1.LinkRepoResponse
|
|
772
|
+
*/
|
|
773
|
+
export type LinkRepoResponse = Message<"slipway.v1.LinkRepoResponse"> & {
|
|
774
|
+
/**
|
|
775
|
+
* @generated from field: slipway.v1.ScmRepository repository = 1;
|
|
776
|
+
*/
|
|
777
|
+
repository?: ScmRepository | undefined;
|
|
778
|
+
};
|
|
779
|
+
/**
|
|
780
|
+
* Describes the message slipway.v1.LinkRepoResponse.
|
|
781
|
+
* Use `create(LinkRepoResponseSchema)` to create a new message.
|
|
782
|
+
*/
|
|
783
|
+
export declare const LinkRepoResponseSchema: GenMessage<LinkRepoResponse>;
|
|
784
|
+
/**
|
|
785
|
+
* @generated from message slipway.v1.UnlinkRepoRequest
|
|
786
|
+
*/
|
|
787
|
+
export type UnlinkRepoRequest = Message<"slipway.v1.UnlinkRepoRequest"> & {
|
|
788
|
+
/**
|
|
789
|
+
* @generated from field: string repository_id = 1;
|
|
790
|
+
*/
|
|
791
|
+
repositoryId: string;
|
|
792
|
+
/**
|
|
793
|
+
* @generated from field: bool delete_webhook = 2;
|
|
794
|
+
*/
|
|
795
|
+
deleteWebhook: boolean;
|
|
796
|
+
};
|
|
797
|
+
/**
|
|
798
|
+
* Describes the message slipway.v1.UnlinkRepoRequest.
|
|
799
|
+
* Use `create(UnlinkRepoRequestSchema)` to create a new message.
|
|
800
|
+
*/
|
|
801
|
+
export declare const UnlinkRepoRequestSchema: GenMessage<UnlinkRepoRequest>;
|
|
802
|
+
/**
|
|
803
|
+
* @generated from message slipway.v1.UnlinkRepoResponse
|
|
804
|
+
*/
|
|
805
|
+
export type UnlinkRepoResponse = Message<"slipway.v1.UnlinkRepoResponse"> & {};
|
|
806
|
+
/**
|
|
807
|
+
* Describes the message slipway.v1.UnlinkRepoResponse.
|
|
808
|
+
* Use `create(UnlinkRepoResponseSchema)` to create a new message.
|
|
809
|
+
*/
|
|
810
|
+
export declare const UnlinkRepoResponseSchema: GenMessage<UnlinkRepoResponse>;
|
|
811
|
+
/**
|
|
812
|
+
* @generated from message slipway.v1.ScmServiceListRepositoriesRequest
|
|
813
|
+
*/
|
|
814
|
+
export type ScmServiceListRepositoriesRequest = Message<"slipway.v1.ScmServiceListRepositoriesRequest"> & {
|
|
815
|
+
/**
|
|
816
|
+
* @generated from field: string project_id = 1;
|
|
817
|
+
*/
|
|
818
|
+
projectId: string;
|
|
819
|
+
/**
|
|
820
|
+
* @generated from field: string connection_id = 2;
|
|
821
|
+
*/
|
|
822
|
+
connectionId: string;
|
|
823
|
+
};
|
|
824
|
+
/**
|
|
825
|
+
* Describes the message slipway.v1.ScmServiceListRepositoriesRequest.
|
|
826
|
+
* Use `create(ScmServiceListRepositoriesRequestSchema)` to create a new message.
|
|
827
|
+
*/
|
|
828
|
+
export declare const ScmServiceListRepositoriesRequestSchema: GenMessage<ScmServiceListRepositoriesRequest>;
|
|
829
|
+
/**
|
|
830
|
+
* @generated from message slipway.v1.ScmServiceListRepositoriesResponse
|
|
831
|
+
*/
|
|
832
|
+
export type ScmServiceListRepositoriesResponse = Message<"slipway.v1.ScmServiceListRepositoriesResponse"> & {
|
|
833
|
+
/**
|
|
834
|
+
* @generated from field: repeated slipway.v1.ScmRepository items = 1;
|
|
835
|
+
*/
|
|
836
|
+
items: ScmRepository[];
|
|
837
|
+
};
|
|
838
|
+
/**
|
|
839
|
+
* Describes the message slipway.v1.ScmServiceListRepositoriesResponse.
|
|
840
|
+
* Use `create(ScmServiceListRepositoriesResponseSchema)` to create a new message.
|
|
841
|
+
*/
|
|
842
|
+
export declare const ScmServiceListRepositoriesResponseSchema: GenMessage<ScmServiceListRepositoriesResponse>;
|
|
843
|
+
/**
|
|
844
|
+
* @generated from message slipway.v1.ScmServiceListBranchesRequest
|
|
845
|
+
*/
|
|
846
|
+
export type ScmServiceListBranchesRequest = Message<"slipway.v1.ScmServiceListBranchesRequest"> & {
|
|
847
|
+
/**
|
|
848
|
+
* @generated from field: string repository_id = 1;
|
|
849
|
+
*/
|
|
850
|
+
repositoryId: string;
|
|
851
|
+
/**
|
|
852
|
+
* @generated from field: string query = 2;
|
|
853
|
+
*/
|
|
854
|
+
query: string;
|
|
855
|
+
/**
|
|
856
|
+
* @generated from field: slipway.v1.PageRequest page = 3;
|
|
857
|
+
*/
|
|
858
|
+
page?: PageRequest | undefined;
|
|
859
|
+
};
|
|
860
|
+
/**
|
|
861
|
+
* Describes the message slipway.v1.ScmServiceListBranchesRequest.
|
|
862
|
+
* Use `create(ScmServiceListBranchesRequestSchema)` to create a new message.
|
|
863
|
+
*/
|
|
864
|
+
export declare const ScmServiceListBranchesRequestSchema: GenMessage<ScmServiceListBranchesRequest>;
|
|
865
|
+
/**
|
|
866
|
+
* @generated from message slipway.v1.ScmServiceListBranchesResponse
|
|
867
|
+
*/
|
|
868
|
+
export type ScmServiceListBranchesResponse = Message<"slipway.v1.ScmServiceListBranchesResponse"> & {
|
|
869
|
+
/**
|
|
870
|
+
* @generated from field: repeated slipway.v1.ScmBranch items = 1;
|
|
871
|
+
*/
|
|
872
|
+
items: ScmBranch[];
|
|
873
|
+
/**
|
|
874
|
+
* @generated from field: slipway.v1.PageResponse page = 2;
|
|
875
|
+
*/
|
|
876
|
+
page?: PageResponse | undefined;
|
|
877
|
+
};
|
|
878
|
+
/**
|
|
879
|
+
* Describes the message slipway.v1.ScmServiceListBranchesResponse.
|
|
880
|
+
* Use `create(ScmServiceListBranchesResponseSchema)` to create a new message.
|
|
881
|
+
*/
|
|
882
|
+
export declare const ScmServiceListBranchesResponseSchema: GenMessage<ScmServiceListBranchesResponse>;
|
|
883
|
+
/**
|
|
884
|
+
* @generated from message slipway.v1.GetFileContentRequest
|
|
885
|
+
*/
|
|
886
|
+
export type GetFileContentRequest = Message<"slipway.v1.GetFileContentRequest"> & {
|
|
887
|
+
/**
|
|
888
|
+
* @generated from field: string repository_id = 1;
|
|
889
|
+
*/
|
|
890
|
+
repositoryId: string;
|
|
891
|
+
/**
|
|
892
|
+
* @generated from field: string ref = 2;
|
|
893
|
+
*/
|
|
894
|
+
ref: string;
|
|
895
|
+
/**
|
|
896
|
+
* @generated from field: string path = 3;
|
|
897
|
+
*/
|
|
898
|
+
path: string;
|
|
899
|
+
};
|
|
900
|
+
/**
|
|
901
|
+
* Describes the message slipway.v1.GetFileContentRequest.
|
|
902
|
+
* Use `create(GetFileContentRequestSchema)` to create a new message.
|
|
903
|
+
*/
|
|
904
|
+
export declare const GetFileContentRequestSchema: GenMessage<GetFileContentRequest>;
|
|
905
|
+
/**
|
|
906
|
+
* @generated from message slipway.v1.GetFileContentResponse
|
|
907
|
+
*/
|
|
908
|
+
export type GetFileContentResponse = Message<"slipway.v1.GetFileContentResponse"> & {
|
|
909
|
+
/**
|
|
910
|
+
* @generated from field: string path = 1;
|
|
911
|
+
*/
|
|
912
|
+
path: string;
|
|
913
|
+
/**
|
|
914
|
+
* @generated from field: string ref = 2;
|
|
915
|
+
*/
|
|
916
|
+
ref: string;
|
|
917
|
+
/**
|
|
918
|
+
* @generated from field: string sha = 3;
|
|
919
|
+
*/
|
|
920
|
+
sha: string;
|
|
921
|
+
/**
|
|
922
|
+
* @generated from field: int64 size = 4;
|
|
923
|
+
*/
|
|
924
|
+
size: bigint;
|
|
925
|
+
/**
|
|
926
|
+
* @generated from field: bytes content = 5;
|
|
927
|
+
*/
|
|
928
|
+
content: Uint8Array;
|
|
929
|
+
};
|
|
930
|
+
/**
|
|
931
|
+
* Describes the message slipway.v1.GetFileContentResponse.
|
|
932
|
+
* Use `create(GetFileContentResponseSchema)` to create a new message.
|
|
933
|
+
*/
|
|
934
|
+
export declare const GetFileContentResponseSchema: GenMessage<GetFileContentResponse>;
|
|
935
|
+
/**
|
|
936
|
+
* CommitFile creates or updates one file on an existing branch with a single commit (scm.manage). Providers
|
|
937
|
+
* without a write API (Azure DevOps, Bitbucket Data Center) answer unimplemented.
|
|
938
|
+
*
|
|
939
|
+
* @generated from message slipway.v1.CommitFileRequest
|
|
940
|
+
*/
|
|
941
|
+
export type CommitFileRequest = Message<"slipway.v1.CommitFileRequest"> & {
|
|
942
|
+
/**
|
|
943
|
+
* @generated from field: string repository_id = 1;
|
|
944
|
+
*/
|
|
945
|
+
repositoryId: string;
|
|
946
|
+
/**
|
|
947
|
+
* default: the repository's default branch
|
|
948
|
+
*
|
|
949
|
+
* @generated from field: string branch = 2;
|
|
950
|
+
*/
|
|
951
|
+
branch: string;
|
|
952
|
+
/**
|
|
953
|
+
* @generated from field: string path = 3;
|
|
954
|
+
*/
|
|
955
|
+
path: string;
|
|
956
|
+
/**
|
|
957
|
+
* @generated from field: bytes content = 4;
|
|
958
|
+
*/
|
|
959
|
+
content: Uint8Array;
|
|
960
|
+
/**
|
|
961
|
+
* default: "Add <path>"
|
|
962
|
+
*
|
|
963
|
+
* @generated from field: string message = 5;
|
|
964
|
+
*/
|
|
965
|
+
message: string;
|
|
966
|
+
};
|
|
967
|
+
/**
|
|
968
|
+
* Describes the message slipway.v1.CommitFileRequest.
|
|
969
|
+
* Use `create(CommitFileRequestSchema)` to create a new message.
|
|
970
|
+
*/
|
|
971
|
+
export declare const CommitFileRequestSchema: GenMessage<CommitFileRequest>;
|
|
972
|
+
/**
|
|
973
|
+
* @generated from message slipway.v1.CommitFileResponse
|
|
974
|
+
*/
|
|
975
|
+
export type CommitFileResponse = Message<"slipway.v1.CommitFileResponse"> & {
|
|
976
|
+
/**
|
|
977
|
+
* the new commit, when the provider reports it
|
|
978
|
+
*
|
|
979
|
+
* @generated from field: string sha = 1;
|
|
980
|
+
*/
|
|
981
|
+
sha: string;
|
|
982
|
+
/**
|
|
983
|
+
* @generated from field: string message = 2;
|
|
984
|
+
*/
|
|
985
|
+
message: string;
|
|
986
|
+
};
|
|
987
|
+
/**
|
|
988
|
+
* Describes the message slipway.v1.CommitFileResponse.
|
|
989
|
+
* Use `create(CommitFileResponseSchema)` to create a new message.
|
|
990
|
+
*/
|
|
991
|
+
export declare const CommitFileResponseSchema: GenMessage<CommitFileResponse>;
|
|
992
|
+
/**
|
|
993
|
+
* @generated from message slipway.v1.ScmServiceListFilesRequest
|
|
994
|
+
*/
|
|
995
|
+
export type ScmServiceListFilesRequest = Message<"slipway.v1.ScmServiceListFilesRequest"> & {
|
|
996
|
+
/**
|
|
997
|
+
* @generated from field: string repository_id = 1;
|
|
998
|
+
*/
|
|
999
|
+
repositoryId: string;
|
|
1000
|
+
/**
|
|
1001
|
+
* @generated from field: string ref = 2;
|
|
1002
|
+
*/
|
|
1003
|
+
ref: string;
|
|
1004
|
+
/**
|
|
1005
|
+
* @generated from field: string path = 3;
|
|
1006
|
+
*/
|
|
1007
|
+
path: string;
|
|
1008
|
+
};
|
|
1009
|
+
/**
|
|
1010
|
+
* Describes the message slipway.v1.ScmServiceListFilesRequest.
|
|
1011
|
+
* Use `create(ScmServiceListFilesRequestSchema)` to create a new message.
|
|
1012
|
+
*/
|
|
1013
|
+
export declare const ScmServiceListFilesRequestSchema: GenMessage<ScmServiceListFilesRequest>;
|
|
1014
|
+
/**
|
|
1015
|
+
* @generated from message slipway.v1.ScmServiceListFilesResponse
|
|
1016
|
+
*/
|
|
1017
|
+
export type ScmServiceListFilesResponse = Message<"slipway.v1.ScmServiceListFilesResponse"> & {
|
|
1018
|
+
/**
|
|
1019
|
+
* @generated from field: repeated slipway.v1.ScmFileEntry items = 1;
|
|
1020
|
+
*/
|
|
1021
|
+
items: ScmFileEntry[];
|
|
1022
|
+
};
|
|
1023
|
+
/**
|
|
1024
|
+
* Describes the message slipway.v1.ScmServiceListFilesResponse.
|
|
1025
|
+
* Use `create(ScmServiceListFilesResponseSchema)` to create a new message.
|
|
1026
|
+
*/
|
|
1027
|
+
export declare const ScmServiceListFilesResponseSchema: GenMessage<ScmServiceListFilesResponse>;
|
|
1028
|
+
/**
|
|
1029
|
+
* DiscoverPipelineFiles lists candidate pipeline definitions (.slipway/*.yaml, .slipway/*.yml, slipway.yaml).
|
|
1030
|
+
*
|
|
1031
|
+
* @generated from message slipway.v1.DiscoverPipelineFilesRequest
|
|
1032
|
+
*/
|
|
1033
|
+
export type DiscoverPipelineFilesRequest = Message<"slipway.v1.DiscoverPipelineFilesRequest"> & {
|
|
1034
|
+
/**
|
|
1035
|
+
* @generated from field: string repository_id = 1;
|
|
1036
|
+
*/
|
|
1037
|
+
repositoryId: string;
|
|
1038
|
+
/**
|
|
1039
|
+
* @generated from field: string ref = 2;
|
|
1040
|
+
*/
|
|
1041
|
+
ref: string;
|
|
1042
|
+
};
|
|
1043
|
+
/**
|
|
1044
|
+
* Describes the message slipway.v1.DiscoverPipelineFilesRequest.
|
|
1045
|
+
* Use `create(DiscoverPipelineFilesRequestSchema)` to create a new message.
|
|
1046
|
+
*/
|
|
1047
|
+
export declare const DiscoverPipelineFilesRequestSchema: GenMessage<DiscoverPipelineFilesRequest>;
|
|
1048
|
+
/**
|
|
1049
|
+
* @generated from message slipway.v1.DiscoverPipelineFilesResponse
|
|
1050
|
+
*/
|
|
1051
|
+
export type DiscoverPipelineFilesResponse = Message<"slipway.v1.DiscoverPipelineFilesResponse"> & {
|
|
1052
|
+
/**
|
|
1053
|
+
* @generated from field: repeated slipway.v1.ScmFileEntry items = 1;
|
|
1054
|
+
*/
|
|
1055
|
+
items: ScmFileEntry[];
|
|
1056
|
+
/**
|
|
1057
|
+
* @generated from field: string ref = 2;
|
|
1058
|
+
*/
|
|
1059
|
+
ref: string;
|
|
1060
|
+
};
|
|
1061
|
+
/**
|
|
1062
|
+
* Describes the message slipway.v1.DiscoverPipelineFilesResponse.
|
|
1063
|
+
* Use `create(DiscoverPipelineFilesResponseSchema)` to create a new message.
|
|
1064
|
+
*/
|
|
1065
|
+
export declare const DiscoverPipelineFilesResponseSchema: GenMessage<DiscoverPipelineFilesResponse>;
|
|
1066
|
+
/**
|
|
1067
|
+
* SyncWebhook retries hook creation for a repository whose hook failed.
|
|
1068
|
+
*
|
|
1069
|
+
* @generated from message slipway.v1.ScmServiceSyncWebhookRequest
|
|
1070
|
+
*/
|
|
1071
|
+
export type ScmServiceSyncWebhookRequest = Message<"slipway.v1.ScmServiceSyncWebhookRequest"> & {
|
|
1072
|
+
/**
|
|
1073
|
+
* @generated from field: string repository_id = 1;
|
|
1074
|
+
*/
|
|
1075
|
+
repositoryId: string;
|
|
1076
|
+
};
|
|
1077
|
+
/**
|
|
1078
|
+
* Describes the message slipway.v1.ScmServiceSyncWebhookRequest.
|
|
1079
|
+
* Use `create(ScmServiceSyncWebhookRequestSchema)` to create a new message.
|
|
1080
|
+
*/
|
|
1081
|
+
export declare const ScmServiceSyncWebhookRequestSchema: GenMessage<ScmServiceSyncWebhookRequest>;
|
|
1082
|
+
/**
|
|
1083
|
+
* @generated from message slipway.v1.ScmServiceSyncWebhookResponse
|
|
1084
|
+
*/
|
|
1085
|
+
export type ScmServiceSyncWebhookResponse = Message<"slipway.v1.ScmServiceSyncWebhookResponse"> & {
|
|
1086
|
+
/**
|
|
1087
|
+
* @generated from field: slipway.v1.ScmRepository repository = 1;
|
|
1088
|
+
*/
|
|
1089
|
+
repository?: ScmRepository | undefined;
|
|
1090
|
+
};
|
|
1091
|
+
/**
|
|
1092
|
+
* Describes the message slipway.v1.ScmServiceSyncWebhookResponse.
|
|
1093
|
+
* Use `create(ScmServiceSyncWebhookResponseSchema)` to create a new message.
|
|
1094
|
+
*/
|
|
1095
|
+
export declare const ScmServiceSyncWebhookResponseSchema: GenMessage<ScmServiceSyncWebhookResponse>;
|
|
1096
|
+
/**
|
|
1097
|
+
* @generated from message slipway.v1.ScmServiceListWebhookDeliveriesRequest
|
|
1098
|
+
*/
|
|
1099
|
+
export type ScmServiceListWebhookDeliveriesRequest = Message<"slipway.v1.ScmServiceListWebhookDeliveriesRequest"> & {
|
|
1100
|
+
/**
|
|
1101
|
+
* @generated from field: string connection_id = 1;
|
|
1102
|
+
*/
|
|
1103
|
+
connectionId: string;
|
|
1104
|
+
/**
|
|
1105
|
+
* optional filter
|
|
1106
|
+
*
|
|
1107
|
+
* @generated from field: string repository_id = 2;
|
|
1108
|
+
*/
|
|
1109
|
+
repositoryId: string;
|
|
1110
|
+
/**
|
|
1111
|
+
* optional filter
|
|
1112
|
+
*
|
|
1113
|
+
* @generated from field: slipway.v1.ScmDeliveryStatus status = 3;
|
|
1114
|
+
*/
|
|
1115
|
+
status: ScmDeliveryStatus;
|
|
1116
|
+
/**
|
|
1117
|
+
* @generated from field: slipway.v1.PageRequest page = 4;
|
|
1118
|
+
*/
|
|
1119
|
+
page?: PageRequest | undefined;
|
|
1120
|
+
};
|
|
1121
|
+
/**
|
|
1122
|
+
* Describes the message slipway.v1.ScmServiceListWebhookDeliveriesRequest.
|
|
1123
|
+
* Use `create(ScmServiceListWebhookDeliveriesRequestSchema)` to create a new message.
|
|
1124
|
+
*/
|
|
1125
|
+
export declare const ScmServiceListWebhookDeliveriesRequestSchema: GenMessage<ScmServiceListWebhookDeliveriesRequest>;
|
|
1126
|
+
/**
|
|
1127
|
+
* @generated from message slipway.v1.ScmServiceListWebhookDeliveriesResponse
|
|
1128
|
+
*/
|
|
1129
|
+
export type ScmServiceListWebhookDeliveriesResponse = Message<"slipway.v1.ScmServiceListWebhookDeliveriesResponse"> & {
|
|
1130
|
+
/**
|
|
1131
|
+
* @generated from field: repeated slipway.v1.ScmWebhookDelivery items = 1;
|
|
1132
|
+
*/
|
|
1133
|
+
items: ScmWebhookDelivery[];
|
|
1134
|
+
/**
|
|
1135
|
+
* @generated from field: slipway.v1.PageResponse page = 2;
|
|
1136
|
+
*/
|
|
1137
|
+
page?: PageResponse | undefined;
|
|
1138
|
+
};
|
|
1139
|
+
/**
|
|
1140
|
+
* Describes the message slipway.v1.ScmServiceListWebhookDeliveriesResponse.
|
|
1141
|
+
* Use `create(ScmServiceListWebhookDeliveriesResponseSchema)` to create a new message.
|
|
1142
|
+
*/
|
|
1143
|
+
export declare const ScmServiceListWebhookDeliveriesResponseSchema: GenMessage<ScmServiceListWebhookDeliveriesResponse>;
|
|
1144
|
+
/**
|
|
1145
|
+
* @generated from message slipway.v1.ScmServiceGetWebhookDeliveryRequest
|
|
1146
|
+
*/
|
|
1147
|
+
export type ScmServiceGetWebhookDeliveryRequest = Message<"slipway.v1.ScmServiceGetWebhookDeliveryRequest"> & {
|
|
1148
|
+
/**
|
|
1149
|
+
* @generated from field: string id = 1;
|
|
1150
|
+
*/
|
|
1151
|
+
id: string;
|
|
1152
|
+
};
|
|
1153
|
+
/**
|
|
1154
|
+
* Describes the message slipway.v1.ScmServiceGetWebhookDeliveryRequest.
|
|
1155
|
+
* Use `create(ScmServiceGetWebhookDeliveryRequestSchema)` to create a new message.
|
|
1156
|
+
*/
|
|
1157
|
+
export declare const ScmServiceGetWebhookDeliveryRequestSchema: GenMessage<ScmServiceGetWebhookDeliveryRequest>;
|
|
1158
|
+
/**
|
|
1159
|
+
* @generated from message slipway.v1.ScmServiceGetWebhookDeliveryResponse
|
|
1160
|
+
*/
|
|
1161
|
+
export type ScmServiceGetWebhookDeliveryResponse = Message<"slipway.v1.ScmServiceGetWebhookDeliveryResponse"> & {
|
|
1162
|
+
/**
|
|
1163
|
+
* @generated from field: slipway.v1.ScmWebhookDelivery delivery = 1;
|
|
1164
|
+
*/
|
|
1165
|
+
delivery?: ScmWebhookDelivery | undefined;
|
|
1166
|
+
};
|
|
1167
|
+
/**
|
|
1168
|
+
* Describes the message slipway.v1.ScmServiceGetWebhookDeliveryResponse.
|
|
1169
|
+
* Use `create(ScmServiceGetWebhookDeliveryResponseSchema)` to create a new message.
|
|
1170
|
+
*/
|
|
1171
|
+
export declare const ScmServiceGetWebhookDeliveryResponseSchema: GenMessage<ScmServiceGetWebhookDeliveryResponse>;
|
|
1172
|
+
/**
|
|
1173
|
+
* @generated from message slipway.v1.ScmServiceRedeliverWebhookRequest
|
|
1174
|
+
*/
|
|
1175
|
+
export type ScmServiceRedeliverWebhookRequest = Message<"slipway.v1.ScmServiceRedeliverWebhookRequest"> & {
|
|
1176
|
+
/**
|
|
1177
|
+
* @generated from field: string id = 1;
|
|
1178
|
+
*/
|
|
1179
|
+
id: string;
|
|
1180
|
+
};
|
|
1181
|
+
/**
|
|
1182
|
+
* Describes the message slipway.v1.ScmServiceRedeliverWebhookRequest.
|
|
1183
|
+
* Use `create(ScmServiceRedeliverWebhookRequestSchema)` to create a new message.
|
|
1184
|
+
*/
|
|
1185
|
+
export declare const ScmServiceRedeliverWebhookRequestSchema: GenMessage<ScmServiceRedeliverWebhookRequest>;
|
|
1186
|
+
/**
|
|
1187
|
+
* @generated from message slipway.v1.ScmServiceRedeliverWebhookResponse
|
|
1188
|
+
*/
|
|
1189
|
+
export type ScmServiceRedeliverWebhookResponse = Message<"slipway.v1.ScmServiceRedeliverWebhookResponse"> & {
|
|
1190
|
+
/**
|
|
1191
|
+
* @generated from field: slipway.v1.ScmWebhookDelivery delivery = 1;
|
|
1192
|
+
*/
|
|
1193
|
+
delivery?: ScmWebhookDelivery | undefined;
|
|
1194
|
+
};
|
|
1195
|
+
/**
|
|
1196
|
+
* Describes the message slipway.v1.ScmServiceRedeliverWebhookResponse.
|
|
1197
|
+
* Use `create(ScmServiceRedeliverWebhookResponseSchema)` to create a new message.
|
|
1198
|
+
*/
|
|
1199
|
+
export declare const ScmServiceRedeliverWebhookResponseSchema: GenMessage<ScmServiceRedeliverWebhookResponse>;
|
|
1200
|
+
/**
|
|
1201
|
+
* ScmStatusEnvelope is the work.scm_status queue payload: orchestration enqueues one per run/job/deployment state
|
|
1202
|
+
* change and a worker applies it to the SCM. The payload is the JSON encoding of a status update; the envelope carries
|
|
1203
|
+
* what routing, tracing and de-duplication need.
|
|
1204
|
+
*
|
|
1205
|
+
* @generated from message slipway.v1.ScmStatusEnvelope
|
|
1206
|
+
*/
|
|
1207
|
+
export type ScmStatusEnvelope = Message<"slipway.v1.ScmStatusEnvelope"> & {
|
|
1208
|
+
/**
|
|
1209
|
+
* @generated from field: string org_id = 1;
|
|
1210
|
+
*/
|
|
1211
|
+
orgId: string;
|
|
1212
|
+
/**
|
|
1213
|
+
* @generated from field: string repository_id = 2;
|
|
1214
|
+
*/
|
|
1215
|
+
repositoryId: string;
|
|
1216
|
+
/**
|
|
1217
|
+
* check | commit_status | deployment | comment
|
|
1218
|
+
*
|
|
1219
|
+
* @generated from field: string kind = 3;
|
|
1220
|
+
*/
|
|
1221
|
+
kind: string;
|
|
1222
|
+
/**
|
|
1223
|
+
* used as Nats-Msg-Id so retried publishes collapse
|
|
1224
|
+
*
|
|
1225
|
+
* @generated from field: string idempotency_key = 4;
|
|
1226
|
+
*/
|
|
1227
|
+
idempotencyKey: string;
|
|
1228
|
+
/**
|
|
1229
|
+
* JSON StatusUpdate
|
|
1230
|
+
*
|
|
1231
|
+
* @generated from field: bytes payload = 5;
|
|
1232
|
+
*/
|
|
1233
|
+
payload: Uint8Array;
|
|
1234
|
+
/**
|
|
1235
|
+
* @generated from field: google.protobuf.Timestamp enqueued_at = 6;
|
|
1236
|
+
*/
|
|
1237
|
+
enqueuedAt?: Timestamp | undefined;
|
|
1238
|
+
};
|
|
1239
|
+
/**
|
|
1240
|
+
* Describes the message slipway.v1.ScmStatusEnvelope.
|
|
1241
|
+
* Use `create(ScmStatusEnvelopeSchema)` to create a new message.
|
|
1242
|
+
*/
|
|
1243
|
+
export declare const ScmStatusEnvelopeSchema: GenMessage<ScmStatusEnvelope>;
|
|
1244
|
+
/**
|
|
1245
|
+
* @generated from enum slipway.v1.ScmProviderKind
|
|
1246
|
+
*/
|
|
1247
|
+
export declare enum ScmProviderKind {
|
|
1248
|
+
/**
|
|
1249
|
+
* @generated from enum value: SCM_PROVIDER_KIND_UNSPECIFIED = 0;
|
|
1250
|
+
*/
|
|
1251
|
+
UNSPECIFIED = 0,
|
|
1252
|
+
/**
|
|
1253
|
+
* github.com and GitHub Enterprise Server
|
|
1254
|
+
*
|
|
1255
|
+
* @generated from enum value: SCM_PROVIDER_KIND_GITHUB = 1;
|
|
1256
|
+
*/
|
|
1257
|
+
GITHUB = 1,
|
|
1258
|
+
/**
|
|
1259
|
+
* gitlab.com and self-managed
|
|
1260
|
+
*
|
|
1261
|
+
* @generated from enum value: SCM_PROVIDER_KIND_GITLAB = 2;
|
|
1262
|
+
*/
|
|
1263
|
+
GITLAB = 2,
|
|
1264
|
+
/**
|
|
1265
|
+
* @generated from enum value: SCM_PROVIDER_KIND_BITBUCKET_CLOUD = 3;
|
|
1266
|
+
*/
|
|
1267
|
+
BITBUCKET_CLOUD = 3,
|
|
1268
|
+
/**
|
|
1269
|
+
* Bitbucket Data Center / Server
|
|
1270
|
+
*
|
|
1271
|
+
* @generated from enum value: SCM_PROVIDER_KIND_BITBUCKET_DC = 4;
|
|
1272
|
+
*/
|
|
1273
|
+
BITBUCKET_DC = 4,
|
|
1274
|
+
/**
|
|
1275
|
+
* @generated from enum value: SCM_PROVIDER_KIND_AZURE_REPOS = 5;
|
|
1276
|
+
*/
|
|
1277
|
+
AZURE_REPOS = 5,
|
|
1278
|
+
/**
|
|
1279
|
+
* Gitea and Forgejo
|
|
1280
|
+
*
|
|
1281
|
+
* @generated from enum value: SCM_PROVIDER_KIND_GITEA = 6;
|
|
1282
|
+
*/
|
|
1283
|
+
GITEA = 6
|
|
1284
|
+
}
|
|
1285
|
+
/**
|
|
1286
|
+
* Describes the enum slipway.v1.ScmProviderKind.
|
|
1287
|
+
*/
|
|
1288
|
+
export declare const ScmProviderKindSchema: GenEnum<ScmProviderKind>;
|
|
1289
|
+
/**
|
|
1290
|
+
* @generated from enum slipway.v1.ScmAuthMethod
|
|
1291
|
+
*/
|
|
1292
|
+
export declare enum ScmAuthMethod {
|
|
1293
|
+
/**
|
|
1294
|
+
* @generated from enum value: SCM_AUTH_METHOD_UNSPECIFIED = 0;
|
|
1295
|
+
*/
|
|
1296
|
+
UNSPECIFIED = 0,
|
|
1297
|
+
/**
|
|
1298
|
+
* install flow; short-lived installation tokens
|
|
1299
|
+
*
|
|
1300
|
+
* @generated from enum value: SCM_AUTH_METHOD_GITHUB_APP = 1;
|
|
1301
|
+
*/
|
|
1302
|
+
GITHUB_APP = 1,
|
|
1303
|
+
/**
|
|
1304
|
+
* OAuth 2 authorization-code flow with refresh
|
|
1305
|
+
*
|
|
1306
|
+
* @generated from enum value: SCM_AUTH_METHOD_OAUTH = 2;
|
|
1307
|
+
*/
|
|
1308
|
+
OAUTH = 2,
|
|
1309
|
+
/**
|
|
1310
|
+
* personal / project access token supplied by the user
|
|
1311
|
+
*
|
|
1312
|
+
* @generated from enum value: SCM_AUTH_METHOD_PAT = 3;
|
|
1313
|
+
*/
|
|
1314
|
+
PAT = 3
|
|
1315
|
+
}
|
|
1316
|
+
/**
|
|
1317
|
+
* Describes the enum slipway.v1.ScmAuthMethod.
|
|
1318
|
+
*/
|
|
1319
|
+
export declare const ScmAuthMethodSchema: GenEnum<ScmAuthMethod>;
|
|
1320
|
+
/**
|
|
1321
|
+
* @generated from enum slipway.v1.ScmConnectionStatus
|
|
1322
|
+
*/
|
|
1323
|
+
export declare enum ScmConnectionStatus {
|
|
1324
|
+
/**
|
|
1325
|
+
* @generated from enum value: SCM_CONNECTION_STATUS_UNSPECIFIED = 0;
|
|
1326
|
+
*/
|
|
1327
|
+
UNSPECIFIED = 0,
|
|
1328
|
+
/**
|
|
1329
|
+
* @generated from enum value: SCM_CONNECTION_STATUS_ACTIVE = 1;
|
|
1330
|
+
*/
|
|
1331
|
+
ACTIVE = 1,
|
|
1332
|
+
/**
|
|
1333
|
+
* token revoked/expired and could not be refreshed
|
|
1334
|
+
*
|
|
1335
|
+
* @generated from enum value: SCM_CONNECTION_STATUS_NEEDS_REAUTH = 2;
|
|
1336
|
+
*/
|
|
1337
|
+
NEEDS_REAUTH = 2,
|
|
1338
|
+
/**
|
|
1339
|
+
* e.g. GitHub App installation suspended
|
|
1340
|
+
*
|
|
1341
|
+
* @generated from enum value: SCM_CONNECTION_STATUS_SUSPENDED = 3;
|
|
1342
|
+
*/
|
|
1343
|
+
SUSPENDED = 3,
|
|
1344
|
+
/**
|
|
1345
|
+
* uninstalled on the provider side
|
|
1346
|
+
*
|
|
1347
|
+
* @generated from enum value: SCM_CONNECTION_STATUS_REVOKED = 4;
|
|
1348
|
+
*/
|
|
1349
|
+
REVOKED = 4
|
|
1350
|
+
}
|
|
1351
|
+
/**
|
|
1352
|
+
* Describes the enum slipway.v1.ScmConnectionStatus.
|
|
1353
|
+
*/
|
|
1354
|
+
export declare const ScmConnectionStatusSchema: GenEnum<ScmConnectionStatus>;
|
|
1355
|
+
/**
|
|
1356
|
+
* @generated from enum slipway.v1.ScmWebhookStatus
|
|
1357
|
+
*/
|
|
1358
|
+
export declare enum ScmWebhookStatus {
|
|
1359
|
+
/**
|
|
1360
|
+
* @generated from enum value: SCM_WEBHOOK_STATUS_UNSPECIFIED = 0;
|
|
1361
|
+
*/
|
|
1362
|
+
UNSPECIFIED = 0,
|
|
1363
|
+
/**
|
|
1364
|
+
* no hook registered
|
|
1365
|
+
*
|
|
1366
|
+
* @generated from enum value: SCM_WEBHOOK_STATUS_NONE = 1;
|
|
1367
|
+
*/
|
|
1368
|
+
NONE = 1,
|
|
1369
|
+
/**
|
|
1370
|
+
* Slipway created a repository hook
|
|
1371
|
+
*
|
|
1372
|
+
* @generated from enum value: SCM_WEBHOOK_STATUS_ACTIVE = 2;
|
|
1373
|
+
*/
|
|
1374
|
+
ACTIVE = 2,
|
|
1375
|
+
/**
|
|
1376
|
+
* events arrive through the provider app (GitHub App); no per-repo hook
|
|
1377
|
+
*
|
|
1378
|
+
* @generated from enum value: SCM_WEBHOOK_STATUS_APP = 3;
|
|
1379
|
+
*/
|
|
1380
|
+
APP = 3,
|
|
1381
|
+
/**
|
|
1382
|
+
* creation failed; see webhook_error
|
|
1383
|
+
*
|
|
1384
|
+
* @generated from enum value: SCM_WEBHOOK_STATUS_FAILED = 4;
|
|
1385
|
+
*/
|
|
1386
|
+
FAILED = 4,
|
|
1387
|
+
/**
|
|
1388
|
+
* user opted to configure the hook themselves
|
|
1389
|
+
*
|
|
1390
|
+
* @generated from enum value: SCM_WEBHOOK_STATUS_MANUAL = 5;
|
|
1391
|
+
*/
|
|
1392
|
+
MANUAL = 5
|
|
1393
|
+
}
|
|
1394
|
+
/**
|
|
1395
|
+
* Describes the enum slipway.v1.ScmWebhookStatus.
|
|
1396
|
+
*/
|
|
1397
|
+
export declare const ScmWebhookStatusSchema: GenEnum<ScmWebhookStatus>;
|
|
1398
|
+
/**
|
|
1399
|
+
* @generated from enum slipway.v1.ScmDeliveryStatus
|
|
1400
|
+
*/
|
|
1401
|
+
export declare enum ScmDeliveryStatus {
|
|
1402
|
+
/**
|
|
1403
|
+
* @generated from enum value: SCM_DELIVERY_STATUS_UNSPECIFIED = 0;
|
|
1404
|
+
*/
|
|
1405
|
+
UNSPECIFIED = 0,
|
|
1406
|
+
/**
|
|
1407
|
+
* @generated from enum value: SCM_DELIVERY_STATUS_RECEIVED = 1;
|
|
1408
|
+
*/
|
|
1409
|
+
RECEIVED = 1,
|
|
1410
|
+
/**
|
|
1411
|
+
* handed to orchestration
|
|
1412
|
+
*
|
|
1413
|
+
* @generated from enum value: SCM_DELIVERY_STATUS_PROCESSED = 2;
|
|
1414
|
+
*/
|
|
1415
|
+
PROCESSED = 2,
|
|
1416
|
+
/**
|
|
1417
|
+
* valid but no linked repository / uninteresting event
|
|
1418
|
+
*
|
|
1419
|
+
* @generated from enum value: SCM_DELIVERY_STATUS_IGNORED = 3;
|
|
1420
|
+
*/
|
|
1421
|
+
IGNORED = 3,
|
|
1422
|
+
/**
|
|
1423
|
+
* @generated from enum value: SCM_DELIVERY_STATUS_DUPLICATE = 4;
|
|
1424
|
+
*/
|
|
1425
|
+
DUPLICATE = 4,
|
|
1426
|
+
/**
|
|
1427
|
+
* verified but processing failed; can be redelivered
|
|
1428
|
+
*
|
|
1429
|
+
* @generated from enum value: SCM_DELIVERY_STATUS_FAILED = 5;
|
|
1430
|
+
*/
|
|
1431
|
+
FAILED = 5,
|
|
1432
|
+
/**
|
|
1433
|
+
* signature check failed
|
|
1434
|
+
*
|
|
1435
|
+
* @generated from enum value: SCM_DELIVERY_STATUS_REJECTED = 6;
|
|
1436
|
+
*/
|
|
1437
|
+
REJECTED = 6
|
|
1438
|
+
}
|
|
1439
|
+
/**
|
|
1440
|
+
* Describes the enum slipway.v1.ScmDeliveryStatus.
|
|
1441
|
+
*/
|
|
1442
|
+
export declare const ScmDeliveryStatusSchema: GenEnum<ScmDeliveryStatus>;
|
|
1443
|
+
/**
|
|
1444
|
+
* @generated from service slipway.v1.ScmService
|
|
1445
|
+
*/
|
|
1446
|
+
export declare const ScmService: GenService<{
|
|
1447
|
+
/**
|
|
1448
|
+
* @generated from rpc slipway.v1.ScmService.ListProviders
|
|
1449
|
+
*/
|
|
1450
|
+
listProviders: {
|
|
1451
|
+
methodKind: "unary";
|
|
1452
|
+
input: typeof ScmServiceListProvidersRequestSchema;
|
|
1453
|
+
output: typeof ScmServiceListProvidersResponseSchema;
|
|
1454
|
+
};
|
|
1455
|
+
/**
|
|
1456
|
+
* @generated from rpc slipway.v1.ScmService.StartConnection
|
|
1457
|
+
*/
|
|
1458
|
+
startConnection: {
|
|
1459
|
+
methodKind: "unary";
|
|
1460
|
+
input: typeof StartConnectionRequestSchema;
|
|
1461
|
+
output: typeof StartConnectionResponseSchema;
|
|
1462
|
+
};
|
|
1463
|
+
/**
|
|
1464
|
+
* @generated from rpc slipway.v1.ScmService.CompleteConnection
|
|
1465
|
+
*/
|
|
1466
|
+
completeConnection: {
|
|
1467
|
+
methodKind: "unary";
|
|
1468
|
+
input: typeof CompleteConnectionRequestSchema;
|
|
1469
|
+
output: typeof CompleteConnectionResponseSchema;
|
|
1470
|
+
};
|
|
1471
|
+
/**
|
|
1472
|
+
* @generated from rpc slipway.v1.ScmService.ListConnections
|
|
1473
|
+
*/
|
|
1474
|
+
listConnections: {
|
|
1475
|
+
methodKind: "unary";
|
|
1476
|
+
input: typeof ScmServiceListConnectionsRequestSchema;
|
|
1477
|
+
output: typeof ScmServiceListConnectionsResponseSchema;
|
|
1478
|
+
};
|
|
1479
|
+
/**
|
|
1480
|
+
* @generated from rpc slipway.v1.ScmService.GetConnection
|
|
1481
|
+
*/
|
|
1482
|
+
getConnection: {
|
|
1483
|
+
methodKind: "unary";
|
|
1484
|
+
input: typeof ScmServiceGetConnectionRequestSchema;
|
|
1485
|
+
output: typeof ScmServiceGetConnectionResponseSchema;
|
|
1486
|
+
};
|
|
1487
|
+
/**
|
|
1488
|
+
* @generated from rpc slipway.v1.ScmService.DeleteConnection
|
|
1489
|
+
*/
|
|
1490
|
+
deleteConnection: {
|
|
1491
|
+
methodKind: "unary";
|
|
1492
|
+
input: typeof ScmServiceDeleteConnectionRequestSchema;
|
|
1493
|
+
output: typeof ScmServiceDeleteConnectionResponseSchema;
|
|
1494
|
+
};
|
|
1495
|
+
/**
|
|
1496
|
+
* @generated from rpc slipway.v1.ScmService.ListAvailableRepos
|
|
1497
|
+
*/
|
|
1498
|
+
listAvailableRepos: {
|
|
1499
|
+
methodKind: "unary";
|
|
1500
|
+
input: typeof ListAvailableReposRequestSchema;
|
|
1501
|
+
output: typeof ListAvailableReposResponseSchema;
|
|
1502
|
+
};
|
|
1503
|
+
/**
|
|
1504
|
+
* @generated from rpc slipway.v1.ScmService.LinkRepo
|
|
1505
|
+
*/
|
|
1506
|
+
linkRepo: {
|
|
1507
|
+
methodKind: "unary";
|
|
1508
|
+
input: typeof LinkRepoRequestSchema;
|
|
1509
|
+
output: typeof LinkRepoResponseSchema;
|
|
1510
|
+
};
|
|
1511
|
+
/**
|
|
1512
|
+
* @generated from rpc slipway.v1.ScmService.UnlinkRepo
|
|
1513
|
+
*/
|
|
1514
|
+
unlinkRepo: {
|
|
1515
|
+
methodKind: "unary";
|
|
1516
|
+
input: typeof UnlinkRepoRequestSchema;
|
|
1517
|
+
output: typeof UnlinkRepoResponseSchema;
|
|
1518
|
+
};
|
|
1519
|
+
/**
|
|
1520
|
+
* @generated from rpc slipway.v1.ScmService.SyncWebhook
|
|
1521
|
+
*/
|
|
1522
|
+
syncWebhook: {
|
|
1523
|
+
methodKind: "unary";
|
|
1524
|
+
input: typeof ScmServiceSyncWebhookRequestSchema;
|
|
1525
|
+
output: typeof ScmServiceSyncWebhookResponseSchema;
|
|
1526
|
+
};
|
|
1527
|
+
/**
|
|
1528
|
+
* @generated from rpc slipway.v1.ScmService.ListRepositories
|
|
1529
|
+
*/
|
|
1530
|
+
listRepositories: {
|
|
1531
|
+
methodKind: "unary";
|
|
1532
|
+
input: typeof ScmServiceListRepositoriesRequestSchema;
|
|
1533
|
+
output: typeof ScmServiceListRepositoriesResponseSchema;
|
|
1534
|
+
};
|
|
1535
|
+
/**
|
|
1536
|
+
* @generated from rpc slipway.v1.ScmService.ListBranches
|
|
1537
|
+
*/
|
|
1538
|
+
listBranches: {
|
|
1539
|
+
methodKind: "unary";
|
|
1540
|
+
input: typeof ScmServiceListBranchesRequestSchema;
|
|
1541
|
+
output: typeof ScmServiceListBranchesResponseSchema;
|
|
1542
|
+
};
|
|
1543
|
+
/**
|
|
1544
|
+
* @generated from rpc slipway.v1.ScmService.GetFileContent
|
|
1545
|
+
*/
|
|
1546
|
+
getFileContent: {
|
|
1547
|
+
methodKind: "unary";
|
|
1548
|
+
input: typeof GetFileContentRequestSchema;
|
|
1549
|
+
output: typeof GetFileContentResponseSchema;
|
|
1550
|
+
};
|
|
1551
|
+
/**
|
|
1552
|
+
* @generated from rpc slipway.v1.ScmService.ListFiles
|
|
1553
|
+
*/
|
|
1554
|
+
listFiles: {
|
|
1555
|
+
methodKind: "unary";
|
|
1556
|
+
input: typeof ScmServiceListFilesRequestSchema;
|
|
1557
|
+
output: typeof ScmServiceListFilesResponseSchema;
|
|
1558
|
+
};
|
|
1559
|
+
/**
|
|
1560
|
+
* @generated from rpc slipway.v1.ScmService.CommitFile
|
|
1561
|
+
*/
|
|
1562
|
+
commitFile: {
|
|
1563
|
+
methodKind: "unary";
|
|
1564
|
+
input: typeof CommitFileRequestSchema;
|
|
1565
|
+
output: typeof CommitFileResponseSchema;
|
|
1566
|
+
};
|
|
1567
|
+
/**
|
|
1568
|
+
* @generated from rpc slipway.v1.ScmService.DiscoverPipelineFiles
|
|
1569
|
+
*/
|
|
1570
|
+
discoverPipelineFiles: {
|
|
1571
|
+
methodKind: "unary";
|
|
1572
|
+
input: typeof DiscoverPipelineFilesRequestSchema;
|
|
1573
|
+
output: typeof DiscoverPipelineFilesResponseSchema;
|
|
1574
|
+
};
|
|
1575
|
+
/**
|
|
1576
|
+
* @generated from rpc slipway.v1.ScmService.ListWebhookDeliveries
|
|
1577
|
+
*/
|
|
1578
|
+
listWebhookDeliveries: {
|
|
1579
|
+
methodKind: "unary";
|
|
1580
|
+
input: typeof ScmServiceListWebhookDeliveriesRequestSchema;
|
|
1581
|
+
output: typeof ScmServiceListWebhookDeliveriesResponseSchema;
|
|
1582
|
+
};
|
|
1583
|
+
/**
|
|
1584
|
+
* @generated from rpc slipway.v1.ScmService.GetWebhookDelivery
|
|
1585
|
+
*/
|
|
1586
|
+
getWebhookDelivery: {
|
|
1587
|
+
methodKind: "unary";
|
|
1588
|
+
input: typeof ScmServiceGetWebhookDeliveryRequestSchema;
|
|
1589
|
+
output: typeof ScmServiceGetWebhookDeliveryResponseSchema;
|
|
1590
|
+
};
|
|
1591
|
+
/**
|
|
1592
|
+
* @generated from rpc slipway.v1.ScmService.RedeliverWebhook
|
|
1593
|
+
*/
|
|
1594
|
+
redeliverWebhook: {
|
|
1595
|
+
methodKind: "unary";
|
|
1596
|
+
input: typeof ScmServiceRedeliverWebhookRequestSchema;
|
|
1597
|
+
output: typeof ScmServiceRedeliverWebhookResponseSchema;
|
|
1598
|
+
};
|
|
1599
|
+
}>;
|