@superblocksteam/types 0.1897.0 → 0.1898.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.
@@ -3,8 +3,8 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
- import { Message, proto3 } from "@bufbuild/protobuf";
6
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from '@bufbuild/protobuf';
7
+ import { Message, proto3 } from '@bufbuild/protobuf';
8
8
 
9
9
  /**
10
10
  * @generated from message plugins.common.v1.OAuthCommon
@@ -13,27 +13,27 @@ export class OAuthCommon extends Message<OAuthCommon> {
13
13
  /**
14
14
  * @generated from field: string client_id = 1;
15
15
  */
16
- clientId = "";
16
+ clientId = '';
17
17
 
18
18
  /**
19
19
  * @generated from field: string client_secret = 2;
20
20
  */
21
- clientSecret = "";
21
+ clientSecret = '';
22
22
 
23
23
  /**
24
24
  * @generated from field: string token_url = 3;
25
25
  */
26
- tokenUrl = "";
26
+ tokenUrl = '';
27
27
 
28
28
  /**
29
29
  * @generated from field: string audience = 4;
30
30
  */
31
- audience = "";
31
+ audience = '';
32
32
 
33
33
  /**
34
34
  * @generated from field: string scope = 5;
35
35
  */
36
- scope = "";
36
+ scope = '';
37
37
 
