@gitpod/public-api 0.1.5-mp-papi-cleanup-defs.1 → 0.1.5-mp-papi-teams-service.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 (33) hide show
  1. package/lib/gitpod/v1/prebuilds_connectweb.d.ts +65 -0
  2. package/lib/gitpod/v1/prebuilds_connectweb.d.ts.map +1 -0
  3. package/lib/gitpod/v1/prebuilds_connectweb.js +72 -0
  4. package/lib/gitpod/v1/prebuilds_connectweb.js.map +1 -0
  5. package/lib/gitpod/v1/prebuilds_connectweb.ts +71 -0
  6. package/lib/gitpod/v1/prebuilds_pb.d.ts +281 -0
  7. package/lib/gitpod/v1/prebuilds_pb.d.ts.map +1 -0
  8. package/lib/gitpod/v1/prebuilds_pb.js +435 -0
  9. package/lib/gitpod/v1/prebuilds_pb.js.map +1 -0
  10. package/lib/gitpod/v1/prebuilds_pb.ts +540 -0
  11. package/lib/gitpod/v1/teams_connectweb.d.ts +27 -0
  12. package/lib/gitpod/v1/teams_connectweb.d.ts.map +1 -0
  13. package/lib/gitpod/v1/teams_connectweb.js +34 -0
  14. package/lib/gitpod/v1/teams_connectweb.js.map +1 -0
  15. package/lib/gitpod/v1/teams_connectweb.ts +33 -0
  16. package/lib/gitpod/v1/teams_pb.d.ts +120 -0
  17. package/lib/gitpod/v1/teams_pb.d.ts.map +1 -0
  18. package/lib/gitpod/v1/teams_pb.js +185 -0
  19. package/lib/gitpod/v1/teams_pb.js.map +1 -0
  20. package/lib/gitpod/v1/teams_pb.ts +218 -0
  21. package/lib/gitpod/v1/workspaces_connectweb.d.ts +86 -1
  22. package/lib/gitpod/v1/workspaces_connectweb.d.ts.map +1 -1
  23. package/lib/gitpod/v1/workspaces_connectweb.js +85 -0
  24. package/lib/gitpod/v1/workspaces_connectweb.js.map +1 -1
  25. package/lib/gitpod/v1/workspaces_connectweb.ts +86 -1
  26. package/lib/gitpod/v1/workspaces_pb.d.ts +256 -0
  27. package/lib/gitpod/v1/workspaces_pb.d.ts.map +1 -1
  28. package/lib/gitpod/v1/workspaces_pb.js +411 -1
  29. package/lib/gitpod/v1/workspaces_pb.js.map +1 -1
  30. package/lib/gitpod/v1/workspaces_pb.ts +522 -0
  31. package/package.json +1 -1
  32. package/pkg-yarn.lock +1 -1
  33. package/provenance-bundle.jsonl +1 -1
