@gitpod/public-api 0.1.5-se-revert-chargebee-strategy.0 → 0.1.5-se-start-with-options.0

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