@superblocksteam/types 0.1898.0 → 0.1900.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,8 +77,9 @@ 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(() => []);
80
+ static readonly typeName = "plugins.common.v1.OAuth";
81
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
82
+ ]);
82
83
 
83
84
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OAuth {
84
85
  return new OAuth().fromBinary(bytes, options);
@@ -104,37 +105,37 @@ export class OAuth_PasswordGrantFlow extends Message<OAuth_PasswordGrantFlow> {
104
105
  /**
105
106
  * @generated from field: string client_id = 1;
106
107
  */
107
- clientId = '';
108
+ clientId = "";
108
109
 
109
110
  /**
110
111
  * @generated from field: string client_secret = 2;
111
112
  */
112
- clientSecret = '';
113
+ clientSecret = "";
113
114
 
114
115
  /**
115
116
  * @generated from field: string token_url = 3;
116
117
  */
117
- tokenUrl = '';
118
+ tokenUrl = "";
118
119
 
119
120
  /**
120
121
  * @generated from field: string username = 4;
121
122
  */
122
- username = '';
123
+ username = "";
123
124
 
124
125
  /**
125
126
  * @generated from field: string password = 5;
126
127
  */
127
- password = '';
128
+ password = "";
128
129
 
129
130
  /**
130
131
  * @generated from field: string audience = 6;
131
132
  */
132
- audience = '';
133
+ audience = "";
133
134
 
134
135
  /**
135
136
  * @generated from field: string scope = 7;
136
137
  */
137
- scope = '';
138
+ scope = "";
138
139
 
139
140
  constructor(data?: PartialMessage<OAuth_PasswordGrantFlow>) {
140
141
  super();
@@ -142,15 +143,15 @@ export class OAuth_PasswordGrantFlow extends Message<OAuth_PasswordGrantFlow> {
142
143
  }
143
144
 
144
145
  static readonly runtime: typeof proto3 = proto3;
145
- static readonly typeName = 'plugins.common.v1.OAuth.PasswordGrantFlow';
146
+ static readonly typeName = "plugins.common.v1.OAuth.PasswordGrantFlow";
146
147
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
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 */ }
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 */ },
154
155
  ]);
155
156
 
156
157
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OAuth_PasswordGrantFlow {
@@ -165,10 +166,7 @@ export class OAuth_PasswordGrantFlow extends Message<OAuth_PasswordGrantFlow> {
165
166
  return new OAuth_PasswordGrantFlow().fromJsonString(jsonString, options);
166
167
  }
167
168
 
168
- static equals(
169
- a: OAuth_PasswordGrantFlow | PlainMessage<OAuth_PasswordGrantFlow> | undefined,
170
- b: OAuth_PasswordGrantFlow | PlainMessage<OAuth_PasswordGrantFlow> | undefined
171
- ): boolean {
169
+ static equals(a: OAuth_PasswordGrantFlow | PlainMessage<OAuth_PasswordGrantFlow> | undefined, b: OAuth_PasswordGrantFlow | PlainMessage<OAuth_PasswordGrantFlow> | undefined): boolean {
172
170
  return proto3.util.equals(OAuth_PasswordGrantFlow, a, b);
173
171
  }
174
172
  }
@@ -180,27 +178,27 @@ export class OAuth_ClientCredentialsFlow extends Message<OAuth_ClientCredentials
180
178
  /**
181
179
  * @generated from field: string client_id = 1;
182
180
  */
183
- clientId = '';
181
+ clientId = "";
184
182
 
185
183
  /**
186
184
  * @generated from field: string client_secret = 2;
187
185
  */
188
- clientSecret = '';
186
+ clientSecret = "";
189
187
 
190
188
  /**
191
189
  * @generated from field: string token_url = 3;
192
190
  */
193
- tokenUrl = '';
191
+ tokenUrl = "";
194
192
 
195
193
  /**
196
194
  * @generated from field: string audience = 4;
197
195
  */
198
- audience = '';
196
+ audience = "";
199
197
 
200
198
  /**
201
199
  * @generated from field: string scope = 5;
202
200
  */
203
- scope = '';
201
+ scope = "";
204
202
 
205
203
  constructor(data?: PartialMessage<OAuth_ClientCredentialsFlow>) {
206
204
  super();
@@ -208,13 +206,13 @@ export class OAuth_ClientCredentialsFlow extends Message<OAuth_ClientCredentials
208
206
  }
209
207
 
210
208
  static readonly runtime: typeof proto3 = proto3;
211
- static readonly typeName = 'plugins.common.v1.OAuth.ClientCredentialsFlow';
209
+ static readonly typeName = "plugins.common.v1.OAuth.ClientCredentialsFlow";
212
210
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
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 */ }
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 */ },
218
216
  ]);
