@scalekit-sdk/node 1.0.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/LICENSE +21 -0
  2. package/README.md +49 -0
  3. package/buf.gen.yaml +14 -0
  4. package/lib/connect.d.ts +9 -0
  5. package/lib/connect.js +31 -0
  6. package/lib/connect.js.map +1 -0
  7. package/lib/connection.d.ts +28 -0
  8. package/lib/connection.js +68 -0
  9. package/lib/connection.js.map +1 -0
  10. package/lib/constants/user.d.ts +4 -0
  11. package/lib/constants/user.js +24 -0
  12. package/lib/constants/user.js.map +1 -0
  13. package/lib/core.d.ts +37 -0
  14. package/lib/core.js +160 -0
  15. package/lib/core.js.map +1 -0
  16. package/lib/domain.d.ts +33 -0
  17. package/lib/domain.js +74 -0
  18. package/lib/domain.js.map +1 -0
  19. package/lib/index.d.ts +5 -0
  20. package/lib/index.js +26 -0
  21. package/lib/index.js.map +1 -0
  22. package/lib/organization.d.ts +64 -0
  23. package/lib/organization.js +116 -0
  24. package/lib/organization.js.map +1 -0
  25. package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.d.ts +20 -0
  26. package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.js +36 -0
  27. package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.js.map +1 -0
  28. package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.d.ts +73 -0
  29. package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.js +81 -0
  30. package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.js.map +1 -0
  31. package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.d.ts +1252 -0
  32. package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.js +1536 -0
  33. package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.js.map +1 -0
  34. package/lib/pkg/grpc/scalekit/v1/domains/domains_connect.d.ts +55 -0
  35. package/lib/pkg/grpc/scalekit/v1/domains/domains_connect.js +63 -0
  36. package/lib/pkg/grpc/scalekit/v1/domains/domains_connect.js.map +1 -0
  37. package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.d.ts +394 -0
  38. package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.js +469 -0
  39. package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.js.map +1 -0
  40. package/lib/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.d.ts +245 -0
  41. package/lib/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.js +369 -0
  42. package/lib/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.js.map +1 -0
  43. package/lib/pkg/grpc/scalekit/v1/options/options_pb.d.ts +98 -0
  44. package/lib/pkg/grpc/scalekit/v1/options/options_pb.js +135 -0
  45. package/lib/pkg/grpc/scalekit/v1/options/options_pb.js.map +1 -0
  46. package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.d.ts +92 -0
  47. package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.js +100 -0
  48. package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.js.map +1 -0
  49. package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.d.ts +424 -0
  50. package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.js +559 -0
  51. package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.js.map +1 -0
  52. package/lib/scalekit.d.ts +60 -0
  53. package/lib/scalekit.js +140 -0
  54. package/lib/scalekit.js.map +1 -0
  55. package/lib/types/scalekit.d.ts +26 -0
  56. package/lib/types/scalekit.js +10 -0
  57. package/lib/types/scalekit.js.map +1 -0
  58. package/lib/types/user.d.ts +56 -0
  59. package/lib/types/user.js +3 -0
  60. package/lib/types/user.js.map +1 -0
  61. package/package.json +45 -0
  62. package/src/connect.ts +33 -0
  63. package/src/connection.ts +69 -0
  64. package/src/constants/user.ts +22 -0
  65. package/src/core.ts +127 -0
  66. package/src/domain.ts +75 -0
  67. package/src/index.ts +7 -0
  68. package/src/organization.ts +129 -0
  69. package/src/pkg/grpc/scalekit/v1/commons/commons_pb.ts +36 -0
  70. package/src/pkg/grpc/scalekit/v1/connections/connections_connect.ts +80 -0
  71. package/src/pkg/grpc/scalekit/v1/connections/connections_pb.ts +2138 -0
  72. package/src/pkg/grpc/scalekit/v1/domains/domains_connect.ts +62 -0
  73. package/src/pkg/grpc/scalekit/v1/domains/domains_pb.ts +687 -0
  74. package/src/pkg/grpc/scalekit/v1/errdetails/errdetails_pb.ts +461 -0
  75. package/src/pkg/grpc/scalekit/v1/options/options_pb.ts +156 -0
  76. package/src/pkg/grpc/scalekit/v1/organizations/organizations_connect.ts +99 -0
  77. package/src/pkg/grpc/scalekit/v1/organizations/organizations_pb.ts +774 -0
  78. package/src/scalekit.ts +155 -0
  79. package/src/types/scalekit.ts +30 -0
  80. package/src/types/user.ts +59 -0
  81. package/tsconfig.json +18 -0