@@ -0,0 +1,120 @@
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 } from "@bufbuild/protobuf";
8
+ /**
9
+ * @generated from enum gitpod.v1.TeamRole
10
+ */
11
+ export declare enum TeamRole {
12
+ /**
13
+ * TEAM_ROLE_UNKNOWN is the unkwnon state.
14
+ *
15
+ * @generated from enum value: TEAM_ROLE_UNSPECIFIED = 0;
16
+ */
17
+ UNSPECIFIED = 0,
18
+ /**
19
+ * TEAM_ROLE_OWNER is the owner of the team.
20
+ * A team can have multiple owners, but there must always be at least one owner.
21
+ *
22
+ * @generated from enum value: TEAM_ROLE_OWNER = 1;
23
+ */
24
+ OWNER = 1,
25
+ /**
26
+ * TEAM_ROLE_MEMBER is a regular member of a team.
27
+ *
28
+ * @generated from enum value: TEAM_ROLE_MEMBER = 2;
29
+ */
30
+ MEMBER = 2
31
+ }
32
+ /**
33
+ * @generated from message gitpod.v1.CreateTeamRequest
34
+ */
35
+ export declare class CreateTeamRequest extends Message<CreateTeamRequest> {
36
+ constructor(data?: PartialMessage<CreateTeamRequest>);
37
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
38
+ static readonly typeName = "gitpod.v1.CreateTeamRequest";
39
+ static readonly fields: FieldList;
40
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateTeamRequest;
41
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateTeamRequest;
42
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateTeamRequest;
43
+ static equals(a: CreateTeamRequest | PlainMessage<CreateTeamRequest> | undefined, b: CreateTeamRequest | PlainMessage<CreateTeamRequest> | undefined): boolean;
44
+ }
45
+ /**
46
+ * @generated from message gitpod.v1.CreateTeamResponse
47
+ */
48
+ export declare class CreateTeamResponse extends Message<CreateTeamResponse> {
49
+ constructor(data?: PartialMessage<CreateTeamResponse>);
50
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
51
+ static readonly typeName = "gitpod.v1.CreateTeamResponse";
52
+ static readonly fields: FieldList;
53
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateTeamResponse;
54
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateTeamResponse;
55
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateTeamResponse;
56
+ static equals(a: CreateTeamResponse | PlainMessage<CreateTeamResponse> | undefined, b: CreateTeamResponse | PlainMessage<CreateTeamResponse> | undefined): boolean;
57
+ }
58
+ /**
59
+ * @generated from message gitpod.v1.Team
60
+ */
61
+ export declare class Team extends Message<Team> {
62
+ /**
63
+ * id is a UUID of the Team
64
+ *
65
+ * @generated from field: string id = 1;
66
+ */
67
+ id: string;
68
+ /**
69
+ * name is the name of the Team
70
+ *
71
+ * @generated from field: string name = 2;
72
+ */
73
+ name: string;
74
+ /**
75
+ * slug is the short version of the Team name
76
+ *
77
+ * @generated from field: string slug = 3;
78
+ */
79
+ slug: string;
80
+ /**
81
+ * members are the team members of this Team
82
+ *
83
+ * @generated from field: repeated gitpod.v1.TeamMember members = 4;
84
+ */
85
+ members: TeamMember[];
86
+ constructor(data?: PartialMessage<Team>);
87
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
88
+ static readonly typeName = "gitpod.v1.Team";
89
+ static readonly fields: FieldList;
90
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Team;
91
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Team;
92
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Team;
93
+ static equals(a: Team | PlainMessage<Team> | undefined, b: Team | PlainMessage<Team> | undefined): boolean;
94
+ }
95
+ /**
96
+ * @generated from message gitpod.v1.TeamMember
97
+ */
98
+ export declare class TeamMember extends Message<TeamMember> {
99
+ /**
100
+ * user_id is the identifier of the user
101
+ *
102
+ * @generated from field: string user_id = 1;
103
+ */
104
+ userId: string;
105
+ /**
106
+ * role is the role this member is assigned
107
+ *
108
+ * @generated from field: gitpod.v1.TeamRole role = 2;
109
+ */
110
+ role: TeamRole;
111
+ constructor(data?: PartialMessage<TeamMember>);
112
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
113
+ static readonly typeName = "gitpod.v1.TeamMember";
114
+ static readonly fields: FieldList;
115
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TeamMember;
116
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TeamMember;
117
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TeamMember;
118
+ static equals(a: TeamMember | PlainMessage<TeamMember> | undefined, b: TeamMember | PlainMessage<TeamMember> | undefined): boolean;
119
+ }
120
+ //# sourceMappingURL=teams_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"teams_pb.d.ts","sourceRoot":"","sources":["../../../src/gitpod/v1/teams_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,EAAS,MAAM,oBAAoB,CAAC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InF,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,GAAG,YAAY,CAAC,IAAI,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,IAAI,GAAG,YAAY,CAAC,IAAI,CAAC,GAAG,SAAS,GAAG,OAAO;CAG3G;AAED;;GAEG;AACH,qBAAa,UAAW,SAAQ,OAAO,CAAC,UAAU,CAAC;IACjD;;;;OAIG;IACH,MAAM,SAAM;IAEZ;;;;OAIG;IACH,IAAI,WAAwB;gBAEhB,IAAI,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC;IAK7C,MAAM,CAAC,QAAQ,CAAC,OAAO,6EAAU;IACjC,MAAM,CAAC,QAAQ,CAAC,QAAQ,0BAA0B;IAClD,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,SAAS,CAG9B;IAEH,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,UAAU;IAItF,MAAM,CAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,UAAU;IAIrF,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,UAAU;IAIzF,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC,UAAU,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC,UAAU,CAAC,GAAG,SAAS,GAAG,OAAO;CAGnI"}
@@ -0,0 +1,185 @@
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.TeamMember = exports.Team = exports.CreateTeamResponse = exports.CreateTeamRequest = exports.TeamRole = void 0;
9
+ const protobuf_1 = require("@bufbuild/protobuf");
10
+ /**
11
+ * @generated from enum gitpod.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.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.v1.CreateTeamRequest
43
+ */
44
+ class CreateTeamRequest extends protobuf_1.Message {
45
+ constructor(data) {
46
+ super();
47
+ protobuf_1.proto3.util.initPartial(data, this);
48
+ }
49
+ static fromBinary(bytes, options) {
50
+ return new CreateTeamRequest().fromBinary(bytes, options);
51
+ }
52
+ static fromJson(jsonValue, options) {
53
+ return new CreateTeamRequest().fromJson(jsonValue, options);
54
+ }
55
+ static fromJsonString(jsonString, options) {
56
+ return new CreateTeamRequest().fromJsonString(jsonString, options);
57
+ }
58
+ static equals(a, b) {
59
+ return protobuf_1.proto3.util.equals(CreateTeamRequest, a, b);
60
+ }
61
+ }
62
+ exports.CreateTeamRequest = CreateTeamRequest;
63
+ CreateTeamRequest.runtime = protobuf_1.proto3;
64
+ CreateTeamRequest.typeName = "gitpod.v1.CreateTeamRequest";
65
+ CreateTeamRequest.fields = protobuf_1.proto3.util.newFieldList(() => []);
66
+ /**
67
+ * @generated from message gitpod.v1.CreateTeamResponse
68
+ */
69
+ class CreateTeamResponse extends protobuf_1.Message {
70
+ constructor(data) {
71
+ super();
72
+ protobuf_1.proto3.util.initPartial(data, this);
73
+ }
74
+ static fromBinary(bytes, options) {
75
+ return new CreateTeamResponse().fromBinary(bytes, options);
76
+ }
77
+ static fromJson(jsonValue, options) {
78
+ return new CreateTeamResponse().fromJson(jsonValue, options);
79
+ }
80
+ static fromJsonString(jsonString, options) {
81
+ return new CreateTeamResponse().fromJsonString(jsonString, options);
82
+ }
83
+ static equals(a, b) {
84
+ return protobuf_1.proto3.util.equals(CreateTeamResponse, a, b);
85
+ }
86
+ }
87
+ exports.CreateTeamResponse = CreateTeamResponse;
88
+ CreateTeamResponse.runtime = protobuf_1.proto3;
89
+ CreateTeamResponse.typeName = "gitpod.v1.CreateTeamResponse";
90
+ CreateTeamResponse.fields = protobuf_1.proto3.util.newFieldList(() => []);
91
+ /**
92
+ * @generated from message gitpod.v1.Team
93
+ */
94
+ class Team extends protobuf_1.Message {
95
+ constructor(data) {
96
+ super();
97
+ /**
98
+ * id is a UUID of the Team
99
+ *
100
+ * @generated from field: string id = 1;
101
+ */
102
+ this.id = "";
103
+ /**
104
+ * name is the name of the Team
105
+ *
106
+ * @generated from field: string name = 2;
107
+ */
108
+ this.name = "";
109
+ /**
110
+ * slug is the short version of the Team name
111
+ *
112
+ * @generated from field: string slug = 3;
113
+ */
114
+ this.slug = "";
115
+ /**
116
+ * members are the team members of this Team
117
+ *
118
+ * @generated from field: repeated gitpod.v1.TeamMember members = 4;
119
+ */
120
+ this.members = [];
121
+ protobuf_1.proto3.util.initPartial(data, this);
122
+ }
123
+ static fromBinary(bytes, options) {
124
+ return new Team().fromBinary(bytes, options);
125
+ }
126
+ static fromJson(jsonValue, options) {
127
+ return new Team().fromJson(jsonValue, options);
128
+ }
129
+ static fromJsonString(jsonString, options) {
130
+ return new Team().fromJsonString(jsonString, options);
131
+ }
132
+ static equals(a, b) {
133
+ return protobuf_1.proto3.util.equals(Team, a, b);
134
+ }
135
+ }
136
+ exports.Team = Team;
137
+ Team.runtime = protobuf_1.proto3;
138
+ Team.typeName = "gitpod.v1.Team";
139
+ Team.fields = protobuf_1.proto3.util.newFieldList(() => [
140
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
141
+ { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
142
+ { no: 3, name: "slug", kind: "scalar", T: 9 /* ScalarType.STRING */ },
143
+ { no: 4, name: "members", kind: "message", T: TeamMember, repeated: true },
144
+ ]);
145
+ /**
146
+ * @generated from message gitpod.v1.TeamMember
147
+ */
148
+ class TeamMember extends protobuf_1.Message {
149
+ constructor(data) {
150
+ super();
151
+ /**
152
+ * user_id is the identifier of the user
153
+ *
154
+ * @generated from field: string user_id = 1;
155
+ */
156
+ this.userId = "";
157
+ /**
158
+ * role is the role this member is assigned
159
+ *
160
+ * @generated from field: gitpod.v1.TeamRole role = 2;
161
+ */
162
+ this.role = TeamRole.UNSPECIFIED;
163
+ protobuf_1.proto3.util.initPartial(data, this);
164
+ }
165
+ static fromBinary(bytes, options) {
166
+ return new TeamMember().fromBinary(bytes, options);
167
+ }
168
+ static fromJson(jsonValue, options) {
169
+ return new TeamMember().fromJson(jsonValue, options);
170
+ }
171
+ static fromJsonString(jsonString, options) {
172
+ return new TeamMember().fromJsonString(jsonString, options);
173
+ }
174
+ static equals(a, b) {
175
+ return protobuf_1.proto3.util.equals(TeamMember, a, b);
176
+ }
177
+ }
178
+ exports.TeamMember = TeamMember;
179
+ TeamMember.runtime = protobuf_1.proto3;
180
+ TeamMember.typeName = "gitpod.v1.TeamMember";
181
+ TeamMember.fields = protobuf_1.proto3.util.newFieldList(() => [
182
+ { no: 1, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
183
+ { no: 2, name: "role", kind: "enum", T: protobuf_1.proto3.getEnumType(TeamRole) },
184
+ ]);
185
+ //# sourceMappingURL=teams_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"teams_pb.js","sourceRoot":"","sources":["../../../src/gitpod/v1/teams_pb.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAQH,iDAAmD;AAEnD;;GAEG;AACH,IAAY,QAsBX;AAtBD,WAAY,QAAQ;IAClB;;;;OAIG;IACH,qDAAe,CAAA;IAEf;;;;;OAKG;IACH,yCAAS,CAAA;IAET;;;;OAIG;IACH,2CAAU,CAAA;AACZ,CAAC,EAtBW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAsBnB;AACD,4DAA4D;AAC5D,iBAAM,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,oBAAoB,EAAE;IACtD,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,uBAAuB,EAAE;IACxC,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE;IAClC,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE;CACpC,CAAC,CAAC;AAEH;;GAEG;AACH,MAAa,iBAAkB,SAAQ,kBAA0B;IAC/D,YAAY,IAAwC;QAClD,KAAK,EAAE,CAAC;QACR,iBAAM,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IACtC,CAAC;IAOD,MAAM,CAAC,UAAU,CAAC,KAAiB,EAAE,OAAoC;QACvE,OAAO,IAAI,iBAAiB,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC5D,CAAC;IAED,MAAM,CAAC,QAAQ,CA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AAO,CAAC,CAAC;IACvD,CAAC;IAED,MAAM,CAAC,cAAc,CAAC,UAAkB,EAAE,OAAkC;QAC1E,OAAO,IAAI,UAAU,EAAE,CAAC,cAAc,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;IAED,MAAM,CAAC,MAAM,CAAC,CAAoD,EAAE,CAAoD;QACtH,OAAO,iBAAM,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IAC9C,CAAC;;AAzCH,gCA0CC;AAtBiB,kBAAO,GAAG,iBAAM,CAAC;AACjB,mBAAQ,GAAG,sBAAsB,CAAC;AAClC,iBAAM,GAAc,iBAAM,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC;IACjE,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC,uBAAuB,EAAE;IACxE,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,EAAE,iBAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,EAAE;CACvE,CAAC,CAAC"}
@@ -0,0 +1,218 @@
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
+
7
+ // @generated by protoc-gen-es v0.1.1 with parameter "target=ts"
8
+ // @generated from file gitpod/v1/teams.proto (package gitpod.v1, syntax proto3)
9
+ /* eslint-disable */
10
+ /* @ts-nocheck */
11
+
12
+ import type {BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage} from "@bufbuild/protobuf";
13
+ import {Message, proto3} from "@bufbuild/protobuf";
14
+
15
+ /**
16
+ * @generated from enum gitpod.v1.TeamRole
17
+ */
18
+ export enum TeamRole {
19
+ /**
20
+ * TEAM_ROLE_UNKNOWN is the unkwnon state.
21
+ *
22
+ * @generated from enum value: TEAM_ROLE_UNSPECIFIED = 0;
23
+ */
24
+ UNSPECIFIED = 0,
25
+
26
+ /**
27
+ * TEAM_ROLE_OWNER is the owner of the team.
28
+ * A team can have multiple owners, but there must always be at least one owner.
29
+ *
30
+ * @generated from enum value: TEAM_ROLE_OWNER = 1;
31
+ */
32
+ OWNER = 1,
33
+
34
+ /**
35
+ * TEAM_ROLE_MEMBER is a regular member of a team.
36
+ *
37
+ * @generated from enum value: TEAM_ROLE_MEMBER = 2;
38
+ */
39
+ MEMBER = 2,
40
+ }
41
+ // Retrieve enum metadata with: proto3.getEnumType(TeamRole)
42
+ proto3.util.setEnumType(TeamRole, "gitpod.v1.TeamRole", [
43
+ { no: 0, name: "TEAM_ROLE_UNSPECIFIED" },
44
+ { no: 1, name: "TEAM_ROLE_OWNER" },
45
+ { no: 2, name: "TEAM_ROLE_MEMBER" },
46
+ ]);
47
+
48
+ /**
49
+ * @generated from message gitpod.v1.CreateTeamRequest
50
+ */
51
+ export class CreateTeamRequest extends Message<CreateTeamRequest> {
52
+ constructor(data?: PartialMessage<CreateTeamRequest>) {
53
+ super();
54
+ proto3.util.initPartial(data, this);
55
+ }
56
+
57
+ static readonly runtime = proto3;
58
+ static readonly typeName = "gitpod.v1.CreateTeamRequest";
59
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
60
+ ]);
61
+
62
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateTeamRequest {
63
+ return new CreateTeamRequest().fromBinary(bytes, options);
64
+ }
65
+
66
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateTeamRequest {
67
+ return new CreateTeamRequest().fromJson(jsonValue, options);
68
+ }
69
+
70
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateTeamRequest {
71
+ return new CreateTeamRequest().fromJsonString(jsonString, options);
72
+ }
73
+
74
+ static equals(a: CreateTeamRequest | PlainMessage<CreateTeamRequest> | undefined, b: CreateTeamRequest | PlainMessage<CreateTeamRequest> | undefined): boolean {
75
+ return proto3.util.equals(CreateTeamRequest, a, b);
76
+ }
77
+ }
78
+
79
+ /**
80
+ * @generated from message gitpod.v1.CreateTeamResponse
81
+ */
82
+ export class CreateTeamResponse extends Message<CreateTeamResponse> {
83
+ constructor(data?: PartialMessage<CreateTeamResponse>) {
84
+ super();
85
+ proto3.util.initPartial(data, this);
86
+ }
87
+
88
+ static readonly runtime = proto3;
89
+ static readonly typeName = "gitpod.v1.CreateTeamResponse";
90
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
91
+ ]);
92
+
93
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateTeamResponse {
94
+ return new CreateTeamResponse().fromBinary(bytes, options);
95
+ }
96
+
97
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateTeamResponse {
98
+ return new CreateTeamResponse().fromJson(jsonValue, options);
99
+ }
100
+
101
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateTeamResponse {
102
+ return new CreateTeamResponse().fromJsonString(jsonString, options);
103
+ }
104
+
105
+ static equals(a: CreateTeamResponse | PlainMessage<CreateTeamResponse> | undefined, b: CreateTeamResponse | PlainMessage<CreateTeamResponse> | undefined): boolean {
106
+ return proto3.util.equals(CreateTeamResponse, a, b);
107
+ }
108
+ }
109
+
110
+ /**
111
+ * @generated from message gitpod.v1.Team
112
+ */
113
+ export class Team extends Message<Team> {
114
+ /**
115
+ * id is a UUID of the Team
116
+ *
117
+ * @generated from field: string id = 1;
118
+ */
119
+ id = "";
120
+
121
+ /**
122
+ * name is the name of the Team
123
+ *
124
+ * @generated from field: string name = 2;
125
+ */
126
+ name = "";
127
+
128
+ /**
129
+ * slug is the short version of the Team name
130
+ *
131
+ * @generated from field: string slug = 3;
132
+ */
133
+ slug = "";
134
+
135
+ /**
136
+ * members are the team members of this Team
137
+ *
138
+ * @generated from field: repeated gitpod.v1.TeamMember members = 4;
139
+ */
140
+ members: TeamMember[] = [];
141
+
142
+ constructor(data?: PartialMessage<Team>) {
143
+ super();
144
+ proto3.util.initPartial(data, this);
145
+ }
146
+
147
+ static readonly runtime = proto3;
148
+ static readonly typeName = "gitpod.v1.Team";
149
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
150
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
151
+ { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
152
+ { no: 3, name: "slug", kind: "scalar", T: 9 /* ScalarType.STRING */ },
153
+ { no: 4, name: "members", kind: "message", T: TeamMember, repeated: true },
154
+ ]);
155
+
156
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Team {
157
+ return new Team().fromBinary(bytes, options);
158
+ }
159
+
160
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Team {
161
+ return new Team().fromJson(jsonValue, options);
162
+ }
163
+
164
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Team {
165
+ return new Team().fromJsonString(jsonString, options);
166
+ }
167
+
168
+ static equals(a: Team | PlainMessage<Team> | undefined, b: Team | PlainMessage<Team> | undefined): boolean {
169
+ return proto3.util.equals(Team, a, b);
170
+ }
171
+ }
172
+
173
+ /**
174
+ * @generated from message gitpod.v1.TeamMember
175
+ */
176
+ export class TeamMember extends Message<TeamMember> {
177
+ /**
178
+ * user_id is the identifier of the user
179
+ *
180
+ * @generated from field: string user_id = 1;
181
+ */
182
+ userId = "";
183
+
184
+ /**
185
+ * role is the role this member is assigned
186
+ *
187
+ * @generated from field: gitpod.v1.TeamRole role = 2;
188
+ */
189
+ role = TeamRole.UNSPECIFIED;
190
+
191
+ constructor(data?: PartialMessage<TeamMember>) {
192
+ super();
193
+ proto3.util.initPartial(data, this);
194
+ }
195
+
196
+ static readonly runtime = proto3;
197
+ static readonly typeName = "gitpod.v1.TeamMember";
198
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
199
+ { no: 1, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
200
+ { no: 2, name: "role", kind: "enum", T: proto3.getEnumType(TeamRole) },
201
+ ]);
202
+
203
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TeamMember {
204
+ return new TeamMember().fromBinary(bytes, options);
205
+ }
206
+
207
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TeamMember {
208
+ return new TeamMember().fromJson(jsonValue, options);
209
+ }
210
+
211
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TeamMember {
212
+ return new TeamMember().fromJsonString(jsonString, options);
213
+ }
214
+
215
+ static equals(a: TeamMember | PlainMessage<TeamMember> | undefined, b: TeamMember | PlainMessage<TeamMember> | undefined): boolean {
216
+ return proto3.util.equals(TeamMember, a, b);
217
+ }
218
+ }
@@ -3,7 +3,7 @@
3
3
  * Licensed under the GNU Affero General Public License (AGPL).