219
217
 
220
218
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OAuth_ClientCredentialsFlow {
@@ -229,10 +227,7 @@ export class OAuth_ClientCredentialsFlow extends Message<OAuth_ClientCredentials
229
227
  return new OAuth_ClientCredentialsFlow().fromJsonString(jsonString, options);
230
228
  }
231
229
 
232
- static equals(
233
- a: OAuth_ClientCredentialsFlow | PlainMessage<OAuth_ClientCredentialsFlow> | undefined,
234
- b: OAuth_ClientCredentialsFlow | PlainMessage<OAuth_ClientCredentialsFlow> | undefined
235
- ): boolean {
230
+ static equals(a: OAuth_ClientCredentialsFlow | PlainMessage<OAuth_ClientCredentialsFlow> | undefined, b: OAuth_ClientCredentialsFlow | PlainMessage<OAuth_ClientCredentialsFlow> | undefined): boolean {
236
231
  return proto3.util.equals(OAuth_ClientCredentialsFlow, a, b);
237
232
  }
238
233
  }
@@ -244,37 +239,37 @@ export class OAuth_AuthorizationCodeFlow extends Message<OAuth_AuthorizationCode
244
239
  /**
245
240
  * @generated from field: string client_id = 1;
246
241
  */
247
- clientId = '';
242
+ clientId = "";
248
243
 
249
244
  /**
250
245
  * @generated from field: string client_secret = 2;
251
246
  */
252
- clientSecret = '';
247
+ clientSecret = "";
253
248
 
254
249
  /**
255
250
  * @generated from field: string token_url = 3;
256
251
  */
257
- tokenUrl = '';
252
+ tokenUrl = "";
258
253
 
259
254
  /**
260
255
  * @generated from field: string auth_url = 4;
261
256
  */
262
- authUrl = '';
257
+ authUrl = "";
263
258
 
264
259
  /**
265
260
  * @generated from field: string audience = 5;
266
261
  */
267
- audience = '';
262
+ audience = "";
268
263
 
269
264
  /**
270
265
  * @generated from field: string scope = 6;
271
266
  */
272
- scope = '';
267
+ scope = "";
273
268
 
274
269
  /**
275
270
  * @generated from field: string token_scope = 7;
276
271
  */
277
- tokenScope = '';
272
+ tokenScope = "";
278
273
 
279
274
  /**
280
275
  * @generated from field: bool refresh_token_from_server = 8;
@@ -284,7 +279,7 @@ export class OAuth_AuthorizationCodeFlow extends Message<OAuth_AuthorizationCode
284
279
  /**
285
280
  * @generated from field: string client_auth_method = 9;
286
281
  */
287
- clientAuthMethod = '';
282
+ clientAuthMethod = "";
288
283
 
289
284
  /**
290
285
  * @generated from field: plugins.common.v1.OAuth.AuthorizationCodeFlow.SubjectTokenSource subject_token_source = 10;
@@ -294,12 +289,12 @@ export class OAuth_AuthorizationCodeFlow extends Message<OAuth_AuthorizationCode
294
289
  /**
295
290
  * @generated from field: string subject_token_source_static_token = 11;
296
291
  */
297
- subjectTokenSourceStaticToken = '';
292
+ subjectTokenSourceStaticToken = "";
298
293
 
299
294
  /**
300
295
  * @generated from field: string subject_token_type = 12;
301
296
  */
302
- subjectTokenType = '';
297
+ subjectTokenType = "";
303
298
 
304
299
  constructor(data?: PartialMessage<OAuth_AuthorizationCodeFlow>) {
305
300
  super();
@@ -307,20 +302,20 @@ export class OAuth_AuthorizationCodeFlow extends Message<OAuth_AuthorizationCode
307
302
  }
308
303
 
309
304
  static readonly runtime: typeof proto3 = proto3;
310
- static readonly typeName = 'plugins.common.v1.OAuth.AuthorizationCodeFlow';
305
+ static readonly typeName = "plugins.common.v1.OAuth.AuthorizationCodeFlow";
311
306
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
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 */ }
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 */ },
324
319
  ]);
