@gitpod/public-api 0.1.5-tar-sh-active-users.37 → 0.1.5-tar-sh-active-users-new.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. package/lib/gitpod/experimental/v1/index.d.ts +9 -0
  2. package/lib/gitpod/experimental/v1/index.d.ts.map +1 -0
  3. package/lib/gitpod/experimental/v1/index.js +21 -0
  4. package/lib/gitpod/experimental/v1/index.js.map +1 -0
  5. package/lib/gitpod/experimental/v1/pagination_pb.d.ts +33 -0
  6. package/lib/gitpod/experimental/v1/pagination_pb.d.ts.map +1 -0
  7. package/lib/gitpod/experimental/v1/pagination_pb.js +50 -0
  8. package/lib/gitpod/experimental/v1/pagination_pb.js.map +1 -0
  9. package/lib/gitpod/experimental/v1/teams_connectweb.d.ts +82 -0
  10. package/lib/gitpod/experimental/v1/teams_connectweb.d.ts.map +1 -0
  11. package/lib/gitpod/experimental/v1/teams_connectweb.js +89 -0
  12. package/lib/gitpod/experimental/v1/teams_connectweb.js.map +1 -0
  13. package/lib/gitpod/experimental/v1/teams_pb.d.ts +347 -0
  14. package/lib/gitpod/experimental/v1/teams_pb.d.ts.map +1 -0
  15. package/lib/gitpod/experimental/v1/teams_pb.js +532 -0
  16. package/lib/gitpod/experimental/v1/teams_pb.js.map +1 -0
  17. package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts +74 -0
  18. package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts.map +1 -0
  19. package/lib/gitpod/experimental/v1/workspaces_connectweb.js +81 -0
  20. package/lib/gitpod/experimental/v1/workspaces_connectweb.js.map +1 -0
  21. package/lib/gitpod/experimental/v1/workspaces_pb.d.ts +695 -0
  22. package/lib/gitpod/experimental/v1/workspaces_pb.d.ts.map +1 -0
  23. package/lib/gitpod/experimental/v1/workspaces_pb.js +945 -0
  24. package/lib/gitpod/experimental/v1/workspaces_pb.js.map +1 -0
  25. package/lib/{gitpod/v1/pagination_grpc_pb.js → index.d.ts} +2 -2
  26. package/lib/index.d.ts.map +1 -0
  27. package/lib/index.js +10 -0
  28. package/lib/index.js.map +1 -0
  29. package/package.json +9 -11
  30. package/pkg-yarn.lock +5 -5
  31. package/provenance-bundle.jsonl +2 -2
  32. package/lib/gitpod/v1/pagination_pb.d.ts +0 -36
  33. package/lib/gitpod/v1/pagination_pb.js +0 -206
  34. package/lib/gitpod/v1/prebuilds_grpc_pb.d.ts +0 -95
  35. package/lib/gitpod/v1/prebuilds_grpc_pb.js +0 -161
  36. package/lib/gitpod/v1/prebuilds_pb.d.ts +0 -283
  37. package/lib/gitpod/v1/prebuilds_pb.js +0 -1997
  38. package/lib/gitpod/v1/workspaces_grpc_pb.d.ts +0 -197
  39. package/lib/gitpod/v1/workspaces_grpc_pb.js +0 -368
  40. package/lib/gitpod/v1/workspaces_pb.d.ts +0 -810
  41. package/lib/gitpod/v1/workspaces_pb.js +0 -5976
