@gitpod/public-api 0.1.5-sefftinge-allow-specification-of-10963.1 → 0.1.5-sefftinge-ubp-grant-free-credits-14591.11
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/gitpod/experimental/v1/pagination_pb.d.ts +7 -4
- package/lib/gitpod/experimental/v1/pagination_pb.d.ts.map +1 -1
- package/lib/gitpod/experimental/v1/pagination_pb.js +8 -5
- package/lib/gitpod/experimental/v1/pagination_pb.js.map +1 -1
- package/lib/gitpod/experimental/v1/projects_connectweb.d.ts +60 -0
- package/lib/gitpod/experimental/v1/projects_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/projects_connectweb.js +67 -0
- package/lib/gitpod/experimental/v1/projects_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/projects_pb.d.ts +319 -0
- package/lib/gitpod/experimental/v1/projects_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/projects_pb.js +474 -0
- package/lib/gitpod/experimental/v1/projects_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/teams_connectweb.d.ts +12 -1
- package/lib/gitpod/experimental/v1/teams_connectweb.d.ts.map +1 -1
- package/lib/gitpod/experimental/v1/teams_connectweb.js +11 -0
- package/lib/gitpod/experimental/v1/teams_connectweb.js.map +1 -1
- package/lib/gitpod/experimental/v1/teams_pb.d.ts +32 -0
- package/lib/gitpod/experimental/v1/teams_pb.d.ts.map +1 -1
- package/lib/gitpod/experimental/v1/teams_pb.js +59 -1
- package/lib/gitpod/experimental/v1/teams_pb.js.map +1 -1
- package/lib/gitpod/experimental/v1/tokens_connectweb.d.ts +82 -0
- package/lib/gitpod/experimental/v1/tokens_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/tokens_connectweb.js +89 -0
- package/lib/gitpod/experimental/v1/tokens_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/tokens_pb.d.ts +288 -0
- package/lib/gitpod/experimental/v1/tokens_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/tokens_pb.js +430 -0
- package/lib/gitpod/experimental/v1/tokens_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/user_connectweb.d.ts +71 -0
- package/lib/gitpod/experimental/v1/user_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/user_connectweb.js +78 -0
- package/lib/gitpod/experimental/v1/user_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/user_pb.d.ts +254 -0
- package/lib/gitpod/experimental/v1/user_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/user_pb.js +401 -0
- package/lib/gitpod/experimental/v1/user_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts +23 -1
- package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts.map +1 -1
- package/lib/gitpod/experimental/v1/workspaces_connectweb.js +22 -0
- package/lib/gitpod/experimental/v1/workspaces_connectweb.js.map +1 -1
- package/lib/gitpod/experimental/v1/workspaces_pb.d.ts +60 -0
- package/lib/gitpod/experimental/v1/workspaces_pb.d.ts.map +1 -1
- package/lib/gitpod/experimental/v1/workspaces_pb.js +113 -1
- package/lib/gitpod/experimental/v1/workspaces_pb.js.map +1 -1
- package/package.json +1 -1
- package/pkg-yarn.lock +1 -1
- package/provenance-bundle.jsonl +2 -2
@@ -0,0 +1,430 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* Copyright (c) 2022 Gitpod GmbH. All rights reserved.
|
4
|
+
* Licensed under the GNU Affero General Public License (AGPL).
|
5
|
+
* See License-AGPL.txt in the project root for license information.
|
6
|
+
*/
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
8
|
+
exports.DeletePersonalAccessTokenResponse = exports.DeletePersonalAccessTokenRequest = exports.UpdatePersonalAccessTokenResponse = exports.UpdatePersonalAccessTokenRequest = exports.RegeneratePersonalAccessTokenResponse = exports.RegeneratePersonalAccessTokenRequest = exports.ListPersonalAccessTokensResponse = exports.ListPersonalAccessTokensRequest = exports.GetPersonalAccessTokenResponse = exports.GetPersonalAccessTokenRequest = exports.CreatePersonalAccessTokenResponse = exports.CreatePersonalAccessTokenRequest = exports.PersonalAccessToken = void 0;
|
9
|
+
const protobuf_1 = require("@bufbuild/protobuf");
|
10
|
+
/**
|
11
|
+
* PersonalAccessToken represents details of an access token for personal use.
|
12
|
+
*
|
13
|
+
* @generated from message gitpod.experimental.v1.PersonalAccessToken
|
14
|
+
*/
|
15
|
+
class PersonalAccessToken extends protobuf_1.Message {
|
16
|
+
constructor(data) {
|
17
|
+
super();
|
18
|
+
/**
|
19
|
+
* id is the unique identifier of this token
|
20
|
+
* Read only.
|
21
|
+
*
|
22
|
+
* @generated from field: string id = 1;
|
23
|
+
*/
|
24
|
+
this.id = "";
|
25
|
+
/**
|
26
|
+
* value is the secret value of the token
|
27
|
+
* The value property is only populated when the PersonalAccessToken is first created, and never again.
|
28
|
+
* If you you want to compare your existing token, use the hash property
|
29
|
+
* Read only.
|
30
|
+
*
|
31
|
+
* @generated from field: string value = 2;
|
32
|
+
*/
|
33
|
+
this.value = "";
|
34
|
+
/**
|
35
|
+
* hash is the SHA-512 hash of the token value
|
36
|
+
* You can use the hash to compare a token you hold against the one we keep on record by doing `echo -n $TOKEN | sha256sum`.
|
37
|
+
* Read only.
|
38
|
+
*
|
39
|
+
* @generated from field: string hash = 3;
|
40
|
+
*/
|
41
|
+
this.hash = "";
|
42
|
+
/**
|
43
|
+
* name is the name of the token for humans, set by the user
|
44
|
+
*
|
45
|
+
* @generated from field: string name = 4;
|
46
|
+
*/
|
47
|
+
this.name = "";
|
48
|
+
/**
|
49
|
+
* description is the description of the token set by the user
|
50
|
+
*
|
51
|
+
* @generated from field: string description = 5;
|
52
|
+
*/
|
53
|
+
this.description = "";
|
54
|
+
/**
|
55
|
+
* scopes are the permission scopes attached to this token.
|
56
|
+
* By default, no scopes are attached and therefore no access is granted to this token.
|
57
|
+
* Specifying '*' grants all permissions the owner of the token has.
|
58
|
+
*
|
59
|
+
* @generated from field: repeated string scopes = 7;
|
60
|
+
*/
|
61
|
+
this.scopes = [];
|
62
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
63
|
+
}
|
64
|
+
static fromBinary(bytes, options) {
|
65
|
+
return new PersonalAccessToken().fromBinary(bytes, options);
|
66
|
+
}
|
67
|
+
static fromJson(jsonValue, options) {
|
68
|
+
return new PersonalAccessToken().fromJson(jsonValue, options);
|
69
|
+
}
|
70
|
+
static fromJsonString(jsonString, options) {
|
71
|
+
return new PersonalAccessToken().fromJsonString(jsonString, options);
|
72
|
+
}
|
73
|
+
static equals(a, b) {
|
74
|
+
return protobuf_1.proto3.util.equals(PersonalAccessToken, a, b);
|
75
|
+
}
|
76
|
+
}
|
77
|
+
exports.PersonalAccessToken = PersonalAccessToken;
|
78
|
+
PersonalAccessToken.runtime = protobuf_1.proto3;
|
79
|
+
PersonalAccessToken.typeName = "gitpod.experimental.v1.PersonalAccessToken";
|
80
|
+
PersonalAccessToken.fields = protobuf_1.proto3.util.newFieldList(() => [
|
81
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
82
|
+
{ no: 2, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
83
|
+
{ no: 3, name: "hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
84
|
+
{ no: 4, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
85
|
+
{ no: 5, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
86
|
+
{ no: 6, name: "expiration_time", kind: "message", T: protobuf_1.Timestamp },
|
87
|
+
{ no: 7, name: "scopes", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
88
|
+
{ no: 8, name: "created_at", kind: "message", T: protobuf_1.Timestamp },
|
89
|
+
]);
|
90
|
+
/**
|
91
|
+
* @generated from message gitpod.experimental.v1.CreatePersonalAccessTokenRequest
|
92
|
+
*/
|
93
|
+
class CreatePersonalAccessTokenRequest extends protobuf_1.Message {
|
94
|
+
constructor(data) {
|
95
|
+
super();
|
96
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
97
|
+
}
|
98
|
+
static fromBinary(bytes, options) {
|
99
|
+
return new CreatePersonalAccessTokenRequest().fromBinary(bytes, options);
|
100
|
+
}
|
101
|
+
static fromJson(jsonValue, options) {
|
102
|
+
return new CreatePersonalAccessTokenRequest().fromJson(jsonValue, options);
|
103
|
+
}
|
104
|
+
static fromJsonString(jsonString, options) {
|
105
|
+
return new CreatePersonalAccessTokenRequest().fromJsonString(jsonString, options);
|
106
|
+
}
|
107
|
+
static equals(a, b) {
|
108
|
+
return protobuf_1.proto3.util.equals(CreatePersonalAccessTokenRequest, a, b);
|
109
|
+
}
|
110
|
+
}
|
111
|
+
exports.CreatePersonalAccessTokenRequest = CreatePersonalAccessTokenRequest;
|
112
|
+
CreatePersonalAccessTokenRequest.runtime = protobuf_1.proto3;
|
113
|
+
CreatePersonalAccessTokenRequest.typeName = "gitpod.experimental.v1.CreatePersonalAccessTokenRequest";
|
114
|
+
CreatePersonalAccessTokenRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
115
|
+
{ no: 1, name: "token", kind: "message", T: PersonalAccessToken },
|
116
|
+
]);
|
117
|
+
/**
|
118
|
+
* @generated from message gitpod.experimental.v1.CreatePersonalAccessTokenResponse
|
119
|
+
*/
|
120
|
+
class CreatePersonalAccessTokenResponse extends protobuf_1.Message {
|
121
|
+
constructor(data) {
|
122
|
+
super();
|
123
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
124
|
+
}
|
125
|
+
static fromBinary(bytes, options) {
|
126
|
+
return new CreatePersonalAccessTokenResponse().fromBinary(bytes, options);
|
127
|
+
}
|
128
|
+
static fromJson(jsonValue, options) {
|
129
|
+
return new CreatePersonalAccessTokenResponse().fromJson(jsonValue, options);
|
130
|
+
}
|
131
|
+
static fromJsonString(jsonString, options) {
|
132
|
+
return new CreatePersonalAccessTokenResponse().fromJsonString(jsonString, options);
|
133
|
+
}
|
134
|
+
static equals(a, b) {
|
135
|
+
return protobuf_1.proto3.util.equals(CreatePersonalAccessTokenResponse, a, b);
|
136
|
+
}
|
137
|
+
}
|
138
|
+
exports.CreatePersonalAccessTokenResponse = CreatePersonalAccessTokenResponse;
|
139
|
+
CreatePersonalAccessTokenResponse.runtime = protobuf_1.proto3;
|
140
|
+
CreatePersonalAccessTokenResponse.typeName = "gitpod.experimental.v1.CreatePersonalAccessTokenResponse";
|
141
|
+
CreatePersonalAccessTokenResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
142
|
+
{ no: 1, name: "token", kind: "message", T: PersonalAccessToken },
|
143
|
+
]);
|
144
|
+
/**
|
145
|
+
* @generated from message gitpod.experimental.v1.GetPersonalAccessTokenRequest
|
146
|
+
*/
|
147
|
+
class GetPersonalAccessTokenRequest extends protobuf_1.Message {
|
148
|
+
constructor(data) {
|
149
|
+
super();
|
150
|
+
/**
|
151
|
+
* @generated from field: string id = 1;
|
152
|
+
*/
|
153
|
+
this.id = "";
|
154
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
155
|
+
}
|
156
|
+
static fromBinary(bytes, options) {
|
157
|
+
return new GetPersonalAccessTokenRequest().fromBinary(bytes, options);
|
158
|
+
}
|
159
|
+
static fromJson(jsonValue, options) {
|
160
|
+
return new GetPersonalAccessTokenRequest().fromJson(jsonValue, options);
|
161
|
+
}
|
162
|
+
static fromJsonString(jsonString, options) {
|
163
|
+
return new GetPersonalAccessTokenRequest().fromJsonString(jsonString, options);
|
164
|
+
}
|
165
|
+
static equals(a, b) {
|
166
|
+
return protobuf_1.proto3.util.equals(GetPersonalAccessTokenRequest, a, b);
|
167
|
+
}
|
168
|
+
}
|
169
|
+
exports.GetPersonalAccessTokenRequest = GetPersonalAccessTokenRequest;
|
170
|
+
GetPersonalAccessTokenRequest.runtime = protobuf_1.proto3;
|
171
|
+
GetPersonalAccessTokenRequest.typeName = "gitpod.experimental.v1.GetPersonalAccessTokenRequest";
|
172
|
+
GetPersonalAccessTokenRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
173
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
174
|
+
]);
|
175
|
+
/**
|
176
|
+
* @generated from message gitpod.experimental.v1.GetPersonalAccessTokenResponse
|
177
|
+
*/
|
178
|
+
class GetPersonalAccessTokenResponse extends protobuf_1.Message {
|
179
|
+
constructor(data) {
|
180
|
+
super();
|
181
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
182
|
+
}
|
183
|
+
static fromBinary(bytes, options) {
|
184
|
+
return new GetPersonalAccessTokenResponse().fromBinary(bytes, options);
|
185
|
+
}
|
186
|
+
static fromJson(jsonValue, options) {
|
187
|
+
return new GetPersonalAccessTokenResponse().fromJson(jsonValue, options);
|
188
|
+
}
|
189
|
+
static fromJsonString(jsonString, options) {
|
190
|
+
return new GetPersonalAccessTokenResponse().fromJsonString(jsonString, options);
|
191
|
+
}
|
192
|
+
static equals(a, b) {
|
193
|
+
return protobuf_1.proto3.util.equals(GetPersonalAccessTokenResponse, a, b);
|
194
|
+
}
|
195
|
+
}
|
196
|
+
exports.GetPersonalAccessTokenResponse = GetPersonalAccessTokenResponse;
|
197
|
+
GetPersonalAccessTokenResponse.runtime = protobuf_1.proto3;
|
198
|
+
GetPersonalAccessTokenResponse.typeName = "gitpod.experimental.v1.GetPersonalAccessTokenResponse";
|
199
|
+
GetPersonalAccessTokenResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
200
|
+
{ no: 1, name: "token", kind: "message", T: PersonalAccessToken },
|
201
|
+
]);
|
202
|
+
/**
|
203
|
+
* @generated from message gitpod.experimental.v1.ListPersonalAccessTokensRequest
|
204
|
+
*/
|
205
|
+
class ListPersonalAccessTokensRequest extends protobuf_1.Message {
|
206
|
+
constructor(data) {
|
207
|
+
super();
|
208
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
209
|
+
}
|
210
|
+
static fromBinary(bytes, options) {
|
211
|
+
return new ListPersonalAccessTokensRequest().fromBinary(bytes, options);
|
212
|
+
}
|
213
|
+
static fromJson(jsonValue, options) {
|
214
|
+
return new ListPersonalAccessTokensRequest().fromJson(jsonValue, options);
|
215
|
+
}
|
216
|
+
static fromJsonString(jsonString, options) {
|
217
|
+
return new ListPersonalAccessTokensRequest().fromJsonString(jsonString, options);
|
218
|
+
}
|
219
|
+
static equals(a, b) {
|
220
|
+
return protobuf_1.proto3.util.equals(ListPersonalAccessTokensRequest, a, b);
|
221
|
+
}
|
222
|
+
}
|
223
|
+
exports.ListPersonalAccessTokensRequest = ListPersonalAccessTokensRequest;
|
224
|
+
ListPersonalAccessTokensRequest.runtime = protobuf_1.proto3;
|
225
|
+
ListPersonalAccessTokensRequest.typeName = "gitpod.experimental.v1.ListPersonalAccessTokensRequest";
|
226
|
+
ListPersonalAccessTokensRequest.fields = protobuf_1.proto3.util.newFieldList(() => []);
|
227
|
+
/**
|
228
|
+
* @generated from message gitpod.experimental.v1.ListPersonalAccessTokensResponse
|
229
|
+
*/
|
230
|
+
class ListPersonalAccessTokensResponse extends protobuf_1.Message {
|
231
|
+
constructor(data) {
|
232
|
+
super();
|
233
|
+
/**
|
234
|
+
* @generated from field: repeated gitpod.experimental.v1.PersonalAccessToken tokens = 1;
|
235
|
+
*/
|
236
|
+
this.tokens = [];
|
237
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
238
|
+
}
|
239
|
+
static fromBinary(bytes, options) {
|
240
|
+
return new ListPersonalAccessTokensResponse().fromBinary(bytes, options);
|
241
|
+
}
|
242
|
+
static fromJson(jsonValue, options) {
|
243
|
+
return new ListPersonalAccessTokensResponse().fromJson(jsonValue, options);
|
244
|
+
}
|
245
|
+
static fromJsonString(jsonString, options) {
|
246
|
+
return new ListPersonalAccessTokensResponse().fromJsonString(jsonString, options);
|
247
|
+
}
|
248
|
+
static equals(a, b) {
|
249
|
+
return protobuf_1.proto3.util.equals(ListPersonalAccessTokensResponse, a, b);
|
250
|
+
}
|
251
|
+
}
|
252
|
+
exports.ListPersonalAccessTokensResponse = ListPersonalAccessTokensResponse;
|
253
|
+
ListPersonalAccessTokensResponse.runtime = protobuf_1.proto3;
|
254
|
+
ListPersonalAccessTokensResponse.typeName = "gitpod.experimental.v1.ListPersonalAccessTokensResponse";
|
255
|
+
ListPersonalAccessTokensResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
256
|
+
{ no: 1, name: "tokens", kind: "message", T: PersonalAccessToken, repeated: true },
|
257
|
+
]);
|
258
|
+
/**
|
259
|
+
* @generated from message gitpod.experimental.v1.RegeneratePersonalAccessTokenRequest
|
260
|
+
*/
|
261
|
+
class RegeneratePersonalAccessTokenRequest extends protobuf_1.Message {
|
262
|
+
constructor(data) {
|
263
|
+
super();
|
264
|
+
/**
|
265
|
+
* id is the ID of the PersonalAccessToken
|
266
|
+
*
|
267
|
+
* @generated from field: string id = 1;
|
268
|
+
*/
|
269
|
+
this.id = "";
|
270
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
271
|
+
}
|
272
|
+
static fromBinary(bytes, options) {
|
273
|
+
return new RegeneratePersonalAccessTokenRequest().fromBinary(bytes, options);
|
274
|
+
}
|
275
|
+
static fromJson(jsonValue, options) {
|
276
|
+
return new RegeneratePersonalAccessTokenRequest().fromJson(jsonValue, options);
|
277
|
+
}
|
278
|
+
static fromJsonString(jsonString, options) {
|
279
|
+
return new RegeneratePersonalAccessTokenRequest().fromJsonString(jsonString, options);
|
280
|
+
}
|
281
|
+
static equals(a, b) {
|
282
|
+
return protobuf_1.proto3.util.equals(RegeneratePersonalAccessTokenRequest, a, b);
|
283
|
+
}
|
284
|
+
}
|
285
|
+
exports.RegeneratePersonalAccessTokenRequest = RegeneratePersonalAccessTokenRequest;
|
286
|
+
RegeneratePersonalAccessTokenRequest.runtime = protobuf_1.proto3;
|
287
|
+
RegeneratePersonalAccessTokenRequest.typeName = "gitpod.experimental.v1.RegeneratePersonalAccessTokenRequest";
|
288
|
+
RegeneratePersonalAccessTokenRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
289
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
290
|
+
{ no: 2, name: "expiration_time", kind: "message", T: protobuf_1.Timestamp },
|
291
|
+
]);
|
292
|
+
/**
|
293
|
+
* @generated from message gitpod.experimental.v1.RegeneratePersonalAccessTokenResponse
|
294
|
+
*/
|
295
|
+
class RegeneratePersonalAccessTokenResponse extends protobuf_1.Message {
|
296
|
+
constructor(data) {
|
297
|
+
super();
|
298
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
299
|
+
}
|
300
|
+
static fromBinary(bytes, options) {
|
301
|
+
return new RegeneratePersonalAccessTokenResponse().fromBinary(bytes, options);
|
302
|
+
}
|
303
|
+
static fromJson(jsonValue, options) {
|
304
|
+
return new RegeneratePersonalAccessTokenResponse().fromJson(jsonValue, options);
|
305
|
+
}
|
306
|
+
static fromJsonString(jsonString, options) {
|
307
|
+
return new RegeneratePersonalAccessTokenResponse().fromJsonString(jsonString, options);
|
308
|
+
}
|
309
|
+
static equals(a, b) {
|
310
|
+
return protobuf_1.proto3.util.equals(RegeneratePersonalAccessTokenResponse, a, b);
|
311
|
+
}
|
312
|
+
}
|
313
|
+
exports.RegeneratePersonalAccessTokenResponse = RegeneratePersonalAccessTokenResponse;
|
314
|
+
RegeneratePersonalAccessTokenResponse.runtime = protobuf_1.proto3;
|
315
|
+
RegeneratePersonalAccessTokenResponse.typeName = "gitpod.experimental.v1.RegeneratePersonalAccessTokenResponse";
|
316
|
+
RegeneratePersonalAccessTokenResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
317
|
+
{ no: 1, name: "token", kind: "message", T: PersonalAccessToken },
|
318
|
+
]);
|
319
|
+
/**
|
320
|
+
* @generated from message gitpod.experimental.v1.UpdatePersonalAccessTokenRequest
|
321
|
+
*/
|
322
|
+
class UpdatePersonalAccessTokenRequest extends protobuf_1.Message {
|
323
|
+
constructor(data) {
|
324
|
+
super();
|
325
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
326
|
+
}
|
327
|
+
static fromBinary(bytes, options) {
|
328
|
+
return new UpdatePersonalAccessTokenRequest().fromBinary(bytes, options);
|
329
|
+
}
|
330
|
+
static fromJson(jsonValue, options) {
|
331
|
+
return new UpdatePersonalAccessTokenRequest().fromJson(jsonValue, options);
|
332
|
+
}
|
333
|
+
static fromJsonString(jsonString, options) {
|
334
|
+
return new UpdatePersonalAccessTokenRequest().fromJsonString(jsonString, options);
|
335
|
+
}
|
336
|
+
static equals(a, b) {
|
337
|
+
return protobuf_1.proto3.util.equals(UpdatePersonalAccessTokenRequest, a, b);
|
338
|
+
}
|
339
|
+
}
|
340
|
+
exports.UpdatePersonalAccessTokenRequest = UpdatePersonalAccessTokenRequest;
|
341
|
+
UpdatePersonalAccessTokenRequest.runtime = protobuf_1.proto3;
|
342
|
+
UpdatePersonalAccessTokenRequest.typeName = "gitpod.experimental.v1.UpdatePersonalAccessTokenRequest";
|
343
|
+
UpdatePersonalAccessTokenRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
344
|
+
{ no: 1, name: "token", kind: "message", T: PersonalAccessToken },
|
345
|
+
{ no: 2, name: "update_mask", kind: "message", T: protobuf_1.FieldMask },
|
346
|
+
]);
|
347
|
+
/**
|
348
|
+
* @generated from message gitpod.experimental.v1.UpdatePersonalAccessTokenResponse
|
349
|
+
*/
|
350
|
+
class UpdatePersonalAccessTokenResponse extends protobuf_1.Message {
|
351
|
+
constructor(data) {
|
352
|
+
super();
|
353
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
354
|
+
}
|
355
|
+
static fromBinary(bytes, options) {
|
356
|
+
return new UpdatePersonalAccessTokenResponse().fromBinary(bytes, options);
|
357
|
+
}
|
358
|
+
static fromJson(jsonValue, options) {
|
359
|
+
return new UpdatePersonalAccessTokenResponse().fromJson(jsonValue, options);
|
360
|
+
}
|
361
|
+
static fromJsonString(jsonString, options) {
|
362
|
+
return new UpdatePersonalAccessTokenResponse().fromJsonString(jsonString, options);
|
363
|
+
}
|
364
|
+
static equals(a, b) {
|
365
|
+
return protobuf_1.proto3.util.equals(UpdatePersonalAccessTokenResponse, a, b);
|
366
|
+
}
|
367
|
+
}
|
368
|
+
exports.UpdatePersonalAccessTokenResponse = UpdatePersonalAccessTokenResponse;
|
369
|
+
UpdatePersonalAccessTokenResponse.runtime = protobuf_1.proto3;
|
370
|
+
UpdatePersonalAccessTokenResponse.typeName = "gitpod.experimental.v1.UpdatePersonalAccessTokenResponse";
|
371
|
+
UpdatePersonalAccessTokenResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
372
|
+
{ no: 1, name: "token", kind: "message", T: PersonalAccessToken },
|
373
|
+
]);
|
374
|
+
/**
|
375
|
+
* @generated from message gitpod.experimental.v1.DeletePersonalAccessTokenRequest
|
376
|
+
*/
|
377
|
+
class DeletePersonalAccessTokenRequest extends protobuf_1.Message {
|
378
|
+
constructor(data) {
|
379
|
+
super();
|
380
|
+
/**
|
381
|
+
* @generated from field: string id = 1;
|
382
|
+
*/
|
383
|
+
this.id = "";
|
384
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
385
|
+
}
|
386
|
+
static fromBinary(bytes, options) {
|
387
|
+
return new DeletePersonalAccessTokenRequest().fromBinary(bytes, options);
|
388
|
+
}
|
389
|
+
static fromJson(jsonValue, options) {
|
390
|
+
return new DeletePersonalAccessTokenRequest().fromJson(jsonValue, options);
|
391
|
+
}
|
392
|
+
static fromJsonString(jsonString, options) {
|
393
|
+
return new DeletePersonalAccessTokenRequest().fromJsonString(jsonString, options);
|
394
|
+
}
|
395
|
+
static equals(a, b) {
|
396
|
+
return protobuf_1.proto3.util.equals(DeletePersonalAccessTokenRequest, a, b);
|
397
|
+
}
|
398
|
+
}
|
399
|
+
exports.DeletePersonalAccessTokenRequest = DeletePersonalAccessTokenRequest;
|
400
|
+
DeletePersonalAccessTokenRequest.runtime = protobuf_1.proto3;
|
401
|
+
DeletePersonalAccessTokenRequest.typeName = "gitpod.experimental.v1.DeletePersonalAccessTokenRequest";
|
402
|
+
DeletePersonalAccessTokenRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
403
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
404
|
+
]);
|
405
|
+
/**
|
406
|
+
* @generated from message gitpod.experimental.v1.DeletePersonalAccessTokenResponse
|
407
|
+
*/
|
408
|
+
class DeletePersonalAccessTokenResponse extends protobuf_1.Message {
|
409
|
+
constructor(data) {
|
410
|
+
super();
|
411
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
412
|
+
}
|
413
|
+
static fromBinary(bytes, options) {
|
414
|
+
return new DeletePersonalAccessTokenResponse().fromBinary(bytes, options);
|
415
|
+
}
|
416
|
+
static fromJson(jsonValue, options) {
|
417
|
+
return new DeletePersonalAccessTokenResponse().fromJson(jsonValue, options);
|
418
|
+
}
|
419
|
+
static fromJsonString(jsonString, options) {
|
420
|
+
return new DeletePersonalAccessTokenResponse().fromJsonString(jsonString, options);
|
421
|
+
}
|
422
|
+
static equals(a, b) {
|
423
|
+
return protobuf_1.proto3.util.equals(DeletePersonalAccessTokenResponse, a, b);
|
424
|
+
}
|
425
|
+
}
|
426
|
+
exports.DeletePersonalAccessTokenResponse = DeletePersonalAccessTokenResponse;
|
427
|
+
DeletePersonalAccessTokenResponse.runtime = protobuf_1.proto3;
|
428
|
+
DeletePersonalAccessTokenResponse.typeName = "gitpod.experimental.v1.DeletePersonalAccessTokenResponse";
|
429
|
+
DeletePersonalAccessTokenResponse.fields = protobuf_1.proto3.util.newFieldList(() => []);
|
430
|
+
//# sourceMappingURL=tokens_pb.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"tokens_pb.js","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/tokens_pb.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAQH,iDAAyE;AAEzE;;;;GAIG;AACH,MAAa,mBAAoB,SAAQ,kBAA4B;IAkEnE,YAAY,IAA0C;QACpD,KAAK,EAAE,CAAC;Q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,MAAM,CAAC,iCAAiC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IACrE,CAAC;;AAzBH,8EA0BC;AApBiB,yCAAO,GAAG,iBAAM,CAAC;AACjB,0CAAQ,GAAG,0DAA0D,CAAC;AACtE,wCAAM,GAAc,iBAAM,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC,EAClE,CAAC,CAAC"}
|
@@ -0,0 +1,71 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) 2022 Gitpod GmbH. All rights reserved.
|
3
|
+
* Licensed under the GNU Affero General Public License (AGPL).
|
4
|
+
* See License-AGPL.txt in the project root for license information.
|
5
|
+
*/
|
6
|
+
import { CreateSSHKeyRequest, CreateSSHKeyResponse, DeleteSSHKeyRequest, DeleteSSHKeyResponse, GetAuthenticatedUserRequest, GetAuthenticatedUserResponse, GetSSHKeyRequest, GetSSHKeyResponse, ListSSHKeysRequest, ListSSHKeysResponse } from "./user_pb.js";
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
8
|
+
/**
|
9
|
+
* @generated from service gitpod.experimental.v1.UserService
|
10
|
+
*/
|
11
|
+
export declare const UserService: {
|
12
|
+
readonly typeName: "gitpod.experimental.v1.UserService";
|
13
|
+
readonly methods: {
|
14
|
+
/**
|
15
|
+
* GetAuthenticatedUser gets the user info.
|
16
|
+
*
|
17
|
+
* @generated from rpc gitpod.experimental.v1.UserService.GetAuthenticatedUser
|
18
|
+
*/
|
19
|
+
readonly getAuthenticatedUser: {
|
20
|
+
readonly name: "GetAuthenticatedUser";
|
21
|
+
readonly I: typeof GetAuthenticatedUserRequest;
|
22
|
+
readonly O: typeof GetAuthenticatedUserResponse;
|
23
|
+
readonly kind: MethodKind.Unary;
|
24
|
+
};
|
25
|
+
/**
|
26
|
+
* ListSSHKeys lists the public SSH keys.
|
27
|
+
*
|
28
|
+
* @generated from rpc gitpod.experimental.v1.UserService.ListSSHKeys
|
29
|
+
*/
|
30
|
+
readonly listSSHKeys: {
|
31
|
+
readonly name: "ListSSHKeys";
|
32
|
+
readonly I: typeof ListSSHKeysRequest;
|
33
|
+
readonly O: typeof ListSSHKeysResponse;
|
34
|
+
readonly kind: MethodKind.Unary;
|
35
|
+
};
|
36
|
+
/**
|
37
|
+
* CreateSSHKey adds a public SSH key.
|
38
|
+
*
|
39
|
+
* @generated from rpc gitpod.experimental.v1.UserService.CreateSSHKey
|
40
|
+
*/
|
41
|
+
readonly createSSHKey: {
|
42
|
+
readonly name: "CreateSSHKey";
|
43
|
+
readonly I: typeof CreateSSHKeyRequest;
|
44
|
+
readonly O: typeof CreateSSHKeyResponse;
|
45
|
+
readonly kind: MethodKind.Unary;
|
46
|
+
};
|
47
|
+
/**
|
48
|
+
* GetSSHKey retrieves an ssh key by ID.
|
49
|
+
*
|
50
|
+
* @generated from rpc gitpod.experimental.v1.UserService.GetSSHKey
|
51
|
+
*/
|
52
|
+
readonly getSSHKey: {
|
53
|
+
readonly name: "GetSSHKey";
|
54
|
+
readonly I: typeof GetSSHKeyRequest;
|
55
|
+
readonly O: typeof GetSSHKeyResponse;
|
56
|
+
readonly kind: MethodKind.Unary;
|
57
|
+
};
|
58
|
+
/**
|
59
|
+
* DeleteSSHKey removes a public SSH key.
|
60
|
+
*
|
61
|
+
* @generated from rpc gitpod.experimental.v1.UserService.DeleteSSHKey
|
62
|
+
*/
|
63
|
+
readonly deleteSSHKey: {
|
64
|
+
readonly name: "DeleteSSHKey";
|
65
|
+
readonly I: typeof DeleteSSHKeyRequest;
|
66
|
+
readonly O: typeof DeleteSSHKeyResponse;
|
67
|
+
readonly kind: MethodKind.Unary;
|
68
|
+
};
|
69
|
+
};
|
70
|
+
};
|
71
|
+
//# sourceMappingURL=user_connectweb.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"user_connectweb.d.ts","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/user_connectweb.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,OAAO,EAAC,mBAAmB,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,mBAAmB,EAAC,MAAM,cAAc,CAAC;AAC3P,OAAO,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAC;AAE9C;;GAEG;AACH,eAAO,MAAM,WAAW;;;QAGpB;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;;CAQG,CAAC"}
|
@@ -0,0 +1,78 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* Copyright (c) 2022 Gitpod GmbH. All rights reserved.
|
4
|
+
* Licensed under the GNU Affero General Public License (AGPL).
|
5
|
+
* See License-AGPL.txt in the project root for license information.
|
6
|
+
*/
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
8
|
+
exports.UserService = void 0;
|
9
|
+
// @generated by protoc-gen-connect-web v0.2.1 with parameter "target=ts"
|
10
|
+
// @generated from file gitpod/experimental/v1/user.proto (package gitpod.experimental.v1, syntax proto3)
|
11
|
+
/* eslint-disable */
|
12
|
+
/* @ts-nocheck */
|
13
|
+
const user_pb_js_1 = require("./user_pb.js");
|
14
|
+
const protobuf_1 = require("@bufbuild/protobuf");
|
15
|
+
/**
|
16
|
+
* @generated from service gitpod.experimental.v1.UserService
|
17
|
+
*/
|
18
|
+
exports.UserService = {
|
19
|
+
typeName: "gitpod.experimental.v1.UserService",
|
20
|
+
methods: {
|
21
|
+
/**
|
22
|
+
* GetAuthenticatedUser gets the user info.
|
23
|
+
*
|
24
|
+
* @generated from rpc gitpod.experimental.v1.UserService.GetAuthenticatedUser
|
25
|
+
*/
|
26
|
+
getAuthenticatedUser: {
|
27
|
+
name: "GetAuthenticatedUser",
|
28
|
+
I: user_pb_js_1.GetAuthenticatedUserRequest,
|
29
|
+
O: user_pb_js_1.GetAuthenticatedUserResponse,
|
30
|
+
kind: protobuf_1.MethodKind.Unary,
|
31
|
+
},
|
32
|
+
/**
|
33
|
+
* ListSSHKeys lists the public SSH keys.
|
34
|
+
*
|
35
|
+
* @generated from rpc gitpod.experimental.v1.UserService.ListSSHKeys
|
36
|
+
*/
|
37
|
+
listSSHKeys: {
|
38
|
+
name: "ListSSHKeys",
|
39
|
+
I: user_pb_js_1.ListSSHKeysRequest,
|
40
|
+
O: user_pb_js_1.ListSSHKeysResponse,
|
41
|
+
kind: protobuf_1.MethodKind.Unary,
|
42
|
+
},
|
43
|
+
/**
|
44
|
+
* CreateSSHKey adds a public SSH key.
|
45
|
+
*
|
46
|
+
* @generated from rpc gitpod.experimental.v1.UserService.CreateSSHKey
|
47
|
+
*/
|
48
|
+
createSSHKey: {
|
49
|
+
name: "CreateSSHKey",
|
50
|
+
I: user_pb_js_1.CreateSSHKeyRequest,
|
51
|
+
O: user_pb_js_1.CreateSSHKeyResponse,
|
52
|
+
kind: protobuf_1.MethodKind.Unary,
|
53
|
+
},
|
54
|
+
/**
|
55
|
+
* GetSSHKey retrieves an ssh key by ID.
|
56
|
+
*
|
57
|
+
* @generated from rpc gitpod.experimental.v1.UserService.GetSSHKey
|
58
|
+
*/
|
59
|
+
getSSHKey: {
|
60
|
+
name: "GetSSHKey",
|
61
|
+
I: user_pb_js_1.GetSSHKeyRequest,
|
62
|
+
O: user_pb_js_1.GetSSHKeyResponse,
|
63
|
+
kind: protobuf_1.MethodKind.Unary,
|
64
|
+
},
|
65
|
+
/**
|
66
|
+
* DeleteSSHKey removes a public SSH key.
|
67
|
+
*
|
68
|
+
* @generated from rpc gitpod.experimental.v1.UserService.DeleteSSHKey
|
69
|
+
*/
|
70
|
+
deleteSSHKey: {
|
71
|
+
name: "DeleteSSHKey",
|
72
|
+
I: user_pb_js_1.DeleteSSHKeyRequest,
|
73
|
+
O: user_pb_js_1.DeleteSSHKeyResponse,
|
74
|
+
kind: protobuf_1.MethodKind.Unary,
|
75
|
+
},
|
76
|
+
}
|
77
|
+
};
|
78
|
+
//# sourceMappingURL=user_connectweb.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"user_connectweb.js","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/user_connectweb.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,yEAAyE;AACzE,yGAAyG;AACzG,oBAAoB;AACpB,iBAAiB;AAEjB,6CAA2P;AAC3P,iDAA8C;AAE9C;;GAEG;AACU,QAAA,WAAW,GAAG;IACzB,QAAQ,EAAE,oCAAoC;IAC9C,OAAO,EAAE;QACP;;;;WAIG;QACH,oBAAoB,EAAE;YACpB,IAAI,EAAE,sBAAsB;YAC5B,CAAC,EAAE,wCAA2B;YAC9B,CAAC,EAAE,yCAA4B;YAC/B,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;;;WAIG;QACH,WAAW,EAAE;YACX,IAAI,EAAE,aAAa;YACnB,CAAC,EAAE,+BAAkB;YACrB,CAAC,EAAE,gCAAmB;YACtB,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;;;WAIG;QACH,YAAY,EAAE;YACZ,IAAI,EAAE,cAAc;YACpB,CAAC,EAAE,gCAAmB;YACtB,CAAC,EAAE,iCAAoB;YACvB,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;;;WAIG;QACH,SAAS,EAAE;YACT,IAAI,EAAE,WAAW;YACjB,CAAC,EAAE,6BAAgB;YACnB,CAAC,EAAE,8BAAiB;YACpB,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;;;WAIG;QACH,YAAY,EAAE;YACZ,IAAI,EAAE,cAAc;YACpB,CAAC,EAAE,gCAAmB;YACtB,CAAC,EAAE,iCAAoB;YACvB,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|