@gitpod/public-api 0.1.5-mp-server-workspace-svc.6 → 0.1.5-mp-server-workspace-svc.10
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.
- package/lib/gitpod/experimental/v1/identityprovider_connectweb.d.ts +27 -0
- package/lib/gitpod/experimental/v1/identityprovider_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/identityprovider_connectweb.js +34 -0
- package/lib/gitpod/experimental/v1/identityprovider_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/identityprovider_pb.d.ts +46 -0
- package/lib/gitpod/experimental/v1/identityprovider_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/identityprovider_pb.js +77 -0
- package/lib/gitpod/experimental/v1/identityprovider_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/idp_connectweb.d.ts +27 -0
- package/lib/gitpod/experimental/v1/idp_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/idp_connectweb.js +34 -0
- package/lib/gitpod/experimental/v1/idp_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/idp_pb.d.ts +46 -0
- package/lib/gitpod/experimental/v1/idp_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/idp_pb.js +77 -0
- package/lib/gitpod/experimental/v1/idp_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/workspace_connectweb.d.ts +43 -0
- package/lib/gitpod/experimental/v1/workspace_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/workspace_connectweb.js +50 -0
- package/lib/gitpod/experimental/v1/workspace_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/workspace_pb.d.ts +153 -0
- package/lib/gitpod/experimental/v1/workspace_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/workspace_pb.js +254 -0
- package/lib/gitpod/experimental/v1/workspace_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts +1 -10
- package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts.map +1 -1
- package/lib/gitpod/experimental/v1/workspaces_connectweb.js +0 -9
- package/lib/gitpod/experimental/v1/workspaces_connectweb.js.map +1 -1
- package/lib/gitpod/experimental/v1/workspaces_pb.d.ts +0 -26
- package/lib/gitpod/experimental/v1/workspaces_pb.d.ts.map +1 -1
- package/lib/gitpod/experimental/v1/workspaces_pb.js +1 -51
- package/lib/gitpod/experimental/v1/workspaces_pb.js.map +1 -1
- package/package.json +1 -1
- package/pkg-yarn.lock +1 -1
- package/provenance-bundle.jsonl +2 -2
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2023 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 { GetIDTokenRequest, GetIDTokenResponse } from "./identityprovider_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
/**
|
|
9
|
+
* @generated from service gitpod.experimental.v1.IdentityProviderService
|
|
10
|
+
*/
|
|
11
|
+
export declare const IdentityProviderService: {
|
|
12
|
+
readonly typeName: "gitpod.experimental.v1.IdentityProviderService";
|
|
13
|
+
readonly methods: {
|
|
14
|
+
/**
|
|
15
|
+
* GetIDToken produces a new OIDC ID token (https://openid.net/specs/openid-connect-core-1_0.html#ImplicitIDToken)
|
|
16
|
+
*
|
|
17
|
+
* @generated from rpc gitpod.experimental.v1.IdentityProviderService.GetIDToken
|
|
18
|
+
*/
|
|
19
|
+
readonly getIDToken: {
|
|
20
|
+
readonly name: "GetIDToken";
|
|
21
|
+
readonly I: typeof GetIDTokenRequest;
|
|
22
|
+
readonly O: typeof GetIDTokenResponse;
|
|
23
|
+
readonly kind: MethodKind.Unary;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=identityprovider_connectweb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"identityprovider_connectweb.d.ts","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/identityprovider_connectweb.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,OAAO,EAAC,iBAAiB,EAAE,kBAAkB,EAAC,MAAM,0BAA0B,CAAC;AAC/E,OAAO,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAC;AAE9C;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;QAGhC;;;;WAIG;;;;;;;;CAQG,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.IdentityProviderService = void 0;
|
|
9
|
+
// @generated by protoc-gen-connect-web v0.2.1 with parameter "target=ts"
|
|
10
|
+
// @generated from file gitpod/experimental/v1/identityprovider.proto (package gitpod.experimental.v1, syntax proto3)
|
|
11
|
+
/* eslint-disable */
|
|
12
|
+
/* @ts-nocheck */
|
|
13
|
+
const identityprovider_pb_js_1 = require("./identityprovider_pb.js");
|
|
14
|
+
const protobuf_1 = require("@bufbuild/protobuf");
|
|
15
|
+
/**
|
|
16
|
+
* @generated from service gitpod.experimental.v1.IdentityProviderService
|
|
17
|
+
*/
|
|
18
|
+
exports.IdentityProviderService = {
|
|
19
|
+
typeName: "gitpod.experimental.v1.IdentityProviderService",
|
|
20
|
+
methods: {
|
|
21
|
+
/**
|
|
22
|
+
* GetIDToken produces a new OIDC ID token (https://openid.net/specs/openid-connect-core-1_0.html#ImplicitIDToken)
|
|
23
|
+
*
|
|
24
|
+
* @generated from rpc gitpod.experimental.v1.IdentityProviderService.GetIDToken
|
|
25
|
+
*/
|
|
26
|
+
getIDToken: {
|
|
27
|
+
name: "GetIDToken",
|
|
28
|
+
I: identityprovider_pb_js_1.GetIDTokenRequest,
|
|
29
|
+
O: identityprovider_pb_js_1.GetIDTokenResponse,
|
|
30
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
31
|
+
},
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=identityprovider_connectweb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"identityprovider_connectweb.js","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/identityprovider_connectweb.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,yEAAyE;AACzE,qHAAqH;AACrH,oBAAoB;AACpB,iBAAiB;AAEjB,qEAA+E;AAC/E,iDAA8C;AAE9C;;GAEG;AACU,QAAA,uBAAuB,GAAG;IACrC,QAAQ,EAAE,gDAAgD;IAC1D,OAAO,EAAE;QACP;;;;WAIG;QACH,UAAU,EAAE;YACV,IAAI,EAAE,YAAY;YAClB,CAAC,EAAE,0CAAiB;YACpB,CAAC,EAAE,2CAAkB;YACrB,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2023 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.GetIDTokenRequest
|
|
10
|
+
*/
|
|
11
|
+
export declare class GetIDTokenRequest extends Message<GetIDTokenRequest> {
|
|
12
|
+
/**
|
|
13
|
+
* @generated from field: string workspace_id = 1;
|
|
14
|
+
*/
|
|
15
|
+
workspaceId: string;
|
|
16
|
+
/**
|
|
17
|
+
* @generated from field: repeated string audience = 2;
|
|
18
|
+
*/
|
|
19
|
+
audience: string[];
|
|
20
|
+
constructor(data?: PartialMessage<GetIDTokenRequest>);
|
|
21
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
|
22
|
+
static readonly typeName = "gitpod.experimental.v1.GetIDTokenRequest";
|
|
23
|
+
static readonly fields: FieldList;
|
|
24
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetIDTokenRequest;
|
|
25
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetIDTokenRequest;
|
|
26
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetIDTokenRequest;
|
|
27
|
+
static equals(a: GetIDTokenRequest | PlainMessage<GetIDTokenRequest> | undefined, b: GetIDTokenRequest | PlainMessage<GetIDTokenRequest> | undefined): boolean;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* @generated from message gitpod.experimental.v1.GetIDTokenResponse
|
|
31
|
+
*/
|
|
32
|
+
export declare class GetIDTokenResponse extends Message<GetIDTokenResponse> {
|
|
33
|
+
/**
|
|
34
|
+
* @generated from field: string token = 1;
|
|
35
|
+
*/
|
|
36
|
+
token: string;
|
|
37
|
+
constructor(data?: PartialMessage<GetIDTokenResponse>);
|
|
38
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
|
39
|
+
static readonly typeName = "gitpod.experimental.v1.GetIDTokenResponse";
|
|
40
|
+
static readonly fields: FieldList;
|
|
41
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetIDTokenResponse;
|
|
42
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetIDTokenResponse;
|
|
43
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetIDTokenResponse;
|
|
44
|
+
static equals(a: GetIDTokenResponse | PlainMessage<GetIDTokenResponse> | undefined, b: GetIDTokenResponse | PlainMessage<GetIDTokenResponse> | undefined): boolean;
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=identityprovider_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"identityprovider_pb.d.ts","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/identityprovider_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,iBAAkB,SAAQ,OAAO,CAAC,iBAAiB,CAAC;IAC/D;;OAEG;IACH,WAAW,SAAM;IAEjB;;OAEG;IACH,QAAQ,EAAE,MAAM,EAAE,CAAM;gBAEZ,IAAI,CAAC,EAAE,cAAc,CAAC,iBAAiB,CAAC;IAKpD,MAAM,CAAC,QAAQ,CAAC,OAAO,6EAAU;IACjC,MAAM,CAAC,QAAQ,CAAC,QAAQ,8CAA8C;IACtE,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,iBAAiB;IAI7F,MAAM,CAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,iBAAiB;IAI5F,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,iBAAiB;IAIhG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,iBAAiB,GAAG,YAAY,CAAC,iBAAiB,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,iBAAiB,GAAG,YAAY,CAAC,iBAAiB,CAAC,GAAG,SAAS,GAAG,OAAO;CAG/J;AAED;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,OAAO,CAAC,kBAAkB,CAAC;IACjE;;OAEG;IACH,KAAK,SAAM;gBAEC,IAAI,CAAC,EAAE,cAAc,CAAC,kBAAkB,CAAC;IAKrD,MAAM,CAAC,QAAQ,CAAC,OAAO,6EAAU;IACjC,MAAM,CAAC,QAAQ,CAAC,QAAQ,+CAA+C;IACvE,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,SAAS,CAE9B;IAEH,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,kBAAkB;IAI9F,MAAM,CAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,kBAAkB;IAI7F,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,kBAAkB;IAIjG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,kBAAkB,GAAG,YAAY,CAAC,kBAAkB,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,kBAAkB,GAAG,YAAY,CAAC,kBAAkB,CAAC,GAAG,SAAS,GAAG,OAAO;CAGnK"}
|
|
@@ -0,0 +1,77 @@
|
|
|
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.GetIDTokenResponse = exports.GetIDTokenRequest = void 0;
|
|
9
|
+
const protobuf_1 = require("@bufbuild/protobuf");
|
|
10
|
+
/**
|
|
11
|
+
* @generated from message gitpod.experimental.v1.GetIDTokenRequest
|
|
12
|
+
*/
|
|
13
|
+
class GetIDTokenRequest extends protobuf_1.Message {
|
|
14
|
+
constructor(data) {
|
|
15
|
+
super();
|
|
16
|
+
/**
|
|
17
|
+
* @generated from field: string workspace_id = 1;
|
|
18
|
+
*/
|
|
19
|
+
this.workspaceId = "";
|
|
20
|
+
/**
|
|
21
|
+
* @generated from field: repeated string audience = 2;
|
|
22
|
+
*/
|
|
23
|
+
this.audience = [];
|
|
24
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
25
|
+
}
|
|
26
|
+
static fromBinary(bytes, options) {
|
|
27
|
+
return new GetIDTokenRequest().fromBinary(bytes, options);
|
|
28
|
+
}
|
|
29
|
+
static fromJson(jsonValue, options) {
|
|
30
|
+
return new GetIDTokenRequest().fromJson(jsonValue, options);
|
|
31
|
+
}
|
|
32
|
+
static fromJsonString(jsonString, options) {
|
|
33
|
+
return new GetIDTokenRequest().fromJsonString(jsonString, options);
|
|
34
|
+
}
|
|
35
|
+
static equals(a, b) {
|
|
36
|
+
return protobuf_1.proto3.util.equals(GetIDTokenRequest, a, b);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
exports.GetIDTokenRequest = GetIDTokenRequest;
|
|
40
|
+
GetIDTokenRequest.runtime = protobuf_1.proto3;
|
|
41
|
+
GetIDTokenRequest.typeName = "gitpod.experimental.v1.GetIDTokenRequest";
|
|
42
|
+
GetIDTokenRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
43
|
+
{ no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
44
|
+
{ no: 2, name: "audience", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
45
|
+
]);
|
|
46
|
+
/**
|
|
47
|
+
* @generated from message gitpod.experimental.v1.GetIDTokenResponse
|
|
48
|
+
*/
|
|
49
|
+
class GetIDTokenResponse extends protobuf_1.Message {
|
|
50
|
+
constructor(data) {
|
|
51
|
+
super();
|
|
52
|
+
/**
|
|
53
|
+
* @generated from field: string token = 1;
|
|
54
|
+
*/
|
|
55
|
+
this.token = "";
|
|
56
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
57
|
+
}
|
|
58
|
+
static fromBinary(bytes, options) {
|
|
59
|
+
return new GetIDTokenResponse().fromBinary(bytes, options);
|
|
60
|
+
}
|
|
61
|
+
static fromJson(jsonValue, options) {
|
|
62
|
+
return new GetIDTokenResponse().fromJson(jsonValue, options);
|
|
63
|
+
}
|
|
64
|
+
static fromJsonString(jsonString, options) {
|
|
65
|
+
return new GetIDTokenResponse().fromJsonString(jsonString, options);
|
|
66
|
+
}
|
|
67
|
+
static equals(a, b) {
|
|
68
|
+
return protobuf_1.proto3.util.equals(GetIDTokenResponse, a, b);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
exports.GetIDTokenResponse = GetIDTokenResponse;
|
|
72
|
+
GetIDTokenResponse.runtime = protobuf_1.proto3;
|
|
73
|
+
GetIDTokenResponse.typeName = "gitpod.experimental.v1.GetIDTokenResponse";
|
|
74
|
+
GetIDTokenResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
75
|
+
{ no: 1, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
76
|
+
]);
|
|
77
|
+
//# sourceMappingURL=identityprovider_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"identityprovider_pb.js","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/identityprovider_pb.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAQH,iDAAmD;AAEnD;;GAEG;AACH,MAAa,iBAAkB,SAAQ,kBAA0B;IAW/D,YAAY,IAAwC;QAClD,KAAK,EAAE,CAAC;QAXV;;WAEG;Q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GPL.txt in the project root for license information.
|
|
5
|
+
*/
|
|
6
|
+
import { GetIDTokenRequest, GetIDTokenResponse } from "./idp_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
/**
|
|
9
|
+
* @generated from service gitpod.experimental.v1.IDPService
|
|
10
|
+
*/
|
|
11
|
+
export declare const IDPService: {
|
|
12
|
+
readonly typeName: "gitpod.experimental.v1.IDPService";
|
|
13
|
+
readonly methods: {
|
|
14
|
+
/**
|
|
15
|
+
* GetIDToken produces a new IT token
|
|
16
|
+
*
|
|
17
|
+
* @generated from rpc gitpod.experimental.v1.IDPService.GetIDToken
|
|
18
|
+
*/
|
|
19
|
+
readonly getIDToken: {
|
|
20
|
+
readonly name: "GetIDToken";
|
|
21
|
+
readonly I: typeof GetIDTokenRequest;
|
|
22
|
+
readonly O: typeof GetIDTokenResponse;
|
|
23
|
+
readonly kind: MethodKind.Unary;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=idp_connectweb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"idp_connectweb.d.ts","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/idp_connectweb.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,OAAO,EAAC,iBAAiB,EAAE,kBAAkB,EAAC,MAAM,aAAa,CAAC;AAClE,OAAO,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAC;AAE9C;;GAEG;AACH,eAAO,MAAM,UAAU;;;QAGnB;;;;WAIG;;;;;;;;CAQG,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.IDPService = void 0;
|
|
9
|
+
// @generated by protoc-gen-connect-web v0.2.1 with parameter "target=ts"
|
|
10
|
+
// @generated from file gitpod/experimental/v1/idp.proto (package gitpod.experimental.v1, syntax proto3)
|
|
11
|
+
/* eslint-disable */
|
|
12
|
+
/* @ts-nocheck */
|
|
13
|
+
const idp_pb_js_1 = require("./idp_pb.js");
|
|
14
|
+
const protobuf_1 = require("@bufbuild/protobuf");
|
|
15
|
+
/**
|
|
16
|
+
* @generated from service gitpod.experimental.v1.IDPService
|
|
17
|
+
*/
|
|
18
|
+
exports.IDPService = {
|
|
19
|
+
typeName: "gitpod.experimental.v1.IDPService",
|
|
20
|
+
methods: {
|
|
21
|
+
/**
|
|
22
|
+
* GetIDToken produces a new IT token
|
|
23
|
+
*
|
|
24
|
+
* @generated from rpc gitpod.experimental.v1.IDPService.GetIDToken
|
|
25
|
+
*/
|
|
26
|
+
getIDToken: {
|
|
27
|
+
name: "GetIDToken",
|
|
28
|
+
I: idp_pb_js_1.GetIDTokenRequest,
|
|
29
|
+
O: idp_pb_js_1.GetIDTokenResponse,
|
|
30
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
31
|
+
},
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=idp_connectweb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"idp_connectweb.js","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/idp_connectweb.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,yEAAyE;AACzE,wGAAwG;AACxG,oBAAoB;AACpB,iBAAiB;AAEjB,2CAAkE;AAClE,iDAA8C;AAE9C;;GAEG;AACU,QAAA,UAAU,GAAG;IACxB,QAAQ,EAAE,mCAAmC;IAC7C,OAAO,EAAE;QACP;;;;WAIG;QACH,UAAU,EAAE;YACV,IAAI,EAAE,YAAY;YAClB,CAAC,EAAE,6BAAiB;YACpB,CAAC,EAAE,8BAAkB;YACrB,IAAI,EAAE,qBAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2023 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.GetIDTokenRequest
|
|
10
|
+
*/
|
|
11
|
+
export declare class GetIDTokenRequest extends Message<GetIDTokenRequest> {
|
|
12
|
+
/**
|
|
13
|
+
* @generated from field: string workspace_id = 1;
|
|
14
|
+
*/
|
|
15
|
+
workspaceId: string;
|
|
16
|
+
/**
|
|
17
|
+
* @generated from field: repeated string audience = 2;
|
|
18
|
+
*/
|
|
19
|
+
audience: string[];
|
|
20
|
+
constructor(data?: PartialMessage<GetIDTokenRequest>);
|
|
21
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
|
22
|
+
static readonly typeName = "gitpod.experimental.v1.GetIDTokenRequest";
|
|
23
|
+
static readonly fields: FieldList;
|
|
24
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetIDTokenRequest;
|
|
25
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetIDTokenRequest;
|
|
26
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetIDTokenRequest;
|
|
27
|
+
static equals(a: GetIDTokenRequest | PlainMessage<GetIDTokenRequest> | undefined, b: GetIDTokenRequest | PlainMessage<GetIDTokenRequest> | undefined): boolean;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* @generated from message gitpod.experimental.v1.GetIDTokenResponse
|
|
31
|
+
*/
|
|
32
|
+
export declare class GetIDTokenResponse extends Message<GetIDTokenResponse> {
|
|
33
|
+
/**
|
|
34
|
+
* @generated from field: string token = 1;
|
|
35
|
+
*/
|
|
36
|
+
token: string;
|
|
37
|
+
constructor(data?: PartialMessage<GetIDTokenResponse>);
|
|
38
|
+
static readonly runtime: import("@bufbuild/protobuf/dist/types/private/proto-runtime").ProtoRuntime;
|
|
39
|
+
static readonly typeName = "gitpod.experimental.v1.GetIDTokenResponse";
|
|
40
|
+
static readonly fields: FieldList;
|
|
41
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetIDTokenResponse;
|
|
42
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetIDTokenResponse;
|
|
43
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetIDTokenResponse;
|
|
44
|
+
static equals(a: GetIDTokenResponse | PlainMessage<GetIDTokenResponse> | undefined, b: GetIDTokenResponse | PlainMessage<GetIDTokenResponse> | undefined): boolean;
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=idp_pb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"idp_pb.d.ts","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/idp_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,iBAAkB,SAAQ,OAAO,CAAC,iBAAiB,CAAC;IAC/D;;OAEG;IACH,WAAW,SAAM;IAEjB;;OAEG;IACH,QAAQ,EAAE,MAAM,EAAE,CAAM;gBAEZ,IAAI,CAAC,EAAE,cAAc,CAAC,i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Ac,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,kBAAkB;IAIjG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,kBAAkB,GAAG,YAAY,CAAC,kBAAkB,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,kBAAkB,GAAG,YAAY,CAAC,kBAAkB,CAAC,GAAG,SAAS,GAAG,OAAO;CAGnK"}
|
|
@@ -0,0 +1,77 @@
|
|
|
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.GetIDTokenResponse = exports.GetIDTokenRequest = void 0;
|
|
9
|
+
const protobuf_1 = require("@bufbuild/protobuf");
|
|
10
|
+
/**
|
|
11
|
+
* @generated from message gitpod.experimental.v1.GetIDTokenRequest
|
|
12
|
+
*/
|
|
13
|
+
class GetIDTokenRequest extends protobuf_1.Message {
|
|
14
|
+
constructor(data) {
|
|
15
|
+
super();
|
|
16
|
+
/**
|
|
17
|
+
* @generated from field: string workspace_id = 1;
|
|
18
|
+
*/
|
|
19
|
+
this.workspaceId = "";
|
|
20
|
+
/**
|
|
21
|
+
* @generated from field: repeated string audience = 2;
|
|
22
|
+
*/
|
|
23
|
+
this.audience = [];
|
|
24
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
25
|
+
}
|
|
26
|
+
static fromBinary(bytes, options) {
|
|
27
|
+
return new GetIDTokenRequest().fromBinary(bytes, options);
|
|
28
|
+
}
|
|
29
|
+
static fromJson(jsonValue, options) {
|
|
30
|
+
return new GetIDTokenRequest().fromJson(jsonValue, options);
|
|
31
|
+
}
|
|
32
|
+
static fromJsonString(jsonString, options) {
|
|
33
|
+
return new GetIDTokenRequest().fromJsonString(jsonString, options);
|
|
34
|
+
}
|
|
35
|
+
static equals(a, b) {
|
|
36
|
+
return protobuf_1.proto3.util.equals(GetIDTokenRequest, a, b);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
exports.GetIDTokenRequest = GetIDTokenRequest;
|
|
40
|
+
GetIDTokenRequest.runtime = protobuf_1.proto3;
|
|
41
|
+
GetIDTokenRequest.typeName = "gitpod.experimental.v1.GetIDTokenRequest";
|
|
42
|
+
GetIDTokenRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
43
|
+
{ no: 1, name: "workspace_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
44
|
+
{ no: 2, name: "audience", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
45
|
+
]);
|
|
46
|
+
/**
|
|
47
|
+
* @generated from message gitpod.experimental.v1.GetIDTokenResponse
|
|
48
|
+
*/
|
|
49
|
+
class GetIDTokenResponse extends protobuf_1.Message {
|
|
50
|
+
constructor(data) {
|
|
51
|
+
super();
|
|
52
|
+
/**
|
|
53
|
+
* @generated from field: string token = 1;
|
|
54
|
+
*/
|
|
55
|
+
this.token = "";
|
|
56
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
57
|
+
}
|
|
58
|
+
static fromBinary(bytes, options) {
|
|
59
|
+
return new GetIDTokenResponse().fromBinary(bytes, options);
|
|
60
|
+
}
|
|
61
|
+
static fromJson(jsonValue, options) {
|
|
62
|
+
return new GetIDTokenResponse().fromJson(jsonValue, options);
|
|
63
|
+
}
|
|
64
|
+
static fromJsonString(jsonString, options) {
|
|
65
|
+
return new GetIDTokenResponse().fromJsonString(jsonString, options);
|
|
66
|
+
}
|
|
67
|
+
static equals(a, b) {
|
|
68
|
+
return protobuf_1.proto3.util.equals(GetIDTokenResponse, a, b);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
exports.GetIDTokenResponse = GetIDTokenResponse;
|
|
72
|
+
GetIDTokenResponse.runtime = protobuf_1.proto3;
|
|
73
|
+
GetIDTokenResponse.typeName = "gitpod.experimental.v1.GetIDTokenResponse";
|
|
74
|
+
GetIDTokenResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
75
|
+
{ no: 1, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
76
|
+
]);
|
|
77
|
+
//# sourceMappingURL=idp_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"idp_pb.js","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/idp_pb.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAQH,iDAAmD;AAEnD;;GAEG;AACH,MAAa,iBAAkB,SAAQ,kBAA0B;IAW/D,YAAY,IAAwC;QAClD,KAAK,EAAE,CAAC;QAXV;;WAEG;QACH,gBAAW,GAAG,EAAE,CAAC;QAEjB;;WAEG;QACH,aAAQ,GAAa,EAAE,CAAC;QAItB,iBAAM,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IACtC,CAAC;IASD,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,CAAC,SAAoB,EAAE,OAAkC;QACtE,OAAO,IAAI,iBAAiB,EAAE,CAAC,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;IAED,MAAM,CAAC,cAAc,CAAC,UAAkB,EAAE,OAAkC;QAC1E,OAAO,IAAI,iBAAiB,EAAE,CAAC,cAAc,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAED,MAAM,CAAC,MAAM,CAAC,CAAkE,EAAE,CAAkE;QAClJ,OAAO,iBAAM,CAAC,IAAI,CAAC,MAAM,CAAC,iBAAiB,EAAE,CAAC,EAAE,CAA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,kBAAkB,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IACtD,CAAC;;AA/BH,gDAgCC;AArBiB,0BAAO,GAAG,iBAAM,CAAC;AACjB,2BAAQ,GAAG,2CAA2C,CAAC;AACvD,yBAAM,GAAc,iBAAM,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC;IACjE,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC,uBAAuB,EAAE;CACvE,CAAC,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
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 { GetOpenPortsRequest, GetOpenPortsResponse, InstanceUpdatesRequest, InstanceUpdatesResponse, OpenPortRequest, OpenPortResponse } from "./workspace_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
/**
|
|
9
|
+
* @generated from service gitpod.experimental.v1.WorkspaceService
|
|
10
|
+
*/
|
|
11
|
+
export declare const WorkspaceService: {
|
|
12
|
+
readonly typeName: "gitpod.experimental.v1.WorkspaceService";
|
|
13
|
+
readonly methods: {
|
|
14
|
+
/**
|
|
15
|
+
* @generated from rpc gitpod.experimental.v1.WorkspaceService.OpenPort
|
|
16
|
+
*/
|
|
17
|
+
readonly openPort: {
|
|
18
|
+
readonly name: "OpenPort";
|
|
19
|
+
readonly I: typeof OpenPortRequest;
|
|
20
|
+
readonly O: typeof OpenPortResponse;
|
|
21
|
+
readonly kind: MethodKind.Unary;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @generated from rpc gitpod.experimental.v1.WorkspaceService.GetOpenPorts
|
|
25
|
+
*/
|
|
26
|
+
readonly getOpenPorts: {
|
|
27
|
+
readonly name: "GetOpenPorts";
|
|
28
|
+
readonly I: typeof GetOpenPortsRequest;
|
|
29
|
+
readonly O: typeof GetOpenPortsResponse;
|
|
30
|
+
readonly kind: MethodKind.Unary;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* @generated from rpc gitpod.experimental.v1.WorkspaceService.InstanceUpdates
|
|
34
|
+
*/
|
|
35
|
+
readonly instanceUpdates: {
|
|
36
|
+
readonly name: "InstanceUpdates";
|
|
37
|
+
readonly I: typeof InstanceUpdatesRequest;
|
|
38
|
+
readonly O: typeof InstanceUpdatesResponse;
|
|
39
|
+
readonly kind: MethodKind.Unary;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=workspace_connectweb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workspace_connectweb.d.ts","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/workspace_connectweb.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAOH,OAAO,EACH,mBAAmB,EACnB,oBAAoB,EACpB,sBAAsB,EACtB,uBAAuB,EACvB,eAAe,EACf,gBAAgB,EACnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;QAGrB;;WAEG;;;;;;;QAOH;;WAEG;;;;;;;QAOH;;WAEG;;;;;;;;CAQD,CAAC"}
|
|
@@ -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.WorkspaceService = void 0;
|
|
9
|
+
// @generated by protoc-gen-connect-web v0.2.1 with parameter "target=ts"
|
|
10
|
+
// @generated from file gitpod/experimental/v1/workspace.proto (package gitpod.experimental.v1, syntax proto3)
|
|
11
|
+
/* eslint-disable */
|
|
12
|
+
/* @ts-nocheck */
|
|
13
|
+
const workspace_pb_js_1 = require("./workspace_pb.js");
|
|
14
|
+
const protobuf_1 = require("@bufbuild/protobuf");
|
|
15
|
+
/**
|
|
16
|
+
* @generated from service gitpod.experimental.v1.WorkspaceService
|
|
17
|
+
*/
|
|
18
|
+
exports.WorkspaceService = {
|
|
19
|
+
typeName: "gitpod.experimental.v1.WorkspaceService",
|
|
20
|
+
methods: {
|
|
21
|
+
/**
|
|
22
|
+
* @generated from rpc gitpod.experimental.v1.WorkspaceService.OpenPort
|
|
23
|
+
*/
|
|
24
|
+
openPort: {
|
|
25
|
+
name: "OpenPort",
|
|
26
|
+
I: workspace_pb_js_1.OpenPortRequest,
|
|
27
|
+
O: workspace_pb_js_1.OpenPortResponse,
|
|
28
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
29
|
+
},
|
|
30
|
+
/**
|
|
31
|
+
* @generated from rpc gitpod.experimental.v1.WorkspaceService.GetOpenPorts
|
|
32
|
+
*/
|
|
33
|
+
getOpenPorts: {
|
|
34
|
+
name: "GetOpenPorts",
|
|
35
|
+
I: workspace_pb_js_1.GetOpenPortsRequest,
|
|
36
|
+
O: workspace_pb_js_1.GetOpenPortsResponse,
|
|
37
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
38
|
+
},
|
|
39
|
+
/**
|
|
40
|
+
* @generated from rpc gitpod.experimental.v1.WorkspaceService.InstanceUpdates
|
|
41
|
+
*/
|
|
42
|
+
instanceUpdates: {
|
|
43
|
+
name: "InstanceUpdates",
|
|
44
|
+
I: workspace_pb_js_1.InstanceUpdatesRequest,
|
|
45
|
+
O: workspace_pb_js_1.InstanceUpdatesResponse,
|
|
46
|
+
kind: protobuf_1.MethodKind.Unary,
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=workspace_connectweb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workspace_connectweb.js","sourceRoot":"","sources":["../../../../src/gitpod/experimental/v1/workspace_connectweb.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,yEAAyE;AACzE,8GAA8G;AAC9G,oBAAoB;AACpB,iBAAiB;AAEjB,uDAO2B;AAC3B,iDAAgD;AAEhD;;GAEG;AACU,QAAA,gBAAgB,GAAG;IAC5B,QAAQ,EAAE,yCAAyC;IACnD,OAAO,EAAE;QACL;;WAEG;QACH,QAAQ,EAAE;YACN,IAAI,EAAE,UAAU;YAChB,CAAC,EAAE,iCAAe;YAClB,CAAC,EAAE,kCAAgB;YACnB,IAAI,EAAE,qBAAU,CAAC,KAAK;SACzB;QACD;;WAEG;QACH,YAAY,EAAE;YACV,IAAI,EAAE,cAAc;YACpB,CAAC,EAAE,qCAAmB;YACtB,CAAC,EAAE,sCAAoB;YACvB,IAAI,EAAE,qBAAU,CAAC,KAAK;SACzB;QACD;;WAEG;QACH,eAAe,EAAE;YACb,IAAI,EAAE,iBAAiB;YACvB,CAAC,EAAE,wCAAsB;YACzB,CAAC,EAAE,yCAAuB;YAC1B,IAAI,EAAE,qBAAU,CAAC,KAAK;SACzB;KACJ;CACK,CAAC"}
|