325
320
 
326
321
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OAuth_AuthorizationCodeFlow {
@@ -335,10 +330,7 @@ export class OAuth_AuthorizationCodeFlow extends Message<OAuth_AuthorizationCode
335
330
  return new OAuth_AuthorizationCodeFlow().fromJsonString(jsonString, options);
336
331
  }
337
332
 
338
- static equals(
339
- a: OAuth_AuthorizationCodeFlow | PlainMessage<OAuth_AuthorizationCodeFlow> | undefined,
340
- b: OAuth_AuthorizationCodeFlow | PlainMessage<OAuth_AuthorizationCodeFlow> | undefined
341
- ): boolean {
333
+ static equals(a: OAuth_AuthorizationCodeFlow | PlainMessage<OAuth_AuthorizationCodeFlow> | undefined, b: OAuth_AuthorizationCodeFlow | PlainMessage<OAuth_AuthorizationCodeFlow> | undefined): boolean {
342
334
  return proto3.util.equals(OAuth_AuthorizationCodeFlow, a, b);
343
335
  }
344
336
  }
@@ -360,18 +352,14 @@ export enum OAuth_AuthorizationCodeFlow_SubjectTokenSource {
360
352
  /**
361
353
  * @generated from enum value: SUBJECT_TOKEN_SOURCE_STATIC_TOKEN = 2;
362
354
  */
363
- STATIC_TOKEN = 2
355
+ STATIC_TOKEN = 2,
364
356
  }
365
357
  // Retrieve enum metadata with: proto3.getEnumType(OAuth_AuthorizationCodeFlow_SubjectTokenSource)
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
- );
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
+ ]);
375
363
 
376
364
  /**
377
365
  * @generated from message plugins.common.v1.Basic
@@ -380,12 +368,12 @@ export class Basic extends Message<Basic> {
380
368
  /**
381
369
  * @generated from field: string username = 1;
382
370
  */
383
- username = '';
371
+ username = "";
384
372
 
385
373
  /**
386
374
  * @generated from field: string password = 2;
387
375
  */
388
- password = '';
376
+ password = "";
389
377
 
390
378
  constructor(data?: PartialMessage<Basic>) {
391
379
  super();
@@ -393,10 +381,10 @@ export class Basic extends Message<Basic> {
393
381
  }
394
382
 
395
383
  static readonly runtime: typeof proto3 = proto3;
396
- static readonly typeName = 'plugins.common.v1.Basic';
384
+ static readonly typeName = "plugins.common.v1.Basic";
397
385
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
398
- { no: 1, name: 'username', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
399
- { no: 2, name: 'password', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
386
+ { no: 1, name: "username", kind: "scalar", T: 9 /* ScalarType.STRING */ },
387
+ { no: 2, name: "password", kind: "scalar", T: 9 /* ScalarType.STRING */ },
400
388
  ]);
401
389
 
402
390
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Basic {
@@ -423,22 +411,19 @@ export class Azure extends Message<Azure> {
423
411
  /**
424
412
  * @generated from oneof plugins.common.v1.Azure.config
425
413
  */
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 };
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 };
442
427
 
443
428
  constructor(data?: PartialMessage<Azure>) {
444
429
  super();
@@ -446,10 +431,10 @@ export class Azure extends Message<Azure> {
446
431
  }
447
432
 
448
433
  static readonly runtime: typeof proto3 = proto3;
449
- static readonly typeName = 'plugins.common.v1.Azure';
434
+ static readonly typeName = "plugins.common.v1.Azure";
450
435
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
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' }
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" },
453
438
  ]);
454
439
 
