@gitpod/public-api 0.1.5-protected-secrets.1 → 0.1.5-public-api-workspaces-response-instance-statu.0

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