@@ -0,0 +1,1252 @@
1
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
+ import { Message, proto3, Timestamp } from "@bufbuild/protobuf";
3
+ /**
4
+ * @generated from enum scalekit.v1.connections.ConfigurationType
5
+ */
6
+ export declare enum ConfigurationType {
7
+ /**
8
+ * @generated from enum value: CONFIGURATION_TYPE_UNSPECIFIED = 0;
9
+ */
10
+ CONFIGURATION_TYPE_UNSPECIFIED = 0,
11
+ /**
12
+ * @generated from enum value: DISCOVERY = 1;
13
+ */
14
+ DISCOVERY = 1,
15
+ /**
16
+ * @generated from enum value: MANUAL = 2;
17
+ */
18
+ MANUAL = 2
19
+ }
20
+ /**
21
+ * @generated from enum scalekit.v1.connections.NameIdFormat
22
+ */
23
+ export declare enum NameIdFormat {
24
+ /**
25
+ * @generated from enum value: NAME_ID_FORMAT_NIL = 0;
26
+ */
27
+ NAME_ID_FORMAT_NIL = 0,
28
+ /**
29
+ * @generated from enum value: UNSPECIFIED = 1;
30
+ */
31
+ UNSPECIFIED = 1,
32
+ /**
33
+ * @generated from enum value: EMAIL = 2;
34
+ */
35
+ EMAIL = 2,
36
+ /**
37
+ * @generated from enum value: TRANSIENT = 3;
38
+ */
39
+ TRANSIENT = 3,
40
+ /**
41
+ * @generated from enum value: PERSISTENT = 4;
42
+ */
43
+ PERSISTENT = 4
44
+ }
45
+ /**
46
+ * enums all
47
+ *
48
+ * @generated from enum scalekit.v1.connections.SAMLSigningOptions
49
+ */
50
+ export declare enum SAMLSigningOptions {
51
+ /**
52
+ * @generated from enum value: SAML_SIGNING_OPTIONS_UNSPECIFIED = 0;
53
+ */
54
+ SAML_SIGNING_OPTIONS_UNSPECIFIED = 0,
55
+ /**
56
+ * @generated from enum value: NO_SIGNING = 1;
57
+ */
58
+ NO_SIGNING = 1,
59
+ /**
60
+ * @generated from enum value: SAML_ONLY_RESPONSE_SIGNING = 2;
61
+ */
62
+ SAML_ONLY_RESPONSE_SIGNING = 2,
63
+ /**
64
+ * @generated from enum value: SAML_ONLY_ASSERTION_SIGNING = 3;
65
+ */
66
+ SAML_ONLY_ASSERTION_SIGNING = 3,
67
+ /**
68
+ * @generated from enum value: SAML_RESPONSE_ASSERTION_SIGNING = 4;
69
+ */
70
+ SAML_RESPONSE_ASSERTION_SIGNING = 4
71
+ }
72
+ /**
73
+ * @generated from enum scalekit.v1.connections.RequestBinding
74
+ */
75
+ export declare enum RequestBinding {
76
+ /**
77
+ * @generated from enum value: REQUEST_BINDING_UNSPECIFIED = 0;
78
+ */
79
+ REQUEST_BINDING_UNSPECIFIED = 0,
80
+ /**
81
+ * @generated from enum value: HTTP_POST = 1;
82
+ */
83
+ HTTP_POST = 1,
84
+ /**
85
+ * @generated from enum value: HTTP_REDIRECT = 2;
86
+ */
87
+ HTTP_REDIRECT = 2
88
+ }
89
+ /**
90
+ * @generated from enum scalekit.v1.connections.TokenAuthType
91
+ */
92
+ export declare enum TokenAuthType {
93
+ /**
94
+ * @generated from enum value: TOKEN_AUTH_TYPE_UNSPECIFIED = 0;
95
+ */
96
+ TOKEN_AUTH_TYPE_UNSPECIFIED = 0,
97
+ /**
98
+ * @generated from enum value: URL_PARAMS = 1;
99
+ */
100
+ URL_PARAMS = 1,
101
+ /**
102
+ * @generated from enum value: BASIC_AUTH = 2;
103
+ */
104
+ BASIC_AUTH = 2
105
+ }
106
+ /**
107
+ * @generated from enum scalekit.v1.connections.OIDCScope
108
+ */
109
+ export declare enum OIDCScope {
110
+ /**
111
+ * @generated from enum value: OIDC_SCOPE_UNSPECIFIED = 0;
112
+ */
113
+ OIDC_SCOPE_UNSPECIFIED = 0,
114
+ /**
115
+ * @generated from enum value: openid = 1;
116
+ */
117
+ openid = 1,
118
+ /**
119
+ * @generated from enum value: profile = 2;
120
+ */
121
+ profile = 2,
122
+ /**
123
+ * @generated from enum value: email = 3;
124
+ */
125
+ email = 3,
126
+ /**
127
+ * @generated from enum value: address = 4;
128
+ */
129
+ address = 4,
130
+ /**
131
+ * @generated from enum value: phone = 5;
132
+ */
133
+ phone = 5
134
+ }
135
+ /**
136
+ * @generated from enum scalekit.v1.connections.ConnectionType
137
+ */
138
+ export declare enum ConnectionType {
139
+ /**
140
+ * @generated from enum value: INVALID = 0;
141
+ */
142
+ INVALID = 0,
143
+ /**
144
+ * @generated from enum value: OIDC = 1;
145
+ */
146
+ OIDC = 1,
147
+ /**
148
+ * @generated from enum value: SAML = 2;
149
+ */
150
+ SAML = 2,
151
+ /**
152
+ * @generated from enum value: PASSWORD = 3;
153
+ */
154
+ PASSWORD = 3
155
+ }
156
+ /**
157
+ * @generated from enum scalekit.v1.connections.ConnectionStatus
158
+ */
159
+ export declare enum ConnectionStatus {
160
+ /**
161
+ * @generated from enum value: CONNECTION_STATUS_UNSPECIFIED = 0;
162
+ */
163
+ CONNECTION_STATUS_UNSPECIFIED = 0,
164
+ /**
165
+ * @generated from enum value: DRAFT = 1;
166
+ */
167
+ DRAFT = 1,
168
+ /**
169
+ * @generated from enum value: IN_PROGRESS = 2;
170
+ */
171
+ IN_PROGRESS = 2,
172
+ /**
173
+ * @generated from enum value: COMPLETED = 3;
174
+ */
175
+ COMPLETED = 3
176
+ }
177
+ /**
178
+ * @generated from enum scalekit.v1.connections.ConnectionProvider
179
+ */
180
+ export declare enum ConnectionProvider {
181
+ /**
182
+ * @generated from enum value: CONNECTION_PROVIDER_UNSPECIFIED = 0;
183
+ */
184
+ CONNECTION_PROVIDER_UNSPECIFIED = 0,
185
+ /**
186
+ * @generated from enum value: OKTA = 1;
187
+ */
188
+ OKTA = 1,
189
+ /**
190
+ * @generated from enum value: GOOGLE = 2;
191
+ */
192
+ GOOGLE = 2,
193
+ /**
194
+ * @generated from enum value: MICROSOFT_AD = 3;
195
+ */
196
+ MICROSOFT_AD = 3,
197
+ /**
198
+ * @generated from enum value: AUTH0 = 4;
199
+ */
200
+ AUTH0 = 4,
201
+ /**
202
+ * @generated from enum value: ONELOGIN = 5;
203
+ */
204
+ ONELOGIN = 5,
205
+ /**
206
+ * @generated from enum value: PING_IDENTITY = 6;
207
+ */
208
+ PING_IDENTITY = 6,
209
+ /**
210
+ * @generated from enum value: JUMPCLOUD = 7;
211
+ */
212
+ JUMPCLOUD = 7,
213
+ /**
214
+ * @generated from enum value: CUSTOM = 8;
215
+ */
216
+ CUSTOM = 8
217
+ }
218
+ /**
219
+ * @generated from message scalekit.v1.connections.CreateConnectionRequest
220
+ */
221
+ export declare class CreateConnectionRequest extends Message<CreateConnectionRequest> {
222
+ /**
223
+ * @generated from oneof scalekit.v1.connections.CreateConnectionRequest.identities
224
+ */
225
+ identities: {
226
+ /**
227
+ * @generated from field: string organization_id = 1;
228
+ */
229
+ value: string;
230
+ case: "organizationId";
231
+ } | {
232
+ /**
233
+ * @generated from field: string external_id = 2;
234
+ */
235
+ value: string;
236
+ case: "externalId";
237
+ } | {
238
+ case: undefined;
239
+ value?: undefined;
240
+ };
241
+ /**
242
+ * @generated from field: scalekit.v1.connections.CreateConnection connection = 3;
243
+ */
244
+ connection?: CreateConnection;
245
+ constructor(data?: PartialMessage<CreateConnectionRequest>);
246
+ static readonly runtime: typeof proto3;
247
+ static readonly typeName = "scalekit.v1.connections.CreateConnectionRequest";
248
+ static readonly fields: FieldList;
249
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateConnectionRequest;
250
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateConnectionRequest;
251
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateConnectionRequest;
252
+ static equals(a: CreateConnectionRequest | PlainMessage<CreateConnectionRequest> | undefined, b: CreateConnectionRequest | PlainMessage<CreateConnectionRequest> | undefined): boolean;
253
+ }
254
+ /**
255
+ * @generated from message scalekit.v1.connections.CreateConnection
256
+ */
257
+ export declare class CreateConnection extends Message<CreateConnection> {
258
+ /**
259
+ * @generated from field: scalekit.v1.connections.ConnectionProvider provider = 1;
260
+ */
261
+ provider: ConnectionProvider;
262
+ /**
263
+ * @generated from field: scalekit.v1.connections.ConnectionType type = 2;
264
+ */
265
+ type: ConnectionType;
266
+ constructor(data?: PartialMessage<CreateConnection>);
267
+ static readonly runtime: typeof proto3;
268
+ static readonly typeName = "scalekit.v1.connections.CreateConnection";
269
+ static readonly fields: FieldList;
270
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateConnection;
271
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateConnection;
272
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateConnection;
273
+ static equals(a: CreateConnection | PlainMessage<CreateConnection> | undefined, b: CreateConnection | PlainMessage<CreateConnection> | undefined): boolean;
274
+ }
275
+ /**
276
+ * @generated from message scalekit.v1.connections.Connection
277
+ */
278
+ export declare class Connection extends Message<Connection> {
279
+ /**
280
+ * @generated from field: string id = 1;
281
+ */
282
+ id: string;
283
+ /**
284
+ * @generated from field: scalekit.v1.connections.ConnectionProvider provider = 2;
285
+ */
286
+ provider: ConnectionProvider;
287
+ /**
288
+ * @generated from field: scalekit.v1.connections.ConnectionType type = 3;
289
+ */
290
+ type: ConnectionType;
291
+ /**
292
+ * @generated from field: scalekit.v1.connections.ConnectionStatus status = 4;
293
+ */
294
+ status: ConnectionStatus;
295
+ /**
296
+ * @generated from field: bool enabled = 5;
297
+ */
298
+ enabled: boolean;
299
+ /**
300
+ * @generated from field: bool debug_enabled = 6;
301
+ */
302
+ debugEnabled: boolean;
303
+ /**
304
+ * @generated from field: string organization_id = 7;
305
+ */
306
+ organizationId: string;
307
+ /**
308
+ * @generated from field: string ui_button_title = 8;
309
+ */
310
+ uiButtonTitle: string;
311
+ /**
312
+ * @generated from field: string login_initiation_uri = 9;
313
+ */
314
+ loginInitiationUri: string;
315
+ /**
316
+ * @generated from field: string logout_uri = 10;
317
+ */
318
+ logoutUri: string;
319
+ /**
320
+ * @generated from field: scalekit.v1.connections.ConfigurationType configuration_type = 11;
321
+ */
322
+ configurationType: ConfigurationType;
323
+ /**
324
+ * @generated from field: string test_connection_uri = 12;
325
+ */
326
+ testConnectionUri: string;
327
+ /**
328
+ * @generated from oneof scalekit.v1.connections.Connection.settings
329
+ */
330
+ settings: {
331
+ /**
332
+ * @generated from field: scalekit.v1.connections.OIDCConnectionConfig oidc_config = 13;
333
+ */
334
+ value: OIDCConnectionConfig;
335
+ case: "oidcConfig";
336
+ } | {
337
+ /**
338
+ * @generated from field: scalekit.v1.connections.SAMLConnectionConfigResponse saml_config = 14;
339
+ */
340
+ value: SAMLConnectionConfigResponse;
341
+ case: "samlConfig";
342
+ } | {
343
+ case: undefined;
344
+ value?: undefined;
345
+ };
346
+ /**
347
+ * @generated from field: map<string, string> attribute_mapping = 15;
348
+ */
349
+ attributeMapping: {
350
+ [key: string]: string;
351
+ };
352
+ constructor(data?: PartialMessage<Connection>);
353
+ static readonly runtime: typeof proto3;
354
+ static readonly typeName = "scalekit.v1.connections.Connection";
355
+ static readonly fields: FieldList;
356
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Connection;
357
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Connection;
358
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Connection;
359
+ static equals(a: Connection | PlainMessage<Connection> | undefined, b: Connection | PlainMessage<Connection> | undefined): boolean;
360
+ }
361
+ /**
362
+ * @generated from message scalekit.v1.connections.CreateConnectionResponse
363
+ */
364
+ export declare class CreateConnectionResponse extends Message<CreateConnectionResponse> {
365
+ /**
366
+ * @generated from field: scalekit.v1.connections.Connection connection = 1;
367
+ */
368
+ connection?: Connection;
369
+ constructor(data?: PartialMessage<CreateConnectionResponse>);
370
+ static readonly runtime: typeof proto3;
371
+ static readonly typeName = "scalekit.v1.connections.CreateConnectionResponse";
372
+ static readonly fields: FieldList;
373
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateConnectionResponse;
374
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateConnectionResponse;
375
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateConnectionResponse;
376
+ static equals(a: CreateConnectionResponse | PlainMessage<CreateConnectionResponse> | undefined, b: CreateConnectionResponse | PlainMessage<CreateConnectionResponse> | undefined): boolean;
377
+ }
378
+ /**
379
+ * @generated from message scalekit.v1.connections.UpdateConnectionRequest
380
+ */
381
+ export declare class UpdateConnectionRequest extends Message<UpdateConnectionRequest> {
382
+ /**
383
+ * @generated from oneof scalekit.v1.connections.UpdateConnectionRequest.identities
384
+ */
385
+ identities: {
386
+ /**
387
+ * @generated from field: string organization_id = 1;
388
+ */
389
+ value: string;
390
+ case: "organizationId";
391
+ } | {
392
+ /**
393
+ * @generated from field: string external_id = 2;
394
+ */
395
+ value: string;
396
+ case: "externalId";
397
+ } | {
398
+ case: undefined;
399
+ value?: undefined;
400
+ };
401
+ /**
402
+ * @generated from field: string id = 3;
403
+ */
404
+ id: string;
405
+ /**
406
+ * @generated from field: scalekit.v1.connections.UpdateConnection connection = 4;
407
+ */
408
+ connection?: UpdateConnection;
409
+ constructor(data?: PartialMessage<UpdateConnectionRequest>);
410
+ static readonly runtime: typeof proto3;
411
+ static readonly typeName = "scalekit.v1.connections.UpdateConnectionRequest";
412
+ static readonly fields: FieldList;
413
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateConnectionRequest;
414
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateConnectionRequest;
415
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateConnectionRequest;
416
+ static equals(a: UpdateConnectionRequest | PlainMessage<UpdateConnectionRequest> | undefined, b: UpdateConnectionRequest | PlainMessage<UpdateConnectionRequest> | undefined): boolean;
417
+ }
418
+ /**
419
+ * @generated from message scalekit.v1.connections.UpdateConnection
420
+ */
421
+ export declare class UpdateConnection extends Message<UpdateConnection> {
422
+ /**
423
+ * @generated from field: scalekit.v1.connections.ConnectionProvider provider = 1;
424
+ */
425
+ provider: ConnectionProvider;
426
+ /**
427
+ * @generated from field: scalekit.v1.connections.ConnectionType type = 2;
428
+ */
429
+ type: ConnectionType;
430
+ /**
431
+ * @generated from field: google.protobuf.BoolValue debug_enabled = 3;
432
+ */
433
+ debugEnabled?: boolean;
434
+ /**
435
+ * @generated from field: google.protobuf.StringValue ui_button_title = 4;
436
+ */
437
+ uiButtonTitle?: string;
438
+ /**
439
+ * @generated from field: google.protobuf.StringValue logout_uri = 5;
440
+ */
441
+ logoutUri?: string;
442
+ /**
443
+ * @generated from field: scalekit.v1.connections.ConfigurationType configuration_type = 6;
444
+ */
445
+ configurationType: ConfigurationType;
446
+ /**
447
+ * @generated from oneof scalekit.v1.connections.UpdateConnection.settings
448
+ */
449
+ settings: {
450
+ /**
451
+ * @generated from field: scalekit.v1.connections.OIDCConnectionConfig oidc_config = 7;
452
+ */
453
+ value: OIDCConnectionConfig;
454
+ case: "oidcConfig";
455
+ } | {
456
+ /**
457
+ * @generated from field: scalekit.v1.connections.SAMLConnectionConfigRequest saml_config = 8;
458
+ */
459
+ value: SAMLConnectionConfigRequest;
460
+ case: "samlConfig";
461
+ } | {
462
+ case: undefined;
463
+ value?: undefined;
464
+ };
465
+ /**
466
+ * @generated from field: map<string, string> attribute_mapping = 9;
467
+ */
468
+ attributeMapping: {
469
+ [key: string]: string;
470
+ };
471
+ constructor(data?: PartialMessage<UpdateConnection>);
472
+ static readonly runtime: typeof proto3;
473
+ static readonly typeName = "scalekit.v1.connections.UpdateConnection";
474
+ static readonly fields: FieldList;
475
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateConnection;
476
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateConnection;
477
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateConnection;
478
+ static equals(a: UpdateConnection | PlainMessage<UpdateConnection> | undefined, b: UpdateConnection | PlainMessage<UpdateConnection> | undefined): boolean;
479
+ }
480
+ /**
481
+ * @generated from message scalekit.v1.connections.UpdateConnectionResponse
482
+ */
483
+ export declare class UpdateConnectionResponse extends Message<UpdateConnectionResponse> {
484
+ /**
485
+ * @generated from field: scalekit.v1.connections.Connection connection = 1;
486
+ */
487
+ connection?: Connection;
488
+ constructor(data?: PartialMessage<UpdateConnectionResponse>);
489
+ static readonly runtime: typeof proto3;
490
+ static readonly typeName = "scalekit.v1.connections.UpdateConnectionResponse";
491
+ static readonly fields: FieldList;
492
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateConnectionResponse;
493
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateConnectionResponse;
494
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateConnectionResponse;
495
+ static equals(a: UpdateConnectionResponse | PlainMessage<UpdateConnectionResponse> | undefined, b: UpdateConnectionResponse | PlainMessage<UpdateConnectionResponse> | undefined): boolean;
496
+ }
497
+ /**
498
+ * @generated from message scalekit.v1.connections.DeleteConnectionRequest
499
+ */
500
+ export declare class DeleteConnectionRequest extends Message<DeleteConnectionRequest> {
501
+ /**
502
+ * @generated from oneof scalekit.v1.connections.DeleteConnectionRequest.identities
503
+ */
504
+ identities: {
505
+ /**
506
+ * @generated from field: string organization_id = 1;
507
+ */
508
+ value: string;
509
+ case: "organizationId";
510
+ } | {
511
+ /**
512
+ * @generated from field: string external_id = 2;
513
+ */
514
+ value: string;
515
+ case: "externalId";
516
+ } | {
517
+ case: undefined;
518
+ value?: undefined;
519
+ };
520
+ /**
521
+ * @generated from field: string id = 3;
522
+ */
523
+ id: string;
524
+ constructor(data?: PartialMessage<DeleteConnectionRequest>);
525
+ static readonly runtime: typeof proto3;
526
+ static readonly typeName = "scalekit.v1.connections.DeleteConnectionRequest";
527
+ static readonly fields: FieldList;
528
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteConnectionRequest;
529
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteConnectionRequest;
530
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteConnectionRequest;
531
+ static equals(a: DeleteConnectionRequest | PlainMessage<DeleteConnectionRequest> | undefined, b: DeleteConnectionRequest | PlainMessage<DeleteConnectionRequest> | undefined): boolean;
532
+ }
533
+ /**
534
+ * @generated from message scalekit.v1.connections.GetConnectionRequest
535
+ */
536
+ export declare class GetConnectionRequest extends Message<GetConnectionRequest> {
537
+ /**
538
+ * @generated from oneof scalekit.v1.connections.GetConnectionRequest.identities
539
+ */
540
+ identities: {
541
+ /**
542
+ * @generated from field: string organization_id = 1;
543
+ */
544
+ value: string;
545
+ case: "organizationId";
546
+ } | {
547
+ /**
548
+ * @generated from field: string external_id = 2;
549
+ */
550
+ value: string;
551
+ case: "externalId";
552
+ } | {
553
+ case: undefined;
554
+ value?: undefined;
555
+ };
556
+ /**
557
+ * @generated from field: string id = 3;
558
+ */
559
+ id: string;
560
+ constructor(data?: PartialMessage<GetConnectionRequest>);
561
+ static readonly runtime: typeof proto3;
562
+ static readonly typeName = "scalekit.v1.connections.GetConnectionRequest";
563
+ static readonly fields: FieldList;
564
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetConnectionRequest;
565
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetConnectionRequest;
566
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetConnectionRequest;
567
+ static equals(a: GetConnectionRequest | PlainMessage<GetConnectionRequest> | undefined, b: GetConnectionRequest | PlainMessage<GetConnectionRequest> | undefined): boolean;
568
+ }
569
+ /**
570
+ * @generated from message scalekit.v1.connections.GetConnectionResponse
571
+ */
572
+ export declare class GetConnectionResponse extends Message<GetConnectionResponse> {
573
+ /**
574
+ * @generated from field: scalekit.v1.connections.Connection connection = 1;
575
+ */
576
+ connection?: Connection;
577
+ constructor(data?: PartialMessage<GetConnectionResponse>);
578
+ static readonly runtime: typeof proto3;
579
+ static readonly typeName = "scalekit.v1.connections.GetConnectionResponse";
580
+ static readonly fields: FieldList;
581
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetConnectionResponse;
582
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetConnectionResponse;
583
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetConnectionResponse;
584
+ static equals(a: GetConnectionResponse | PlainMessage<GetConnectionResponse> | undefined, b: GetConnectionResponse | PlainMessage<GetConnectionResponse> | undefined): boolean;
585
+ }
586
+ /**
587
+ * @generated from message scalekit.v1.connections.ListConnectionsRequest
588
+ */
589
+ export declare class ListConnectionsRequest extends Message<ListConnectionsRequest> {
590
+ /**
591
+ * @generated from oneof scalekit.v1.connections.ListConnectionsRequest.identities
592
+ */
593
+ identities: {
594
+ /**
595
+ * @generated from field: string organization_id = 1;
596
+ */
597
+ value: string;
598
+ case: "organizationId";
599
+ } | {
600
+ /**
601
+ * @generated from field: string external_id = 2;
602
+ */
603
+ value: string;
604
+ case: "externalId";
605
+ } | {
606
+ /**
607
+ * @generated from field: string domain = 3;
608
+ */
609
+ value: string;
610
+ case: "domain";
611
+ } | {
612
+ case: undefined;
613
+ value?: undefined;
614
+ };
615
+ /**
616
+ * @generated from field: optional string include = 4;
617
+ */
618
+ include?: string;
619
+ constructor(data?: PartialMessage<ListConnectionsRequest>);
620
+ static readonly runtime: typeof proto3;
621
+ static readonly typeName = "scalekit.v1.connections.ListConnectionsRequest";
622
+ static readonly fields: FieldList;
623
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListConnectionsRequest;
624
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListConnectionsRequest;
625
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListConnectionsRequest;
626
+ static equals(a: ListConnectionsRequest | PlainMessage<ListConnectionsRequest> | undefined, b: ListConnectionsRequest | PlainMessage<ListConnectionsRequest> | undefined): boolean;
627
+ }
628
+ /**
629
+ * @generated from message scalekit.v1.connections.ListConnectionsResponse
630
+ */
631
+ export declare class ListConnectionsResponse extends Message<ListConnectionsResponse> {
632
+ /**
633
+ * @generated from field: repeated scalekit.v1.connections.ListConnection connections = 1;
634
+ */
635
+ connections: ListConnection[];
636
+ constructor(data?: PartialMessage<ListConnectionsResponse>);
637
+ static readonly runtime: typeof proto3;
638
+ static readonly typeName = "scalekit.v1.connections.ListConnectionsResponse";
639
+ static readonly fields: FieldList;
640
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListConnectionsResponse;
641
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListConnectionsResponse;
642
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListConnectionsResponse;
643
+ static equals(a: ListConnectionsResponse | PlainMessage<ListConnectionsResponse> | undefined, b: ListConnectionsResponse | PlainMessage<ListConnectionsResponse> | undefined): boolean;
644
+ }
645
+ /**
646
+ * @generated from message scalekit.v1.connections.ListConnection
647
+ */
648
+ export declare class ListConnection extends Message<ListConnection> {
649
+ /**
650
+ * @generated from field: string id = 1;
651
+ */
652
+ id: string;
653
+ /**
654
+ * @generated from field: scalekit.v1.connections.ConnectionProvider provider = 2;
655
+ */
656
+ provider: ConnectionProvider;
657
+ /**
658
+ * @generated from field: scalekit.v1.connections.ConnectionType type = 3;
659
+ */
660
+ type: ConnectionType;
661
+ /**
662
+ * @generated from field: scalekit.v1.connections.ConnectionStatus status = 4;
663
+ */
664
+ status: ConnectionStatus;
665
+ /**
666
+ * @generated from field: bool enabled = 5;
667
+ */
668
+ enabled: boolean;
669
+ /**
670
+ * @generated from field: string organization_id = 6;
671
+ */
672
+ organizationId: string;
673
+ /**
674
+ * @generated from field: string ui_button_title = 7;
675
+ */
676
+ uiButtonTitle: string;
677
+ constructor(data?: PartialMessage<ListConnection>);
678
+ static readonly runtime: typeof proto3;
679
+ static readonly typeName = "scalekit.v1.connections.ListConnection";
680
+ static readonly fields: FieldList;
681
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListConnection;
682
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListConnection;
683
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListConnection;
684
+ static equals(a: ListConnection | PlainMessage<ListConnection> | undefined, b: ListConnection | PlainMessage<ListConnection> | undefined): boolean;
685
+ }
686
+ /**
687
+ * @generated from message scalekit.v1.connections.EnableConnectionRequest
688
+ */
689
+ export declare class EnableConnectionRequest extends Message<EnableConnectionRequest> {
690
+ /**
691
+ * @generated from oneof scalekit.v1.connections.EnableConnectionRequest.identities
692
+ */
693
+ identities: {
694
+ /**
695
+ * @generated from field: string organization_id = 1;
696
+ */
697
+ value: string;
698
+ case: "organizationId";
699
+ } | {
700
+ /**
701
+ * @generated from field: string external_id = 2;
702
+ */
703
+ value: string;
704
+ case: "externalId";
705
+ } | {
706
+ case: undefined;
707
+ value?: undefined;
708
+ };
709
+ /**
710
+ * @generated from field: string id = 3;
711
+ */
712
+ id: string;
713
+ constructor(data?: PartialMessage<EnableConnectionRequest>);
714
+ static readonly runtime: typeof proto3;
715
+ static readonly typeName = "scalekit.v1.connections.EnableConnectionRequest";
716
+ static readonly fields: FieldList;
717
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EnableConnectionRequest;
718
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EnableConnectionRequest;
719
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EnableConnectionRequest;
720
+ static equals(a: EnableConnectionRequest | PlainMessage<EnableConnectionRequest> | undefined, b: EnableConnectionRequest | PlainMessage<EnableConnectionRequest> | undefined): boolean;
721
+ }
722
+ /**
723
+ * @generated from message scalekit.v1.connections.DisableConnectionRequest
724
+ */
725
+ export declare class DisableConnectionRequest extends Message<DisableConnectionRequest> {
726
+ /**
727
+ * @generated from oneof scalekit.v1.connections.DisableConnectionRequest.identities
728
+ */
729
+ identities: {
730
+ /**
731
+ * @generated from field: string organization_id = 1;
732
+ */
733
+ value: string;
734
+ case: "organizationId";
735
+ } | {
736
+ /**
737
+ * @generated from field: string external_id = 2;
738
+ */
739
+ value: string;
740
+ case: "externalId";
741
+ } | {
742
+ case: undefined;
743
+ value?: undefined;
744
+ };
745
+ /**
746
+ * @generated from field: string id = 3;
747
+ */
748
+ id: string;
749
+ constructor(data?: PartialMessage<DisableConnectionRequest>);
750
+ static readonly runtime: typeof proto3;
751
+ static readonly typeName = "scalekit.v1.connections.DisableConnectionRequest";
752
+ static readonly fields: FieldList;
753
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DisableConnectionRequest;
754
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DisableConnectionRequest;
755
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DisableConnectionRequest;
756
+ static equals(a: DisableConnectionRequest | PlainMessage<DisableConnectionRequest> | undefined, b: DisableConnectionRequest | PlainMessage<DisableConnectionRequest> | undefined): boolean;
757
+ }
758
+ /**
759
+ * @generated from message scalekit.v1.connections.ToggleConnectionResponse
760
+ */
761
+ export declare class ToggleConnectionResponse extends Message<ToggleConnectionResponse> {
762
+ /**
763
+ * @generated from field: bool enabled = 1;
764
+ */
765
+ enabled: boolean;
766
+ /**
767
+ * @generated from field: optional string error_message = 2;
768
+ */
769
+ errorMessage?: string;
770
+ constructor(data?: PartialMessage<ToggleConnectionResponse>);
771
+ static readonly runtime: typeof proto3;
772
+ static readonly typeName = "scalekit.v1.connections.ToggleConnectionResponse";
773
+ static readonly fields: FieldList;
774
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ToggleConnectionResponse;
775
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ToggleConnectionResponse;
776
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ToggleConnectionResponse;
777
+ static equals(a: ToggleConnectionResponse | PlainMessage<ToggleConnectionResponse> | undefined, b: ToggleConnectionResponse | PlainMessage<ToggleConnectionResponse> | undefined): boolean;
778
+ }
779
+ /**
780
+ * @generated from message scalekit.v1.connections.OIDCConnectionConfig
781
+ */
782
+ export declare class OIDCConnectionConfig extends Message<OIDCConnectionConfig> {
783
+ /**
784
+ * @generated from field: google.protobuf.StringValue issuer = 1;
785
+ */
786
+ issuer?: string;
787
+ /**
788
+ * @generated from field: google.protobuf.StringValue discovery_endpoint = 2;
789
+ */
790
+ discoveryEndpoint?: string;
791
+ /**
792
+ * @generated from field: google.protobuf.StringValue authorize_uri = 3;
793
+ */
794
+ authorizeUri?: string;
795
+ /**
796
+ * @generated from field: google.protobuf.StringValue token_uri = 4;
797
+ */
798
+ tokenUri?: string;
799
+ /**
800
+ * @generated from field: google.protobuf.StringValue user_info_uri = 5;
801
+ */
802
+ userInfoUri?: string;
803
+ /**
804
+ * @generated from field: google.protobuf.StringValue jwks_uri = 6;
805
+ */
806
+ jwksUri?: string;
807
+ /**
808
+ * @generated from field: google.protobuf.StringValue client_id = 8;
809
+ */
810
+ clientId?: string;
811
+ /**
812
+ * @generated from field: google.protobuf.StringValue client_secret = 9;
813
+ */
814
+ clientSecret?: string;
815
+ /**
816
+ * @generated from field: repeated scalekit.v1.connections.OIDCScope scopes = 10;
817
+ */
818
+ scopes: OIDCScope[];
819
+ /**
820
+ * @generated from field: scalekit.v1.connections.TokenAuthType token_auth_type = 11;
821
+ */
822
+ tokenAuthType: TokenAuthType;
823
+ /**
824
+ * @generated from field: string redirect_uri = 12;
825
+ */
826
+ redirectUri: string;
827
+ /**
828
+ * @generated from field: google.protobuf.BoolValue pkce_enabled = 13;
829
+ */
830
+ pkceEnabled?: boolean;
831
+ constructor(data?: PartialMessage<OIDCConnectionConfig>);
832
+ static readonly runtime: typeof proto3;
833
+ static readonly typeName = "scalekit.v1.connections.OIDCConnectionConfig";
834
+ static readonly fields: FieldList;
835
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OIDCConnectionConfig;
836
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OIDCConnectionConfig;
837
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OIDCConnectionConfig;
838
+ static equals(a: OIDCConnectionConfig | PlainMessage<OIDCConnectionConfig> | undefined, b: OIDCConnectionConfig | PlainMessage<OIDCConnectionConfig> | undefined): boolean;
839
+ }
840
+ /**
841
+ * @generated from message scalekit.v1.connections.SAMLConnectionConfigRequest
842
+ */
843
+ export declare class SAMLConnectionConfigRequest extends Message<SAMLConnectionConfigRequest> {
844
+ /**
845
+ * @generated from field: google.protobuf.StringValue idp_metadata_url = 1;
846
+ */
847
+ idpMetadataUrl?: string;
848
+ /**
849
+ * @generated from field: google.protobuf.StringValue idp_entity_id = 2;
850
+ */
851
+ idpEntityId?: string;
852
+ /**
853
+ * @generated from field: google.protobuf.StringValue idp_sso_url = 3;
854
+ */
855
+ idpSsoUrl?: string;
856
+ /**
857
+ * @generated from field: google.protobuf.StringValue idp_certificate = 4;
858
+ */
859
+ idpCertificate?: string;
860
+ /**
861
+ * @generated from field: google.protobuf.StringValue idp_slo_url = 5;
862
+ */
863
+ idpSloUrl?: string;
864
+ /**
865
+ * @generated from field: google.protobuf.StringValue ui_button_title = 6;
866
+ */
867
+ uiButtonTitle?: string;
868
+ /**
869
+ * @generated from field: scalekit.v1.connections.NameIdFormat idp_name_id_format = 7;
870
+ */
871
+ idpNameIdFormat: NameIdFormat;
872
+ /**
873
+ * @generated from field: scalekit.v1.connections.RequestBinding sso_request_binding = 8;
874
+ */
875
+ ssoRequestBinding: RequestBinding;
876
+ /**
877
+ * @generated from field: scalekit.v1.connections.RequestBinding slo_request_binding = 9;
878
+ */
879
+ sloRequestBinding: RequestBinding;
880
+ /**
881
+ * @generated from field: scalekit.v1.connections.SAMLSigningOptions saml_signing_option = 10;
882
+ */
883
+ samlSigningOption: SAMLSigningOptions;
884
+ /**
885
+ * @generated from field: google.protobuf.BoolValue allow_idp_initiated_login = 11;
886
+ */
887
+ allowIdpInitiatedLogin?: boolean;
888
+ /**
889
+ * @generated from field: google.protobuf.BoolValue force_authn = 12;
890
+ */
891
+ forceAuthn?: boolean;
892
+ /**
893
+ * @generated from field: google.protobuf.StringValue default_redirect_uri = 13;
894
+ */
895
+ defaultRedirectUri?: string;
896
+ /**
897
+ * @generated from field: google.protobuf.BoolValue assertion_encrypted = 14;
898
+ */
899
+ assertionEncrypted?: boolean;
900
+ /**
901
+ * @generated from field: google.protobuf.BoolValue want_request_signed = 15;
902
+ */
903
+ wantRequestSigned?: boolean;
904
+ constructor(data?: PartialMessage<SAMLConnectionConfigRequest>);
905
+ static readonly runtime: typeof proto3;
906
+ static readonly typeName = "scalekit.v1.connections.SAMLConnectionConfigRequest";
907
+ static readonly fields: FieldList;
908
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SAMLConnectionConfigRequest;
909
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SAMLConnectionConfigRequest;
910
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SAMLConnectionConfigRequest;
911
+ static equals(a: SAMLConnectionConfigRequest | PlainMessage<SAMLConnectionConfigRequest> | undefined, b: SAMLConnectionConfigRequest | PlainMessage<SAMLConnectionConfigRequest> | undefined): boolean;
912
+ }
913
+ /**
914
+ * @generated from message scalekit.v1.connections.SAMLConnectionConfigResponse
915
+ */
916
+ export declare class SAMLConnectionConfigResponse extends Message<SAMLConnectionConfigResponse> {
917
+ /**
918
+ * @generated from field: string sp_entity_id = 1;
919
+ */
920
+ spEntityId: string;
921
+ /**
922
+ * @generated from field: string sp_assertion_url = 2;
923
+ */
924
+ spAssertionUrl: string;
925
+ /**
926
+ * @generated from field: string sp_metadata_url = 3;
927
+ */
928
+ spMetadataUrl: string;
929
+ /**
930
+ * @generated from field: google.protobuf.StringValue idp_metadata_url = 4;
931
+ */
932
+ idpMetadataUrl?: string;
933
+ /**
934
+ * @generated from field: google.protobuf.StringValue idp_entity_id = 5;
935
+ */
936
+ idpEntityId?: string;
937
+ /**
938
+ * @generated from field: google.protobuf.StringValue idp_sso_url = 6;
939
+ */
940
+ idpSsoUrl?: string;
941
+ /**
942
+ * @generated from field: repeated scalekit.v1.connections.IDPCertificate idp_certificates = 7;
943
+ */
944
+ idpCertificates: IDPCertificate[];
945
+ /**
946
+ * @generated from field: google.protobuf.StringValue idp_slo_url = 8;
947
+ */
948
+ idpSloUrl?: string;
949
+ /**
950
+ * @generated from field: google.protobuf.StringValue ui_button_title = 9;
951
+ */
952
+ uiButtonTitle?: string;
953
+ /**
954
+ * @generated from field: scalekit.v1.connections.NameIdFormat idp_name_id_format = 10;
955
+ */
956
+ idpNameIdFormat: NameIdFormat;
957
+ /**
958
+ * @generated from field: scalekit.v1.connections.RequestBinding idp_sso_request_binding = 11;
959
+ */
960
+ idpSsoRequestBinding: RequestBinding;
961
+ /**
962
+ * @generated from field: scalekit.v1.connections.RequestBinding idp_slo_request_binding = 12;
963
+ */
964
+ idpSloRequestBinding: RequestBinding;
965
+ /**
966
+ * @generated from field: scalekit.v1.connections.SAMLSigningOptions saml_signing_option = 13;
967
+ */
968
+ samlSigningOption: SAMLSigningOptions;
969
+ /**
970
+ * @generated from field: google.protobuf.BoolValue allow_idp_initiated_login = 14;
971
+ */
972
+ allowIdpInitiatedLogin?: boolean;
973
+ /**
974
+ * @generated from field: google.protobuf.BoolValue force_authn = 15;
975
+ */
976
+ forceAuthn?: boolean;
977
+ /**
978
+ * @generated from field: google.protobuf.StringValue default_redirect_uri = 16;
979
+ */
980
+ defaultRedirectUri?: string;
981
+ /**
982
+ * @generated from field: google.protobuf.BoolValue assertion_encrypted = 17;
983
+ */
984
+ assertionEncrypted?: boolean;
985
+ /**
986
+ * @generated from field: google.protobuf.BoolValue want_request_signed = 18;
987
+ */
988
+ wantRequestSigned?: boolean;
989
+ constructor(data?: PartialMessage<SAMLConnectionConfigResponse>);
990
+ static readonly runtime: typeof proto3;
991
+ static readonly typeName = "scalekit.v1.connections.SAMLConnectionConfigResponse";
992
+ static readonly fields: FieldList;
993
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SAMLConnectionConfigResponse;
994
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SAMLConnectionConfigResponse;
995
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SAMLConnectionConfigResponse;
996
+ static equals(a: SAMLConnectionConfigResponse | PlainMessage<SAMLConnectionConfigResponse> | undefined, b: SAMLConnectionConfigResponse | PlainMessage<SAMLConnectionConfigResponse> | undefined): boolean;
997
+ }
998
+ /**
999
+ * @generated from message scalekit.v1.connections.IDPCertificate
1000
+ */
1001
+ export declare class IDPCertificate extends Message<IDPCertificate> {
1002
+ /**
1003
+ * @generated from field: string certificate = 1;
1004
+ */
1005
+ certificate: string;
1006
+ /**
1007
+ * @generated from field: google.protobuf.Timestamp create_time = 2;
1008
+ */
1009
+ createTime?: Timestamp;
1010
+ /**
1011
+ * @generated from field: google.protobuf.Timestamp expiry_time = 3;
1012
+ */
1013
+ expiryTime?: Timestamp;
1014
+ /**
1015
+ * @generated from field: string id = 4;
1016
+ */
1017
+ id: string;
1018
+ /**
1019
+ * @generated from field: string issuer = 5;
1020
+ */
1021
+ issuer: string;
1022
+ constructor(data?: PartialMessage<IDPCertificate>);
1023
+ static readonly runtime: typeof proto3;
1024
+ static readonly typeName = "scalekit.v1.connections.IDPCertificate";
1025
+ static readonly fields: FieldList;
1026
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IDPCertificate;
1027
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IDPCertificate;
1028
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IDPCertificate;
1029
+ static equals(a: IDPCertificate | PlainMessage<IDPCertificate> | undefined, b: IDPCertificate | PlainMessage<IDPCertificate> | undefined): boolean;
1030
+ }
1031
+ /**
1032
+ * @generated from message scalekit.v1.connections.GetOIDCMetadataRequest
1033
+ */
1034
+ export declare class GetOIDCMetadataRequest extends Message<GetOIDCMetadataRequest> {
1035
+ /**
1036
+ * @generated from field: scalekit.v1.connections.OIDCMetadataRequest metadata = 1;
1037
+ */
1038
+ metadata?: OIDCMetadataRequest;
1039
+ constructor(data?: PartialMessage<GetOIDCMetadataRequest>);
1040
+ static readonly runtime: typeof proto3;
1041
+ static readonly typeName = "scalekit.v1.connections.GetOIDCMetadataRequest";
1042
+ static readonly fields: FieldList;
1043
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOIDCMetadataRequest;
1044
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOIDCMetadataRequest;
1045
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOIDCMetadataRequest;
1046
+ static equals(a: GetOIDCMetadataRequest | PlainMessage<GetOIDCMetadataRequest> | undefined, b: GetOIDCMetadataRequest | PlainMessage<GetOIDCMetadataRequest> | undefined): boolean;
1047
+ }
1048
+ /**
1049
+ * @generated from message scalekit.v1.connections.OIDCMetadataRequest
1050
+ */
1051
+ export declare class OIDCMetadataRequest extends Message<OIDCMetadataRequest> {
1052
+ /**
1053
+ * @generated from field: string issuer = 1;
1054
+ */
1055
+ issuer: string;
1056
+ constructor(data?: PartialMessage<OIDCMetadataRequest>);
1057
+ static readonly runtime: typeof proto3;
1058
+ static readonly typeName = "scalekit.v1.connections.OIDCMetadataRequest";
1059
+ static readonly fields: FieldList;
1060
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OIDCMetadataRequest;
1061
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OIDCMetadataRequest;
1062
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OIDCMetadataRequest;
1063
+ static equals(a: OIDCMetadataRequest | PlainMessage<OIDCMetadataRequest> | undefined, b: OIDCMetadataRequest | PlainMessage<OIDCMetadataRequest> | undefined): boolean;
1064
+ }
1065
+ /**
1066
+ * @generated from message scalekit.v1.connections.GetOIDCMetadataResponse
1067
+ */
1068
+ export declare class GetOIDCMetadataResponse extends Message<GetOIDCMetadataResponse> {
1069
+ /**
1070
+ * @generated from field: string issuer = 1;
1071
+ */
1072
+ issuer: string;
1073
+ /**
1074
+ * @generated from field: string authorization_endpoint = 2;
1075
+ */
1076
+ authorizationEndpoint: string;
1077
+ /**
1078
+ * @generated from field: string token_endpoint = 3;
1079
+ */
1080
+ tokenEndpoint: string;
1081
+ /**
1082
+ * @generated from field: string userinfo_endpoint = 4;
1083
+ */
1084
+ userinfoEndpoint: string;
1085
+ /**
1086
+ * @generated from field: string jwks_uri = 5;
1087
+ */
1088
+ jwksUri: string;
1089
+ constructor(data?: PartialMessage<GetOIDCMetadataResponse>);
1090
+ static readonly runtime: typeof proto3;
1091
+ static readonly typeName = "scalekit.v1.connections.GetOIDCMetadataResponse";
1092
+ static readonly fields: FieldList;
1093
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOIDCMetadataResponse;
1094
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOIDCMetadataResponse;
1095
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOIDCMetadataResponse;
1096
+ static equals(a: GetOIDCMetadataResponse | PlainMessage<GetOIDCMetadataResponse> | undefined, b: GetOIDCMetadataResponse | PlainMessage<GetOIDCMetadataResponse> | undefined): boolean;
1097
+ }
1098
+ /**
1099
+ * @generated from message scalekit.v1.connections.GetSAMLMetadataRequest
1100
+ */
1101
+ export declare class GetSAMLMetadataRequest extends Message<GetSAMLMetadataRequest> {
1102
+ /**
1103
+ * @generated from field: scalekit.v1.connections.SAMLMetadataRequest metadata = 1;
1104
+ */
1105
+ metadata?: SAMLMetadataRequest;
1106
+ constructor(data?: PartialMessage<GetSAMLMetadataRequest>);
1107
+ static readonly runtime: typeof proto3;
1108
+ static readonly typeName = "scalekit.v1.connections.GetSAMLMetadataRequest";
1109
+ static readonly fields: FieldList;
1110
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSAMLMetadataRequest;
1111
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSAMLMetadataRequest;
1112
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSAMLMetadataRequest;
1113
+ static equals(a: GetSAMLMetadataRequest | PlainMessage<GetSAMLMetadataRequest> | undefined, b: GetSAMLMetadataRequest | PlainMessage<GetSAMLMetadataRequest> | undefined): boolean;
1114
+ }
1115
+ /**
1116
+ * @generated from message scalekit.v1.connections.SAMLMetadataRequest
1117
+ */
1118
+ export declare class SAMLMetadataRequest extends Message<SAMLMetadataRequest> {
1119
+ /**
1120
+ * @generated from field: string metadata_url = 1;
1121
+ */
1122
+ metadataUrl: string;
1123
+ constructor(data?: PartialMessage<SAMLMetadataRequest>);
1124
+ static readonly runtime: typeof proto3;
1125
+ static readonly typeName = "scalekit.v1.connections.SAMLMetadataRequest";
1126
+ static readonly fields: FieldList;
1127
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SAMLMetadataRequest;
1128
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SAMLMetadataRequest;
1129
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SAMLMetadataRequest;
1130
+ static equals(a: SAMLMetadataRequest | PlainMessage<SAMLMetadataRequest> | undefined, b: SAMLMetadataRequest | PlainMessage<SAMLMetadataRequest> | undefined): boolean;
1131
+ }
1132
+ /**
1133
+ * @generated from message scalekit.v1.connections.GetSAMLMetadataResponse
1134
+ */
1135
+ export declare class GetSAMLMetadataResponse extends Message<GetSAMLMetadataResponse> {
1136
+ /**
1137
+ * @generated from field: string idp_entity_id = 1;
1138
+ */
1139
+ idpEntityId: string;
1140
+ /**
1141
+ * @generated from field: string idp_sso_url = 2;
1142
+ */
1143
+ idpSsoUrl: string;
1144
+ /**
1145
+ * @generated from field: string idp_slo_url = 3;
1146
+ */
1147
+ idpSloUrl: string;
1148
+ /**
1149
+ * @generated from field: repeated string idp_certificates = 4;
1150
+ */
1151
+ idpCertificates: string[];
1152
+ /**
1153
+ * @generated from field: string idp_name_id_format = 5;
1154
+ */
1155
+ idpNameIdFormat: string;
1156
+ /**
1157
+ * @generated from field: string request_binding = 6;
1158
+ */
1159
+ requestBinding: string;
1160
+ /**
1161
+ * @generated from field: bool want_assertions_signed = 7;
1162
+ */
1163
+ wantAssertionsSigned: boolean;
1164
+ constructor(data?: PartialMessage<GetSAMLMetadataResponse>);
1165
+ static readonly runtime: typeof proto3;
1166
+ static readonly typeName = "scalekit.v1.connections.GetSAMLMetadataResponse";
1167
+ static readonly fields: FieldList;
1168
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSAMLMetadataResponse;
1169
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSAMLMetadataResponse;
1170
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSAMLMetadataResponse;
1171
+ static equals(a: GetSAMLMetadataResponse | PlainMessage<GetSAMLMetadataResponse> | undefined, b: GetSAMLMetadataResponse | PlainMessage<GetSAMLMetadataResponse> | undefined): boolean;
1172
+ }
1173
+ /**
1174
+ * @generated from message scalekit.v1.connections.GetSAMLCertificateDetailsRequest
1175
+ */
1176
+ export declare class GetSAMLCertificateDetailsRequest extends Message<GetSAMLCertificateDetailsRequest> {
1177
+ /**
1178
+ * @generated from field: scalekit.v1.connections.SAMLCertificateRequest certificate = 1;
1179
+ */
1180
+ certificate?: SAMLCertificateRequest;
1181
+ constructor(data?: PartialMessage<GetSAMLCertificateDetailsRequest>);
1182
+ static readonly runtime: typeof proto3;
1183
+ static readonly typeName = "scalekit.v1.connections.GetSAMLCertificateDetailsRequest";
1184
+ static readonly fields: FieldList;
1185
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSAMLCertificateDetailsRequest;
1186
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSAMLCertificateDetailsRequest;
1187
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSAMLCertificateDetailsRequest;
1188
+ static equals(a: GetSAMLCertificateDetailsRequest | PlainMessage<GetSAMLCertificateDetailsRequest> | undefined, b: GetSAMLCertificateDetailsRequest | PlainMessage<GetSAMLCertificateDetailsRequest> | undefined): boolean;
1189
+ }
1190
+ /**
1191
+ * @generated from message scalekit.v1.connections.SAMLCertificateRequest
1192
+ */
1193
+ export declare class SAMLCertificateRequest extends Message<SAMLCertificateRequest> {
1194
+ /**
1195
+ * @generated from field: string text = 1;
1196
+ */
1197
+ text: string;
1198
+ constructor(data?: PartialMessage<SAMLCertificateRequest>);
1199
+ static readonly runtime: typeof proto3;
1200
+ static readonly typeName = "scalekit.v1.connections.SAMLCertificateRequest";
1201
+ static readonly fields: FieldList;
1202
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SAMLCertificateRequest;
1203
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SAMLCertificateRequest;
1204
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SAMLCertificateRequest;
1205
+ static equals(a: SAMLCertificateRequest | PlainMessage<SAMLCertificateRequest> | undefined, b: SAMLCertificateRequest | PlainMessage<SAMLCertificateRequest> | undefined): boolean;
1206
+ }
1207
+ /**
1208
+ * @generated from message scalekit.v1.connections.GetSAMLCertificateDetailsResponse
1209
+ */
1210
+ export declare class GetSAMLCertificateDetailsResponse extends Message<GetSAMLCertificateDetailsResponse> {
1211
+ /**
1212
+ * @generated from field: string text = 1;
1213
+ */
1214
+ text: string;
1215
+ /**
1216
+ * @generated from field: int64 not_after = 2;
1217
+ */
1218
+ notAfter: bigint;
1219
+ /**
1220
+ * @generated from field: int64 not_before = 3;
1221
+ */
1222
+ notBefore: bigint;
1223
+ /**
1224
+ * @generated from field: string subject = 4;
1225
+ */
1226
+ subject: string;
1227
+ /**
1228
+ * @generated from field: string issuer = 5;
1229
+ */
1230
+ issuer: string;
1231
+ constructor(data?: PartialMessage<GetSAMLCertificateDetailsResponse>);
1232
+ static readonly runtime: typeof proto3;
1233
+ static readonly typeName = "scalekit.v1.connections.GetSAMLCertificateDetailsResponse";
1234
+ static readonly fields: FieldList;
1235
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSAMLCertificateDetailsResponse;
1236
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSAMLCertificateDetailsResponse;
1237
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSAMLCertificateDetailsResponse;
1238
+ static equals(a: GetSAMLCertificateDetailsResponse | PlainMessage<GetSAMLCertificateDetailsResponse> | undefined, b: GetSAMLCertificateDetailsResponse | PlainMessage<GetSAMLCertificateDetailsResponse> | undefined): boolean;
1239
+ }
1240
+ /**
1241
+ * @generated from message scalekit.v1.connections.PasswordConnectionConfig
1242
+ */
1243
+ export declare class PasswordConnectionConfig extends Message<PasswordConnectionConfig> {
1244
+ constructor(data?: PartialMessage<PasswordConnectionConfig>);
1245
+ static readonly runtime: typeof proto3;
1246
+ static readonly typeName = "scalekit.v1.connections.PasswordConnectionConfig";
1247
+ static readonly fields: FieldList;
1248
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PasswordConnectionConfig;
1249
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PasswordConnectionConfig;
1250
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PasswordConnectionConfig;
1251
+ static equals(a: PasswordConnectionConfig | PlainMessage<PasswordConnectionConfig> | undefined, b: PasswordConnectionConfig | PlainMessage<PasswordConnectionConfig> | undefined): boolean;
1252
+ }