@gitpod/public-api 0.1.5-vn-jetbrains-backend-plugin-223.6 → 0.1.5-wk-inte-test-20230117000019.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. package/lib/gitpod/experimental/v1/ide_client_connectweb.d.ts +38 -0
  2. package/lib/gitpod/experimental/v1/ide_client_connectweb.d.ts.map +1 -0
  3. package/lib/gitpod/experimental/v1/ide_client_connectweb.js +45 -0
  4. package/lib/gitpod/experimental/v1/ide_client_connectweb.js.map +1 -0
  5. package/lib/gitpod/experimental/v1/ide_client_pb.d.ts +68 -0
  6. package/lib/gitpod/experimental/v1/ide_client_pb.d.ts.map +1 -0
  7. package/lib/gitpod/experimental/v1/ide_client_pb.js +122 -0
  8. package/lib/gitpod/experimental/v1/ide_client_pb.js.map +1 -0
  9. package/lib/gitpod/experimental/v1/index.d.ts +9 -0
  10. package/lib/gitpod/experimental/v1/index.d.ts.map +1 -0
  11. package/lib/gitpod/experimental/v1/index.js +21 -0
  12. package/lib/gitpod/experimental/v1/index.js.map +1 -0
  13. package/lib/gitpod/experimental/v1/oidc_connectweb.d.ts +71 -0
  14. package/lib/gitpod/experimental/v1/oidc_connectweb.d.ts.map +1 -0
  15. package/lib/gitpod/experimental/v1/oidc_connectweb.js +78 -0
  16. package/lib/gitpod/experimental/v1/oidc_connectweb.js.map +1 -0
  17. package/lib/gitpod/experimental/v1/oidc_pb.d.ts +467 -0
  18. package/lib/gitpod/experimental/v1/oidc_pb.d.ts.map +1 -0
  19. package/lib/gitpod/experimental/v1/oidc_pb.js +658 -0
  20. package/lib/gitpod/experimental/v1/oidc_pb.js.map +1 -0
  21. package/lib/gitpod/experimental/v1/pagination_pb.d.ts +36 -0
  22. package/lib/gitpod/experimental/v1/pagination_pb.d.ts.map +1 -0
  23. package/lib/gitpod/experimental/v1/pagination_pb.js +53 -0
  24. package/lib/gitpod/experimental/v1/pagination_pb.js.map +1 -0
  25. package/lib/gitpod/experimental/v1/projects_connectweb.d.ts +60 -0
  26. package/lib/gitpod/experimental/v1/projects_connectweb.d.ts.map +1 -0
  27. package/lib/gitpod/experimental/v1/projects_connectweb.js +67 -0
  28. package/lib/gitpod/experimental/v1/projects_connectweb.js.map +1 -0
  29. package/lib/gitpod/experimental/v1/projects_pb.d.ts +319 -0
  30. package/lib/gitpod/experimental/v1/projects_pb.d.ts.map +1 -0
  31. package/lib/gitpod/experimental/v1/projects_pb.js +474 -0
  32. package/lib/gitpod/experimental/v1/projects_pb.js.map +1 -0
  33. package/lib/gitpod/experimental/v1/teams_connectweb.d.ts +104 -0
  34. package/lib/gitpod/experimental/v1/teams_connectweb.d.ts.map +1 -0
  35. package/lib/gitpod/experimental/v1/teams_connectweb.js +111 -0
  36. package/lib/gitpod/experimental/v1/teams_connectweb.js.map +1 -0
  37. package/lib/gitpod/experimental/v1/teams_pb.d.ts +433 -0
  38. package/lib/gitpod/experimental/v1/teams_pb.d.ts.map +1 -0
  39. package/lib/gitpod/experimental/v1/teams_pb.js +671 -0
  40. package/lib/gitpod/experimental/v1/teams_pb.js.map +1 -0
  41. package/lib/gitpod/experimental/v1/tokens_connectweb.d.ts +82 -0
  42. package/lib/gitpod/experimental/v1/tokens_connectweb.d.ts.map +1 -0
  43. package/lib/gitpod/experimental/v1/tokens_connectweb.js +89 -0
  44. package/lib/gitpod/experimental/v1/tokens_connectweb.js.map +1 -0
  45. package/lib/gitpod/experimental/v1/tokens_pb.d.ts +285 -0
  46. package/lib/gitpod/experimental/v1/tokens_pb.d.ts.map +1 -0
  47. package/lib/gitpod/experimental/v1/tokens_pb.js +422 -0
  48. package/lib/gitpod/experimental/v1/tokens_pb.js.map +1 -0
  49. package/lib/gitpod/experimental/v1/user_connectweb.d.ts +80 -0
  50. package/lib/gitpod/experimental/v1/user_connectweb.d.ts.map +1 -0
  51. package/lib/gitpod/experimental/v1/user_connectweb.js +87 -0
  52. package/lib/gitpod/experimental/v1/user_connectweb.js.map +1 -0
  53. package/lib/gitpod/experimental/v1/user_pb.d.ts +343 -0
  54. package/lib/gitpod/experimental/v1/user_pb.d.ts.map +1 -0
  55. package/lib/gitpod/experimental/v1/user_pb.js +534 -0
  56. package/lib/gitpod/experimental/v1/user_pb.js.map +1 -0
  57. package/lib/gitpod/experimental/v1/workspace_connectweb.d.ts +43 -0
  58. package/lib/gitpod/experimental/v1/workspace_connectweb.d.ts.map +1 -0
  59. package/lib/gitpod/experimental/v1/workspace_connectweb.js +50 -0
  60. package/lib/gitpod/experimental/v1/workspace_connectweb.js.map +1 -0
  61. package/lib/gitpod/experimental/v1/workspace_pb.d.ts +153 -0
  62. package/lib/gitpod/experimental/v1/workspace_pb.d.ts.map +1 -0
  63. package/lib/gitpod/experimental/v1/workspace_pb.js +254 -0
  64. package/lib/gitpod/experimental/v1/workspace_pb.js.map +1 -0
  65. package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts +107 -0
  66. package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts.map +1 -0
  67. package/lib/gitpod/experimental/v1/workspaces_connectweb.js +114 -0
  68. package/lib/gitpod/experimental/v1/workspaces_connectweb.js.map +1 -0
  69. package/lib/gitpod/experimental/v1/workspaces_pb.d.ts +874 -0
  70. package/lib/gitpod/experimental/v1/workspaces_pb.d.ts.map +1 -0
  71. package/lib/gitpod/experimental/v1/workspaces_pb.js +1235 -0
  72. package/lib/gitpod/experimental/v1/workspaces_pb.js.map +1 -0
  73. package/lib/index.d.ts +7 -0
  74. package/lib/index.d.ts.map +1 -0
  75. package/lib/index.js +10 -0
  76. package/lib/index.js.map +1 -0
  77. package/package.json +10 -12
  78. package/pkg-yarn.lock +5 -5
  79. package/provenance-bundle.jsonl +2 -2
  80. package/lib/gitpod/v1/pagination_grpc_pb.js +0 -7
  81. package/lib/gitpod/v1/pagination_pb.d.ts +0 -36
  82. package/lib/gitpod/v1/pagination_pb.js +0 -206
  83. package/lib/gitpod/v1/prebuilds_grpc_pb.d.ts +0 -95
  84. package/lib/gitpod/v1/prebuilds_grpc_pb.js +0 -161
  85. package/lib/gitpod/v1/prebuilds_pb.d.ts +0 -283
  86. package/lib/gitpod/v1/prebuilds_pb.js +0 -1997
  87. package/lib/gitpod/v1/workspaces_grpc_pb.d.ts +0 -197
  88. package/lib/gitpod/v1/workspaces_grpc_pb.js +0 -368
  89. package/lib/gitpod/v1/workspaces_pb.d.ts +0 -810
  90. package/lib/gitpod/v1/workspaces_pb.js +0 -5976
