@gitpod/public-api 0.1.5-se-usage-view.45 → 0.1.5-se-jsonrpc-date.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.
Files changed (47) hide show
  1. package/lib/gitpod/experimental/v1/pagination_pb.d.ts +7 -4
  2. package/lib/gitpod/experimental/v1/pagination_pb.d.ts.map +1 -1
  3. package/lib/gitpod/experimental/v1/pagination_pb.js +8 -5
  4. package/lib/gitpod/experimental/v1/pagination_pb.js.map +1 -1
  5. package/lib/gitpod/experimental/v1/projects_connectweb.d.ts +60 -0
  6. package/lib/gitpod/experimental/v1/projects_connectweb.d.ts.map +1 -0
  7. package/lib/gitpod/experimental/v1/projects_connectweb.js +67 -0
  8. package/lib/gitpod/experimental/v1/projects_connectweb.js.map +1 -0
  9. package/lib/gitpod/experimental/v1/projects_pb.d.ts +319 -0
  10. package/lib/gitpod/experimental/v1/projects_pb.d.ts.map +1 -0
  11. package/lib/gitpod/experimental/v1/projects_pb.js +474 -0
  12. package/lib/gitpod/experimental/v1/projects_pb.js.map +1 -0
  13. package/lib/gitpod/experimental/v1/teams_connectweb.d.ts +12 -1
  14. package/lib/gitpod/experimental/v1/teams_connectweb.d.ts.map +1 -1
  15. package/lib/gitpod/experimental/v1/teams_connectweb.js +11 -0
  16. package/lib/gitpod/experimental/v1/teams_connectweb.js.map +1 -1
  17. package/lib/gitpod/experimental/v1/teams_pb.d.ts +32 -0
  18. package/lib/gitpod/experimental/v1/teams_pb.d.ts.map +1 -1
  19. package/lib/gitpod/experimental/v1/teams_pb.js +59 -1
  20. package/lib/gitpod/experimental/v1/teams_pb.js.map +1 -1
  21. package/lib/gitpod/experimental/v1/tokens_connectweb.d.ts +82 -0
  22. package/lib/gitpod/experimental/v1/tokens_connectweb.d.ts.map +1 -0
  23. package/lib/gitpod/experimental/v1/tokens_connectweb.js +89 -0
  24. package/lib/gitpod/experimental/v1/tokens_connectweb.js.map +1 -0
  25. package/lib/gitpod/experimental/v1/tokens_pb.d.ts +288 -0
  26. package/lib/gitpod/experimental/v1/tokens_pb.d.ts.map +1 -0
  27. package/lib/gitpod/experimental/v1/tokens_pb.js +430 -0
  28. package/lib/gitpod/experimental/v1/tokens_pb.js.map +1 -0
  29. package/lib/gitpod/experimental/v1/user_connectweb.d.ts +71 -0
  30. package/lib/gitpod/experimental/v1/user_connectweb.d.ts.map +1 -0
  31. package/lib/gitpod/experimental/v1/user_connectweb.js +78 -0
  32. package/lib/gitpod/experimental/v1/user_connectweb.js.map +1 -0
  33. package/lib/gitpod/experimental/v1/user_pb.d.ts +254 -0
  34. package/lib/gitpod/experimental/v1/user_pb.d.ts.map +1 -0
  35. package/lib/gitpod/experimental/v1/user_pb.js +401 -0
  36. package/lib/gitpod/experimental/v1/user_pb.js.map +1 -0
  37. package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts +23 -1
  38. package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts.map +1 -1
  39. package/lib/gitpod/experimental/v1/workspaces_connectweb.js +22 -0
  40. package/lib/gitpod/experimental/v1/workspaces_connectweb.js.map +1 -1
  41. package/lib/gitpod/experimental/v1/workspaces_pb.d.ts +60 -0
  42. package/lib/gitpod/experimental/v1/workspaces_pb.d.ts.map +1 -1
  43. package/lib/gitpod/experimental/v1/workspaces_pb.js +113 -1
  44. package/lib/gitpod/experimental/v1/workspaces_pb.js.map +1 -1
  45. package/package.json +1 -1
  46. package/pkg-yarn.lock +1 -1
  47. package/provenance-bundle.jsonl +3 -2