38
38
  constructor(data?: PartialMessage<OAuthCommon>) {
39
39
  super();
@@ -41,13 +41,13 @@ export class OAuthCommon extends Message<OAuthCommon> {
41
41
  }
42
42
 
43
43
  static readonly runtime: typeof proto3 = proto3;
44
- static readonly typeName = "plugins.common.v1.OAuthCommon";
44
+ static readonly typeName = 'plugins.common.v1.OAuthCommon';
45
45
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
46
- { no: 1, name: "client_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
47
- { no: 2, name: "client_secret", kind: "scalar", T: 9 /* ScalarType.STRING */ },
48
- { no: 3, name: "token_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
49
- { no: 4, name: "audience", kind: "scalar", T: 9 /* ScalarType.STRING */ },
50
- { no: 5, name: "scope", kind: "scalar", T: 9 /* ScalarType.STRING */ },
46
+ { no: 1, name: 'client_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
47
+ { no: 2, name: 'client_secret', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
48
+ { no: 3, name: 'token_url', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
49
+ { no: 4, name: 'audience', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
50
+ { no: 5, name: 'scope', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
51
51
  ]);
52
52
 
53
53
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OAuthCommon {
@@ -77,9 +77,8 @@ export class OAuth extends Message<OAuth> {
77
77
  }
78
78
 
79
79
  static readonly runtime: typeof proto3 = proto3;
80
- static readonly typeName = "plugins.common.v1.OAuth";
81
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
82
- ]);
80
+ static readonly typeName = 'plugins.common.v1.OAuth';
81
+ static readonly fields: FieldList = proto3.util.newFieldList(() => []);
83
82
 
84
83
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OAuth {
85
84
  return new OAuth().fromBinary(bytes, options);
@@ -105,37 +104,37 @@ export class OAuth_PasswordGrantFlow extends Message<OAuth_PasswordGrantFlow> {
105
104
  /**
106
105
  * @generated from field: string client_id = 1;
107
106
  */
108
- clientId = "";
107
+ clientId = '';
109
108
 
110
109
  /**
111
110
  * @generated from field: string client_secret = 2;
112
111
  */
113
- clientSecret = "";
112
+ clientSecret = '';
114
113
 
115
114
  /**
116
115
  * @generated from field: string token_url = 3;
117
116
  */
118
- tokenUrl = "";
117
+ tokenUrl = '';
119
118
 
120
119
  /**
121
120
  * @generated from field: string username = 4;
122
121
  */
123
- username = "";
122
+ username = '';
124
123
 
125
124
  /**
126
125
  * @generated from field: string password = 5;
127
126
  */
128
- password = "";
127
+ password = '';
129
128
 
130
129
  /**
131
130
  * @generated from field: string audience = 6;
132
131
  */
133
- audience = "";
132
+ audience = '';
134
133
 
135
134
  /**
136
135
  * @generated from field: string scope = 7;
137
136
  */
138
- scope = "";
137
+ scope = '';
139
138
 
140
139
  constructor(data?: PartialMessage<OAuth_PasswordGrantFlow>) {
141
140
  super();
@@ -143,15 +142,15 @@ export class OAuth_PasswordGrantFlow extends Message<OAuth_PasswordGrantFlow> {
143
142
  }
144
143
 
145
144
  static readonly runtime: typeof proto3 = proto3;
146
- static readonly typeName = "plugins.common.v1.OAuth.PasswordGrantFlow";
145
+ static readonly typeName = 'plugins.common.v1.OAuth.PasswordGrantFlow';
147
146
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
148
- { no: 1, name: "client_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
149
- { no: 2, name: "client_secret", kind: "scalar", T: 9 /* ScalarType.STRING */ },
150
- { no: 3, name: "token_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
151
- { no: 4, name: "username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
152
- { no: 5, name: "password", kind: "scalar", T: 9 /* ScalarType.STRING */ },
153
- { no: 6, name: "audience", kind: "scalar", T: 9 /* ScalarType.STRING */ },
154
- { no: 7, name: "scope", kind: "scalar", T: 9 /* ScalarType.STRING */ },
147
+ { no: 1, name: 'client_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
148
+ { no: 2, name: 'client_secret', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
149
+ { no: 3, name: 'token_url', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
150
+ { no: 4, name: 'username', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
151
+ { no: 5, name: 'password', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
152
+ { no: 6, name: 'audience', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
153
+ { no: 7, name: 'scope', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
155
154
  ]);
156
155
 
157
156
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OAuth_PasswordGrantFlow {
@@ -166,7 +165,10 @@ export class OAuth_PasswordGrantFlow extends Message<OAuth_PasswordGrantFlow> {
166
165
  return new OAuth_PasswordGrantFlow().fromJsonString(jsonString, options);
167
166
  }
168
167
 
169
- static equals(a: OAuth_PasswordGrantFlow | PlainMessage<OAuth_PasswordGrantFlow> | undefined, b: OAuth_PasswordGrantFlow | PlainMessage<OAuth_PasswordGrantFlow> | undefined): boolean {
168
+ static equals(
169
+ a: OAuth_PasswordGrantFlow | PlainMessage<OAuth_PasswordGrantFlow> | undefined,
170
+ b: OAuth_PasswordGrantFlow | PlainMessage<OAuth_PasswordGrantFlow> | undefined
171
+ ): boolean {
170
172
  return proto3.util.equals(OAuth_PasswordGrantFlow, a, b);
171
173
  }
172
174
  }
@@ -178,27 +180,27 @@ export class OAuth_ClientCredentialsFlow extends Message<OAuth_ClientCredentials
178
180
  /**
179
181
  * @generated from field: string client_id = 1;
180
182
  */
181
- clientId = "";
183
+ clientId = '';
182
184
 
183
185
  /**
184
186
  * @generated from field: string client_secret = 2;
185
187
  */
186
- clientSecret = "";
188
+ clientSecret = '';
187
189
 
188
190
  /**
189
191
  * @generated from field: string token_url = 3;
190
192
  */
191
- tokenUrl = "";
193
+ tokenUrl = '';
192
194
 
193
195
  /**
194
196
  * @generated from field: string audience = 4;
195
197
  */
196
- audience = "";
198
+ audience = '';
197
199
 
198
200
  /**
199
201
  * @generated from field: string scope = 5;
200
202
  */
201
- scope = "";
203
+ scope = '';
202
204
 
203
205
  constructor(data?: PartialMessage<OAuth_ClientCredentialsFlow>) {
204
206
  super();
@@ -206,13 +208,13 @@ export class OAuth_ClientCredentialsFlow extends Message<OAuth_ClientCredentials
206
208
  }
207
209
 
208
210
  static readonly runtime: typeof proto3 = proto3;
209
- static readonly typeName = "plugins.common.v1.OAuth.ClientCredentialsFlow";
211
+ static readonly typeName = 'plugins.common.v1.OAuth.ClientCredentialsFlow';
210
212
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
211
- { no: 1, name: "client_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
212
- { no: 2, name: "client_secret", kind: "scalar", T: 9 /* ScalarType.STRING */ },
213
- { no: 3, name: "token_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
214
- { no: 4, name: "audience", kind: "scalar", T: 9 /* ScalarType.STRING */ },
215
- { no: 5, name: "scope", kind: "scalar", T: 9 /* ScalarType.STRING */ },
213
+ { no: 1, name: 'client_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
214
+ { no: 2, name: 'client_secret', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
215
+ { no: 3, name: 'token_url', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
216
+ { no: 4, name: 'audience', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
217
+ { no: 5, name: 'scope', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
216
218
  ]);
217
219
 
218
220
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OAuth_ClientCredentialsFlow {
@@ -227,7 +229,10 @@ export class OAuth_ClientCredentialsFlow extends Message<OAuth_ClientCredentials
227
229
  return new OAuth_ClientCredentialsFlow().fromJsonString(jsonString, options);
228
230
  }
229
231
 
230
- static equals(a: OAuth_ClientCredentialsFlow | PlainMessage<OAuth_ClientCredentialsFlow> | undefined, b: OAuth_ClientCredentialsFlow | PlainMessage<OAuth_ClientCredentialsFlow> | undefined): boolean {
232
+ static equals(
233
+ a: OAuth_ClientCredentialsFlow | PlainMessage<OAuth_ClientCredentialsFlow> | undefined,
234
+ b: OAuth_ClientCredentialsFlow | PlainMessage<OAuth_ClientCredentialsFlow> | undefined
235
+ ): boolean {
231
236
  return proto3.util.equals(OAuth_ClientCredentialsFlow, a, b);
232
237
  }
233
238
  }
@@ -239,37 +244,37 @@ export class OAuth_AuthorizationCodeFlow extends Message<OAuth_AuthorizationCode
239
244
  /**
240
245
  * @generated from field: string client_id = 1;
241
246
  */
242
- clientId = "";
247
+ clientId = '';
243
248
 
244
249
  /**
245
250
  * @generated from field: string client_secret = 2;
246
251
  */
247
- clientSecret = "";
252
+ clientSecret = '';
248
253
 
249
254
  /**
250
255
  * @generated from field: string token_url = 3;
251
256
  */
252
- tokenUrl = "";
257
+ tokenUrl = '';
253
258
 
254
259
  /**
255
260
  * @generated from field: string auth_url = 4;
256
261
  */
257
- authUrl = "";
262
+ authUrl = '';
258
263
 
259
264
  /**
260
265
  * @generated from field: string audience = 5;
261
266
  */
262
- audience = "";
267
+ audience = '';
263
268
 
264
269
  /**
265
270
  * @generated from field: string scope = 6;
266
271
  */
267
- scope = "";
272
+ scope = '';
268
273
 
269
274
  /**
270
275
  * @generated from field: string token_scope = 7;
271
276
  */
272
- tokenScope = "";
277
+ tokenScope = '';
273
278
 
274
279
  /**
275
280
  * @generated from field: bool refresh_token_from_server = 8;
@@ -279,7 +284,7 @@ export class OAuth_AuthorizationCodeFlow extends Message<OAuth_AuthorizationCode
279
284
  /**
280
285
  * @generated from field: string client_auth_method = 9;
281
286
  */
282
- clientAuthMethod = "";
287
+ clientAuthMethod = '';
283
288
 
284
289
  /**
285
290
  * @generated from field: plugins.common.v1.OAuth.AuthorizationCodeFlow.SubjectTokenSource subject_token_source = 10;
@@ -289,12 +294,12 @@ export class OAuth_AuthorizationCodeFlow extends Message<OAuth_AuthorizationCode
289
294
  /**
290
295
  * @generated from field: string subject_token_source_static_token = 11;
291
296
  */
292
- subjectTokenSourceStaticToken = "";
297
+ subjectTokenSourceStaticToken = '';
293
298
 
294
299
  /**
295
300
  * @generated from field: string subject_token_type = 12;
296
301
  */
297
- subjectTokenType = "";
302
+ subjectTokenType = '';
298
303
 
299
304
  constructor(data?: PartialMessage<OAuth_AuthorizationCodeFlow>) {
300
305
  super();
@@ -302,20 +307,20 @@ export class OAuth_AuthorizationCodeFlow extends Message<OAuth_AuthorizationCode
302
307
  }
303
308
 
304
309
  static readonly runtime: typeof proto3 = proto3;
305
- static readonly typeName = "plugins.common.v1.OAuth.AuthorizationCodeFlow";
310
+ static readonly typeName = 'plugins.common.v1.OAuth.AuthorizationCodeFlow';
306
311
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
307
- { no: 1, name: "client_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
308
- { no: 2, name: "client_secret", kind: "scalar", T: 9 /* ScalarType.STRING */ },
309
- { no: 3, name: "token_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
310
- { no: 4, name: "auth_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
311
- { no: 5, name: "audience", kind: "scalar", T: 9 /* ScalarType.STRING */ },
312
- { no: 6, name: "scope", kind: "scalar", T: 9 /* ScalarType.STRING */ },
313
- { no: 7, name: "token_scope", kind: "scalar", T: 9 /* ScalarType.STRING */ },
314
- { no: 8, name: "refresh_token_from_server", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
315
- { no: 9, name: "client_auth_method", kind: "scalar", T: 9 /* ScalarType.STRING */ },
316
- { no: 10, name: "subject_token_source", kind: "enum", T: proto3.getEnumType(OAuth_AuthorizationCodeFlow_SubjectTokenSource) },
317
- { no: 11, name: "subject_token_source_static_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
318
- { no: 12, name: "subject_token_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
312
+ { no: 1, name: 'client_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
313
+ { no: 2, name: 'client_secret', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
314
+ { no: 3, name: 'token_url', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
315
+ { no: 4, name: 'auth_url', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
316
+ { no: 5, name: 'audience', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
317
+ { no: 6, name: 'scope', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
318
+ { no: 7, name: 'token_scope', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
319
+ { no: 8, name: 'refresh_token_from_server', kind: 'scalar', T: 8 /* ScalarType.BOOL */ },
320
+ { no: 9, name: 'client_auth_method', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
321
+ { no: 10, name: 'subject_token_source', kind: 'enum', T: proto3.getEnumType(OAuth_AuthorizationCodeFlow_SubjectTokenSource) },
322
+ { no: 11, name: 'subject_token_source_static_token', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
323
+ { no: 12, name: 'subject_token_type', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
319
324
  ]);
320
325
 
321
326
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OAuth_AuthorizationCodeFlow {
@@ -330,7 +335,10 @@ export class OAuth_AuthorizationCodeFlow extends Message<OAuth_AuthorizationCode
330
335
  return new OAuth_AuthorizationCodeFlow().fromJsonString(jsonString, options);
331
336
  }
332
337
 
333
- static equals(a: OAuth_AuthorizationCodeFlow | PlainMessage<OAuth_AuthorizationCodeFlow> | undefined, b: OAuth_AuthorizationCodeFlow | PlainMessage<OAuth_AuthorizationCodeFlow> | undefined): boolean {
338
+ static equals(
339
+ a: OAuth_AuthorizationCodeFlow | PlainMessage<OAuth_AuthorizationCodeFlow> | undefined,
340
+ b: OAuth_AuthorizationCodeFlow | PlainMessage<OAuth_AuthorizationCodeFlow> | undefined
341
+ ): boolean {
334
342
  return proto3.util.equals(OAuth_AuthorizationCodeFlow, a, b);
335
343
  }
336
344
  }
@@ -352,14 +360,18 @@ export enum OAuth_AuthorizationCodeFlow_SubjectTokenSource {
352
360
  /**
353
361
  * @generated from enum value: SUBJECT_TOKEN_SOURCE_STATIC_TOKEN = 2;
354
362
  */
355
- STATIC_TOKEN = 2,
363
+ STATIC_TOKEN = 2
356
364
  }
357
365
  // Retrieve enum metadata with: proto3.getEnumType(OAuth_AuthorizationCodeFlow_SubjectTokenSource)
358
- proto3.util.setEnumType(OAuth_AuthorizationCodeFlow_SubjectTokenSource, "plugins.common.v1.OAuth.AuthorizationCodeFlow.SubjectTokenSource", [
359
- { no: 0, name: "SUBJECT_TOKEN_SOURCE_UNSPECIFIED" },
360
- { no: 1, name: "SUBJECT_TOKEN_SOURCE_LOGIN_IDENTITY_PROVIDER" },
361
- { no: 2, name: "SUBJECT_TOKEN_SOURCE_STATIC_TOKEN" },
362
- ]);
366
+ proto3.util.setEnumType(
367
+ OAuth_AuthorizationCodeFlow_SubjectTokenSource,
368
+ 'plugins.common.v1.OAuth.AuthorizationCodeFlow.SubjectTokenSource',
369
+ [
370
+ { no: 0, name: 'SUBJECT_TOKEN_SOURCE_UNSPECIFIED' },
371
+ { no: 1, name: 'SUBJECT_TOKEN_SOURCE_LOGIN_IDENTITY_PROVIDER' },
372
+ { no: 2, name: 'SUBJECT_TOKEN_SOURCE_STATIC_TOKEN' }
373
+ ]
374
+ );
363
375
 
364
376
  /**
365
377
  * @generated from message plugins.common.v1.Basic
@@ -368,12 +380,12 @@ export class Basic extends Message<Basic> {
368
380
  /**
369
381
  * @generated from field: string username = 1;
370
382
  */
371
- username = "";
383
+ username = '';
372
384
 
373
385
  /**
374
386
  * @generated from field: string password = 2;
375
387
  */
376
- password = "";
388
+ password = '';
377
389
 
378
390
  constructor(data?: PartialMessage<Basic>) {
379
391
  super();
@@ -381,10 +393,10 @@ export class Basic extends Message<Basic> {
381
393
  }
382
394
 
383
395
  static readonly runtime: typeof proto3 = proto3;
384
- static readonly typeName = "plugins.common.v1.Basic";
396
+ static readonly typeName = 'plugins.common.v1.Basic';
385
397
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
386
- { no: 1, name: "username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
387
- { no: 2, name: "password", kind: "scalar", T: 9 /* ScalarType.STRING */ },
398
+ { no: 1, name: 'username', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
399
+ { no: 2, name: 'password', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
388
400
  ]);
389
401
 
390
402
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Basic {
@@ -411,19 +423,22 @@ export class Azure extends Message<Azure> {
411
423
  /**
412
424
  * @generated from oneof plugins.common.v1.Azure.config
413
425
  */
414
- config: {
415
- /**
416
- * @generated from field: plugins.common.v1.Azure.Key key = 1;
417
- */
418
- value: Azure_Key;
419
- case: "key";
420
- } | {
421
- /**
422
- * @generated from field: plugins.common.v1.Azure.ClientCredentials client_credentials = 2;
423
- */
424
- value: Azure_ClientCredentials;
425
- case: "clientCredentials";
426
- } | { case: undefined; value?: undefined } = { case: undefined };
426
+ config:
427
+ | {
428
+ /**
429
+ * @generated from field: plugins.common.v1.Azure.Key key = 1;
430
+ */
431
+ value: Azure_Key;
432
+ case: 'key';
433
+ }
434
+ | {
435
+ /**
436
+ * @generated from field: plugins.common.v1.Azure.ClientCredentials client_credentials = 2;
437
+ */
438
+ value: Azure_ClientCredentials;
439
+ case: 'clientCredentials';
440
+ }
441
+ | { case: undefined; value?: undefined } = { case: undefined };
427
442
 
428
443
  constructor(data?: PartialMessage<Azure>) {
429
444
  super();
@@ -431,10 +446,10 @@ export class Azure extends Message<Azure> {
431
446
  }
432
447
 
433
448
  static readonly runtime: typeof proto3 = proto3;
434
- static readonly typeName = "plugins.common.v1.Azure";
449
+ static readonly typeName = 'plugins.common.v1.Azure';
435
450
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
436
- { no: 1, name: "key", kind: "message", T: Azure_Key, oneof: "config" },
437
- { no: 2, name: "client_credentials", kind: "message", T: Azure_ClientCredentials, oneof: "config" },
451
+ { no: 1, name: 'key', kind: 'message', T: Azure_Key, oneof: 'config' },
452
+ { no: 2, name: 'client_credentials', kind: 'message', T: Azure_ClientCredentials, oneof: 'config' }
438
453
  ]);
439
454
 
440
455
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Azure {
@@ -461,7 +476,7 @@ export class Azure_Key extends Message<Azure_Key> {
461
476
  /**
462
477
  * @generated from field: string master_key = 1;
463
478
  */
464
- masterKey = "";
479
+ masterKey = '';
465
480
 
466
481
  constructor(data?: PartialMessage<Azure_Key>) {
467
482
  super();
@@ -469,9 +484,9 @@ export class Azure_Key extends Message<Azure_Key> {
469
484
  }
470
485
 
471
486
  static readonly runtime: typeof proto3 = proto3;
472
- static readonly typeName = "plugins.common.v1.Azure.Key";
487
+ static readonly typeName = 'plugins.common.v1.Azure.Key';
473
488
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
474
- { no: 1, name: "master_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
489
+ { no: 1, name: 'master_key', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
475
490
  ]);
476
491
 
477
492
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Azure_Key {
@@ -498,12 +513,12 @@ export class Azure_ClientCredentials extends Message<Azure_ClientCredentials> {
498
513
  /**
499
514
  * @generated from field: string client_id = 1;
500
515
  */
501
- clientId = "";
516
+ clientId = '';
502
517
 
503
518
  /**
504
519
  * @generated from field: string client_secret = 2;
505
520
  */
506
- clientSecret = "";
521
+ clientSecret = '';
507
522
 
508
523
  constructor(data?: PartialMessage<Azure_ClientCredentials>) {
509
524
  super();
@@ -511,10 +526,10 @@ export class Azure_ClientCredentials extends Message<Azure_ClientCredentials> {
511
526
  }
512
527
 
513
528
  static readonly runtime: typeof proto3 = proto3;
514
- static readonly typeName = "plugins.common.v1.Azure.ClientCredentials";
529
+ static readonly typeName = 'plugins.common.v1.Azure.ClientCredentials';
515
530
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
516
- { no: 1, name: "client_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
517
- { no: 2, name: "client_secret", kind: "scalar", T: 9 /* ScalarType.STRING */ },
531
+ { no: 1, name: 'client_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
532
+ { no: 2, name: 'client_secret', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
518
533
  ]);
519
534
 
520
535
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Azure_ClientCredentials {
@@ -529,7 +544,10 @@ export class Azure_ClientCredentials extends Message<Azure_ClientCredentials> {
529
544
  return new Azure_ClientCredentials().fromJsonString(jsonString, options);
530
545
  }
531
546
 
532
- static equals(a: Azure_ClientCredentials | PlainMessage<Azure_ClientCredentials> | undefined, b: Azure_ClientCredentials | PlainMessage<Azure_ClientCredentials> | undefined): boolean {
547
+ static equals(
548
+ a: Azure_ClientCredentials | PlainMessage<Azure_ClientCredentials> | undefined,
549
+ b: Azure_ClientCredentials | PlainMessage<Azure_ClientCredentials> | undefined
550
+ ): boolean {
533
551
  return proto3.util.equals(Azure_ClientCredentials, a, b);
534
552
  }
535
553
  }
@@ -541,24 +559,27 @@ export class AwsAuth extends Message<AwsAuth> {
541
559
  /**
542
560
  * @generated from oneof plugins.common.v1.AwsAuth.config
543
561
  */
544
- config: {
545
- /**
546
- * @generated from field: plugins.common.v1.AwsAuth.Static static = 1;
547
- */
548
- value: AwsAuth_Static;
549
- case: "static";
550
- } | {
551
- /**
552
- * @generated from field: plugins.common.v1.AwsAuth.AssumeRole assume_role = 2;
553
- */
554
- value: AwsAuth_AssumeRole;
555
- case: "assumeRole";
556
- } | { case: undefined; value?: undefined } = { case: undefined };
562
+ config:
563
+ | {
564
+ /**
565
+ * @generated from field: plugins.common.v1.AwsAuth.Static static = 1;
566
+ */
567
+ value: AwsAuth_Static;
568
+ case: 'static';
569
+ }
570
+ | {
571
+ /**
572
+ * @generated from field: plugins.common.v1.AwsAuth.AssumeRole assume_role = 2;
573
+ */
574
+ value: AwsAuth_AssumeRole;
575
+ case: 'assumeRole';
576
+ }
577
+ | { case: undefined; value?: undefined } = { case: undefined };
557
578
 
558
579
  /**
559
580
  * @generated from field: string region = 3;
560
581
  */
561
- region = "";
582
+ region = '';
562
583
 
563
584
  constructor(data?: PartialMessage<AwsAuth>) {
564
585
  super();
@@ -566,11 +587,11 @@ export class AwsAuth extends Message<AwsAuth> {
566
587
  }
567
588
 
568
589
  static readonly runtime: typeof proto3 = proto3;
569
- static readonly typeName = "plugins.common.v1.AwsAuth";
590
+ static readonly typeName = 'plugins.common.v1.AwsAuth';
570
591
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
571
- { no: 1, name: "static", kind: "message", T: AwsAuth_Static, oneof: "config" },
572
- { no: 2, name: "assume_role", kind: "message", T: AwsAuth_AssumeRole, oneof: "config" },
573
- { no: 3, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
592
+ { no: 1, name: 'static', kind: 'message', T: AwsAuth_Static, oneof: 'config' },
593
+ { no: 2, name: 'assume_role', kind: 'message', T: AwsAuth_AssumeRole, oneof: 'config' },
594
+ { no: 3, name: 'region', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
574
595
  ]);
575
596
 
576
597
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AwsAuth {
@@ -597,12 +618,12 @@ export class AwsAuth_Static extends Message<AwsAuth_Static> {
597
618
  /**
598
619
  * @generated from field: string access_key_id = 1;
599
620
  */
600
- accessKeyId = "";
621
+ accessKeyId = '';
601
622
 
602
623
  /**
603
624
  * @generated from field: string secret_access_key = 2;
604
625
  */
605
- secretAccessKey = "";
626
+ secretAccessKey = '';
606
627
 
607
628
  constructor(data?: PartialMessage<AwsAuth_Static>) {
608
629
  super();
@@ -610,10 +631,10 @@ export class AwsAuth_Static extends Message<AwsAuth_Static> {
610
631
  }
611
632
 
612
633
  static readonly runtime: typeof proto3 = proto3;
613
- static readonly typeName = "plugins.common.v1.AwsAuth.Static";
634
+ static readonly typeName = 'plugins.common.v1.AwsAuth.Static';
614
635
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
615
- { no: 1, name: "access_key_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
616
- { no: 2, name: "secret_access_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
636
+ { no: 1, name: 'access_key_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
637
+ { no: 2, name: 'secret_access_key', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
617
638
  ]);
618
639
 
619
640
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AwsAuth_Static {
@@ -628,7 +649,10 @@ export class AwsAuth_Static extends Message<AwsAuth_Static> {
628
649
  return new AwsAuth_Static().fromJsonString(jsonString, options);
629
650
  }
630
651
 
631
- static equals(a: AwsAuth_Static | PlainMessage<AwsAuth_Static> | undefined, b: AwsAuth_Static | PlainMessage<AwsAuth_Static> | undefined): boolean {
652
+ static equals(
653
+ a: AwsAuth_Static | PlainMessage<AwsAuth_Static> | undefined,
654
+ b: AwsAuth_Static | PlainMessage<AwsAuth_Static> | undefined
655
+ ): boolean {
632
656
  return proto3.util.equals(AwsAuth_Static, a, b);
633
657
  }
634
658
  }
@@ -640,7 +664,7 @@ export class AwsAuth_AssumeRole extends Message<AwsAuth_AssumeRole> {
640
664
  /**
641
665
  * @generated from field: string role_arn = 3;
642
666
  */
643
- roleArn = "";
667
+ roleArn = '';
644
668
 
645
669
  constructor(data?: PartialMessage<AwsAuth_AssumeRole>) {
646
670
  super();
@@ -648,9 +672,9 @@ export class AwsAuth_AssumeRole extends Message<AwsAuth_AssumeRole> {
648
672
  }
649
673
 
650
674
  static readonly runtime: typeof proto3 = proto3;
651
- static readonly typeName = "plugins.common.v1.AwsAuth.AssumeRole";
675
+ static readonly typeName = 'plugins.common.v1.AwsAuth.AssumeRole';
652
676
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
653
- { no: 3, name: "role_arn", kind: "scalar", T: 9 /* ScalarType.STRING */ },
677
+ { no: 3, name: 'role_arn', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
654
678
  ]);
655
679
 
656
680
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AwsAuth_AssumeRole {
@@ -665,7 +689,10 @@ export class AwsAuth_AssumeRole extends Message<AwsAuth_AssumeRole> {
665
689
  return new AwsAuth_AssumeRole().fromJsonString(jsonString, options);
666
690
  }
667
691
 
668
- static equals(a: AwsAuth_AssumeRole | PlainMessage<AwsAuth_AssumeRole> | undefined, b: AwsAuth_AssumeRole | PlainMessage<AwsAuth_AssumeRole> | undefined): boolean {
692
+ static equals(
693
+ a: AwsAuth_AssumeRole | PlainMessage<AwsAuth_AssumeRole> | undefined,
694
+ b: AwsAuth_AssumeRole | PlainMessage<AwsAuth_AssumeRole> | undefined
695
+ ): boolean {
669
696
  return proto3.util.equals(AwsAuth_AssumeRole, a, b);
670
697
  }
671
698
  }
@@ -677,13 +704,15 @@ export class GcpAuth extends Message<GcpAuth> {
677
704
  /**
678
705
  * @generated from oneof plugins.common.v1.GcpAuth.config
679
706
  */
680
- config: {
681
- /**
682
- * @generated from field: bytes service_account = 1;
683
- */
684
- value: Uint8Array;
685
- case: "serviceAccount";
686
- } | { case: undefined; value?: undefined } = { case: undefined };
707
+ config:
708
+ | {
709
+ /**
710
+ * @generated from field: bytes service_account = 1;
711
+ */
712
+ value: Uint8Array;
713
+ case: 'serviceAccount';
714
+ }
715
+ | { case: undefined; value?: undefined } = { case: undefined };
687
716
 
688
717
  constructor(data?: PartialMessage<GcpAuth>) {
689
718
  super();
@@ -691,9 +720,9 @@ export class GcpAuth extends Message<GcpAuth> {
691
720
  }
692
721
 
693
722
  static readonly runtime: typeof proto3 = proto3;
694
- static readonly typeName = "plugins.common.v1.GcpAuth";
723
+ static readonly typeName = 'plugins.common.v1.GcpAuth';
695
724
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
696
- { no: 1, name: "service_account", kind: "scalar", T: 12 /* ScalarType.BYTES */, oneof: "config" },
725
+ { no: 1, name: 'service_account', kind: 'scalar', T: 12 /* ScalarType.BYTES */, oneof: 'config' }
697
726
  ]);
698
727
 
699
728
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GcpAuth {
@@ -720,19 +749,22 @@ export class AkeylessAuth extends Message<AkeylessAuth> {
720
749
  /**
721
750
  * @generated from oneof plugins.common.v1.AkeylessAuth.config
722
751
  */
723
- config: {
724
- /**
725
- * @generated from field: plugins.common.v1.AkeylessAuth.ApiKey api_key = 1;
726
- */
727
- value: AkeylessAuth_ApiKey;
728
- case: "apiKey";
729
- } | {
730
- /**
731
- * @generated from field: plugins.common.v1.AkeylessAuth.Email email = 2;
732
- */
733
- value: AkeylessAuth_Email;
734
- case: "email";
735
- } | { case: undefined; value?: undefined } = { case: undefined };
752
+ config:
753
+ | {
754
+ /**
755
+ * @generated from field: plugins.common.v1.AkeylessAuth.ApiKey api_key = 1;
756
+ */
757
+ value: AkeylessAuth_ApiKey;
758
+ case: 'apiKey';
759
+ }
760
+ | {
761
+ /**
762
+ * @generated from field: plugins.common.v1.AkeylessAuth.Email email = 2;
763
+ */
764
+ value: AkeylessAuth_Email;
765
+ case: 'email';
766
+ }
767
+ | { case: undefined; value?: undefined } = { case: undefined };
736
768
 
737
769
  constructor(data?: PartialMessage<AkeylessAuth>) {
738
770
  super();
@@ -740,10 +772,10 @@ export class AkeylessAuth extends Message<AkeylessAuth> {
740
772
  }
741
773
 
742
774
  static readonly runtime: typeof proto3 = proto3;
743
- static readonly typeName = "plugins.common.v1.AkeylessAuth";
775
+ static readonly typeName = 'plugins.common.v1.AkeylessAuth';
744
776
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
745
- { no: 1, name: "api_key", kind: "message", T: AkeylessAuth_ApiKey, oneof: "config" },
746
- { no: 2, name: "email", kind: "message", T: AkeylessAuth_Email, oneof: "config" },
777
+ { no: 1, name: 'api_key', kind: 'message', T: AkeylessAuth_ApiKey, oneof: 'config' },
778
+ { no: 2, name: 'email', kind: 'message', T: AkeylessAuth_Email, oneof: 'config' }
747
779
  ]);
748
780
 
749
781
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AkeylessAuth {
@@ -758,7 +790,10 @@ export class AkeylessAuth extends Message<AkeylessAuth> {
758
790
  return new AkeylessAuth().fromJsonString(jsonString, options);
759
791
  }
760
792
 
761
- static equals(a: AkeylessAuth | PlainMessage<AkeylessAuth> | undefined, b: AkeylessAuth | PlainMessage<AkeylessAuth> | undefined): boolean {
793
+ static equals(
794
+ a: AkeylessAuth | PlainMessage<AkeylessAuth> | undefined,
795
+ b: AkeylessAuth | PlainMessage<AkeylessAuth> | undefined
796
+ ): boolean {
762
797
  return proto3.util.equals(AkeylessAuth, a, b);
763
798
  }
764
799
  }
@@ -770,12 +805,12 @@ export class AkeylessAuth_ApiKey extends Message<AkeylessAuth_ApiKey> {
770
805
  /**
771
806
  * @generated from field: string access_id = 1;
772
807
  */
773
- accessId = "";
808
+ accessId = '';
774
809
 
775
810
  /**
776
811
  * @generated from field: string access_key = 2;
777
812
  */
778
- accessKey = "";
813
+ accessKey = '';
779
814
 
780
815
  constructor(data?: PartialMessage<AkeylessAuth_ApiKey>) {
781
816
  super();
@@ -783,10 +818,10 @@ export class AkeylessAuth_ApiKey extends Message<AkeylessAuth_ApiKey> {
783
818
  }
784
819
 
785
820
  static readonly runtime: typeof proto3 = proto3;
786
- static readonly typeName = "plugins.common.v1.AkeylessAuth.ApiKey";
821
+ static readonly typeName = 'plugins.common.v1.AkeylessAuth.ApiKey';
787
822
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
788
- { no: 1, name: "access_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
789
- { no: 2, name: "access_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
823
+ { no: 1, name: 'access_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
824
+ { no: 2, name: 'access_key', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
790
825
  ]);
791
826
 
792
827
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AkeylessAuth_ApiKey {
@@ -801,7 +836,10 @@ export class AkeylessAuth_ApiKey extends Message<AkeylessAuth_ApiKey> {
801
836
  return new AkeylessAuth_ApiKey().fromJsonString(jsonString, options);
802
837
  }
803
838
 
804
- static equals(a: AkeylessAuth_ApiKey | PlainMessage<AkeylessAuth_ApiKey> | undefined, b: AkeylessAuth_ApiKey | PlainMessage<AkeylessAuth_ApiKey> | undefined): boolean {
839
+ static equals(
840
+ a: AkeylessAuth_ApiKey | PlainMessage<AkeylessAuth_ApiKey> | undefined,
841
+ b: AkeylessAuth_ApiKey | PlainMessage<AkeylessAuth_ApiKey> | undefined
842
+ ): boolean {
805
843
  return proto3.util.equals(AkeylessAuth_ApiKey, a, b);
806
844
  }
807
845
  }
@@ -813,12 +851,12 @@ export class AkeylessAuth_Email extends Message<AkeylessAuth_Email> {
813
851
  /**
814
852
  * @generated from field: string email = 1;
815
853
  */
816
- email = "";
854
+ email = '';
817
855
 
818
856
  /**
819
857
  * @generated from field: string password = 2;
820
858
  */
821
- password = "";
859
+ password = '';
822
860
 
823
861
  constructor(data?: PartialMessage<AkeylessAuth_Email>) {
824
862
  super();
@@ -826,10 +864,10 @@ export class AkeylessAuth_Email extends Message<AkeylessAuth_Email> {
826
864
  }
827
865
 
828
866
  static readonly runtime: typeof proto3 = proto3;
829
- static readonly typeName = "plugins.common.v1.AkeylessAuth.Email";
867
+ static readonly typeName = 'plugins.common.v1.AkeylessAuth.Email';
830
868
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
831
- { no: 1, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
832
- { no: 2, name: "password", kind: "scalar", T: 9 /* ScalarType.STRING */ },
869
+ { no: 1, name: 'email', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
870
+ { no: 2, name: 'password', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
833
871
  ]);
834
872
 
835
873
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AkeylessAuth_Email {
@@ -844,7 +882,10 @@ export class AkeylessAuth_Email extends Message<AkeylessAuth_Email> {
844
882
  return new AkeylessAuth_Email().fromJsonString(jsonString, options);
845
883
  }
846
884
 
847
- static equals(a: AkeylessAuth_Email | PlainMessage<AkeylessAuth_Email> | undefined, b: AkeylessAuth_Email | PlainMessage<AkeylessAuth_Email> | undefined): boolean {
885
+ static equals(
886
+ a: AkeylessAuth_Email | PlainMessage<AkeylessAuth_Email> | undefined,
887
+ b: AkeylessAuth_Email | PlainMessage<AkeylessAuth_Email> | undefined
888
+ ): boolean {
848
889
  return proto3.util.equals(AkeylessAuth_Email, a, b);
849
890
  }
850
891
  }
@@ -856,39 +897,57 @@ export class Auth extends Message<Auth> {
856
897
  /**
857
898
  * @generated from oneof plugins.common.v1.Auth.method
858
899
  */
859
- method: {
860
- /**
861
- * @generated from field: plugins.common.v1.OAuth.PasswordGrantFlow password_grant_flow = 1;
862
- */
863
- value: OAuth_PasswordGrantFlow;
864
- case: "passwordGrantFlow";
865
- } | {
866
- /**
867
- * @generated from field: plugins.common.v1.OAuth.AuthorizationCodeFlow authorization_code_flow = 2;
868
- */
869
- value: OAuth_AuthorizationCodeFlow;
870
- case: "authorizationCodeFlow";
871
- } | {
872
- /**
873
- * @generated from field: plugins.common.v1.Basic basic = 3;
874
- */
875
- value: Basic;
876
- case: "basic";
877
- } | {
878
- /**
879
- * @generated from field: plugins.common.v1.OAuth.ClientCredentialsFlow client_credentials_flow = 4;
880
- */
881
- value: OAuth_ClientCredentialsFlow;
882
- case: "clientCredentialsFlow";
883
- } | {
884
- /**
885
- * todo: remove me when cosmos updates
886
- *
887
- * @generated from field: plugins.common.v1.Azure.Key key = 5;
888
- */
889
- value: Azure_Key;
890
- case: "key";
891
- } | { case: undefined; value?: undefined } = { case: undefined };
900
+ method:
901
+ | {
902
+ /**
903
+ * @generated from field: plugins.common.v1.OAuth.PasswordGrantFlow password_grant_flow = 1;
904
+ */
905
+ value: OAuth_PasswordGrantFlow;
906
+ case: 'passwordGrantFlow';
907
+ }
908
+ | {
909
+ /**
910
+ * @generated from field: plugins.common.v1.OAuth.AuthorizationCodeFlow authorization_code_flow = 2;
911
+ */
912
+ value: OAuth_AuthorizationCodeFlow;
913
+ case: 'authorizationCodeFlow';
914
+ }
915
+ | {
916
+ /**
917
+ * @generated from field: plugins.common.v1.Basic basic = 3;
918
+ */
919
+ value: Basic;
920
+ case: 'basic';
921
+ }
922
+ | {
923
+ /**
924
+ * @generated from field: plugins.common.v1.OAuth.ClientCredentialsFlow client_credentials_flow = 4;
925
+ */
926
+ value: OAuth_ClientCredentialsFlow;
927
+ case: 'clientCredentialsFlow';
928
+ }
929
+ | {
930
+ /**
931
+ * todo: remove me when cosmos updates
932
+ *
933
+ * @generated from field: plugins.common.v1.Azure.Key key = 5;
934
+ */
935
+ value: Azure_Key;
936
+ case: 'key';
937
+ }
938
+ | {
939
+ /**
940
+ * NOTE: @joeyagreco - look. don't try to make this type work here
941
+ * NOTE: @joeyagreco - just use this type in typescript: AuthenticatedDatasourceConfig instead
942
+ * NOTE: @joeyagreco - it already works and i really don't wanna maintain this super complex type in multiple places
943
+ * NOTE: @joeyagreco - so the expectation here is that there is NOTHING inside this oneof value, we just switch on the case
944
+ *
945
+ * @generated from field: plugins.common.v1.Auth.Nothing oauth_token_exchange = 6 [json_name = "oauth-token-exchange"];
946
+ */
947
+ value: Auth_Nothing;
948
+ case: 'oauthTokenExchange';
949
+ }
950
+ | { case: undefined; value?: undefined } = { case: undefined };
892
951
 
893
952
  constructor(data?: PartialMessage<Auth>) {
894
953
  super();
@@ -896,13 +955,14 @@ export class Auth extends Message<Auth> {
896
955
  }
897
956
 
898
957
  static readonly runtime: typeof proto3 = proto3;
899
- static readonly typeName = "plugins.common.v1.Auth";
958
+ static readonly typeName = 'plugins.common.v1.Auth';
900
959
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
901
- { no: 1, name: "password_grant_flow", kind: "message", T: OAuth_PasswordGrantFlow, oneof: "method" },
902
- { no: 2, name: "authorization_code_flow", kind: "message", T: OAuth_AuthorizationCodeFlow, oneof: "method" },
903
- { no: 3, name: "basic", kind: "message", T: Basic, oneof: "method" },
904
- { no: 4, name: "client_credentials_flow", kind: "message", T: OAuth_ClientCredentialsFlow, oneof: "method" },
905
- { no: 5, name: "key", kind: "message", T: Azure_Key, oneof: "method" },
960
+ { no: 1, name: 'password_grant_flow', kind: 'message', T: OAuth_PasswordGrantFlow, oneof: 'method' },
961
+ { no: 2, name: 'authorization_code_flow', kind: 'message', T: OAuth_AuthorizationCodeFlow, oneof: 'method' },
962
+ { no: 3, name: 'basic', kind: 'message', T: Basic, oneof: 'method' },
963
+ { no: 4, name: 'client_credentials_flow', kind: 'message', T: OAuth_ClientCredentialsFlow, oneof: 'method' },
964
+ { no: 5, name: 'key', kind: 'message', T: Azure_Key, oneof: 'method' },
965
+ { no: 6, name: 'oauth_token_exchange', jsonName: 'oauth-token-exchange', kind: 'message', T: Auth_Nothing, oneof: 'method' }
906
966
  ]);
907
967
 
908
968
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Auth {
@@ -922,3 +982,35 @@ export class Auth extends Message<Auth> {
922
982
  }
923
983
  }
924
984
 
985
+ /**
986
+ * @generated from message plugins.common.v1.Auth.Nothing
987
+ */
988
+ export class Auth_Nothing extends Message<Auth_Nothing> {
989
+ constructor(data?: PartialMessage<Auth_Nothing>) {
990
+ super();
991
+ proto3.util.initPartial(data, this);
992
+ }
993
+
994
+ static readonly runtime: typeof proto3 = proto3;
995
+ static readonly typeName = 'plugins.common.v1.Auth.Nothing';
996
+ static readonly fields: FieldList = proto3.util.newFieldList(() => []);
997
+
998
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Auth_Nothing {
999
+ return new Auth_Nothing().fromBinary(bytes, options);
1000
+ }
1001
+
1002
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Auth_Nothing {
1003
+ return new Auth_Nothing().fromJson(jsonValue, options);
1004
+ }
1005
+
1006
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Auth_Nothing {
1007
+ return new Auth_Nothing().fromJsonString(jsonString, options);
1008
+ }
1009
+
1010
+ static equals(
1011
+ a: Auth_Nothing | PlainMessage<Auth_Nothing> | undefined,
1012
+ b: Auth_Nothing | PlainMessage<Auth_Nothing> | undefined
1013
+ ): boolean {
1014
+ return proto3.util.equals(Auth_Nothing, a, b);
1015
+ }
1016
+ }