@gitpod/public-api 0.1.5-vn-jetbrains-backend-plugin-223.6 → 0.1.5-wv-add-image-builds-to-dashboard.0
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/gitpod/experimental/v1/ide_client_connectweb.d.ts +38 -0
- package/lib/gitpod/experimental/v1/ide_client_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/ide_client_connectweb.js +45 -0
- package/lib/gitpod/experimental/v1/ide_client_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/ide_client_pb.d.ts +68 -0
- package/lib/gitpod/experimental/v1/ide_client_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/ide_client_pb.js +122 -0
- package/lib/gitpod/experimental/v1/ide_client_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/index.d.ts +9 -0
- package/lib/gitpod/experimental/v1/index.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/index.js +21 -0
- package/lib/gitpod/experimental/v1/index.js.map +1 -0
- package/lib/gitpod/experimental/v1/oidc_connectweb.d.ts +71 -0
- package/lib/gitpod/experimental/v1/oidc_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/oidc_connectweb.js +78 -0
- package/lib/gitpod/experimental/v1/oidc_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/oidc_pb.d.ts +467 -0
- package/lib/gitpod/experimental/v1/oidc_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/oidc_pb.js +658 -0
- package/lib/gitpod/experimental/v1/oidc_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/pagination_pb.d.ts +36 -0
- package/lib/gitpod/experimental/v1/pagination_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/pagination_pb.js +53 -0
- package/lib/gitpod/experimental/v1/pagination_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/projects_connectweb.d.ts +60 -0
- package/lib/gitpod/experimental/v1/projects_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/projects_connectweb.js +67 -0
- package/lib/gitpod/experimental/v1/projects_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/projects_pb.d.ts +319 -0
- package/lib/gitpod/experimental/v1/projects_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/projects_pb.js +474 -0
- package/lib/gitpod/experimental/v1/projects_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/teams_connectweb.d.ts +104 -0
- package/lib/gitpod/experimental/v1/teams_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/teams_connectweb.js +111 -0
- package/lib/gitpod/experimental/v1/teams_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/teams_pb.d.ts +433 -0
- package/lib/gitpod/experimental/v1/teams_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/teams_pb.js +671 -0
- package/lib/gitpod/experimental/v1/teams_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/tokens_connectweb.d.ts +82 -0
- package/lib/gitpod/experimental/v1/tokens_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/tokens_connectweb.js +89 -0
- package/lib/gitpod/experimental/v1/tokens_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/tokens_pb.d.ts +285 -0
- package/lib/gitpod/experimental/v1/tokens_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/tokens_pb.js +422 -0
- package/lib/gitpod/experimental/v1/tokens_pb.js.map +1 -0
- package/lib/gitpod/experimental/v1/user_connectweb.d.ts +80 -0
- package/lib/gitpod/experimental/v1/user_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/user_connectweb.js +87 -0
- package/lib/gitpod/experimental/v1/user_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/user_pb.d.ts +343 -0
- package/lib/gitpod/experimental/v1/user_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/user_pb.js +534 -0
- package/lib/gitpod/experimental/v1/user_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 +107 -0
- package/lib/gitpod/experimental/v1/workspaces_connectweb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/workspaces_connectweb.js +114 -0
- package/lib/gitpod/experimental/v1/workspaces_connectweb.js.map +1 -0
- package/lib/gitpod/experimental/v1/workspaces_pb.d.ts +874 -0
- package/lib/gitpod/experimental/v1/workspaces_pb.d.ts.map +1 -0
- package/lib/gitpod/experimental/v1/workspaces_pb.js +1235 -0
- package/lib/gitpod/experimental/v1/workspaces_pb.js.map +1 -0
- package/lib/index.d.ts +7 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +10 -0
- package/lib/index.js.map +1 -0
- package/package.json +9 -11
- package/pkg-yarn.lock +5 -5
- package/provenance-bundle.jsonl +2 -2
- package/lib/gitpod/v1/pagination_grpc_pb.js +0 -7
- package/lib/gitpod/v1/pagination_pb.d.ts +0 -36
- package/lib/gitpod/v1/pagination_pb.js +0 -206
- package/lib/gitpod/v1/prebuilds_grpc_pb.d.ts +0 -95
- package/lib/gitpod/v1/prebuilds_grpc_pb.js +0 -161
- package/lib/gitpod/v1/prebuilds_pb.d.ts +0 -283
- package/lib/gitpod/v1/prebuilds_pb.js +0 -1997
- package/lib/gitpod/v1/workspaces_grpc_pb.d.ts +0 -197
- package/lib/gitpod/v1/workspaces_grpc_pb.js +0 -368
- package/lib/gitpod/v1/workspaces_pb.d.ts +0 -810
- package/lib/gitpod/v1/workspaces_pb.js +0 -5976
@@ -0,0 +1,658 @@
|
|
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.DeleteClientConfigResponse = exports.DeleteClientConfigRequest = exports.UpdateClientConfigResponse = exports.UpdateClientConfigRequest = exports.ListClientConfigsResponse = exports.ListClientConfigsRequest = exports.GetClientConfigResponse = exports.GetClientConfigRequest = exports.CreateClientConfigResponse = exports.CreateClientConfigRequest = exports.OIDCClientConfigStatus = exports.UserInfoKeys = exports.OAuth2Config = exports.ClaimMappingOverride = exports.ConsentScreenHints = exports.OIDCConfig = exports.OIDCClientConfig = void 0;
|
9
|
+
const protobuf_1 = require("@bufbuild/protobuf");
|
10
|
+
const pagination_pb_js_1 = require("./pagination_pb.js");
|
11
|
+
/**
|
12
|
+
* Configuration of an OpenID client.
|
13
|
+
*
|
14
|
+
* For the metadata describing the configuration of OIDC providers, cf.
|
15
|
+
* https://openid.net/specs/openid-connect-discovery-1_0.html
|
16
|
+
*
|
17
|
+
* @generated from message gitpod.experimental.v1.OIDCClientConfig
|
18
|
+
*/
|
19
|
+
class OIDCClientConfig extends protobuf_1.Message {
|
20
|
+
constructor(data) {
|
21
|
+
super();
|
22
|
+
/**
|
23
|
+
* ID is the unique identifier for the OIDC Config.
|
24
|
+
* Read only.
|
25
|
+
*
|
26
|
+
* @generated from field: string id = 1;
|
27
|
+
*/
|
28
|
+
this.id = "";
|
29
|
+
/**
|
30
|
+
* Optional.
|
31
|
+
*
|
32
|
+
* @generated from field: bool oauth_only = 4;
|
33
|
+
*/
|
34
|
+
this.oauthOnly = false;
|
35
|
+
/**
|
36
|
+
* List of the JWS signing algorithms (alg values) supported by the OP for the
|
37
|
+
* ID Token to encode the Claims in a JWT. The algorithm RS256 MUST be
|
38
|
+
* included.
|
39
|
+
* Optional.
|
40
|
+
*
|
41
|
+
* @generated from field: repeated string id_token_signing_alg_values_supported = 5;
|
42
|
+
*/
|
43
|
+
this.idTokenSigningAlgValuesSupported = [];
|
44
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
45
|
+
}
|
46
|
+
static fromBinary(bytes, options) {
|
47
|
+
return new OIDCClientConfig().fromBinary(bytes, options);
|
48
|
+
}
|
49
|
+
static fromJson(jsonValue, options) {
|
50
|
+
return new OIDCClientConfig().fromJson(jsonValue, options);
|
51
|
+
}
|
52
|
+
static fromJsonString(jsonString, options) {
|
53
|
+
return new OIDCClientConfig().fromJsonString(jsonString, options);
|
54
|
+
}
|
55
|
+
static equals(a, b) {
|
56
|
+
return protobuf_1.proto3.util.equals(OIDCClientConfig, a, b);
|
57
|
+
}
|
58
|
+
}
|
59
|
+
exports.OIDCClientConfig = OIDCClientConfig;
|
60
|
+
OIDCClientConfig.runtime = protobuf_1.proto3;
|
61
|
+
OIDCClientConfig.typeName = "gitpod.experimental.v1.OIDCClientConfig";
|
62
|
+
OIDCClientConfig.fields = protobuf_1.proto3.util.newFieldList(() => [
|
63
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
64
|
+
{ no: 2, name: "oidc_config", kind: "message", T: OIDCConfig },
|
65
|
+
{ no: 3, name: "oauth2_config", kind: "message", T: OAuth2Config },
|
66
|
+
{ no: 4, name: "oauth_only", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
67
|
+
{ no: 5, name: "id_token_signing_alg_values_supported", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
68
|
+
{ no: 6, name: "creation_time", kind: "message", T: protobuf_1.Timestamp },
|
69
|
+
{ no: 7, name: "status", kind: "message", T: OIDCClientConfigStatus },
|
70
|
+
]);
|
71
|
+
/**
|
72
|
+
* The OIDC specific part of the client configuration.
|
73
|
+
*
|
74
|
+
* @generated from message gitpod.experimental.v1.OIDCConfig
|
75
|
+
*/
|
76
|
+
class OIDCConfig extends protobuf_1.Message {
|
77
|
+
constructor(data) {
|
78
|
+
super();
|
79
|
+
/**
|
80
|
+
* URL using the https scheme with no query or fragment component that the
|
81
|
+
* OIDC provider asserts as its Issuer Identifier.
|
82
|
+
* Required.
|
83
|
+
*
|
84
|
+
* @generated from field: string issuer = 1;
|
85
|
+
*/
|
86
|
+
this.issuer = "";
|
87
|
+
/**
|
88
|
+
* A KeySet that can validate the id_token (JSON web token)
|
89
|
+
* Either one is required.
|
90
|
+
*
|
91
|
+
* @generated from field: string jwks = 2;
|
92
|
+
*/
|
93
|
+
this.jwks = "";
|
94
|
+
/**
|
95
|
+
* @generated from field: string jwks_url = 3;
|
96
|
+
*/
|
97
|
+
this.jwksUrl = "";
|
98
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
99
|
+
}
|
100
|
+
static fromBinary(bytes, options) {
|
101
|
+
return new OIDCConfig().fromBinary(bytes, options);
|
102
|
+
}
|
103
|
+
static fromJson(jsonValue, options) {
|
104
|
+
return new OIDCConfig().fromJson(jsonValue, options);
|
105
|
+
}
|
106
|
+
static fromJsonString(jsonString, options) {
|
107
|
+
return new OIDCConfig().fromJsonString(jsonString, options);
|
108
|
+
}
|
109
|
+
static equals(a, b) {
|
110
|
+
return protobuf_1.proto3.util.equals(OIDCConfig, a, b);
|
111
|
+
}
|
112
|
+
}
|
113
|
+
exports.OIDCConfig = OIDCConfig;
|
114
|
+
OIDCConfig.runtime = protobuf_1.proto3;
|
115
|
+
OIDCConfig.typeName = "gitpod.experimental.v1.OIDCConfig";
|
116
|
+
OIDCConfig.fields = protobuf_1.proto3.util.newFieldList(() => [
|
117
|
+
{ no: 1, name: "issuer", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
118
|
+
{ no: 2, name: "jwks", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
119
|
+
{ no: 3, name: "jwks_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
120
|
+
{ no: 4, name: "hints", kind: "message", T: ConsentScreenHints },
|
121
|
+
{ no: 5, name: "override_claim_mapping", kind: "message", T: ClaimMappingOverride },
|
122
|
+
]);
|
123
|
+
/**
|
124
|
+
* Provider specific parameters to control the behavior of the consent screen.
|
125
|
+
*
|
126
|
+
* @generated from message gitpod.experimental.v1.ConsentScreenHints
|
127
|
+
*/
|
128
|
+
class ConsentScreenHints extends protobuf_1.Message {
|
129
|
+
constructor(data) {
|
130
|
+
super();
|
131
|
+
/**
|
132
|
+
* Control options for the consent screen.
|
133
|
+
* Optional.
|
134
|
+
*
|
135
|
+
* @generated from field: string prompt = 1;
|
136
|
+
*/
|
137
|
+
this.prompt = "";
|
138
|
+
/**
|
139
|
+
* A hint to pre-select the tenant from an AD.
|
140
|
+
* Optional.
|
141
|
+
*
|
142
|
+
* @generated from field: string domain_hint = 2;
|
143
|
+
*/
|
144
|
+
this.domainHint = "";
|
145
|
+
/**
|
146
|
+
* Optional.
|
147
|
+
*
|
148
|
+
* @generated from field: string login_hint = 3;
|
149
|
+
*/
|
150
|
+
this.loginHint = "";
|
151
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
152
|
+
}
|
153
|
+
static fromBinary(bytes, options) {
|
154
|
+
return new ConsentScreenHints().fromBinary(bytes, options);
|
155
|
+
}
|
156
|
+
static fromJson(jsonValue, options) {
|
157
|
+
return new ConsentScreenHints().fromJson(jsonValue, options);
|
158
|
+
}
|
159
|
+
static fromJsonString(jsonString, options) {
|
160
|
+
return new ConsentScreenHints().fromJsonString(jsonString, options);
|
161
|
+
}
|
162
|
+
static equals(a, b) {
|
163
|
+
return protobuf_1.proto3.util.equals(ConsentScreenHints, a, b);
|
164
|
+
}
|
165
|
+
}
|
166
|
+
exports.ConsentScreenHints = ConsentScreenHints;
|
167
|
+
ConsentScreenHints.runtime = protobuf_1.proto3;
|
168
|
+
ConsentScreenHints.typeName = "gitpod.experimental.v1.ConsentScreenHints";
|
169
|
+
ConsentScreenHints.fields = protobuf_1.proto3.util.newFieldList(() => [
|
170
|
+
{ no: 1, name: "prompt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
171
|
+
{ no: 2, name: "domain_hint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
172
|
+
{ no: 3, name: "login_hint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
173
|
+
]);
|
174
|
+
/**
|
175
|
+
* Optional overrides for key mapping to be applied when extracting claims from id_tokens.
|
176
|
+
*
|
177
|
+
* @generated from message gitpod.experimental.v1.ClaimMappingOverride
|
178
|
+
*/
|
179
|
+
class ClaimMappingOverride extends protobuf_1.Message {
|
180
|
+
constructor(data) {
|
181
|
+
super();
|
182
|
+
/**
|
183
|
+
* Optional.
|
184
|
+
*
|
185
|
+
* @generated from field: string claim_email_key = 1;
|
186
|
+
*/
|
187
|
+
this.claimEmailKey = "";
|
188
|
+
/**
|
189
|
+
* Optional.
|
190
|
+
*
|
191
|
+
* @generated from field: string claim_groups_key = 2;
|
192
|
+
*/
|
193
|
+
this.claimGroupsKey = "";
|
194
|
+
/**
|
195
|
+
* Optional.
|
196
|
+
*
|
197
|
+
* @generated from field: string claim_username_key = 3;
|
198
|
+
*/
|
199
|
+
this.claimUsernameKey = "";
|
200
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
201
|
+
}
|
202
|
+
static fromBinary(bytes, options) {
|
203
|
+
return new ClaimMappingOverride().fromBinary(bytes, options);
|
204
|
+
}
|
205
|
+
static fromJson(jsonValue, options) {
|
206
|
+
return new ClaimMappingOverride().fromJson(jsonValue, options);
|
207
|
+
}
|
208
|
+
static fromJsonString(jsonString, options) {
|
209
|
+
return new ClaimMappingOverride().fromJsonString(jsonString, options);
|
210
|
+
}
|
211
|
+
static equals(a, b) {
|
212
|
+
return protobuf_1.proto3.util.equals(ClaimMappingOverride, a, b);
|
213
|
+
}
|
214
|
+
}
|
215
|
+
exports.ClaimMappingOverride = ClaimMappingOverride;
|
216
|
+
ClaimMappingOverride.runtime = protobuf_1.proto3;
|
217
|
+
ClaimMappingOverride.typeName = "gitpod.experimental.v1.ClaimMappingOverride";
|
218
|
+
ClaimMappingOverride.fields = protobuf_1.proto3.util.newFieldList(() => [
|
219
|
+
{ no: 1, name: "claim_email_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
220
|
+
{ no: 2, name: "claim_groups_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
221
|
+
{ no: 3, name: "claim_username_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
222
|
+
]);
|
223
|
+
/**
|
224
|
+
* The OAuth2 specific part of the client configuration.
|
225
|
+
*
|
226
|
+
* @generated from message gitpod.experimental.v1.OAuth2Config
|
227
|
+
*/
|
228
|
+
class OAuth2Config extends protobuf_1.Message {
|
229
|
+
constructor(data) {
|
230
|
+
super();
|
231
|
+
/**
|
232
|
+
* Required.
|
233
|
+
*
|
234
|
+
* @generated from field: string client_id = 1;
|
235
|
+
*/
|
236
|
+
this.clientId = "";
|
237
|
+
/**
|
238
|
+
* Required for creation/updates.
|
239
|
+
* Empty on read.
|
240
|
+
*
|
241
|
+
* @generated from field: string client_secret = 2;
|
242
|
+
*/
|
243
|
+
this.clientSecret = "";
|
244
|
+
/**
|
245
|
+
* Required.
|
246
|
+
*
|
247
|
+
* @generated from field: string authorization_endpoint = 3;
|
248
|
+
*/
|
249
|
+
this.authorizationEndpoint = "";
|
250
|
+
/**
|
251
|
+
* Required.
|
252
|
+
*
|
253
|
+
* @generated from field: string token_endpoint = 4;
|
254
|
+
*/
|
255
|
+
this.tokenEndpoint = "";
|
256
|
+
/**
|
257
|
+
* Required.
|
258
|
+
*
|
259
|
+
* @generated from field: repeated string scopes_supported = 5;
|
260
|
+
*/
|
261
|
+
this.scopesSupported = [];
|
262
|
+
/**
|
263
|
+
* Source for additional claims for the token.
|
264
|
+
* Additional keys may be used to control the extraction of a profile.
|
265
|
+
* Required.
|
266
|
+
*
|
267
|
+
* @generated from field: string userinfo_endpoint = 6;
|
268
|
+
*/
|
269
|
+
this.userinfoEndpoint = "";
|
270
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
271
|
+
}
|
272
|
+
static fromBinary(bytes, options) {
|
273
|
+
return new OAuth2Config().fromBinary(bytes, options);
|
274
|
+
}
|
275
|
+
static fromJson(jsonValue, options) {
|
276
|
+
return new OAuth2Config().fromJson(jsonValue, options);
|
277
|
+
}
|
278
|
+
static fromJsonString(jsonString, options) {
|
279
|
+
return new OAuth2Config().fromJsonString(jsonString, options);
|
280
|
+
}
|
281
|
+
static equals(a, b) {
|
282
|
+
return protobuf_1.proto3.util.equals(OAuth2Config, a, b);
|
283
|
+
}
|
284
|
+
}
|
285
|
+
exports.OAuth2Config = OAuth2Config;
|
286
|
+
OAuth2Config.runtime = protobuf_1.proto3;
|
287
|
+
OAuth2Config.typeName = "gitpod.experimental.v1.OAuth2Config";
|
288
|
+
OAuth2Config.fields = protobuf_1.proto3.util.newFieldList(() => [
|
289
|
+
{ no: 1, name: "client_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
290
|
+
{ no: 2, name: "client_secret", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
291
|
+
{ no: 3, name: "authorization_endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
292
|
+
{ no: 4, name: "token_endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
293
|
+
{ no: 5, name: "scopes_supported", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
294
|
+
{ no: 6, name: "userinfo_endpoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
295
|
+
{ no: 7, name: "userinfo_keys", kind: "message", T: UserInfoKeys },
|
296
|
+
]);
|
297
|
+
/**
|
298
|
+
* Description of keys of a userinfo result.
|
299
|
+
*
|
300
|
+
* @generated from message gitpod.experimental.v1.UserInfoKeys
|
301
|
+
*/
|
302
|
+
class UserInfoKeys extends protobuf_1.Message {
|
303
|
+
constructor(data) {
|
304
|
+
super();
|
305
|
+
/**
|
306
|
+
* Optional.
|
307
|
+
*
|
308
|
+
* @generated from field: string userinfo_id_key = 1;
|
309
|
+
*/
|
310
|
+
this.userinfoIdKey = "";
|
311
|
+
/**
|
312
|
+
* Optional.
|
313
|
+
*
|
314
|
+
* @generated from field: string userinfo_name_key = 2;
|
315
|
+
*/
|
316
|
+
this.userinfoNameKey = "";
|
317
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
318
|
+
}
|
319
|
+
static fromBinary(bytes, options) {
|
320
|
+
return new UserInfoKeys().fromBinary(bytes, options);
|
321
|
+
}
|
322
|
+
static fromJson(jsonValue, options) {
|
323
|
+
return new UserInfoKeys().fromJson(jsonValue, options);
|
324
|
+
}
|
325
|
+
static fromJsonString(jsonString, options) {
|
326
|
+
return new UserInfoKeys().fromJsonString(jsonString, options);
|
327
|
+
}
|
328
|
+
static equals(a, b) {
|
329
|
+
return protobuf_1.proto3.util.equals(UserInfoKeys, a, b);
|
330
|
+
}
|
331
|
+
}
|
332
|
+
exports.UserInfoKeys = UserInfoKeys;
|
333
|
+
UserInfoKeys.runtime = protobuf_1.proto3;
|
334
|
+
UserInfoKeys.typeName = "gitpod.experimental.v1.UserInfoKeys";
|
335
|
+
UserInfoKeys.fields = protobuf_1.proto3.util.newFieldList(() => [
|
336
|
+
{ no: 1, name: "userinfo_id_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
337
|
+
{ no: 2, name: "userinfo_name_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
338
|
+
]);
|
339
|
+
/**
|
340
|
+
* The status of an OIDC client configuration.
|
341
|
+
*
|
342
|
+
*
|
343
|
+
*
|
344
|
+
* @generated from message gitpod.experimental.v1.OIDCClientConfigStatus
|
345
|
+
*/
|
346
|
+
class OIDCClientConfigStatus extends protobuf_1.Message {
|
347
|
+
constructor(data) {
|
348
|
+
super();
|
349
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
350
|
+
}
|
351
|
+
static fromBinary(bytes, options) {
|
352
|
+
return new OIDCClientConfigStatus().fromBinary(bytes, options);
|
353
|
+
}
|
354
|
+
static fromJson(jsonValue, options) {
|
355
|
+
return new OIDCClientConfigStatus().fromJson(jsonValue, options);
|
356
|
+
}
|
357
|
+
static fromJsonString(jsonString, options) {
|
358
|
+
return new OIDCClientConfigStatus().fromJsonString(jsonString, options);
|
359
|
+
}
|
360
|
+
static equals(a, b) {
|
361
|
+
return protobuf_1.proto3.util.equals(OIDCClientConfigStatus, a, b);
|
362
|
+
}
|
363
|
+
}
|
364
|
+
exports.OIDCClientConfigStatus = OIDCClientConfigStatus;
|
365
|
+
OIDCClientConfigStatus.runtime = protobuf_1.proto3;
|
366
|
+
OIDCClientConfigStatus.typeName = "gitpod.experimental.v1.OIDCClientConfigStatus";
|
367
|
+
OIDCClientConfigStatus.fields = protobuf_1.proto3.util.newFieldList(() => []);
|
368
|
+
/**
|
369
|
+
* @generated from message gitpod.experimental.v1.CreateClientConfigRequest
|
370
|
+
*/
|
371
|
+
class CreateClientConfigRequest extends protobuf_1.Message {
|
372
|
+
constructor(data) {
|
373
|
+
super();
|
374
|
+
/**
|
375
|
+
* Optional.
|
376
|
+
*
|
377
|
+
* @generated from field: bool use_discovery = 2;
|
378
|
+
*/
|
379
|
+
this.useDiscovery = false;
|
380
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
381
|
+
}
|
382
|
+
static fromBinary(bytes, options) {
|
383
|
+
return new CreateClientConfigRequest().fromBinary(bytes, options);
|
384
|
+
}
|
385
|
+
static fromJson(jsonValue, options) {
|
386
|
+
return new CreateClientConfigRequest().fromJson(jsonValue, options);
|
387
|
+
}
|
388
|
+
static fromJsonString(jsonString, options) {
|
389
|
+
return new CreateClientConfigRequest().fromJsonString(jsonString, options);
|
390
|
+
}
|
391
|
+
static equals(a, b) {
|
392
|
+
return protobuf_1.proto3.util.equals(CreateClientConfigRequest, a, b);
|
393
|
+
}
|
394
|
+
}
|
395
|
+
exports.CreateClientConfigRequest = CreateClientConfigRequest;
|
396
|
+
CreateClientConfigRequest.runtime = protobuf_1.proto3;
|
397
|
+
CreateClientConfigRequest.typeName = "gitpod.experimental.v1.CreateClientConfigRequest";
|
398
|
+
CreateClientConfigRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
399
|
+
{ no: 1, name: "config", kind: "message", T: OIDCClientConfig },
|
400
|
+
{ no: 2, name: "use_discovery", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
401
|
+
]);
|
402
|
+
/**
|
403
|
+
* @generated from message gitpod.experimental.v1.CreateClientConfigResponse
|
404
|
+
*/
|
405
|
+
class CreateClientConfigResponse extends protobuf_1.Message {
|
406
|
+
constructor(data) {
|
407
|
+
super();
|
408
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
409
|
+
}
|
410
|
+
static fromBinary(bytes, options) {
|
411
|
+
return new CreateClientConfigResponse().fromBinary(bytes, options);
|
412
|
+
}
|
413
|
+
static fromJson(jsonValue, options) {
|
414
|
+
return new CreateClientConfigResponse().fromJson(jsonValue, options);
|
415
|
+
}
|
416
|
+
static fromJsonString(jsonString, options) {
|
417
|
+
return new CreateClientConfigResponse().fromJsonString(jsonString, options);
|
418
|
+
}
|
419
|
+
static equals(a, b) {
|
420
|
+
return protobuf_1.proto3.util.equals(CreateClientConfigResponse, a, b);
|
421
|
+
}
|
422
|
+
}
|
423
|
+
exports.CreateClientConfigResponse = CreateClientConfigResponse;
|
424
|
+
CreateClientConfigResponse.runtime = protobuf_1.proto3;
|
425
|
+
CreateClientConfigResponse.typeName = "gitpod.experimental.v1.CreateClientConfigResponse";
|
426
|
+
CreateClientConfigResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
427
|
+
{ no: 1, name: "config", kind: "message", T: OIDCClientConfig },
|
428
|
+
]);
|
429
|
+
/**
|
430
|
+
* @generated from message gitpod.experimental.v1.GetClientConfigRequest
|
431
|
+
*/
|
432
|
+
class GetClientConfigRequest extends protobuf_1.Message {
|
433
|
+
constructor(data) {
|
434
|
+
super();
|
435
|
+
/**
|
436
|
+
* @generated from field: string id = 1;
|
437
|
+
*/
|
438
|
+
this.id = "";
|
439
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
440
|
+
}
|
441
|
+
static fromBinary(bytes, options) {
|
442
|
+
return new GetClientConfigRequest().fromBinary(bytes, options);
|
443
|
+
}
|
444
|
+
static fromJson(jsonValue, options) {
|
445
|
+
return new GetClientConfigRequest().fromJson(jsonValue, options);
|
446
|
+
}
|
447
|
+
static fromJsonString(jsonString, options) {
|
448
|
+
return new GetClientConfigRequest().fromJsonString(jsonString, options);
|
449
|
+
}
|
450
|
+
static equals(a, b) {
|
451
|
+
return protobuf_1.proto3.util.equals(GetClientConfigRequest, a, b);
|
452
|
+
}
|
453
|
+
}
|
454
|
+
exports.GetClientConfigRequest = GetClientConfigRequest;
|
455
|
+
GetClientConfigRequest.runtime = protobuf_1.proto3;
|
456
|
+
GetClientConfigRequest.typeName = "gitpod.experimental.v1.GetClientConfigRequest";
|
457
|
+
GetClientConfigRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
458
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
459
|
+
]);
|
460
|
+
/**
|
461
|
+
* @generated from message gitpod.experimental.v1.GetClientConfigResponse
|
462
|
+
*/
|
463
|
+
class GetClientConfigResponse extends protobuf_1.Message {
|
464
|
+
constructor(data) {
|
465
|
+
super();
|
466
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
467
|
+
}
|
468
|
+
static fromBinary(bytes, options) {
|
469
|
+
return new GetClientConfigResponse().fromBinary(bytes, options);
|
470
|
+
}
|
471
|
+
static fromJson(jsonValue, options) {
|
472
|
+
return new GetClientConfigResponse().fromJson(jsonValue, options);
|
473
|
+
}
|
474
|
+
static fromJsonString(jsonString, options) {
|
475
|
+
return new GetClientConfigResponse().fromJsonString(jsonString, options);
|
476
|
+
}
|
477
|
+
static equals(a, b) {
|
478
|
+
return protobuf_1.proto3.util.equals(GetClientConfigResponse, a, b);
|
479
|
+
}
|
480
|
+
}
|
481
|
+
exports.GetClientConfigResponse = GetClientConfigResponse;
|
482
|
+
GetClientConfigResponse.runtime = protobuf_1.proto3;
|
483
|
+
GetClientConfigResponse.typeName = "gitpod.experimental.v1.GetClientConfigResponse";
|
484
|
+
GetClientConfigResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
485
|
+
{ no: 1, name: "config", kind: "message", T: OIDCClientConfig },
|
486
|
+
]);
|
487
|
+
/**
|
488
|
+
* @generated from message gitpod.experimental.v1.ListClientConfigsRequest
|
489
|
+
*/
|
490
|
+
class ListClientConfigsRequest extends protobuf_1.Message {
|
491
|
+
constructor(data) {
|
492
|
+
super();
|
493
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
494
|
+
}
|
495
|
+
static fromBinary(bytes, options) {
|
496
|
+
return new ListClientConfigsRequest().fromBinary(bytes, options);
|
497
|
+
}
|
498
|
+
static fromJson(jsonValue, options) {
|
499
|
+
return new ListClientConfigsRequest().fromJson(jsonValue, options);
|
500
|
+
}
|
501
|
+
static fromJsonString(jsonString, options) {
|
502
|
+
return new ListClientConfigsRequest().fromJsonString(jsonString, options);
|
503
|
+
}
|
504
|
+
static equals(a, b) {
|
505
|
+
return protobuf_1.proto3.util.equals(ListClientConfigsRequest, a, b);
|
506
|
+
}
|
507
|
+
}
|
508
|
+
exports.ListClientConfigsRequest = ListClientConfigsRequest;
|
509
|
+
ListClientConfigsRequest.runtime = protobuf_1.proto3;
|
510
|
+
ListClientConfigsRequest.typeName = "gitpod.experimental.v1.ListClientConfigsRequest";
|
511
|
+
ListClientConfigsRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
512
|
+
{ no: 1, name: "pagination", kind: "message", T: pagination_pb_js_1.Pagination },
|
513
|
+
]);
|
514
|
+
/**
|
515
|
+
* @generated from message gitpod.experimental.v1.ListClientConfigsResponse
|
516
|
+
*/
|
517
|
+
class ListClientConfigsResponse extends protobuf_1.Message {
|
518
|
+
constructor(data) {
|
519
|
+
super();
|
520
|
+
/**
|
521
|
+
* @generated from field: repeated gitpod.experimental.v1.OIDCClientConfig providers = 1;
|
522
|
+
*/
|
523
|
+
this.providers = [];
|
524
|
+
/**
|
525
|
+
* @generated from field: int64 total_results = 2;
|
526
|
+
*/
|
527
|
+
this.totalResults = protobuf_1.protoInt64.zero;
|
528
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
529
|
+
}
|
530
|
+
static fromBinary(bytes, options) {
|
531
|
+
return new ListClientConfigsResponse().fromBinary(bytes, options);
|
532
|
+
}
|
533
|
+
static fromJson(jsonValue, options) {
|
534
|
+
return new ListClientConfigsResponse().fromJson(jsonValue, options);
|
535
|
+
}
|
536
|
+
static fromJsonString(jsonString, options) {
|
537
|
+
return new ListClientConfigsResponse().fromJsonString(jsonString, options);
|
538
|
+
}
|
539
|
+
static equals(a, b) {
|
540
|
+
return protobuf_1.proto3.util.equals(ListClientConfigsResponse, a, b);
|
541
|
+
}
|
542
|
+
}
|
543
|
+
exports.ListClientConfigsResponse = ListClientConfigsResponse;
|
544
|
+
ListClientConfigsResponse.runtime = protobuf_1.proto3;
|
545
|
+
ListClientConfigsResponse.typeName = "gitpod.experimental.v1.ListClientConfigsResponse";
|
546
|
+
ListClientConfigsResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
547
|
+
{ no: 1, name: "providers", kind: "message", T: OIDCClientConfig, repeated: true },
|
548
|
+
{ no: 2, name: "total_results", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
549
|
+
]);
|
550
|
+
/**
|
551
|
+
* @generated from message gitpod.experimental.v1.UpdateClientConfigRequest
|
552
|
+
*/
|
553
|
+
class UpdateClientConfigRequest extends protobuf_1.Message {
|
554
|
+
constructor(data) {
|
555
|
+
super();
|
556
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
557
|
+
}
|
558
|
+
static fromBinary(bytes, options) {
|
559
|
+
return new UpdateClientConfigRequest().fromBinary(bytes, options);
|
560
|
+
}
|
561
|
+
static fromJson(jsonValue, options) {
|
562
|
+
return new UpdateClientConfigRequest().fromJson(jsonValue, options);
|
563
|
+
}
|
564
|
+
static fromJsonString(jsonString, options) {
|
565
|
+
return new UpdateClientConfigRequest().fromJsonString(jsonString, options);
|
566
|
+
}
|
567
|
+
static equals(a, b) {
|
568
|
+
return protobuf_1.proto3.util.equals(UpdateClientConfigRequest, a, b);
|
569
|
+
}
|
570
|
+
}
|
571
|
+
exports.UpdateClientConfigRequest = UpdateClientConfigRequest;
|
572
|
+
UpdateClientConfigRequest.runtime = protobuf_1.proto3;
|
573
|
+
UpdateClientConfigRequest.typeName = "gitpod.experimental.v1.UpdateClientConfigRequest";
|
574
|
+
UpdateClientConfigRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
575
|
+
{ no: 1, name: "config", kind: "message", T: OIDCClientConfig },
|
576
|
+
]);
|
577
|
+
/**
|
578
|
+
* @generated from message gitpod.experimental.v1.UpdateClientConfigResponse
|
579
|
+
*/
|
580
|
+
class UpdateClientConfigResponse extends protobuf_1.Message {
|
581
|
+
constructor(data) {
|
582
|
+
super();
|
583
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
584
|
+
}
|
585
|
+
static fromBinary(bytes, options) {
|
586
|
+
return new UpdateClientConfigResponse().fromBinary(bytes, options);
|
587
|
+
}
|
588
|
+
static fromJson(jsonValue, options) {
|
589
|
+
return new UpdateClientConfigResponse().fromJson(jsonValue, options);
|
590
|
+
}
|
591
|
+
static fromJsonString(jsonString, options) {
|
592
|
+
return new UpdateClientConfigResponse().fromJsonString(jsonString, options);
|
593
|
+
}
|
594
|
+
static equals(a, b) {
|
595
|
+
return protobuf_1.proto3.util.equals(UpdateClientConfigResponse, a, b);
|
596
|
+
}
|
597
|
+
}
|
598
|
+
exports.UpdateClientConfigResponse = UpdateClientConfigResponse;
|
599
|
+
UpdateClientConfigResponse.runtime = protobuf_1.proto3;
|
600
|
+
UpdateClientConfigResponse.typeName = "gitpod.experimental.v1.UpdateClientConfigResponse";
|
601
|
+
UpdateClientConfigResponse.fields = protobuf_1.proto3.util.newFieldList(() => []);
|
602
|
+
/**
|
603
|
+
* @generated from message gitpod.experimental.v1.DeleteClientConfigRequest
|
604
|
+
*/
|
605
|
+
class DeleteClientConfigRequest extends protobuf_1.Message {
|
606
|
+
constructor(data) {
|
607
|
+
super();
|
608
|
+
/**
|
609
|
+
* @generated from field: string id = 1;
|
610
|
+
*/
|
611
|
+
this.id = "";
|
612
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
613
|
+
}
|
614
|
+
static fromBinary(bytes, options) {
|
615
|
+
return new DeleteClientConfigRequest().fromBinary(bytes, options);
|
616
|
+
}
|
617
|
+
static fromJson(jsonValue, options) {
|
618
|
+
return new DeleteClientConfigRequest().fromJson(jsonValue, options);
|
619
|
+
}
|
620
|
+
static fromJsonString(jsonString, options) {
|
621
|
+
return new DeleteClientConfigRequest().fromJsonString(jsonString, options);
|
622
|
+
}
|
623
|
+
static equals(a, b) {
|
624
|
+
return protobuf_1.proto3.util.equals(DeleteClientConfigRequest, a, b);
|
625
|
+
}
|
626
|
+
}
|
627
|
+
exports.DeleteClientConfigRequest = DeleteClientConfigRequest;
|
628
|
+
DeleteClientConfigRequest.runtime = protobuf_1.proto3;
|
629
|
+
DeleteClientConfigRequest.typeName = "gitpod.experimental.v1.DeleteClientConfigRequest";
|
630
|
+
DeleteClientConfigRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
631
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
632
|
+
]);
|
633
|
+
/**
|
634
|
+
* @generated from message gitpod.experimental.v1.DeleteClientConfigResponse
|
635
|
+
*/
|
636
|
+
class DeleteClientConfigResponse extends protobuf_1.Message {
|
637
|
+
constructor(data) {
|
638
|
+
super();
|
639
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
640
|
+
}
|
641
|
+
static fromBinary(bytes, options) {
|
642
|
+
return new DeleteClientConfigResponse().fromBinary(bytes, options);
|
643
|
+
}
|
644
|
+
static fromJson(jsonValue, options) {
|
645
|
+
return new DeleteClientConfigResponse().fromJson(jsonValue, options);
|
646
|
+
}
|
647
|
+
static fromJsonString(jsonString, options) {
|
648
|
+
return new DeleteClientConfigResponse().fromJsonString(jsonString, options);
|
649
|
+
}
|
650
|
+
static equals(a, b) {
|
651
|
+
return protobuf_1.proto3.util.equals(DeleteClientConfigResponse, a, b);
|
652
|
+
}
|
653
|
+
}
|
654
|
+
exports.DeleteClientConfigResponse = DeleteClientConfigResponse;
|
655
|
+
DeleteClientConfigResponse.runtime = protobuf_1.proto3;
|
656
|
+
DeleteClientConfigResponse.typeName = "gitpod.experimental.v1.DeleteClientConfigResponse";
|
657
|
+
DeleteClientConfigResponse.fields = protobuf_1.proto3.util.newFieldList(() => []);
|
658
|
+
//# sourceMappingURL=oidc_pb.js.map
|