4
4
  * See License-AGPL.txt in the project root for license information.
5
5
  */
6
- import { GetOwnerTokenRequest, GetOwnerTokenResponse, GetWorkspaceRequest, GetWorkspaceResponse, ListWorkspacesRequest, ListWorkspacesResponse } from "./workspaces_pb.js";
6
+ import { CreateAndStartWorkspaceRequest, CreateAndStartWorkspaceResponse, GetActiveWorkspaceInstanceRequest, GetActiveWorkspaceInstanceResponse, GetOwnerTokenRequest, GetOwnerTokenResponse, GetWorkspaceInstanceOwnerTokenRequest, GetWorkspaceInstanceOwnerTokenResponse, GetWorkspaceRequest, GetWorkspaceResponse, ListenToImageBuildLogsRequest, ListenToImageBuildLogsResponse, ListenToWorkspaceInstanceRequest, ListenToWorkspaceInstanceResponse, ListWorkspacesRequest, ListWorkspacesResponse, StartWorkspaceRequest, StartWorkspaceResponse, StopWorkspaceRequest, StopWorkspaceResponse } from "./workspaces_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
  /**
9
9
  * @generated from service gitpod.v1.WorkspacesService
@@ -44,6 +44,91 @@ export declare const WorkspacesService: {
44
44
  readonly O: typeof GetOwnerTokenResponse;
45
45
  readonly kind: MethodKind.Unary;
46
46
  };
47
+ /**
48
+ * CreateAndStartWorkspace creates a new workspace and starts it.
49
+ *
50
+ * @generated from rpc gitpod.v1.WorkspacesService.CreateAndStartWorkspace
51
+ */
52
+ readonly createAndStartWorkspace: {
53
+ readonly name: "CreateAndStartWorkspace";
54
+ readonly I: typeof CreateAndStartWorkspaceRequest;
55
+ readonly O: typeof CreateAndStartWorkspaceResponse;
56
+ readonly kind: MethodKind.Unary;
57
+ };
58
+ /**
59
+ * StartWorkspace starts an existing workspace.
60
+ *
61
+ * @generated from rpc gitpod.v1.WorkspacesService.StartWorkspace
62
+ */
63
+ readonly startWorkspace: {
64
+ readonly name: "StartWorkspace";
65
+ readonly I: typeof StartWorkspaceRequest;
66
+ readonly O: typeof StartWorkspaceResponse;
67
+ readonly kind: MethodKind.Unary;
68
+ };
69
+ /**
70
+ * GetRunningWorkspaceInstance returns the currently active instance of a workspace.
71
+ * Errors:
72
+ * FAILED_PRECONDITION: if a workspace does not a currently active instance
73
+ *
74
+ *
75
+ * @generated from rpc gitpod.v1.WorkspacesService.GetActiveWorkspaceInstance
76
+ */
77
+ readonly getActiveWorkspaceInstance: {
78
+ readonly name: "GetActiveWorkspaceInstance";
79
+ readonly I: typeof GetActiveWorkspaceInstanceRequest;
80
+ readonly O: typeof GetActiveWorkspaceInstanceResponse;
81
+ readonly kind: MethodKind.Unary;
82
+ };
83
+ /**
84
+ * GetWorkspaceInstanceOwnerToken returns the owner token of a workspace instance.
85
+ * Note: the owner token is not part of the workspace instance status so that we can scope its access on the
86
+ * API function level.
87
+ *
88
+ * @generated from rpc gitpod.v1.WorkspacesService.GetWorkspaceInstanceOwnerToken
89
+ */
90
+ readonly getWorkspaceInstanceOwnerToken: {
91
+ readonly name: "GetWorkspaceInstanceOwnerToken";
92
+ readonly I: typeof GetWorkspaceInstanceOwnerTokenRequest;
93
+ readonly O: typeof GetWorkspaceInstanceOwnerTokenResponse;
94
+ readonly kind: MethodKind.Unary;
95
+ };
96
+ /**
97
+ * ListenToWorkspaceInstance listens to workspace instance updates.
98
+ *
99
+ * @generated from rpc gitpod.v1.WorkspacesService.ListenToWorkspaceInstance
100
+ */
101
+ readonly listenToWorkspaceInstance: {
102
+ readonly name: "ListenToWorkspaceInstance";
103
+ readonly I: typeof ListenToWorkspaceInstanceRequest;
104
+ readonly O: typeof ListenToWorkspaceInstanceResponse;
105
+ readonly kind: MethodKind.ServerStreaming;
106
+ };
107
+ /**
108
+ * ListenToImageBuildLogs streams (currently or previously) running workspace image build logs
109
+ *
110
+ * @generated from rpc gitpod.v1.WorkspacesService.ListenToImageBuildLogs
111
+ */
112
+ readonly listenToImageBuildLogs: {
113
+ readonly name: "ListenToImageBuildLogs";
114
+ readonly I: typeof ListenToImageBuildLogsRequest;
115
+ readonly O: typeof ListenToImageBuildLogsResponse;
116
+ readonly kind: MethodKind.ServerStreaming;
117
+ };
118
+ /**
119
+ * StopWorkspace stops a running workspace (instance).
120
+ * Errors:
121
+ * NOT_FOUND: the workspace_id is unkown
122
+ * FAILED_PRECONDITION: if there's no running instance
123
+ *
124
+ * @generated from rpc gitpod.v1.WorkspacesService.StopWorkspace
125
+ */
126
+ readonly stopWorkspace: {
127
+ readonly name: "StopWorkspace";
128
+ readonly I: typeof StopWorkspaceRequest;
129
+ readonly O: typeof StopWorkspaceResponse;
130
+ readonly kind: MethodKind.ServerStreaming;
131
+ };
47
132
  };
48
133
  };
49
134
  //# sourceMappingURL=workspaces_connectweb.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"workspaces_connectweb.d.ts","sourceRoot":"","sources":["../../../src/gitpod/v1/workspaces_connectweb.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,OAAO,EAAC,oBAAoB,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,sBAAsB,EAAC,MAAM,oBAAoB,CAAC;AACzK,OAAO,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAC;AAE9C;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;QAG1B;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;;CAQG,CAAC"}
1
+ {"version":3,"file":"workspaces_connectweb.d.ts","sourceRoot":"","sources":["../../../src/gitpod/v1/workspaces_connectweb.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,OAAO,EAAC,8BAA8B,EAAE,+BAA+B,EAAE,iCAAiC,EAAE,kCAAkC,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,qCAAqC,EAAE,sCAAsC,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,6BAA6B,EAAE,8BAA8B,EAAE,gCAAgC,EAAE,iCAAiC,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,qBAAqB,EAAC,MAAM,oBAAoB,CAAC;AAChmB,OAAO,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAC;AAE9C;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;QAG1B;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;;;;WAOG;;;;;;;QAOH;;;;;;WAMG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;;;;WAOG;;;;;;;;CAQG,CAAC"}