455
440
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Azure {
@@ -476,7 +461,7 @@ export class Azure_Key extends Message<Azure_Key> {
476
461
  /**
477
462
  * @generated from field: string master_key = 1;
478
463
  */
479
- masterKey = '';
464
+ masterKey = "";
480
465
 
481
466
  constructor(data?: PartialMessage<Azure_Key>) {
482
467
  super();
@@ -484,9 +469,9 @@ export class Azure_Key extends Message<Azure_Key> {
484
469
  }
485
470
 
486
471
  static readonly runtime: typeof proto3 = proto3;
487
- static readonly typeName = 'plugins.common.v1.Azure.Key';
472
+ static readonly typeName = "plugins.common.v1.Azure.Key";
488
473
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
489
- { no: 1, name: 'master_key', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
474
+ { no: 1, name: "master_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
490
475
  ]);
491
476
 
492
477
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Azure_Key {
@@ -513,12 +498,12 @@ export class Azure_ClientCredentials extends Message<Azure_ClientCredentials> {
513
498
  /**
514
499
  * @generated from field: string client_id = 1;
515
500
  */
516
- clientId = '';
501
+ clientId = "";
517
502
 
518
503
  /**
519
504
  * @generated from field: string client_secret = 2;
520
505
  */
521
- clientSecret = '';
506
+ clientSecret = "";
522
507
 
523
508
  constructor(data?: PartialMessage<Azure_ClientCredentials>) {
524
509
  super();
@@ -526,10 +511,10 @@ export class Azure_ClientCredentials extends Message<Azure_ClientCredentials> {
526
511
  }
527
512
 
528
513
  static readonly runtime: typeof proto3 = proto3;
529
- static readonly typeName = 'plugins.common.v1.Azure.ClientCredentials';
514
+ static readonly typeName = "plugins.common.v1.Azure.ClientCredentials";
530
515
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
531
- { no: 1, name: 'client_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
532
- { no: 2, name: 'client_secret', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
516
+ { no: 1, name: "client_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
517
+ { no: 2, name: "client_secret", kind: "scalar", T: 9 /* ScalarType.STRING */ },
533
518
  ]);
534
519
 
535
520
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Azure_ClientCredentials {
@@ -544,10 +529,7 @@ export class Azure_ClientCredentials extends Message<Azure_ClientCredentials> {
544
529
  return new Azure_ClientCredentials().fromJsonString(jsonString, options);
545
530
  }
546
531
 
547
- static equals(
548
- a: Azure_ClientCredentials | PlainMessage<Azure_ClientCredentials> | undefined,
549
- b: Azure_ClientCredentials | PlainMessage<Azure_ClientCredentials> | undefined
550
- ): boolean {
532
+ static equals(a: Azure_ClientCredentials | PlainMessage<Azure_ClientCredentials> | undefined, b: Azure_ClientCredentials | PlainMessage<Azure_ClientCredentials> | undefined): boolean {
551
533
  return proto3.util.equals(Azure_ClientCredentials, a, b);
552
534
  }
553
535
  }
@@ -559,27 +541,24 @@ export class AwsAuth extends Message<AwsAuth> {
559
541
  /**
560
542
  * @generated from oneof plugins.common.v1.AwsAuth.config
561
543
  */
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 };
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 };
578
557
 
579
558
  /**
580
559
  * @generated from field: string region = 3;
581
560
  */
582
- region = '';
561
+ region = "";
583
562
 
584
563
  constructor(data?: PartialMessage<AwsAuth>) {
585
564
  super();
@@ -587,11 +566,11 @@ export class AwsAuth extends Message<AwsAuth> {
587
566
  }
588
567
 
589
568
  static readonly runtime: typeof proto3 = proto3;
590
- static readonly typeName = 'plugins.common.v1.AwsAuth';
569
+ static readonly typeName = "plugins.common.v1.AwsAuth";
591
570
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
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 */ }
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 */ },
595
574
  ]);
596
575
 
597
576
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AwsAuth {
@@ -618,12 +597,12 @@ export class AwsAuth_Static extends Message<AwsAuth_Static> {
618
597
  /**
619
598
  * @generated from field: string access_key_id = 1;
620
599
  */
621
- accessKeyId = '';
600
+ accessKeyId = "";
622
601
 
623
602
  /**
624
603
  * @generated from field: string secret_access_key = 2;
625
604
  */
626
- secretAccessKey = '';
605
+ secretAccessKey = "";
627
606
 
628
607
  constructor(data?: PartialMessage<AwsAuth_Static>) {
629
608
  super();
@@ -631,10 +610,10 @@ export class AwsAuth_Static extends Message<AwsAuth_Static> {
631
610
  }
632
611
 
633
612
  static readonly runtime: typeof proto3 = proto3;
634
- static readonly typeName = 'plugins.common.v1.AwsAuth.Static';
613
+ static readonly typeName = "plugins.common.v1.AwsAuth.Static";
635
614
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
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 */ }
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 */ },
638
617
  ]);
639
618
 
640
619
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AwsAuth_Static {
@@ -649,10 +628,7 @@ export class AwsAuth_Static extends Message<AwsAuth_Static> {
649
628
  return new AwsAuth_Static().fromJsonString(jsonString, options);
650
629
  }
651
630
 
652
- static equals(
653
- a: AwsAuth_Static | PlainMessage<AwsAuth_Static> | undefined,
654
- b: AwsAuth_Static | PlainMessage<AwsAuth_Static> | undefined
655
- ): boolean {
631
+ static equals(a: AwsAuth_Static | PlainMessage<AwsAuth_Static> | undefined, b: AwsAuth_Static | PlainMessage<AwsAuth_Static> | undefined): boolean {
656
632
  return proto3.util.equals(AwsAuth_Static, a, b);
657
633
  }
658
634
  }
@@ -664,7 +640,7 @@ export class AwsAuth_AssumeRole extends Message<AwsAuth_AssumeRole> {
664
640
  /**
665
641
  * @generated from field: string role_arn = 3;
666
642
  */
667
- roleArn = '';
643
+ roleArn = "";
668
644
 
669
645
  constructor(data?: PartialMessage<AwsAuth_AssumeRole>) {
670
646
  super();
@@ -672,9 +648,9 @@ export class AwsAuth_AssumeRole extends Message<AwsAuth_AssumeRole> {
672
648
  }
673
649
 
674
650
  static readonly runtime: typeof proto3 = proto3;
675
- static readonly typeName = 'plugins.common.v1.AwsAuth.AssumeRole';
651
+ static readonly typeName = "plugins.common.v1.AwsAuth.AssumeRole";
676
652
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
677
- { no: 3, name: 'role_arn', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
653
+ { no: 3, name: "role_arn", kind: "scalar", T: 9 /* ScalarType.STRING */ },
678
654
  ]);
679
655
 
680
656
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AwsAuth_AssumeRole {
@@ -689,10 +665,7 @@ export class AwsAuth_AssumeRole extends Message<AwsAuth_AssumeRole> {
689
665
  return new AwsAuth_AssumeRole().fromJsonString(jsonString, options);
690
666
  }
691
667
 
692
- static equals(
693
- a: AwsAuth_AssumeRole | PlainMessage<AwsAuth_AssumeRole> | undefined,
694
- b: AwsAuth_AssumeRole | PlainMessage<AwsAuth_AssumeRole> | undefined
695
- ): boolean {
668
+ static equals(a: AwsAuth_AssumeRole | PlainMessage<AwsAuth_AssumeRole> | undefined, b: AwsAuth_AssumeRole | PlainMessage<AwsAuth_AssumeRole> | undefined): boolean {
696
669
  return proto3.util.equals(AwsAuth_AssumeRole, a, b);
697
670
  }
698
671
  }
@@ -704,15 +677,13 @@ export class GcpAuth extends Message<GcpAuth> {
704
677
  /**
705
678
  * @generated from oneof plugins.common.v1.GcpAuth.config
706
679
  */
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 };
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 };
716
687
 
717
688
  constructor(data?: PartialMessage<GcpAuth>) {
718
689
  super();
@@ -720,9 +691,9 @@ export class GcpAuth extends Message<GcpAuth> {
720
691
  }
721
692
 
722
693
  static readonly runtime: typeof proto3 = proto3;
723
- static readonly typeName = 'plugins.common.v1.GcpAuth';
694
+ static readonly typeName = "plugins.common.v1.GcpAuth";
724
695
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
725
- { no: 1, name: 'service_account', kind: 'scalar', T: 12 /* ScalarType.BYTES */, oneof: 'config' }
696
+ { no: 1, name: "service_account", kind: "scalar", T: 12 /* ScalarType.BYTES */, oneof: "config" },
726
697
  ]);
727
698
 
728
699
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GcpAuth {
@@ -749,22 +720,19 @@ export class AkeylessAuth extends Message<AkeylessAuth> {
749
720
  /**
750
721
  * @generated from oneof plugins.common.v1.AkeylessAuth.config
751
722
  */
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 };
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 };
768
736
 
769
737
  constructor(data?: PartialMessage<AkeylessAuth>) {
770
738
  super();
@@ -772,10 +740,10 @@ export class AkeylessAuth extends Message<AkeylessAuth> {
772
740
  }
773
741
 
774
742
  static readonly runtime: typeof proto3 = proto3;
775
- static readonly typeName = 'plugins.common.v1.AkeylessAuth';
743
+ static readonly typeName = "plugins.common.v1.AkeylessAuth";
776
744
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
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' }
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" },
779
747
  ]);
780
748
 
781
749
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AkeylessAuth {
@@ -790,10 +758,7 @@ export class AkeylessAuth extends Message<AkeylessAuth> {
790
758
  return new AkeylessAuth().fromJsonString(jsonString, options);
791
759
  }
792
760
 
793
- static equals(
794
- a: AkeylessAuth | PlainMessage<AkeylessAuth> | undefined,
795
- b: AkeylessAuth | PlainMessage<AkeylessAuth> | undefined
796
- ): boolean {
761
+ static equals(a: AkeylessAuth | PlainMessage<AkeylessAuth> | undefined, b: AkeylessAuth | PlainMessage<AkeylessAuth> | undefined): boolean {
797
762
  return proto3.util.equals(AkeylessAuth, a, b);
798
763
  }
799
764
  }
@@ -805,12 +770,12 @@ export class AkeylessAuth_ApiKey extends Message<AkeylessAuth_ApiKey> {
805
770
  /**
806
771
  * @generated from field: string access_id = 1;
807
772
  */
808
- accessId = '';
773
+ accessId = "";
809
774
 
810
775
  /**
811
776
  * @generated from field: string access_key = 2;
812
777
  */
813
- accessKey = '';
778
+ accessKey = "";
814
779
 
815
780
  constructor(data?: PartialMessage<AkeylessAuth_ApiKey>) {
816
781
  super();
@@ -818,10 +783,10 @@ export class AkeylessAuth_ApiKey extends Message<AkeylessAuth_ApiKey> {
818
783
  }
819
784
 
820
785
  static readonly runtime: typeof proto3 = proto3;
821
- static readonly typeName = 'plugins.common.v1.AkeylessAuth.ApiKey';
786
+ static readonly typeName = "plugins.common.v1.AkeylessAuth.ApiKey";
822
787
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
823
- { no: 1, name: 'access_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
824
- { no: 2, name: 'access_key', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
788
+ { no: 1, name: "access_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
789
+ { no: 2, name: "access_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
825
790
  ]);
826
791
 
827
792
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AkeylessAuth_ApiKey {
@@ -836,10 +801,7 @@ export class AkeylessAuth_ApiKey extends Message<AkeylessAuth_ApiKey> {
836
801
  return new AkeylessAuth_ApiKey().fromJsonString(jsonString, options);
837
802
  }
838
803
 
839
- static equals(
840
- a: AkeylessAuth_ApiKey | PlainMessage<AkeylessAuth_ApiKey> | undefined,
841
- b: AkeylessAuth_ApiKey | PlainMessage<AkeylessAuth_ApiKey> | undefined
842
- ): boolean {
804
+ static equals(a: AkeylessAuth_ApiKey | PlainMessage<AkeylessAuth_ApiKey> | undefined, b: AkeylessAuth_ApiKey | PlainMessage<AkeylessAuth_ApiKey> | undefined): boolean {
843
805
  return proto3.util.equals(AkeylessAuth_ApiKey, a, b);
844
806
  }
845
807
  }
@@ -851,12 +813,12 @@ export class AkeylessAuth_Email extends Message<AkeylessAuth_Email> {
851
813
  /**
852
814
  * @generated from field: string email = 1;
853
815
  */
854
- email = '';
816
+ email = "";
855
817
 
856
818
  /**
857
819
  * @generated from field: string password = 2;
858
820
  */
859
- password = '';
821
+ password = "";
860
822
 
861
823
  constructor(data?: PartialMessage<AkeylessAuth_Email>) {
862
824
  super();
@@ -864,10 +826,10 @@ export class AkeylessAuth_Email extends Message<AkeylessAuth_Email> {
864
826
  }
865
827
 
866
828
  static readonly runtime: typeof proto3 = proto3;
867
- static readonly typeName = 'plugins.common.v1.AkeylessAuth.Email';
829
+ static readonly typeName = "plugins.common.v1.AkeylessAuth.Email";
868
830
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
869
- { no: 1, name: 'email', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
870
- { no: 2, name: 'password', kind: 'scalar', T: 9 /* ScalarType.STRING */ }
831
+ { no: 1, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
832
+ { no: 2, name: "password", kind: "scalar", T: 9 /* ScalarType.STRING */ },
871
833
  ]);
872
834
 
873
835
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AkeylessAuth_Email {
@@ -882,10 +844,7 @@ export class AkeylessAuth_Email extends Message<AkeylessAuth_Email> {
882
844
  return new AkeylessAuth_Email().fromJsonString(jsonString, options);
883
845
  }
884
846
 
885
- static equals(
886
- a: AkeylessAuth_Email | PlainMessage<AkeylessAuth_Email> | undefined,
887
- b: AkeylessAuth_Email | PlainMessage<AkeylessAuth_Email> | undefined
888
- ): boolean {
847
+ static equals(a: AkeylessAuth_Email | PlainMessage<AkeylessAuth_Email> | undefined, b: AkeylessAuth_Email | PlainMessage<AkeylessAuth_Email> | undefined): boolean {
889
848
  return proto3.util.equals(AkeylessAuth_Email, a, b);
890
849
  }
891
850
  }
@@ -897,57 +856,47 @@ export class Auth extends Message<Auth> {
897
856
  /**
898
857
  * @generated from oneof plugins.common.v1.Auth.method
899
858
  */
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 };
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
+ } | {
892
+ /**
893
+ * NOTE: @joeyagreco - we tried json_name here and sadly it does not work because the schema generator/convertor in the monorepo uses the ts type
894
+ *
895
+ * @generated from field: plugins.common.v1.Auth.Nothing oauth_token_exchange = 6;
896
+ */
897
+ value: Auth_Nothing;
898
+ case: "oauthTokenExchange";
899
+ } | { case: undefined; value?: undefined } = { case: undefined };
951
900
 
952
901
  constructor(data?: PartialMessage<Auth>) {
953
902
  super();
@@ -955,14 +904,14 @@ export class Auth extends Message<Auth> {
955
904
  }
956
905
 
957
906
  static readonly runtime: typeof proto3 = proto3;
958
- static readonly typeName = 'plugins.common.v1.Auth';
907
+ static readonly typeName = "plugins.common.v1.Auth";
959
908
  static readonly fields: FieldList = proto3.util.newFieldList(() => [
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' }
909
+ { no: 1, name: "password_grant_flow", kind: "message", T: OAuth_PasswordGrantFlow, oneof: "method" },
910
+ { no: 2, name: "authorization_code_flow", kind: "message", T: OAuth_AuthorizationCodeFlow, oneof: "method" },
911
+ { no: 3, name: "basic", kind: "message", T: Basic, oneof: "method" },
912
+ { no: 4, name: "client_credentials_flow", kind: "message", T: OAuth_ClientCredentialsFlow, oneof: "method" },
913
+ { no: 5, name: "key", kind: "message", T: Azure_Key, oneof: "method" },
914
+ { no: 6, name: "oauth_token_exchange", kind: "message", T: Auth_Nothing, oneof: "method" },
966
915
  ]);
967
916
 
968
917
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Auth {
@@ -992,8 +941,9 @@ export class Auth_Nothing extends Message<Auth_Nothing> {
992
941
  }
993
942
 
994
943
  static readonly runtime: typeof proto3 = proto3;
995
- static readonly typeName = 'plugins.common.v1.Auth.Nothing';
996
- static readonly fields: FieldList = proto3.util.newFieldList(() => []);
944
+ static readonly typeName = "plugins.common.v1.Auth.Nothing";
945
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
946
+ ]);
997
947
 
998
948
  static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Auth_Nothing {
999
949
  return new Auth_Nothing().fromBinary(bytes, options);
@@ -1007,10 +957,8 @@ export class Auth_Nothing extends Message<Auth_Nothing> {
1007
957
  return new Auth_Nothing().fromJsonString(jsonString, options);
1008
958
  }
1009
959
 
1010
- static equals(
1011
- a: Auth_Nothing | PlainMessage<Auth_Nothing> | undefined,
1012
- b: Auth_Nothing | PlainMessage<Auth_Nothing> | undefined
1013
- ): boolean {
960
+ static equals(a: Auth_Nothing | PlainMessage<Auth_Nothing> | undefined, b: Auth_Nothing | PlainMessage<Auth_Nothing> | undefined): boolean {
1014
961
  return proto3.util.equals(Auth_Nothing, a, b);
1015
962
  }
1016
963
  }
964
+