@@ -0,0 +1,671 @@
1
+ "use strict";
2
+ /**
3
+ * Copyright (c) 2023 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.DeleteTeamMemberResponse = exports.DeleteTeamMemberRequest = exports.UpdateTeamMemberResponse = exports.UpdateTeamMemberRequest = exports.ResetTeamInvitationResponse = exports.ResetTeamInvitationRequest = exports.JoinTeamResponse = exports.JoinTeamRequest = exports.DeleteTeamResponse = exports.DeleteTeamRequest = exports.ListTeamsResponse = exports.ListTeamsRequest = exports.GetTeamResponse = exports.GetTeamRequest = exports.CreateTeamResponse = exports.CreateTeamRequest = exports.TeamInvitation = exports.TeamMember = exports.Team = exports.TeamRole = void 0;
9
+ const protobuf_1 = require("@bufbuild/protobuf");
10
+ /**
11
+ * @generated from enum gitpod.experimental.v1.TeamRole
12
+ */
13
+ var TeamRole;
14
+ (function (TeamRole) {
15
+ /**
16
+ * TEAM_ROLE_UNKNOWN is the unkwnon state.
17
+ *
18
+ * @generated from enum value: TEAM_ROLE_UNSPECIFIED = 0;
19
+ */
20
+ TeamRole[TeamRole["UNSPECIFIED"] = 0] = "UNSPECIFIED";
21
+ /**
22
+ * TEAM_ROLE_OWNER is the owner of the team.
23
+ * A team can have multiple owners, but there must always be at least one owner.
24
+ *
25
+ * @generated from enum value: TEAM_ROLE_OWNER = 1;
26
+ */
27
+ TeamRole[TeamRole["OWNER"] = 1] = "OWNER";
28
+ /**
29
+ * TEAM_ROLE_MEMBER is a regular member of a team.
30
+ *
31
+ * @generated from enum value: TEAM_ROLE_MEMBER = 2;
32
+ */
33
+ TeamRole[TeamRole["MEMBER"] = 2] = "MEMBER";
34
+ })(TeamRole = exports.TeamRole || (exports.TeamRole = {}));
35
+ // Retrieve enum metadata with: proto3.getEnumType(TeamRole)
36
+ protobuf_1.proto3.util.setEnumType(TeamRole, "gitpod.experimental.v1.TeamRole", [
37
+ { no: 0, name: "TEAM_ROLE_UNSPECIFIED" },
38
+ { no: 1, name: "TEAM_ROLE_OWNER" },
39
+ { no: 2, name: "TEAM_ROLE_MEMBER" },
40
+ ]);
41
+ /**
42
+ * @generated from message gitpod.experimental.v1.Team
43
+ */
44
+ class Team extends protobuf_1.Message {
45
+ constructor(data) {
46
+ super();
47
+ /**
48
+ * id is a UUID of the Team
49
+ *
50
+ * @generated from field: string id = 1;
51
+ */
52
+ this.id = "";
53
+ /**
54
+ * name is the name of the Team
55
+ *
56
+ * @generated from field: string name = 2;
57
+ */
58
+ this.name = "";
59
+ /**
60
+ * slug is the short version of the Team name
61
+ *
62
+ * @generated from field: string slug = 3;
63
+ */
64
+ this.slug = "";
65
+ /**
66
+ * members are the team members of this Team
67
+ *
68
+ * @generated from field: repeated gitpod.experimental.v1.TeamMember members = 4;
69
+ */
70
+ this.members = [];
71
+ protobuf_1.proto3.util.initPartial(data, this);
72
+ }
73
+ static fromBinary(bytes, options) {
74
+ return new Team().fromBinary(bytes, options);
75
+ }
76
+ static fromJson(jsonValue, options) {
77
+ return new Team().fromJson(jsonValue, options);
78
+ }
79
+ static fromJsonString(jsonString, options) {
80
+ return new Team().fromJsonString(jsonString, options);
81
+ }
82
+ static equals(a, b) {
83
+ return protobuf_1.proto3.util.equals(Team, a, b);
84
+ }
85
+ }
86
+ exports.Team = Team;
87
+ Team.runtime = protobuf_1.proto3;
88
+ Team.typeName = "gitpod.experimental.v1.Team";
89
+ Team.fields = protobuf_1.proto3.util.newFieldList(() => [
90
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
91
+ { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
92
+ { no: 3, name: "slug", kind: "scalar", T: 9 /* ScalarType.STRING */ },
93
+ { no: 4, name: "members", kind: "message", T: TeamMember, repeated: true },
94
+ { no: 5, name: "team_invitation", kind: "message", T: TeamInvitation },
95
+ ]);
96
+ /**
97
+ * @generated from message gitpod.experimental.v1.TeamMember
98
+ */
99
+ class TeamMember extends protobuf_1.Message {
100
+ constructor(data) {
101
+ super();
102
+ /**
103
+ * user_id is the identifier of the user
104
+ *
105
+ * @generated from field: string user_id = 1;
106
+ */
107
+ this.userId = "";
108
+ /**
109
+ * role is the role this member is assigned
110
+ *
111
+ * @generated from field: gitpod.experimental.v1.TeamRole role = 2;
112
+ */
113
+ this.role = TeamRole.UNSPECIFIED;
114
+ /**
115
+ * avatar_url is the URL for the TeamMember
116
+ *
117
+ * @generated from field: string avatar_url = 4;
118
+ */
119
+ this.avatarUrl = "";
120
+ /**
121
+ * full_name is the name of the TeamMember
122
+ *
123
+ * @generated from field: string full_name = 5;
124
+ */
125
+ this.fullName = "";
126
+ /**
127
+ * primary_email is the primary email of the TeamMember
128
+ *
129
+ * @generated from field: string primary_email = 6;
130
+ */
131
+ this.primaryEmail = "";
132
+ protobuf_1.proto3.util.initPartial(data, this);
133
+ }
134
+ static fromBinary(bytes, options) {
135
+ return new TeamMember().fromBinary(bytes, options);
136
+ }
137
+ static fromJson(jsonValue, options) {
138
+ return new TeamMember().fromJson(jsonValue, options);
139
+ }
140
+ static fromJsonString(jsonString, options) {
141
+ return new TeamMember().fromJsonString(jsonString, options);
142
+ }
143
+ static equals(a, b) {
144
+ return protobuf_1.proto3.util.equals(TeamMember, a, b);
145
+ }
146
+ }
147
+ exports.TeamMember = TeamMember;
148
+ TeamMember.runtime = protobuf_1.proto3;
149
+ TeamMember.typeName = "gitpod.experimental.v1.TeamMember";
150
+ TeamMember.fields = protobuf_1.proto3.util.newFieldList(() => [
151
+ { no: 1, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
152
+ { no: 2, name: "role", kind: "enum", T: protobuf_1.proto3.getEnumType(TeamRole) },
153
+ { no: 3, name: "member_since", kind: "message", T: protobuf_1.Timestamp },
154
+ { no: 4, name: "avatar_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
155
+ { no: 5, name: "full_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
156
+ { no: 6, name: "primary_email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
157
+ ]);
158
+ /**
159
+ * @generated from message gitpod.experimental.v1.TeamInvitation
160
+ */
161
+ class TeamInvitation extends protobuf_1.Message {
162
+ constructor(data) {
163
+ super();
164
+ /**
165
+ * id is the invitation ID.
166
+ *
167
+ * @generated from field: string id = 1;
168
+ */
169
+ this.id = "";
170
+ protobuf_1.proto3.util.initPartial(data, this);
171
+ }
172
+ static fromBinary(bytes, options) {
173
+ return new TeamInvitation().fromBinary(bytes, options);
174
+ }
175
+ static fromJson(jsonValue, options) {
176
+ return new TeamInvitation().fromJson(jsonValue, options);
177
+ }
178
+ static fromJsonString(jsonString, options) {
179
+ return new TeamInvitation().fromJsonString(jsonString, options);
180
+ }
181
+ static equals(a, b) {
182
+ return protobuf_1.proto3.util.equals(TeamInvitation, a, b);
183
+ }
184
+ }
185
+ exports.TeamInvitation = TeamInvitation;
186
+ TeamInvitation.runtime = protobuf_1.proto3;
187
+ TeamInvitation.typeName = "gitpod.experimental.v1.TeamInvitation";
188
+ TeamInvitation.fields = protobuf_1.proto3.util.newFieldList(() => [
189
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
190
+ ]);
191
+ /**
192
+ * @generated from message gitpod.experimental.v1.CreateTeamRequest
193
+ */
194
+ class CreateTeamRequest extends protobuf_1.Message {
195
+ constructor(data) {
196
+ super();
197
+ /**
198
+ * name is the team name
199
+ *
200
+ * @generated from field: string name = 1;
201
+ */
202
+ this.name = "";
203
+ protobuf_1.proto3.util.initPartial(data, this);
204
+ }
205
+ static fromBinary(bytes, options) {
206
+ return new CreateTeamRequest().fromBinary(bytes, options);
207
+ }
208
+ static fromJson(jsonValue, options) {
209
+ return new CreateTeamRequest().fromJson(jsonValue, options);
210
+ }
211
+ static fromJsonString(jsonString, options) {
212
+ return new CreateTeamRequest().fromJsonString(jsonString, options);
213
+ }
214
+ static equals(a, b) {
215
+ return protobuf_1.proto3.util.equals(CreateTeamRequest, a, b);
216
+ }
217
+ }
218
+ exports.CreateTeamRequest = CreateTeamRequest;
219
+ CreateTeamRequest.runtime = protobuf_1.proto3;
220
+ CreateTeamRequest.typeName = "gitpod.experimental.v1.CreateTeamRequest";
221
+ CreateTeamRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
222
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
223
+ ]);
224
+ /**
225
+ * @generated from message gitpod.experimental.v1.CreateTeamResponse
226
+ */
227
+ class CreateTeamResponse extends protobuf_1.Message {
228
+ constructor(data) {
229
+ super();
230
+ protobuf_1.proto3.util.initPartial(data, this);
231
+ }
232
+ static fromBinary(bytes, options) {
233
+ return new CreateTeamResponse().fromBinary(bytes, options);
234
+ }
235
+ static fromJson(jsonValue, options) {
236
+ return new CreateTeamResponse().fromJson(jsonValue, options);
237
+ }
238
+ static fromJsonString(jsonString, options) {
239
+ return new CreateTeamResponse().fromJsonString(jsonString, options);
240
+ }
241
+ static equals(a, b) {
242
+ return protobuf_1.proto3.util.equals(CreateTeamResponse, a, b);
243
+ }
244
+ }
245
+ exports.CreateTeamResponse = CreateTeamResponse;
246
+ CreateTeamResponse.runtime = protobuf_1.proto3;
247
+ CreateTeamResponse.typeName = "gitpod.experimental.v1.CreateTeamResponse";
248
+ CreateTeamResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
249
+ { no: 1, name: "team", kind: "message", T: Team },
250
+ ]);
251
+ /**
252
+ * @generated from message gitpod.experimental.v1.GetTeamRequest
253
+ */
254
+ class GetTeamRequest extends protobuf_1.Message {
255
+ constructor(data) {
256
+ super();
257
+ /**
258
+ * team_id is the unique identifier of the Team to retreive.
259
+ *
260
+ * @generated from field: string team_id = 1;
261
+ */
262
+ this.teamId = "";
263
+ protobuf_1.proto3.util.initPartial(data, this);
264
+ }
265
+ static fromBinary(bytes, options) {
266
+ return new GetTeamRequest().fromBinary(bytes, options);
267
+ }
268
+ static fromJson(jsonValue, options) {
269
+ return new GetTeamRequest().fromJson(jsonValue, options);
270
+ }
271
+ static fromJsonString(jsonString, options) {
272
+ return new GetTeamRequest().fromJsonString(jsonString, options);
273
+ }
274
+ static equals(a, b) {
275
+ return protobuf_1.proto3.util.equals(GetTeamRequest, a, b);
276
+ }
277
+ }
278
+ exports.GetTeamRequest = GetTeamRequest;
279
+ GetTeamRequest.runtime = protobuf_1.proto3;
280
+ GetTeamRequest.typeName = "gitpod.experimental.v1.GetTeamRequest";
281
+ GetTeamRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
282
+ { no: 1, name: "team_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
283
+ ]);
284
+ /**
285
+ * @generated from message gitpod.experimental.v1.GetTeamResponse
286
+ */
287
+ class GetTeamResponse extends protobuf_1.Message {
288
+ constructor(data) {
289
+ super();
290
+ protobuf_1.proto3.util.initPartial(data, this);
291
+ }
292
+ static fromBinary(bytes, options) {
293
+ return new GetTeamResponse().fromBinary(bytes, options);
294
+ }
295
+ static fromJson(jsonValue, options) {
296
+ return new GetTeamResponse().fromJson(jsonValue, options);
297
+ }
298
+ static fromJsonString(jsonString, options) {
299
+ return new GetTeamResponse().fromJsonString(jsonString, options);
300
+ }
301
+ static equals(a, b) {
302
+ return protobuf_1.proto3.util.equals(GetTeamResponse, a, b);
303
+ }
304
+ }
305
+ exports.GetTeamResponse = GetTeamResponse;
306
+ GetTeamResponse.runtime = protobuf_1.proto3;
307
+ GetTeamResponse.typeName = "gitpod.experimental.v1.GetTeamResponse";
308
+ GetTeamResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
309
+ { no: 1, name: "team", kind: "message", T: Team },
310
+ ]);
311
+ /**
312
+ * TODO: pagination options
313
+ *
314
+ * @generated from message gitpod.experimental.v1.ListTeamsRequest
315
+ */
316
+ class ListTeamsRequest extends protobuf_1.Message {
317
+ constructor(data) {
318
+ super();
319
+ protobuf_1.proto3.util.initPartial(data, this);
320
+ }
321
+ static fromBinary(bytes, options) {
322
+ return new ListTeamsRequest().fromBinary(bytes, options);
323
+ }
324
+ static fromJson(jsonValue, options) {
325
+ return new ListTeamsRequest().fromJson(jsonValue, options);
326
+ }
327
+ static fromJsonString(jsonString, options) {
328
+ return new ListTeamsRequest().fromJsonString(jsonString, options);
329
+ }
330
+ static equals(a, b) {
331
+ return protobuf_1.proto3.util.equals(ListTeamsRequest, a, b);
332
+ }
333
+ }
334
+ exports.ListTeamsRequest = ListTeamsRequest;
335
+ ListTeamsRequest.runtime = protobuf_1.proto3;
336
+ ListTeamsRequest.typeName = "gitpod.experimental.v1.ListTeamsRequest";
337
+ ListTeamsRequest.fields = protobuf_1.proto3.util.newFieldList(() => []);
338
+ /**
339
+ * @generated from message gitpod.experimental.v1.ListTeamsResponse
340
+ */
341
+ class ListTeamsResponse extends protobuf_1.Message {
342
+ constructor(data) {
343
+ super();
344
+ /**
345
+ * @generated from field: repeated gitpod.experimental.v1.Team teams = 1;
346
+ */
347
+ this.teams = [];
348
+ protobuf_1.proto3.util.initPartial(data, this);
349
+ }
350
+ static fromBinary(bytes, options) {
351
+ return new ListTeamsResponse().fromBinary(bytes, options);
352
+ }
353
+ static fromJson(jsonValue, options) {
354
+ return new ListTeamsResponse().fromJson(jsonValue, options);
355
+ }
356
+ static fromJsonString(jsonString, options) {
357
+ return new ListTeamsResponse().fromJsonString(jsonString, options);
358
+ }
359
+ static equals(a, b) {
360
+ return protobuf_1.proto3.util.equals(ListTeamsResponse, a, b);
361
+ }
362
+ }
363
+ exports.ListTeamsResponse = ListTeamsResponse;
364
+ ListTeamsResponse.runtime = protobuf_1.proto3;
365
+ ListTeamsResponse.typeName = "gitpod.experimental.v1.ListTeamsResponse";
366
+ ListTeamsResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
367
+ { no: 1, name: "teams", kind: "message", T: Team, repeated: true },
368
+ ]);
369
+ /**
370
+ * @generated from message gitpod.experimental.v1.DeleteTeamRequest
371
+ */
372
+ class DeleteTeamRequest extends protobuf_1.Message {
373
+ constructor(data) {
374
+ super();
375
+ /**
376
+ * team_id is the ID of the team to delete
377
+ *
378
+ * @generated from field: string team_id = 1;
379
+ */
380
+ this.teamId = "";
381
+ protobuf_1.proto3.util.initPartial(data, this);
382
+ }
383
+ static fromBinary(bytes, options) {
384
+ return new DeleteTeamRequest().fromBinary(bytes, options);
385
+ }
386
+ static fromJson(jsonValue, options) {
387
+ return new DeleteTeamRequest().fromJson(jsonValue, options);
388
+ }
389
+ static fromJsonString(jsonString, options) {
390
+ return new DeleteTeamRequest().fromJsonString(jsonString, options);
391
+ }
392
+ static equals(a, b) {
393
+ return protobuf_1.proto3.util.equals(DeleteTeamRequest, a, b);
394
+ }
395
+ }
396
+ exports.DeleteTeamRequest = DeleteTeamRequest;
397
+ DeleteTeamRequest.runtime = protobuf_1.proto3;
398
+ DeleteTeamRequest.typeName = "gitpod.experimental.v1.DeleteTeamRequest";
399
+ DeleteTeamRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
400
+ { no: 1, name: "team_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
401
+ ]);
402
+ /**
403
+ * @generated from message gitpod.experimental.v1.DeleteTeamResponse
404
+ */
405
+ class DeleteTeamResponse extends protobuf_1.Message {
406
+ constructor(data) {
407
+ super();
408
+ protobuf_1.proto3.util.initPartial(data, this);
409
+ }
410
+ static fromBinary(bytes, options) {
411
+ return new DeleteTeamResponse().fromBinary(bytes, options);
412
+ }
413
+ static fromJson(jsonValue, options) {
414
+ return new DeleteTeamResponse().fromJson(jsonValue, options);
415
+ }
416
+ static fromJsonString(jsonString, options) {
417
+ return new DeleteTeamResponse().fromJsonString(jsonString, options);
418
+ }
419
+ static equals(a, b) {
420
+ return protobuf_1.proto3.util.equals(DeleteTeamResponse, a, b);
421
+ }
422
+ }
423
+ exports.DeleteTeamResponse = DeleteTeamResponse;
424
+ DeleteTeamResponse.runtime = protobuf_1.proto3;
425
+ DeleteTeamResponse.typeName = "gitpod.experimental.v1.DeleteTeamResponse";
426
+ DeleteTeamResponse.fields = protobuf_1.proto3.util.newFieldList(() => []);
427
+ /**
428
+ * @generated from message gitpod.experimental.v1.JoinTeamRequest
429
+ */
430
+ class JoinTeamRequest extends protobuf_1.Message {
431
+ constructor(data) {
432
+ super();
433
+ /**
434
+ * invitation_id is the invitation ID for a Team
435
+ *
436
+ * @generated from field: string invitation_id = 1;
437
+ */
438
+ this.invitationId = "";
439
+ protobuf_1.proto3.util.initPartial(data, this);
440
+ }
441
+ static fromBinary(bytes, options) {
442
+ return new JoinTeamRequest().fromBinary(bytes, options);
443
+ }
444
+ static fromJson(jsonValue, options) {
445
+ return new JoinTeamRequest().fromJson(jsonValue, options);
446
+ }
447
+ static fromJsonString(jsonString, options) {
448
+ return new JoinTeamRequest().fromJsonString(jsonString, options);
449
+ }
450
+ static equals(a, b) {
451
+ return protobuf_1.proto3.util.equals(JoinTeamRequest, a, b);
452
+ }
453
+ }
454
+ exports.JoinTeamRequest = JoinTeamRequest;
455
+ JoinTeamRequest.runtime = protobuf_1.proto3;
456
+ JoinTeamRequest.typeName = "gitpod.experimental.v1.JoinTeamRequest";
457
+ JoinTeamRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
458
+ { no: 1, name: "invitation_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
459
+ ]);
460
+ /**
461
+ * @generated from message gitpod.experimental.v1.JoinTeamResponse
462
+ */
463
+ class JoinTeamResponse extends protobuf_1.Message {
464
+ constructor(data) {
465
+ super();
466
+ protobuf_1.proto3.util.initPartial(data, this);
467
+ }
468
+ static fromBinary(bytes, options) {
469
+ return new JoinTeamResponse().fromBinary(bytes, options);
470
+ }
471
+ static fromJson(jsonValue, options) {
472
+ return new JoinTeamResponse().fromJson(jsonValue, options);
473
+ }
474
+ static fromJsonString(jsonString, options) {
475
+ return new JoinTeamResponse().fromJsonString(jsonString, options);
476
+ }
477
+ static equals(a, b) {
478
+ return protobuf_1.proto3.util.equals(JoinTeamResponse, a, b);
479
+ }
480
+ }
481
+ exports.JoinTeamResponse = JoinTeamResponse;
482
+ JoinTeamResponse.runtime = protobuf_1.proto3;
483
+ JoinTeamResponse.typeName = "gitpod.experimental.v1.JoinTeamResponse";
484
+ JoinTeamResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
485
+ { no: 1, name: "team", kind: "message", T: Team },
486
+ ]);
487
+ /**
488
+ * @generated from message gitpod.experimental.v1.ResetTeamInvitationRequest
489
+ */
490
+ class ResetTeamInvitationRequest extends protobuf_1.Message {
491
+ constructor(data) {
492
+ super();
493
+ /**
494
+ * @generated from field: string team_id = 1;
495
+ */
496
+ this.teamId = "";
497
+ protobuf_1.proto3.util.initPartial(data, this);
498
+ }
499
+ static fromBinary(bytes, options) {
500
+ return new ResetTeamInvitationRequest().fromBinary(bytes, options);
501
+ }
502
+ static fromJson(jsonValue, options) {
503
+ return new ResetTeamInvitationRequest().fromJson(jsonValue, options);
504
+ }
505
+ static fromJsonString(jsonString, options) {
506
+ return new ResetTeamInvitationRequest().fromJsonString(jsonString, options);
507
+ }
508
+ static equals(a, b) {
509
+ return protobuf_1.proto3.util.equals(ResetTeamInvitationRequest, a, b);
510
+ }
511
+ }
512
+ exports.ResetTeamInvitationRequest = ResetTeamInvitationRequest;
513
+ ResetTeamInvitationRequest.runtime = protobuf_1.proto3;
514
+ ResetTeamInvitationRequest.typeName = "gitpod.experimental.v1.ResetTeamInvitationRequest";
515
+ ResetTeamInvitationRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
516
+ { no: 1, name: "team_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
517
+ ]);
518
+ /**
519
+ * @generated from message gitpod.experimental.v1.ResetTeamInvitationResponse
520
+ */
521
+ class ResetTeamInvitationResponse extends protobuf_1.Message {
522
+ constructor(data) {
523
+ super();
524
+ protobuf_1.proto3.util.initPartial(data, this);
525
+ }
526
+ static fromBinary(bytes, options) {
527
+ return new ResetTeamInvitationResponse().fromBinary(bytes, options);
528
+ }
529
+ static fromJson(jsonValue, options) {
530
+ return new ResetTeamInvitationResponse().fromJson(jsonValue, options);
531
+ }
532
+ static fromJsonString(jsonString, options) {
533
+ return new ResetTeamInvitationResponse().fromJsonString(jsonString, options);
534
+ }
535
+ static equals(a, b) {
536
+ return protobuf_1.proto3.util.equals(ResetTeamInvitationResponse, a, b);
537
+ }
538
+ }
539
+ exports.ResetTeamInvitationResponse = ResetTeamInvitationResponse;
540
+ ResetTeamInvitationResponse.runtime = protobuf_1.proto3;
541
+ ResetTeamInvitationResponse.typeName = "gitpod.experimental.v1.ResetTeamInvitationResponse";
542
+ ResetTeamInvitationResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
543
+ { no: 1, name: "team_invitation", kind: "message", T: TeamInvitation },
544
+ ]);
545
+ /**
546
+ * @generated from message gitpod.experimental.v1.UpdateTeamMemberRequest
547
+ */
548
+ class UpdateTeamMemberRequest extends protobuf_1.Message {
549
+ constructor(data) {
550
+ super();
551
+ /**
552
+ * team_id is the ID of the team in which the role is to be updated
553
+ *
554
+ * @generated from field: string team_id = 1;
555
+ */
556
+ this.teamId = "";
557
+ protobuf_1.proto3.util.initPartial(data, this);
558
+ }
559
+ static fromBinary(bytes, options) {
560
+ return new UpdateTeamMemberRequest().fromBinary(bytes, options);
561
+ }
562
+ static fromJson(jsonValue, options) {
563
+ return new UpdateTeamMemberRequest().fromJson(jsonValue, options);
564
+ }
565
+ static fromJsonString(jsonString, options) {
566
+ return new UpdateTeamMemberRequest().fromJsonString(jsonString, options);
567
+ }
568
+ static equals(a, b) {
569
+ return protobuf_1.proto3.util.equals(UpdateTeamMemberRequest, a, b);
570
+ }
571
+ }
572
+ exports.UpdateTeamMemberRequest = UpdateTeamMemberRequest;
573
+ UpdateTeamMemberRequest.runtime = protobuf_1.proto3;
574
+ UpdateTeamMemberRequest.typeName = "gitpod.experimental.v1.UpdateTeamMemberRequest";
575
+ UpdateTeamMemberRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
576
+ { no: 1, name: "team_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
577
+ { no: 2, name: "team_member", kind: "message", T: TeamMember },
578
+ ]);
579
+ /**
580
+ * @generated from message gitpod.experimental.v1.UpdateTeamMemberResponse
581
+ */
582
+ class UpdateTeamMemberResponse extends protobuf_1.Message {
583
+ constructor(data) {
584
+ super();
585
+ protobuf_1.proto3.util.initPartial(data, this);
586
+ }
587
+ static fromBinary(bytes, options) {
588
+ return new UpdateTeamMemberResponse().fromBinary(bytes, options);
589
+ }
590
+ static fromJson(jsonValue, options) {
591
+ return new UpdateTeamMemberResponse().fromJson(jsonValue, options);
592
+ }
593
+ static fromJsonString(jsonString, options) {
594
+ return new UpdateTeamMemberResponse().fromJsonString(jsonString, options);
595
+ }
596
+ static equals(a, b) {
597
+ return protobuf_1.proto3.util.equals(UpdateTeamMemberResponse, a, b);
598
+ }
599
+ }
600
+ exports.UpdateTeamMemberResponse = UpdateTeamMemberResponse;
601
+ UpdateTeamMemberResponse.runtime = protobuf_1.proto3;
602
+ UpdateTeamMemberResponse.typeName = "gitpod.experimental.v1.UpdateTeamMemberResponse";
603
+ UpdateTeamMemberResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
604
+ { no: 2, name: "team_member", kind: "message", T: TeamMember },
605
+ ]);
606
+ /**
607
+ * @generated from message gitpod.experimental.v1.DeleteTeamMemberRequest
608
+ */
609
+ class DeleteTeamMemberRequest extends protobuf_1.Message {
610
+ constructor(data) {
611
+ super();
612
+ /**
613
+ * team_id is the ID of the team in which a member should be deleted.
614
+ *
615
+ * @generated from field: string team_id = 1;
616
+ */
617
+ this.teamId = "";
618
+ /**
619
+ * team_member_id is the ID of the TeamMember that should be deleted from the team.
620
+ *
621
+ * @generated from field: string team_member_id = 2;
622
+ */
623
+ this.teamMemberId = "";
624
+ protobuf_1.proto3.util.initPartial(data, this);
625
+ }
626
+ static fromBinary(bytes, options) {
627
+ return new DeleteTeamMemberRequest().fromBinary(bytes, options);
628
+ }
629
+ static fromJson(jsonValue, options) {
630
+ return new DeleteTeamMemberRequest().fromJson(jsonValue, options);
631
+ }
632
+ static fromJsonString(jsonString, options) {
633
+ return new DeleteTeamMemberRequest().fromJsonString(jsonString, options);
634
+ }
635
+ static equals(a, b) {
636
+ return protobuf_1.proto3.util.equals(DeleteTeamMemberRequest, a, b);
637
+ }
638
+ }
639
+ exports.DeleteTeamMemberRequest = DeleteTeamMemberRequest;
640
+ DeleteTeamMemberRequest.runtime = protobuf_1.proto3;
641
+ DeleteTeamMemberRequest.typeName = "gitpod.experimental.v1.DeleteTeamMemberRequest";
642
+ DeleteTeamMemberRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
643
+ { no: 1, name: "team_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
644
+ { no: 2, name: "team_member_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
645
+ ]);
646
+ /**
647
+ * @generated from message gitpod.experimental.v1.DeleteTeamMemberResponse
648
+ */
649
+ class DeleteTeamMemberResponse extends protobuf_1.Message {
650
+ constructor(data) {
651
+ super();
652
+ protobuf_1.proto3.util.initPartial(data, this);
653
+ }
654
+ static fromBinary(bytes, options) {
655
+ return new DeleteTeamMemberResponse().fromBinary(bytes, options);
656
+ }
657
+ static fromJson(jsonValue, options) {
658
+ return new DeleteTeamMemberResponse().fromJson(jsonValue, options);
659
+ }
660
+ static fromJsonString(jsonString, options) {
661
+ return new DeleteTeamMemberResponse().fromJsonString(jsonString, options);
662
+ }
663
+ static equals(a, b) {
664
+ return protobuf_1.proto3.util.equals(DeleteTeamMemberResponse, a, b);
665
+ }
666
+ }
667
+ exports.DeleteTeamMemberResponse = DeleteTeamMemberResponse;
668
+ DeleteTeamMemberResponse.runtime = protobuf_1.proto3;
669
+ DeleteTeamMemberResponse.typeName = "gitpod.experimental.v1.DeleteTeamMemberResponse";
670
+ DeleteTeamMemberResponse.fields = protobuf_1.proto3.util.newFieldList(() => []);
671
+ //# sourceMappingURL=teams_pb.js.map