@@ -0,0 +1,9 @@
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
+ export * from "./pagination_pb";
7
+ export * from "./workspaces_pb";
8
+ export * from "./workspaces_connectweb";
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC"}
@@ -0,0 +1,21 @@
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
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
8
+ if (k2 === undefined) k2 = k;
9
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
+ };
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ __exportStar(require("./pagination_pb"), exports);
19
+ __exportStar(require("./workspaces_pb"), exports);
20
+ __exportStar(require("./workspaces_connectweb"), exports);
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/index.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;AAEH,kDAAgC;AAChC,kDAAgC;AAChC,0DAAwC"}
@@ -0,0 +1,33 @@
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 message gitpod.experimental.v1.Pagination
10
+ */
11
+ export declare class Pagination extends Message<Pagination> {
12
+ /**
13
+ * page_size is the maximum number of results we expect
14
+ *
15
+ * @generated from field: int32 page_size = 1;
16
+ */
17
+ pageSize: number;
18
+ /**
19
+ * page_token points to a specific page of the results
20
+ *
21
+ * @generated from field: string page_token = 2;
22
+ */
23
+ pageToken: string;
24
+ constructor(data?: PartialMessage<Pagination>);
25
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
26
+ static readonly typeName = "gitpod.experimental.v1.Pagination";
27
+ static readonly fields: FieldList;
28
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Pagination;
29
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Pagination;
30
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Pagination;
31
+ static equals(a: Pagination | PlainMessage<Pagination> | undefined, b: Pagination | PlainMessage<Pagination> | undefined): boolean;
32
+ }
33
+ //# sourceMappingURL=pagination_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagination_pb.d.ts","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/pagination_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;AAEnD;;GAEG;AACH,qBAAa,UAAW,SAAQ,OAAO,CAAC,UAAU,CAAC;IACjD;;;;OAIG;IACH,QAAQ,SAAK;IAEb;;;;OAIG;IACH,SAAS,SAAM;gBAEH,IAAI,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC;IAK7C,MAAM,CAAC,QAAQ,CAAC,OAAO,6EAAU;IACjC,MAAM,CAAC,QAAQ,CAAC,QAAQ,uCAAuC;IAC/D,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,50 @@
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.Pagination = void 0;
9
+ const protobuf_1 = require("@bufbuild/protobuf");
10
+ /**
11
+ * @generated from message gitpod.experimental.v1.Pagination
12
+ */
13
+ class Pagination extends protobuf_1.Message {
14
+ constructor(data) {
15
+ super();
16
+ /**
17
+ * page_size is the maximum number of results we expect
18
+ *
19
+ * @generated from field: int32 page_size = 1;
20
+ */
21
+ this.pageSize = 0;
22
+ /**
23
+ * page_token points to a specific page of the results
24
+ *
25
+ * @generated from field: string page_token = 2;
26
+ */
27
+ this.pageToken = "";
28
+ protobuf_1.proto3.util.initPartial(data, this);
29
+ }
30
+ static fromBinary(bytes, options) {
31
+ return new Pagination().fromBinary(bytes, options);
32
+ }
33
+ static fromJson(jsonValue, options) {
34
+ return new Pagination().fromJson(jsonValue, options);
35
+ }
36
+ static fromJsonString(jsonString, options) {
37
+ return new Pagination().fromJsonString(jsonString, options);
38
+ }
39
+ static equals(a, b) {
40
+ return protobuf_1.proto3.util.equals(Pagination, a, b);
41
+ }
42
+ }
43
+ exports.Pagination = Pagination;
44
+ Pagination.runtime = protobuf_1.proto3;
45
+ Pagination.typeName = "gitpod.experimental.v1.Pagination";
46
+ Pagination.fields = protobuf_1.proto3.util.newFieldList(() => [
47
+ { no: 1, name: "page_size", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
48
+ { no: 2, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
49
+ ]);
50
+ //# sourceMappingURL=pagination_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagination_pb.js","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/pagination_pb.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAQH,iDAAmD;AAEnD;;GAEG;AACH,MAAa,UAAW,SAAQ,kBAAmB;IAejD,YAAY,IAAiC;QAC3C,KAAK,EAAE,CAAC;QAfV;;;;WAIG;QACH,aAAQ,GAAG,CAAC,CAAC;QAEb;;;;WAIG;QACH,cAAS,GAAG,EAAE,CAAC;QAIb,iBAAM,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IACtC,CAAC;IASD,MAAM,CAAC,UAAU,CAAC,KAAiB,EAAE,OAAoC;QACvE,OAAO,IAAI,UAAU,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACrD,CAAC;IAED,MAAM,CAAC,QAAQ,CAAC,SAAoB,EAAE,OAAkC;QACtE,OAAO,IAAI,UAAU,EAAE,CAAC,QAAQ,CAAC,SAAS,EAAE,OAAO,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,mCAAmC,CAAC;AAC/C,iBAAM,GAAc,iBAAM,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC;IACjE,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC,sBAAsB,EAAE;IACzE,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC,uBAAuB,EAAE;CAC5E,CAAC,CAAC"}
@@ -0,0 +1,82 @@
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 { CreateTeamRequest, CreateTeamResponse, DeleteTeamMemberRequest, DeleteTeamMemberResponse, JoinTeamRequest, JoinTeamResponse, ListTeamsRequest, ListTeamsResponse, ResetTeamInvitationRequest, ResetTeamInvitationResponse, UpdateTeamMemberRequest, UpdateTeamMemberResponse } from "./teams_pb.js";
7
+ import { MethodKind } from "@bufbuild/protobuf";
8
+ /**
9
+ * @generated from service gitpod.experimental.v1.TeamsService
10
+ */
11
+ export declare const TeamsService: {
12
+ readonly typeName: "gitpod.experimental.v1.TeamsService";
13
+ readonly methods: {
14
+ /**
15
+ * CreateTeam creates a new Team.
16
+ *
17
+ * @generated from rpc gitpod.experimental.v1.TeamsService.CreateTeam
18
+ */
19
+ readonly createTeam: {
20
+ readonly name: "CreateTeam";
21
+ readonly I: typeof CreateTeamRequest;
22
+ readonly O: typeof CreateTeamResponse;
23
+ readonly kind: MethodKind.Unary;
24
+ };
25
+ /**
26
+ * ListTeams lists the caller has access to.
27
+ *
28
+ * @generated from rpc gitpod.experimental.v1.TeamsService.ListTeams
29
+ */
30
+ readonly listTeams: {
31
+ readonly name: "ListTeams";
32
+ readonly I: typeof ListTeamsRequest;
33
+ readonly O: typeof ListTeamsResponse;
34
+ readonly kind: MethodKind.Unary;
35
+ };
36
+ /**
37
+ * JoinTeam makes the caller a TeamMember of the Team.
38
+ *
39
+ * @generated from rpc gitpod.experimental.v1.TeamsService.JoinTeam
40
+ */
41
+ readonly joinTeam: {
42
+ readonly name: "JoinTeam";
43
+ readonly I: typeof JoinTeamRequest;
44
+ readonly O: typeof JoinTeamResponse;
45
+ readonly kind: MethodKind.Unary;
46
+ };
47
+ /**
48
+ * ResetTeamInvitation resets the invitation_id for a Team.
49
+ *
50
+ * @generated from rpc gitpod.experimental.v1.TeamsService.ResetTeamInvitation
51
+ */
52
+ readonly resetTeamInvitation: {
53
+ readonly name: "ResetTeamInvitation";
54
+ readonly I: typeof ResetTeamInvitationRequest;
55
+ readonly O: typeof ResetTeamInvitationResponse;
56
+ readonly kind: MethodKind.Unary;
57
+ };
58
+ /**
59
+ * UpdateTeamMember updates team membership properties.
60
+ *
61
+ * @generated from rpc gitpod.experimental.v1.TeamsService.UpdateTeamMember
62
+ */
63
+ readonly updateTeamMember: {
64
+ readonly name: "UpdateTeamMember";
65
+ readonly I: typeof UpdateTeamMemberRequest;
66
+ readonly O: typeof UpdateTeamMemberResponse;
67
+ readonly kind: MethodKind.Unary;
68
+ };
69
+ /**
70
+ * DeleteTeamMember removes a TeamMember from the Team.
71
+ *
72
+ * @generated from rpc gitpod.experimental.v1.TeamsService.DeleteTeamMember
73
+ */
74
+ readonly deleteTeamMember: {
75
+ readonly name: "DeleteTeamMember";
76
+ readonly I: typeof DeleteTeamMemberRequest;
77
+ readonly O: typeof DeleteTeamMemberResponse;
78
+ readonly kind: MethodKind.Unary;
79
+ };
80
+ };
81
+ };
82
+ //# sourceMappingURL=teams_connectweb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"teams_connectweb.d.ts","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/teams_connectweb.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,OAAO,EAAC,iBAAiB,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,eAAe,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,uBAAuB,EAAE,wBAAwB,EAAC,MAAM,eAAe,CAAC;AAC3S,OAAO,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAC;AAE9C;;GAEG;AACH,eAAO,MAAM,YAAY;;;QAGrB;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;QAOH;;;;WAIG;;;;;;;;CAQG,CAAC"}
@@ -0,0 +1,89 @@
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.TeamsService = void 0;
9
+ // @generated by protoc-gen-connect-web v0.2.1 with parameter "target=ts"
10
+ // @generated from file gitpod/experimental/v1/teams.proto (package gitpod.experimental.v1, syntax proto3)
11
+ /* eslint-disable */
12
+ /* @ts-nocheck */
13
+ const teams_pb_js_1 = require("./teams_pb.js");
14
+ const protobuf_1 = require("@bufbuild/protobuf");
15
+ /**
16
+ * @generated from service gitpod.experimental.v1.TeamsService
17
+ */
18
+ exports.TeamsService = {
19
+ typeName: "gitpod.experimental.v1.TeamsService",
20
+ methods: {
21
+ /**
22
+ * CreateTeam creates a new Team.
23
+ *
24
+ * @generated from rpc gitpod.experimental.v1.TeamsService.CreateTeam
25
+ */
26
+ createTeam: {
27
+ name: "CreateTeam",
28
+ I: teams_pb_js_1.CreateTeamRequest,
29
+ O: teams_pb_js_1.CreateTeamResponse,
30
+ kind: protobuf_1.MethodKind.Unary,
31
+ },
32
+ /**
33
+ * ListTeams lists the caller has access to.
34
+ *
35
+ * @generated from rpc gitpod.experimental.v1.TeamsService.ListTeams
36
+ */
37
+ listTeams: {
38
+ name: "ListTeams",
39
+ I: teams_pb_js_1.ListTeamsRequest,
40
+ O: teams_pb_js_1.ListTeamsResponse,
41
+ kind: protobuf_1.MethodKind.Unary,
42
+ },
43
+ /**
44
+ * JoinTeam makes the caller a TeamMember of the Team.
45
+ *
46
+ * @generated from rpc gitpod.experimental.v1.TeamsService.JoinTeam
47
+ */
48
+ joinTeam: {
49
+ name: "JoinTeam",
50
+ I: teams_pb_js_1.JoinTeamRequest,
51
+ O: teams_pb_js_1.JoinTeamResponse,
52
+ kind: protobuf_1.MethodKind.Unary,
53
+ },
54
+ /**
55
+ * ResetTeamInvitation resets the invitation_id for a Team.
56
+ *
57
+ * @generated from rpc gitpod.experimental.v1.TeamsService.ResetTeamInvitation
58
+ */
59
+ resetTeamInvitation: {
60
+ name: "ResetTeamInvitation",
61
+ I: teams_pb_js_1.ResetTeamInvitationRequest,
62
+ O: teams_pb_js_1.ResetTeamInvitationResponse,
63
+ kind: protobuf_1.MethodKind.Unary,
64
+ },
65
+ /**
66
+ * UpdateTeamMember updates team membership properties.
67
+ *
68
+ * @generated from rpc gitpod.experimental.v1.TeamsService.UpdateTeamMember
69
+ */
70
+ updateTeamMember: {
71
+ name: "UpdateTeamMember",
72
+ I: teams_pb_js_1.UpdateTeamMemberRequest,
73
+ O: teams_pb_js_1.UpdateTeamMemberResponse,
74
+ kind: protobuf_1.MethodKind.Unary,
75
+ },
76
+ /**
77
+ * DeleteTeamMember removes a TeamMember from the Team.
78
+ *
79
+ * @generated from rpc gitpod.experimental.v1.TeamsService.DeleteTeamMember
80
+ */
81
+ deleteTeamMember: {
82
+ name: "DeleteTeamMember",
83
+ I: teams_pb_js_1.DeleteTeamMemberRequest,
84
+ O: teams_pb_js_1.DeleteTeamMemberResponse,
85
+ kind: protobuf_1.MethodKind.Unary,
86
+ },
87
+ }
88
+ };
89
+ //# sourceMappingURL=teams_connectweb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"teams_connectweb.js","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/teams_connectweb.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,yEAAyE;AACzE,0GAA0G;AAC1G,oBAAoB;AACpB,iBAAiB;AAEjB,+CAA2S;AAC3S,iDAA8C;AAE9C;;GAEG;AACU,QAAA,YAAY,GAAG;IAC1B,QAAQ,EAAE,qCAAqC;IAC/C,OAAO,EAAE;QACP;;;;WAIG;QACH,UAAU,EAAE;YACV,IAAI,EAAE,YAAY;YAClB,CAAC,EAAE,+BAAiB;YACpB,CAAC,EAAE,gCAAkB;YACrB,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;;;WAIG;QACH,SAAS,EAAE;YACT,IAAI,EAAE,WAAW;YACjB,CAAC,EAAE,8BAAgB;YACnB,CAAC,EAAE,+BAAiB;YACpB,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;;;WAIG;QACH,QAAQ,EAAE;YACR,IAAI,EAAE,UAAU;YAChB,CAAC,EAAE,6BAAe;YAClB,CAAC,EAAE,8BAAgB;YACnB,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;;;WAIG;QACH,mBAAmB,EAAE;YACnB,IAAI,EAAE,qBAAqB;YAC3B,CAAC,EAAE,wCAA0B;YAC7B,CAAC,EAAE,yCAA2B;YAC9B,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;;;WAIG;QACH,gBAAgB,EAAE;YAChB,IAAI,EAAE,kBAAkB;YACxB,CAAC,EAAE,qCAAuB;YAC1B,CAAC,EAAE,sCAAwB;YAC3B,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;QACD;;;;WAIG;QACH,gBAAgB,EAAE;YAChB,IAAI,EAAE,kBAAkB;YACxB,CAAC,EAAE,qCAAuB;YAC1B,CAAC,EAAE,sCAAwB;YAC3B,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
@@ -0,0 +1,347 @@
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 enum gitpod.experimental.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.experimental.v1.Team
34
+ */
35
+ export declare class Team extends Message<Team> {
36
+ /**
37
+ * id is a UUID of the Team
38
+ *
39
+ * @generated from field: string id = 1;
40
+ */
41
+ id: string;
42
+ /**
43
+ * name is the name of the Team
44
+ *
45
+ * @generated from field: string name = 2;
46
+ */
47
+ name: string;
48
+ /**
49
+ * slug is the short version of the Team name
50
+ *
51
+ * @generated from field: string slug = 3;
52
+ */
53
+ slug: string;
54
+ /**
55
+ * members are the team members of this Team
56
+ *
57
+ * @generated from field: repeated gitpod.experimental.v1.TeamMember members = 4;
58
+ */
59
+ members: TeamMember[];
60
+ /**
61
+ * team_invitation is the team invitation.
62
+ *
63
+ * @generated from field: gitpod.experimental.v1.TeamInvitation team_invitation = 5;
64
+ */
65
+ teamInvitation?: TeamInvitation;
66
+ constructor(data?: PartialMessage<Team>);
67
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
68
+ static readonly typeName = "gitpod.experimental.v1.Team";
69
+ static readonly fields: FieldList;
70
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Team;
71
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Team;
72
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Team;
73
+ static equals(a: Team | PlainMessage<Team> | undefined, b: Team | PlainMessage<Team> | undefined): boolean;
74
+ }
75
+ /**
76
+ * @generated from message gitpod.experimental.v1.TeamMember
77
+ */
78
+ export declare class TeamMember extends Message<TeamMember> {
79
+ /**
80
+ * user_id is the identifier of the user
81
+ *
82
+ * @generated from field: string user_id = 1;
83
+ */
84
+ userId: string;
85
+ /**
86
+ * role is the role this member is assigned
87
+ *
88
+ * @generated from field: gitpod.experimental.v1.TeamRole role = 2;
89
+ */
90
+ role: TeamRole;
91
+ /**
92
+ * member_since is the timestamp when the member joined the team
93
+ *
94
+ * @generated from field: google.protobuf.Timestamp member_since = 3;
95
+ */
96
+ memberSince?: Timestamp;
97
+ constructor(data?: PartialMessage<TeamMember>);
98
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
99
+ static readonly typeName = "gitpod.experimental.v1.TeamMember";
100
+ static readonly fields: FieldList;
101
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TeamMember;
102
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TeamMember;
103
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TeamMember;
104
+ static equals(a: TeamMember | PlainMessage<TeamMember> | undefined, b: TeamMember | PlainMessage<TeamMember> | undefined): boolean;
105
+ }
106
+ /**
107
+ * @generated from message gitpod.experimental.v1.TeamInvitation
108
+ */
109
+ export declare class TeamInvitation extends Message<TeamInvitation> {
110
+ /**
111
+ * id is the invitation ID.
112
+ *
113
+ * @generated from field: string id = 1;
114
+ */
115
+ id: string;
116
+ constructor(data?: PartialMessage<TeamInvitation>);
117
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
118
+ static readonly typeName = "gitpod.experimental.v1.TeamInvitation";
119
+ static readonly fields: FieldList;
120
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TeamInvitation;
121
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TeamInvitation;
122
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TeamInvitation;
123
+ static equals(a: TeamInvitation | PlainMessage<TeamInvitation> | undefined, b: TeamInvitation | PlainMessage<TeamInvitation> | undefined): boolean;
124
+ }
125
+ /**
126
+ * @generated from message gitpod.experimental.v1.CreateTeamRequest
127
+ */
128
+ export declare class CreateTeamRequest extends Message<CreateTeamRequest> {
129
+ /**
130
+ * name is the team name
131
+ *
132
+ * @generated from field: string name = 1;
133
+ */
134
+ name: string;
135
+ constructor(data?: PartialMessage<CreateTeamRequest>);
136
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
137
+ static readonly typeName = "gitpod.experimental.v1.CreateTeamRequest";
138
+ static readonly fields: FieldList;
139
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateTeamRequest;
140
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateTeamRequest;
141
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateTeamRequest;
142
+ static equals(a: CreateTeamRequest | PlainMessage<CreateTeamRequest> | undefined, b: CreateTeamRequest | PlainMessage<CreateTeamRequest> | undefined): boolean;
143
+ }
144
+ /**
145
+ * @generated from message gitpod.experimental.v1.CreateTeamResponse
146
+ */
147
+ export declare class CreateTeamResponse extends Message<CreateTeamResponse> {
148
+ /**
149
+ * @generated from field: gitpod.experimental.v1.Team team = 1;
150
+ */
151
+ team?: Team;
152
+ constructor(data?: PartialMessage<CreateTeamResponse>);
153
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
154
+ static readonly typeName = "gitpod.experimental.v1.CreateTeamResponse";
155
+ static readonly fields: FieldList;
156
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateTeamResponse;
157
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateTeamResponse;
158
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateTeamResponse;
159
+ static equals(a: CreateTeamResponse | PlainMessage<CreateTeamResponse> | undefined, b: CreateTeamResponse | PlainMessage<CreateTeamResponse> | undefined): boolean;
160
+ }
161
+ /**
162
+ * TODO: pagination options
163
+ *
164
+ * @generated from message gitpod.experimental.v1.ListTeamsRequest
165
+ */
166
+ export declare class ListTeamsRequest extends Message<ListTeamsRequest> {
167
+ constructor(data?: PartialMessage<ListTeamsRequest>);
168
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
169
+ static readonly typeName = "gitpod.experimental.v1.ListTeamsRequest";
170
+ static readonly fields: FieldList;
171
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListTeamsRequest;
172
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListTeamsRequest;
173
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListTeamsRequest;
174
+ static equals(a: ListTeamsRequest | PlainMessage<ListTeamsRequest> | undefined, b: ListTeamsRequest | PlainMessage<ListTeamsRequest> | undefined): boolean;
175
+ }
176
+ /**
177
+ * @generated from message gitpod.experimental.v1.ListTeamsResponse
178
+ */
179
+ export declare class ListTeamsResponse extends Message<ListTeamsResponse> {
180
+ /**
181
+ * @generated from field: repeated gitpod.experimental.v1.Team teams = 1;
182
+ */
183
+ teams: Team[];
184
+ constructor(data?: PartialMessage<ListTeamsResponse>);
185
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
186
+ static readonly typeName = "gitpod.experimental.v1.ListTeamsResponse";
187
+ static readonly fields: FieldList;
188
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListTeamsResponse;
189
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListTeamsResponse;
190
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListTeamsResponse;
191
+ static equals(a: ListTeamsResponse | PlainMessage<ListTeamsResponse> | undefined, b: ListTeamsResponse | PlainMessage<ListTeamsResponse> | undefined): boolean;
192
+ }
193
+ /**
194
+ * @generated from message gitpod.experimental.v1.JoinTeamRequest
195
+ */
196
+ export declare class JoinTeamRequest extends Message<JoinTeamRequest> {
197
+ /**
198
+ * invitation_id is the invitation ID for a Team
199
+ *
200
+ * @generated from field: string invitation_id = 1;
201
+ */
202
+ invitationId: string;
203
+ constructor(data?: PartialMessage<JoinTeamRequest>);
204
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
205
+ static readonly typeName = "gitpod.experimental.v1.JoinTeamRequest";
206
+ static readonly fields: FieldList;
207
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JoinTeamRequest;
208
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JoinTeamRequest;
209
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JoinTeamRequest;
210
+ static equals(a: JoinTeamRequest | PlainMessage<JoinTeamRequest> | undefined, b: JoinTeamRequest | PlainMessage<JoinTeamRequest> | undefined): boolean;
211
+ }
212
+ /**
213
+ * @generated from message gitpod.experimental.v1.JoinTeamResponse
214
+ */
215
+ export declare class JoinTeamResponse extends Message<JoinTeamResponse> {
216
+ /**
217
+ * team is the team the user has just joined
218
+ *
219
+ * @generated from field: gitpod.experimental.v1.Team team = 1;
220
+ */
221
+ team?: Team;
222
+ constructor(data?: PartialMessage<JoinTeamResponse>);
223
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
224
+ static readonly typeName = "gitpod.experimental.v1.JoinTeamResponse";
225
+ static readonly fields: FieldList;
226
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JoinTeamResponse;
227
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JoinTeamResponse;
228
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JoinTeamResponse;
229
+ static equals(a: JoinTeamResponse | PlainMessage<JoinTeamResponse> | undefined, b: JoinTeamResponse | PlainMessage<JoinTeamResponse> | undefined): boolean;
230
+ }
231
+ /**
232
+ * @generated from message gitpod.experimental.v1.ResetTeamInvitationRequest
233
+ */
234
+ export declare class ResetTeamInvitationRequest extends Message<ResetTeamInvitationRequest> {
235
+ /**
236
+ * @generated from field: string team_id = 1;
237
+ */
238
+ teamId: string;
239
+ constructor(data?: PartialMessage<ResetTeamInvitationRequest>);
240
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
241
+ static readonly typeName = "gitpod.experimental.v1.ResetTeamInvitationRequest";
242
+ static readonly fields: FieldList;
243
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ResetTeamInvitationRequest;
244
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ResetTeamInvitationRequest;
245
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ResetTeamInvitationRequest;
246
+ static equals(a: ResetTeamInvitationRequest | PlainMessage<ResetTeamInvitationRequest> | undefined, b: ResetTeamInvitationRequest | PlainMessage<ResetTeamInvitationRequest> | undefined): boolean;
247
+ }
248
+ /**
249
+ * @generated from message gitpod.experimental.v1.ResetTeamInvitationResponse
250
+ */
251
+ export declare class ResetTeamInvitationResponse extends Message<ResetTeamInvitationResponse> {
252
+ /**
253
+ * team_invitation is the new invitation for the team.
254
+ *
255
+ * @generated from field: gitpod.experimental.v1.TeamInvitation team_invitation = 1;
256
+ */
257
+ teamInvitation?: TeamInvitation;
258
+ constructor(data?: PartialMessage<ResetTeamInvitationResponse>);
259
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
260
+ static readonly typeName = "gitpod.experimental.v1.ResetTeamInvitationResponse";
261
+ static readonly fields: FieldList;
262
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ResetTeamInvitationResponse;
263
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ResetTeamInvitationResponse;
264
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ResetTeamInvitationResponse;
265
+ static equals(a: ResetTeamInvitationResponse | PlainMessage<ResetTeamInvitationResponse> | undefined, b: ResetTeamInvitationResponse | PlainMessage<ResetTeamInvitationResponse> | undefined): boolean;
266
+ }
267
+ /**
268
+ * @generated from message gitpod.experimental.v1.UpdateTeamMemberRequest
269
+ */
270
+ export declare class UpdateTeamMemberRequest extends Message<UpdateTeamMemberRequest> {
271
+ /**
272
+ * team_id is the ID of the team in which the role is to be updated
273
+ *
274
+ * @generated from field: string team_id = 1;
275
+ */
276
+ teamId: string;
277
+ /**
278
+ * team_member is the team member being updated.
279
+ *
280
+ * @generated from field: gitpod.experimental.v1.TeamMember team_member = 2;
281
+ */
282
+ teamMember?: TeamMember;
283
+ constructor(data?: PartialMessage<UpdateTeamMemberRequest>);
284
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
285
+ static readonly typeName = "gitpod.experimental.v1.UpdateTeamMemberRequest";
286
+ static readonly fields: FieldList;
287
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateTeamMemberRequest;
288
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateTeamMemberRequest;
289
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateTeamMemberRequest;
290
+ static equals(a: UpdateTeamMemberRequest | PlainMessage<UpdateTeamMemberRequest> | undefined, b: UpdateTeamMemberRequest | PlainMessage<UpdateTeamMemberRequest> | undefined): boolean;
291
+ }
292
+ /**
293
+ * @generated from message gitpod.experimental.v1.UpdateTeamMemberResponse
294
+ */
295
+ export declare class UpdateTeamMemberResponse extends Message<UpdateTeamMemberResponse> {
296
+ /**
297
+ * @generated from field: gitpod.experimental.v1.TeamMember team_member = 2;
298
+ */
299
+ teamMember?: TeamMember;
300
+ constructor(data?: PartialMessage<UpdateTeamMemberResponse>);
301
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
302
+ static readonly typeName = "gitpod.experimental.v1.UpdateTeamMemberResponse";
303
+ static readonly fields: FieldList;
304
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateTeamMemberResponse;
305
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateTeamMemberResponse;
306
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateTeamMemberResponse;
307
+ static equals(a: UpdateTeamMemberResponse | PlainMessage<UpdateTeamMemberResponse> | undefined, b: UpdateTeamMemberResponse | PlainMessage<UpdateTeamMemberResponse> | undefined): boolean;
308
+ }
309
+ /**
310
+ * @generated from message gitpod.experimental.v1.DeleteTeamMemberRequest
311
+ */
312
+ export declare class DeleteTeamMemberRequest extends Message<DeleteTeamMemberRequest> {
313
+ /**
314
+ * team_id is the ID of the team in which a member should be deleted.
315
+ *
316
+ * @generated from field: string team_id = 1;
317
+ */
318
+ teamId: string;
319
+ /**
320
+ * team_member_id is the ID of the TeamMember that should be deleted from the team.
321
+ *
322
+ * @generated from field: string team_member_id = 2;
323
+ */
324
+ teamMemberId: string;
325
+ constructor(data?: PartialMessage<DeleteTeamMemberRequest>);
326
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
327
+ static readonly typeName = "gitpod.experimental.v1.DeleteTeamMemberRequest";
328
+ static readonly fields: FieldList;
329
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteTeamMemberRequest;
330
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteTeamMemberRequest;
331
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteTeamMemberRequest;
332
+ static equals(a: DeleteTeamMemberRequest | PlainMessage<DeleteTeamMemberRequest> | undefined, b: DeleteTeamMemberRequest | PlainMessage<DeleteTeamMemberRequest> | undefined): boolean;
333
+ }
334
+ /**
335
+ * @generated from message gitpod.experimental.v1.DeleteTeamMemberResponse
336
+ */
337
+ export declare class DeleteTeamMemberResponse extends Message<DeleteTeamMemberResponse> {
338
+ constructor(data?: PartialMessage<DeleteTeamMemberResponse>);
339
+ static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
340
+ static readonly typeName = "gitpod.experimental.v1.DeleteTeamMemberResponse";
341
+ static readonly fields: FieldList;
342
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteTeamMemberResponse;
343
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteTeamMemberResponse;
344
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteTeamMemberResponse;
345
+ static equals(a: DeleteTeamMemberResponse | PlainMessage<DeleteTeamMemberResponse> | undefined, b: DeleteTeamMemberResponse | PlainMessage<DeleteTeamMemberResponse> | undefined): boolean;
346
+ }
347
+ //# sourceMappingURL=teams_pb.d.ts.map