@@ -0,0 +1,254 @@
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 type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
+ import { Message, Timestamp } from "@bufbuild/protobuf";
8
+ /**
9
+ * @generated from message gitpod.experimental.v1.User
10
+ */
11
+ export declare class User extends Message<User> {
12
+ /**
13
+ * id is a UUID of the user
14
+ *
15
+ * @generated from field: string id = 1;
16
+ */
17
+ id: string;
18
+ /**
19
+ * name is the username
20
+ *
21
+ * @generated from field: string name = 2;
22
+ */
23
+ name: string;
24
+ /**
25
+ * avatar_url is a link to the user avatar
26
+ *
27
+ * @generated from field: string avatar_url = 3;
28
+ */
29
+ avatarUrl: string;
30
+ /**
31
+ * created_at is the creation time
32
+ *
33
+ * @generated from field: google.protobuf.Timestamp created_at = 5;
34
+ */
35
+ createdAt?: Timestamp;
36
+ constructor(data?: PartialMessage<User>);
37
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
38
+ static readonly typeName = "gitpod.experimental.v1.User";
39
+ static readonly fields: FieldList;
40
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): User;
41
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): User;
42
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): User;
43
+ static equals(a: User | PlainMessage<User> | undefined, b: User | PlainMessage<User> | undefined): boolean;
44
+ }
45
+ /**
46
+ * @generated from message gitpod.experimental.v1.SSHKey
47
+ */
48
+ export declare class SSHKey extends Message<SSHKey> {
49
+ /**
50
+ * id is a UUID of the SSH key
51
+ *
52
+ * @generated from field: string id = 1;
53
+ */
54
+ id: string;
55
+ /**
56
+ * name is the name of the SSH key
57
+ *
58
+ * @generated from field: string name = 2;
59
+ */
60
+ name: string;
61
+ /**
62
+ * key is the public SSH key
63
+ *
64
+ * @generated from field: string key = 3;
65
+ */
66
+ key: string;
67
+ /**
68
+ * created_at is the creation time
69
+ *
70
+ * @generated from field: google.protobuf.Timestamp created_at = 4;
71
+ */
72
+ createdAt?: Timestamp;
73
+ constructor(data?: PartialMessage<SSHKey>);
74
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
75
+ static readonly typeName = "gitpod.experimental.v1.SSHKey";
76
+ static readonly fields: FieldList;
77
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SSHKey;
78
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SSHKey;
79
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SSHKey;
80
+ static equals(a: SSHKey | PlainMessage<SSHKey> | undefined, b: SSHKey | PlainMessage<SSHKey> | undefined): boolean;
81
+ }
82
+ /**
83
+ * @generated from message gitpod.experimental.v1.GetAuthenticatedUserRequest
84
+ */
85
+ export declare class GetAuthenticatedUserRequest extends Message<GetAuthenticatedUserRequest> {
86
+ constructor(data?: PartialMessage<GetAuthenticatedUserRequest>);
87
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
88
+ static readonly typeName = "gitpod.experimental.v1.GetAuthenticatedUserRequest";
89
+ static readonly fields: FieldList;
90
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetAuthenticatedUserRequest;
91
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetAuthenticatedUserRequest;
92
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAuthenticatedUserRequest;
93
+ static equals(a: GetAuthenticatedUserRequest | PlainMessage<GetAuthenticatedUserRequest> | undefined, b: GetAuthenticatedUserRequest | PlainMessage<GetAuthenticatedUserRequest> | undefined): boolean;
94
+ }
95
+ /**
96
+ * @generated from message gitpod.experimental.v1.GetAuthenticatedUserResponse
97
+ */
98
+ export declare class GetAuthenticatedUserResponse extends Message<GetAuthenticatedUserResponse> {
99
+ /**
100
+ * @generated from field: gitpod.experimental.v1.User user = 1;
101
+ */
102
+ user?: User;
103
+ constructor(data?: PartialMessage<GetAuthenticatedUserResponse>);
104
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
105
+ static readonly typeName = "gitpod.experimental.v1.GetAuthenticatedUserResponse";
106
+ static readonly fields: FieldList;
107
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetAuthenticatedUserResponse;
108
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetAuthenticatedUserResponse;
109
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAuthenticatedUserResponse;
110
+ static equals(a: GetAuthenticatedUserResponse | PlainMessage<GetAuthenticatedUserResponse> | undefined, b: GetAuthenticatedUserResponse | PlainMessage<GetAuthenticatedUserResponse> | undefined): boolean;
111
+ }
112
+ /**
113
+ * TODO: pagination options
114
+ *
115
+ * @generated from message gitpod.experimental.v1.ListSSHKeysRequest
116
+ */
117
+ export declare class ListSSHKeysRequest extends Message<ListSSHKeysRequest> {
118
+ constructor(data?: PartialMessage<ListSSHKeysRequest>);
119
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
120
+ static readonly typeName = "gitpod.experimental.v1.ListSSHKeysRequest";
121
+ static readonly fields: FieldList;
122
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSSHKeysRequest;
123
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSSHKeysRequest;
124
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSSHKeysRequest;
125
+ static equals(a: ListSSHKeysRequest | PlainMessage<ListSSHKeysRequest> | undefined, b: ListSSHKeysRequest | PlainMessage<ListSSHKeysRequest> | undefined): boolean;
126
+ }
127
+ /**
128
+ * @generated from message gitpod.experimental.v1.ListSSHKeysResponse
129
+ */
130
+ export declare class ListSSHKeysResponse extends Message<ListSSHKeysResponse> {
131
+ /**
132
+ * @generated from field: repeated gitpod.experimental.v1.SSHKey keys = 1;
133
+ */
134
+ keys: SSHKey[];
135
+ constructor(data?: PartialMessage<ListSSHKeysResponse>);
136
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
137
+ static readonly typeName = "gitpod.experimental.v1.ListSSHKeysResponse";
138
+ static readonly fields: FieldList;
139
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSSHKeysResponse;
140
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSSHKeysResponse;
141
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSSHKeysResponse;
142
+ static equals(a: ListSSHKeysResponse | PlainMessage<ListSSHKeysResponse> | undefined, b: ListSSHKeysResponse | PlainMessage<ListSSHKeysResponse> | undefined): boolean;
143
+ }
144
+ /**
145
+ * @generated from message gitpod.experimental.v1.CreateSSHKeyRequest
146
+ */
147
+ export declare class CreateSSHKeyRequest extends Message<CreateSSHKeyRequest> {
148
+ /**
149
+ * name is the SSH key name
150
+ *
151
+ * @generated from field: string name = 1;
152
+ */
153
+ name: string;
154
+ /**
155
+ * the public SSH key
156
+ *
157
+ * @generated from field: string key = 2;
158
+ */
159
+ key: string;
160
+ constructor(data?: PartialMessage<CreateSSHKeyRequest>);
161
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
162
+ static readonly typeName = "gitpod.experimental.v1.CreateSSHKeyRequest";
163
+ static readonly fields: FieldList;
164
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateSSHKeyRequest;
165
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateSSHKeyRequest;
166
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateSSHKeyRequest;
167
+ static equals(a: CreateSSHKeyRequest | PlainMessage<CreateSSHKeyRequest> | undefined, b: CreateSSHKeyRequest | PlainMessage<CreateSSHKeyRequest> | undefined): boolean;
168
+ }
169
+ /**
170
+ * @generated from message gitpod.experimental.v1.CreateSSHKeyResponse
171
+ */
172
+ export declare class CreateSSHKeyResponse extends Message<CreateSSHKeyResponse> {
173
+ /**
174
+ * @generated from field: gitpod.experimental.v1.SSHKey key = 1;
175
+ */
176
+ key?: SSHKey;
177
+ constructor(data?: PartialMessage<CreateSSHKeyResponse>);
178
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
179
+ static readonly typeName = "gitpod.experimental.v1.CreateSSHKeyResponse";
180
+ static readonly fields: FieldList;
181
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateSSHKeyResponse;
182
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateSSHKeyResponse;
183
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateSSHKeyResponse;
184
+ static equals(a: CreateSSHKeyResponse | PlainMessage<CreateSSHKeyResponse> | undefined, b: CreateSSHKeyResponse | PlainMessage<CreateSSHKeyResponse> | undefined): boolean;
185
+ }
186
+ /**
187
+ * @generated from message gitpod.experimental.v1.GetSSHKeyRequest
188
+ */
189
+ export declare class GetSSHKeyRequest extends Message<GetSSHKeyRequest> {
190
+ /**
191
+ * id is the unique identifier of the SSH key to retreive.
192
+ *
193
+ * @generated from field: string key_id = 1;
194
+ */
195
+ keyId: string;
196
+ constructor(data?: PartialMessage<GetSSHKeyRequest>);
197
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
198
+ static readonly typeName = "gitpod.experimental.v1.GetSSHKeyRequest";
199
+ static readonly fields: FieldList;
200
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSSHKeyRequest;
201
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSSHKeyRequest;
202
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSSHKeyRequest;
203
+ static equals(a: GetSSHKeyRequest | PlainMessage<GetSSHKeyRequest> | undefined, b: GetSSHKeyRequest | PlainMessage<GetSSHKeyRequest> | undefined): boolean;
204
+ }
205
+ /**
206
+ * @generated from message gitpod.experimental.v1.GetSSHKeyResponse
207
+ */
208
+ export declare class GetSSHKeyResponse extends Message<GetSSHKeyResponse> {
209
+ /**
210
+ * @generated from field: gitpod.experimental.v1.SSHKey key = 1;
211
+ */
212
+ key?: SSHKey;
213
+ constructor(data?: PartialMessage<GetSSHKeyResponse>);
214
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
215
+ static readonly typeName = "gitpod.experimental.v1.GetSSHKeyResponse";
216
+ static readonly fields: FieldList;
217
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSSHKeyResponse;
218
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSSHKeyResponse;
219
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSSHKeyResponse;
220
+ static equals(a: GetSSHKeyResponse | PlainMessage<GetSSHKeyResponse> | undefined, b: GetSSHKeyResponse | PlainMessage<GetSSHKeyResponse> | undefined): boolean;
221
+ }
222
+ /**
223
+ * @generated from message gitpod.experimental.v1.DeleteSSHKeyRequest
224
+ */
225
+ export declare class DeleteSSHKeyRequest extends Message<DeleteSSHKeyRequest> {
226
+ /**
227
+ * id is the unique identifier of the SSH key to retreive.
228
+ *
229
+ * @generated from field: string key_id = 1;
230
+ */
231
+ keyId: string;
232
+ constructor(data?: PartialMessage<DeleteSSHKeyRequest>);
233
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
234
+ static readonly typeName = "gitpod.experimental.v1.DeleteSSHKeyRequest";
235
+ static readonly fields: FieldList;
236
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteSSHKeyRequest;
237
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteSSHKeyRequest;
238
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteSSHKeyRequest;
239
+ static equals(a: DeleteSSHKeyRequest | PlainMessage<DeleteSSHKeyRequest> | undefined, b: DeleteSSHKeyRequest | PlainMessage<DeleteSSHKeyRequest> | undefined): boolean;
240
+ }
241
+ /**
242
+ * @generated from message gitpod.experimental.v1.DeleteSSHKeyResponse
243
+ */
244
+ export declare class DeleteSSHKeyResponse extends Message<DeleteSSHKeyResponse> {
245
+ constructor(data?: PartialMessage<DeleteSSHKeyResponse>);
246
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
247
+ static readonly typeName = "gitpod.experimental.v1.DeleteSSHKeyResponse";
248
+ static readonly fields: FieldList;
249
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteSSHKeyResponse;
250
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteSSHKeyResponse;
251
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteSSHKeyResponse;
252
+ static equals(a: DeleteSSHKeyResponse | PlainMessage<DeleteSSHKeyResponse> | undefined, b: DeleteSSHKeyResponse | PlainMessage<DeleteSSHKeyResponse> | undefined): boolean;
253
+ }
254
+ //# sourceMappingURL=user_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user_pb.d.ts","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/user_pb.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,OAAO,KAAK,EAAC,iBAAiB,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,EAAC,MAAM,oBAAoB,CAAC;AAC/H,OAAO,EAAC,OAAO,EAAU,SAAS,EAAC,MAAM,oBAAoB,CAAC;AAE9D;;GAEG;AACH,qBAAa,IAAK,SAAQ,OAAO,CAAC,IAAI,CAAC;IACrC;;;;OAIG;IACH,EAAE,SAAM;IAER;;;;OAIG;IACH,IAAI,SAAM;IAEV;;;;OAIG;IACH,SAAS,SAAM;IAEf;;;;OAIG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;gBAEV,IAAI,CAAC,EAAE,cAAc,CAAC,IAAI,CAAC;IAKvC,MAAM,CAAC,QAAQ,CAAC,OA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
+ * 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.DeleteSSHKeyResponse = exports.DeleteSSHKeyRequest = exports.GetSSHKeyResponse = exports.GetSSHKeyRequest = exports.CreateSSHKeyResponse = exports.CreateSSHKeyRequest = exports.ListSSHKeysResponse = exports.ListSSHKeysRequest = exports.GetAuthenticatedUserResponse = exports.GetAuthenticatedUserRequest = exports.SSHKey = exports.User = void 0;
9
+ const protobuf_1 = require("@bufbuild/protobuf");
10
+ /**
11
+ * @generated from message gitpod.experimental.v1.User
12
+ */
13
+ class User extends protobuf_1.Message {
14
+ constructor(data) {
15
+ super();
16
+ /**
17
+ * id is a UUID of the user
18
+ *
19
+ * @generated from field: string id = 1;
20
+ */
21
+ this.id = "";
22
+ /**
23
+ * name is the username
24
+ *
25
+ * @generated from field: string name = 2;
26
+ */
27
+ this.name = "";
28
+ /**
29
+ * avatar_url is a link to the user avatar
30
+ *
31
+ * @generated from field: string avatar_url = 3;
32
+ */
33
+ this.avatarUrl = "";
34
+ protobuf_1.proto3.util.initPartial(data, this);
35
+ }
36
+ static fromBinary(bytes, options) {
37
+ return new User().fromBinary(bytes, options);
38
+ }
39
+ static fromJson(jsonValue, options) {
40
+ return new User().fromJson(jsonValue, options);
41
+ }
42
+ static fromJsonString(jsonString, options) {
43
+ return new User().fromJsonString(jsonString, options);
44
+ }
45
+ static equals(a, b) {
46
+ return protobuf_1.proto3.util.equals(User, a, b);
47
+ }
48
+ }
49
+ exports.User = User;
50
+ User.runtime = protobuf_1.proto3;
51
+ User.typeName = "gitpod.experimental.v1.User";
52
+ User.fields = protobuf_1.proto3.util.newFieldList(() => [
53
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
54
+ { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
55
+ { no: 3, name: "avatar_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
56
+ { no: 5, name: "created_at", kind: "message", T: protobuf_1.Timestamp },
57
+ ]);
58
+ /**
59
+ * @generated from message gitpod.experimental.v1.SSHKey
60
+ */
61
+ class SSHKey extends protobuf_1.Message {
62
+ constructor(data) {
63
+ super();
64
+ /**
65
+ * id is a UUID of the SSH key
66
+ *
67
+ * @generated from field: string id = 1;
68
+ */
69
+ this.id = "";
70
+ /**
71
+ * name is the name of the SSH key
72
+ *
73
+ * @generated from field: string name = 2;
74
+ */
75
+ this.name = "";
76
+ /**
77
+ * key is the public SSH key
78
+ *
79
+ * @generated from field: string key = 3;
80
+ */
81
+ this.key = "";
82
+ protobuf_1.proto3.util.initPartial(data, this);
83
+ }
84
+ static fromBinary(bytes, options) {
85
+ return new SSHKey().fromBinary(bytes, options);
86
+ }
87
+ static fromJson(jsonValue, options) {
88
+ return new SSHKey().fromJson(jsonValue, options);
89
+ }
90
+ static fromJsonString(jsonString, options) {
91
+ return new SSHKey().fromJsonString(jsonString, options);
92
+ }
93
+ static equals(a, b) {
94
+ return protobuf_1.proto3.util.equals(SSHKey, a, b);
95
+ }
96
+ }
97
+ exports.SSHKey = SSHKey;
98
+ SSHKey.runtime = protobuf_1.proto3;
99
+ SSHKey.typeName = "gitpod.experimental.v1.SSHKey";
100
+ SSHKey.fields = protobuf_1.proto3.util.newFieldList(() => [
101
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
102
+ { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
103
+ { no: 3, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
104
+ { no: 4, name: "created_at", kind: "message", T: protobuf_1.Timestamp },
105
+ ]);
106
+ /**
107
+ * @generated from message gitpod.experimental.v1.GetAuthenticatedUserRequest
108
+ */
109
+ class GetAuthenticatedUserRequest extends protobuf_1.Message {
110
+ constructor(data) {
111
+ super();
112
+ protobuf_1.proto3.util.initPartial(data, this);
113
+ }
114
+ static fromBinary(bytes, options) {
115
+ return new GetAuthenticatedUserRequest().fromBinary(bytes, options);
116
+ }
117
+ static fromJson(jsonValue, options) {
118
+ return new GetAuthenticatedUserRequest().fromJson(jsonValue, options);
119
+ }
120
+ static fromJsonString(jsonString, options) {
121
+ return new GetAuthenticatedUserRequest().fromJsonString(jsonString, options);
122
+ }
123
+ static equals(a, b) {
124
+ return protobuf_1.proto3.util.equals(GetAuthenticatedUserRequest, a, b);
125
+ }
126
+ }
127
+ exports.GetAuthenticatedUserRequest = GetAuthenticatedUserRequest;
128
+ GetAuthenticatedUserRequest.runtime = protobuf_1.proto3;
129
+ GetAuthenticatedUserRequest.typeName = "gitpod.experimental.v1.GetAuthenticatedUserRequest";
130
+ GetAuthenticatedUserRequest.fields = protobuf_1.proto3.util.newFieldList(() => []);
131
+ /**
132
+ * @generated from message gitpod.experimental.v1.GetAuthenticatedUserResponse
133
+ */
134
+ class GetAuthenticatedUserResponse extends protobuf_1.Message {
135
+ constructor(data) {
136
+ super();
137
+ protobuf_1.proto3.util.initPartial(data, this);
138
+ }
139
+ static fromBinary(bytes, options) {
140
+ return new GetAuthenticatedUserResponse().fromBinary(bytes, options);
141
+ }
142
+ static fromJson(jsonValue, options) {
143
+ return new GetAuthenticatedUserResponse().fromJson(jsonValue, options);
144
+ }
145
+ static fromJsonString(jsonString, options) {
146
+ return new GetAuthenticatedUserResponse().fromJsonString(jsonString, options);
147
+ }
148
+ static equals(a, b) {
149
+ return protobuf_1.proto3.util.equals(GetAuthenticatedUserResponse, a, b);
150
+ }
151
+ }
152
+ exports.GetAuthenticatedUserResponse = GetAuthenticatedUserResponse;
153
+ GetAuthenticatedUserResponse.runtime = protobuf_1.proto3;
154
+ GetAuthenticatedUserResponse.typeName = "gitpod.experimental.v1.GetAuthenticatedUserResponse";
155
+ GetAuthenticatedUserResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
156
+ { no: 1, name: "user", kind: "message", T: User },
157
+ ]);
158
+ /**
159
+ * TODO: pagination options
160
+ *
161
+ * @generated from message gitpod.experimental.v1.ListSSHKeysRequest
162
+ */
163
+ class ListSSHKeysRequest extends protobuf_1.Message {
164
+ constructor(data) {
165
+ super();
166
+ protobuf_1.proto3.util.initPartial(data, this);
167
+ }
168
+ static fromBinary(bytes, options) {
169
+ return new ListSSHKeysRequest().fromBinary(bytes, options);
170
+ }
171
+ static fromJson(jsonValue, options) {
172
+ return new ListSSHKeysRequest().fromJson(jsonValue, options);
173
+ }
174
+ static fromJsonString(jsonString, options) {
175
+ return new ListSSHKeysRequest().fromJsonString(jsonString, options);
176
+ }
177
+ static equals(a, b) {
178
+ return protobuf_1.proto3.util.equals(ListSSHKeysRequest, a, b);
179
+ }
180
+ }
181
+ exports.ListSSHKeysRequest = ListSSHKeysRequest;
182
+ ListSSHKeysRequest.runtime = protobuf_1.proto3;
183
+ ListSSHKeysRequest.typeName = "gitpod.experimental.v1.ListSSHKeysRequest";
184
+ ListSSHKeysRequest.fields = protobuf_1.proto3.util.newFieldList(() => []);
185
+ /**
186
+ * @generated from message gitpod.experimental.v1.ListSSHKeysResponse
187
+ */
188
+ class ListSSHKeysResponse extends protobuf_1.Message {
189
+ constructor(data) {
190
+ super();
191
+ /**
192
+ * @generated from field: repeated gitpod.experimental.v1.SSHKey keys = 1;
193
+ */
194
+ this.keys = [];
195
+ protobuf_1.proto3.util.initPartial(data, this);
196
+ }
197
+ static fromBinary(bytes, options) {
198
+ return new ListSSHKeysResponse().fromBinary(bytes, options);
199
+ }
200
+ static fromJson(jsonValue, options) {
201
+ return new ListSSHKeysResponse().fromJson(jsonValue, options);
202
+ }
203
+ static fromJsonString(jsonString, options) {
204
+ return new ListSSHKeysResponse().fromJsonString(jsonString, options);
205
+ }
206
+ static equals(a, b) {
207
+ return protobuf_1.proto3.util.equals(ListSSHKeysResponse, a, b);
208
+ }
209
+ }
210
+ exports.ListSSHKeysResponse = ListSSHKeysResponse;
211
+ ListSSHKeysResponse.runtime = protobuf_1.proto3;
212
+ ListSSHKeysResponse.typeName = "gitpod.experimental.v1.ListSSHKeysResponse";
213
+ ListSSHKeysResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
214
+ { no: 1, name: "keys", kind: "message", T: SSHKey, repeated: true },
215
+ ]);
216
+ /**
217
+ * @generated from message gitpod.experimental.v1.CreateSSHKeyRequest
218
+ */
219
+ class CreateSSHKeyRequest extends protobuf_1.Message {
220
+ constructor(data) {
221
+ super();
222
+ /**
223
+ * name is the SSH key name
224
+ *
225
+ * @generated from field: string name = 1;
226
+ */
227
+ this.name = "";
228
+ /**
229
+ * the public SSH key
230
+ *
231
+ * @generated from field: string key = 2;
232
+ */
233
+ this.key = "";
234
+ protobuf_1.proto3.util.initPartial(data, this);
235
+ }
236
+ static fromBinary(bytes, options) {
237
+ return new CreateSSHKeyRequest().fromBinary(bytes, options);
238
+ }
239
+ static fromJson(jsonValue, options) {
240
+ return new CreateSSHKeyRequest().fromJson(jsonValue, options);
241
+ }
242
+ static fromJsonString(jsonString, options) {
243
+ return new CreateSSHKeyRequest().fromJsonString(jsonString, options);
244
+ }
245
+ static equals(a, b) {
246
+ return protobuf_1.proto3.util.equals(CreateSSHKeyRequest, a, b);
247
+ }
248
+ }
249
+ exports.CreateSSHKeyRequest = CreateSSHKeyRequest;
250
+ CreateSSHKeyRequest.runtime = protobuf_1.proto3;
251
+ CreateSSHKeyRequest.typeName = "gitpod.experimental.v1.CreateSSHKeyRequest";
252
+ CreateSSHKeyRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
253
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
254
+ { no: 2, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
255
+ ]);
256
+ /**
257
+ * @generated from message gitpod.experimental.v1.CreateSSHKeyResponse
258
+ */
259
+ class CreateSSHKeyResponse extends protobuf_1.Message {
260
+ constructor(data) {
261
+ super();
262
+ protobuf_1.proto3.util.initPartial(data, this);
263
+ }
264
+ static fromBinary(bytes, options) {
265
+ return new CreateSSHKeyResponse().fromBinary(bytes, options);
266
+ }
267
+ static fromJson(jsonValue, options) {
268
+ return new CreateSSHKeyResponse().fromJson(jsonValue, options);
269
+ }
270
+ static fromJsonString(jsonString, options) {
271
+ return new CreateSSHKeyResponse().fromJsonString(jsonString, options);
272
+ }
273
+ static equals(a, b) {
274
+ return protobuf_1.proto3.util.equals(CreateSSHKeyResponse, a, b);
275
+ }
276
+ }
277
+ exports.CreateSSHKeyResponse = CreateSSHKeyResponse;
278
+ CreateSSHKeyResponse.runtime = protobuf_1.proto3;
279
+ CreateSSHKeyResponse.typeName = "gitpod.experimental.v1.CreateSSHKeyResponse";
280
+ CreateSSHKeyResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
281
+ { no: 1, name: "key", kind: "message", T: SSHKey },
282
+ ]);
283
+ /**
284
+ * @generated from message gitpod.experimental.v1.GetSSHKeyRequest
285
+ */
286
+ class GetSSHKeyRequest extends protobuf_1.Message {
287
+ constructor(data) {
288
+ super();
289
+ /**
290
+ * id is the unique identifier of the SSH key to retreive.
291
+ *
292
+ * @generated from field: string key_id = 1;
293
+ */
294
+ this.keyId = "";
295
+ protobuf_1.proto3.util.initPartial(data, this);
296
+ }
297
+ static fromBinary(bytes, options) {
298
+ return new GetSSHKeyRequest().fromBinary(bytes, options);
299
+ }
300
+ static fromJson(jsonValue, options) {
301
+ return new GetSSHKeyRequest().fromJson(jsonValue, options);
302
+ }
303
+ static fromJsonString(jsonString, options) {
304
+ return new GetSSHKeyRequest().fromJsonString(jsonString, options);
305
+ }
306
+ static equals(a, b) {
307
+ return protobuf_1.proto3.util.equals(GetSSHKeyRequest, a, b);
308
+ }
309
+ }
310
+ exports.GetSSHKeyRequest = GetSSHKeyRequest;
311
+ GetSSHKeyRequest.runtime = protobuf_1.proto3;
312
+ GetSSHKeyRequest.typeName = "gitpod.experimental.v1.GetSSHKeyRequest";
313
+ GetSSHKeyRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
314
+ { no: 1, name: "key_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
315
+ ]);
316
+ /**
317
+ * @generated from message gitpod.experimental.v1.GetSSHKeyResponse
318
+ */
319
+ class GetSSHKeyResponse extends protobuf_1.Message {
320
+ constructor(data) {
321
+ super();
322
+ protobuf_1.proto3.util.initPartial(data, this);
323
+ }
324
+ static fromBinary(bytes, options) {
325
+ return new GetSSHKeyResponse().fromBinary(bytes, options);
326
+ }
327
+ static fromJson(jsonValue, options) {
328
+ return new GetSSHKeyResponse().fromJson(jsonValue, options);
329
+ }
330
+ static fromJsonString(jsonString, options) {
331
+ return new GetSSHKeyResponse().fromJsonString(jsonString, options);
332
+ }
333
+ static equals(a, b) {
334
+ return protobuf_1.proto3.util.equals(GetSSHKeyResponse, a, b);
335
+ }
336
+ }
337
+ exports.GetSSHKeyResponse = GetSSHKeyResponse;
338
+ GetSSHKeyResponse.runtime = protobuf_1.proto3;
339
+ GetSSHKeyResponse.typeName = "gitpod.experimental.v1.GetSSHKeyResponse";
340
+ GetSSHKeyResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
341
+ { no: 1, name: "key", kind: "message", T: SSHKey },
342
+ ]);
343
+ /**
344
+ * @generated from message gitpod.experimental.v1.DeleteSSHKeyRequest
345
+ */
346
+ class DeleteSSHKeyRequest extends protobuf_1.Message {
347
+ constructor(data) {
348
+ super();
349
+ /**
350
+ * id is the unique identifier of the SSH key to retreive.
351
+ *
352
+ * @generated from field: string key_id = 1;
353
+ */
354
+ this.keyId = "";
355
+ protobuf_1.proto3.util.initPartial(data, this);
356
+ }
357
+ static fromBinary(bytes, options) {
358
+ return new DeleteSSHKeyRequest().fromBinary(bytes, options);
359
+ }
360
+ static fromJson(jsonValue, options) {
361
+ return new DeleteSSHKeyRequest().fromJson(jsonValue, options);
362
+ }
363
+ static fromJsonString(jsonString, options) {
364
+ return new DeleteSSHKeyRequest().fromJsonString(jsonString, options);
365
+ }
366
+ static equals(a, b) {
367
+ return protobuf_1.proto3.util.equals(DeleteSSHKeyRequest, a, b);
368
+ }
369
+ }
370
+ exports.DeleteSSHKeyRequest = DeleteSSHKeyRequest;
371
+ DeleteSSHKeyRequest.runtime = protobuf_1.proto3;
372
+ DeleteSSHKeyRequest.typeName = "gitpod.experimental.v1.DeleteSSHKeyRequest";
373
+ DeleteSSHKeyRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
374
+ { no: 1, name: "key_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
375
+ ]);
376
+ /**
377
+ * @generated from message gitpod.experimental.v1.DeleteSSHKeyResponse
378
+ */
379
+ class DeleteSSHKeyResponse extends protobuf_1.Message {
380
+ constructor(data) {
381
+ super();
382
+ protobuf_1.proto3.util.initPartial(data, this);
383
+ }
384
+ static fromBinary(bytes, options) {
385
+ return new DeleteSSHKeyResponse().fromBinary(bytes, options);
386
+ }
387
+ static fromJson(jsonValue, options) {
388
+ return new DeleteSSHKeyResponse().fromJson(jsonValue, options);
389
+ }
390
+ static fromJsonString(jsonString, options) {
391
+ return new DeleteSSHKeyResponse().fromJsonString(jsonString, options);
392
+ }
393
+ static equals(a, b) {
394
+ return protobuf_1.proto3.util.equals(DeleteSSHKeyResponse, a, b);
395
+ }
396
+ }
397
+ exports.DeleteSSHKeyResponse = DeleteSSHKeyResponse;
398
+ DeleteSSHKeyResponse.runtime = protobuf_1.proto3;
399
+ DeleteSSHKeyResponse.typeName = "gitpod.experimental.v1.DeleteSSHKeyResponse";
400
+ DeleteSSHKeyResponse.fields = protobuf_1.proto3.util.newFieldList(() => []);
401
+ //# sourceMappingURL=user_pb.js.map