@scalekit-sdk/node 2.1.7 → 2.1.8
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.
- package/buf.gen.yaml +1 -0
- package/lib/auth.d.ts +41 -9
- package/lib/auth.js +44 -12
- package/lib/auth.js.map +1 -1
- package/lib/connection.d.ts +195 -21
- package/lib/connection.js +197 -23
- package/lib/connection.js.map +1 -1
- package/lib/core.d.ts +2 -2
- package/lib/core.js +13 -12
- package/lib/core.js.map +1 -1
- package/lib/directory.d.ts +293 -40
- package/lib/directory.js +308 -44
- package/lib/directory.js.map +1 -1
- package/lib/domain.d.ts +166 -18
- package/lib/domain.js +178 -29
- package/lib/domain.js.map +1 -1
- package/lib/organization.d.ts +404 -44
- package/lib/organization.js +419 -54
- package/lib/organization.js.map +1 -1
- package/lib/permission.d.ts +179 -35
- package/lib/permission.js +190 -38
- package/lib/permission.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/auth/auth_connect.d.ts +3 -3
- package/lib/pkg/grpc/scalekit/v1/auth/auth_connect.js +2 -2
- package/lib/pkg/grpc/scalekit/v1/auth/auth_connect.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/auth/auth_pb.d.ts +16 -16
- package/lib/pkg/grpc/scalekit/v1/auth/auth_pb.js +21 -21
- package/lib/pkg/grpc/scalekit/v1/auth/auth_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/auth/webauthn_connect.d.ts +82 -0
- package/lib/pkg/grpc/scalekit/v1/auth/webauthn_connect.js +90 -0
- package/lib/pkg/grpc/scalekit/v1/auth/webauthn_connect.js.map +1 -0
- package/lib/pkg/grpc/scalekit/v1/auth/webauthn_pb.d.ts +647 -0
- package/lib/pkg/grpc/scalekit/v1/auth/webauthn_pb.js +993 -0
- package/lib/pkg/grpc/scalekit/v1/auth/webauthn_pb.js.map +1 -0
- package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.d.ts +142 -0
- package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.js +165 -1
- package/lib/pkg/grpc/scalekit/v1/commons/commons_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.d.ts +1 -10
- package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.js +0 -9
- package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.d.ts +28 -63
- package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.js +9 -90
- package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/users/users_pb.d.ts +2 -2
- package/lib/pkg/grpc/scalekit/v1/users/users_pb.js +1 -1
- package/lib/pkg/grpc/scalekit/v1/users/users_pb.js.map +1 -1
- package/lib/role.d.ts +252 -56
- package/lib/role.js +262 -62
- package/lib/role.js.map +1 -1
- package/lib/scalekit.d.ts +323 -54
- package/lib/scalekit.js +354 -76
- package/lib/scalekit.js.map +1 -1
- package/lib/session.d.ts +235 -22
- package/lib/session.js +237 -24
- package/lib/session.js.map +1 -1
- package/lib/user.d.ts +571 -53
- package/lib/user.js +598 -89
- package/lib/user.js.map +1 -1
- package/lib/webauthn.d.ts +33 -0
- package/lib/webauthn.js +80 -0
- package/lib/webauthn.js.map +1 -0
- package/package.json +2 -2
- package/src/auth.ts +53 -19
- package/src/connection.ts +237 -62
- package/src/core.ts +39 -33
- package/src/directory.ts +356 -98
- package/src/domain.ts +215 -68
- package/src/organization.ts +490 -112
- package/src/permission.ts +234 -88
- package/src/pkg/grpc/scalekit/v1/auth/auth_connect.ts +3 -3
- package/src/pkg/grpc/scalekit/v1/auth/auth_pb.ts +24 -24
- package/src/pkg/grpc/scalekit/v1/auth/webauthn_connect.ts +89 -0
- package/src/pkg/grpc/scalekit/v1/auth/webauthn_pb.ts +1263 -0
- package/src/pkg/grpc/scalekit/v1/commons/commons_pb.ts +217 -0
- package/src/pkg/grpc/scalekit/v1/connections/connections_connect.ts +1 -10
- package/src/pkg/grpc/scalekit/v1/connections/connections_pb.ts +42 -129
- package/src/pkg/grpc/scalekit/v1/users/users_pb.ts +3 -3
- package/src/role.ts +336 -136
- package/src/scalekit.ts +478 -149
- package/src/session.ts +266 -63
- package/src/user.ts +675 -168
- package/src/webauthn.ts +98 -0
|
@@ -331,61 +331,6 @@ export declare enum ConnectionProvider {
|
|
|
331
331
|
*/
|
|
332
332
|
ADFS = 16
|
|
333
333
|
}
|
|
334
|
-
/**
|
|
335
|
-
* @generated from message scalekit.v1.connections.UpdateConnectionUserManagementSettingsRequest
|
|
336
|
-
*/
|
|
337
|
-
export declare class UpdateConnectionUserManagementSettingsRequest extends Message<UpdateConnectionUserManagementSettingsRequest> {
|
|
338
|
-
/**
|
|
339
|
-
* @generated from field: string connection_id = 1;
|
|
340
|
-
*/
|
|
341
|
-
connectionId: string;
|
|
342
|
-
/**
|
|
343
|
-
* @generated from field: scalekit.v1.connections.ConnectionUserManagementSettings settings = 2;
|
|
344
|
-
*/
|
|
345
|
-
settings?: ConnectionUserManagementSettings;
|
|
346
|
-
constructor(data?: PartialMessage<UpdateConnectionUserManagementSettingsRequest>);
|
|
347
|
-
static readonly runtime: typeof proto3;
|
|
348
|
-
static readonly typeName = "scalekit.v1.connections.UpdateConnectionUserManagementSettingsRequest";
|
|
349
|
-
static readonly fields: FieldList;
|
|
350
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateConnectionUserManagementSettingsRequest;
|
|
351
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateConnectionUserManagementSettingsRequest;
|
|
352
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateConnectionUserManagementSettingsRequest;
|
|
353
|
-
static equals(a: UpdateConnectionUserManagementSettingsRequest | PlainMessage<UpdateConnectionUserManagementSettingsRequest> | undefined, b: UpdateConnectionUserManagementSettingsRequest | PlainMessage<UpdateConnectionUserManagementSettingsRequest> | undefined): boolean;
|
|
354
|
-
}
|
|
355
|
-
/**
|
|
356
|
-
* @generated from message scalekit.v1.connections.ConnectionUserManagementSettings
|
|
357
|
-
*/
|
|
358
|
-
export declare class ConnectionUserManagementSettings extends Message<ConnectionUserManagementSettings> {
|
|
359
|
-
/**
|
|
360
|
-
* @generated from field: google.protobuf.BoolValue sync_user_profile_on_signin = 1;
|
|
361
|
-
*/
|
|
362
|
-
syncUserProfileOnSignin?: boolean;
|
|
363
|
-
constructor(data?: PartialMessage<ConnectionUserManagementSettings>);
|
|
364
|
-
static readonly runtime: typeof proto3;
|
|
365
|
-
static readonly typeName = "scalekit.v1.connections.ConnectionUserManagementSettings";
|
|
366
|
-
static readonly fields: FieldList;
|
|
367
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ConnectionUserManagementSettings;
|
|
368
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ConnectionUserManagementSettings;
|
|
369
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ConnectionUserManagementSettings;
|
|
370
|
-
static equals(a: ConnectionUserManagementSettings | PlainMessage<ConnectionUserManagementSettings> | undefined, b: ConnectionUserManagementSettings | PlainMessage<ConnectionUserManagementSettings> | undefined): boolean;
|
|
371
|
-
}
|
|
372
|
-
/**
|
|
373
|
-
* @generated from message scalekit.v1.connections.UpdateConnectionUserManagementSettingsResponse
|
|
374
|
-
*/
|
|
375
|
-
export declare class UpdateConnectionUserManagementSettingsResponse extends Message<UpdateConnectionUserManagementSettingsResponse> {
|
|
376
|
-
/**
|
|
377
|
-
* @generated from field: scalekit.v1.connections.ConnectionUserManagementSettings settings = 1;
|
|
378
|
-
*/
|
|
379
|
-
settings?: ConnectionUserManagementSettings;
|
|
380
|
-
constructor(data?: PartialMessage<UpdateConnectionUserManagementSettingsResponse>);
|
|
381
|
-
static readonly runtime: typeof proto3;
|
|
382
|
-
static readonly typeName = "scalekit.v1.connections.UpdateConnectionUserManagementSettingsResponse";
|
|
383
|
-
static readonly fields: FieldList;
|
|
384
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateConnectionUserManagementSettingsResponse;
|
|
385
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateConnectionUserManagementSettingsResponse;
|
|
386
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateConnectionUserManagementSettingsResponse;
|
|
387
|
-
static equals(a: UpdateConnectionUserManagementSettingsResponse | PlainMessage<UpdateConnectionUserManagementSettingsResponse> | undefined, b: UpdateConnectionUserManagementSettingsResponse | PlainMessage<UpdateConnectionUserManagementSettingsResponse> | undefined): boolean;
|
|
388
|
-
}
|
|
389
334
|
/**
|
|
390
335
|
* @generated from message scalekit.v1.connections.AssignDomainsToConnectionRequest
|
|
391
336
|
*/
|
|
@@ -667,10 +612,6 @@ export declare class Connection extends Message<Connection> {
|
|
|
667
612
|
* @generated from field: repeated scalekit.v1.domains.Domain domains = 24;
|
|
668
613
|
*/
|
|
669
614
|
domains: Domain[];
|
|
670
|
-
/**
|
|
671
|
-
* @generated from field: google.protobuf.BoolValue sync_user_profile_on_signin = 28;
|
|
672
|
-
*/
|
|
673
|
-
syncUserProfileOnSignin?: boolean;
|
|
674
615
|
constructor(data?: PartialMessage<Connection>);
|
|
675
616
|
static readonly runtime: typeof proto3;
|
|
676
617
|
static readonly typeName = "scalekit.v1.connections.Connection";
|
|
@@ -824,10 +765,6 @@ export declare class UpdateConnection extends Message<UpdateConnection> {
|
|
|
824
765
|
* @generated from field: string provider_key = 21;
|
|
825
766
|
*/
|
|
826
767
|
providerKey: string;
|
|
827
|
-
/**
|
|
828
|
-
* @generated from field: google.protobuf.BoolValue sync_user_profile_on_signin = 25;
|
|
829
|
-
*/
|
|
830
|
-
syncUserProfileOnSignin?: boolean;
|
|
831
768
|
constructor(data?: PartialMessage<UpdateConnection>);
|
|
832
769
|
static readonly runtime: typeof proto3;
|
|
833
770
|
static readonly typeName = "scalekit.v1.connections.UpdateConnection";
|
|
@@ -1293,6 +1230,14 @@ export declare class OIDCConnectionConfig extends Message<OIDCConnectionConfig>
|
|
|
1293
1230
|
* @generated from field: google.protobuf.StringValue backchannel_logout_redirect_uri = 16;
|
|
1294
1231
|
*/
|
|
1295
1232
|
backchannelLogoutRedirectUri?: string;
|
|
1233
|
+
/**
|
|
1234
|
+
* @generated from field: google.protobuf.BoolValue sync_user_profile_on_login = 17;
|
|
1235
|
+
*/
|
|
1236
|
+
syncUserProfileOnLogin?: boolean;
|
|
1237
|
+
/**
|
|
1238
|
+
* @generated from field: google.protobuf.BoolValue jit_provisioning_with_sso_enabled = 18;
|
|
1239
|
+
*/
|
|
1240
|
+
jitProvisioningWithSsoEnabled?: boolean;
|
|
1296
1241
|
constructor(data?: PartialMessage<OIDCConnectionConfig>);
|
|
1297
1242
|
static readonly runtime: typeof proto3;
|
|
1298
1243
|
static readonly typeName = "scalekit.v1.connections.OIDCConnectionConfig";
|
|
@@ -1354,6 +1299,10 @@ export declare class OAuthConnectionConfig extends Message<OAuthConnectionConfig
|
|
|
1354
1299
|
* @generated from field: google.protobuf.StringValue custom_scope_name = 17;
|
|
1355
1300
|
*/
|
|
1356
1301
|
customScopeName?: string;
|
|
1302
|
+
/**
|
|
1303
|
+
* @generated from field: google.protobuf.BoolValue sync_user_profile_on_login = 18;
|
|
1304
|
+
*/
|
|
1305
|
+
syncUserProfileOnLogin?: boolean;
|
|
1357
1306
|
constructor(data?: PartialMessage<OAuthConnectionConfig>);
|
|
1358
1307
|
static readonly runtime: typeof proto3;
|
|
1359
1308
|
static readonly typeName = "scalekit.v1.connections.OAuthConnectionConfig";
|
|
@@ -1697,6 +1646,14 @@ export declare class SAMLConnectionConfigRequest extends Message<SAMLConnectionC
|
|
|
1697
1646
|
* @generated from field: google.protobuf.StringValue sp_slo_url = 22;
|
|
1698
1647
|
*/
|
|
1699
1648
|
spSloUrl?: string;
|
|
1649
|
+
/**
|
|
1650
|
+
* @generated from field: google.protobuf.BoolValue sync_user_profile_on_login = 23;
|
|
1651
|
+
*/
|
|
1652
|
+
syncUserProfileOnLogin?: boolean;
|
|
1653
|
+
/**
|
|
1654
|
+
* @generated from field: google.protobuf.BoolValue jit_provisioning_with_sso_enabled = 24;
|
|
1655
|
+
*/
|
|
1656
|
+
jitProvisioningWithSsoEnabled?: boolean;
|
|
1700
1657
|
constructor(data?: PartialMessage<SAMLConnectionConfigRequest>);
|
|
1701
1658
|
static readonly runtime: typeof proto3;
|
|
1702
1659
|
static readonly typeName = "scalekit.v1.connections.SAMLConnectionConfigRequest";
|
|
@@ -1794,6 +1751,14 @@ export declare class SAMLConnectionConfigResponse extends Message<SAMLConnection
|
|
|
1794
1751
|
* @generated from field: google.protobuf.StringValue sp_slo_url = 21;
|
|
1795
1752
|
*/
|
|
1796
1753
|
spSloUrl?: string;
|
|
1754
|
+
/**
|
|
1755
|
+
* @generated from field: google.protobuf.BoolValue sync_user_profile_on_login = 22;
|
|
1756
|
+
*/
|
|
1757
|
+
syncUserProfileOnLogin?: boolean;
|
|
1758
|
+
/**
|
|
1759
|
+
* @generated from field: google.protobuf.BoolValue jit_provisioning_with_sso_enabled = 23;
|
|
1760
|
+
*/
|
|
1761
|
+
jitProvisioningWithSsoEnabled?: boolean;
|
|
1797
1762
|
constructor(data?: PartialMessage<SAMLConnectionConfigResponse>);
|
|
1798
1763
|
static readonly runtime: typeof proto3;
|
|
1799
1764
|
static readonly typeName = "scalekit.v1.connections.SAMLConnectionConfigResponse";
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
// @ts-nocheck
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.WebAuthConfiguration_Rp = exports.WebAuthConfiguration = exports.StaticAuthConfig = exports.PasswordLessConfig = exports.OAuthConnectionConfig = exports.OIDCConnectionConfig = exports.ToggleConnectionResponse = exports.ToggleConnectionRequest = exports.ToggleEnvironmentConnectionRequest = exports.SearchOrganizationConnectionsResponse = exports.SearchOrganizationConnectionsRequest = exports.ListOrganizationConnectionsResponse = exports.ListOrganizationConnectionsRequest = exports.ListConnection = exports.ListConnectionsResponse = exports.ListConnectionsRequest = exports.GetConnectionResponse = exports.GetConnectionRequest = exports.GetEnvironmentConnectionRequest = exports.DeleteConnectionRequest = exports.DeleteEnvironmentConnectionRequest = exports.UpdateConnectionResponse = exports.UpdateConnection = exports.UpdateConnectionRequest = exports.UpdateEnvironmentConnectionRequest = exports.CreateConnectionResponse = exports.Connection = exports.CreateConnection = exports.CreateConnectionRequest = exports.CreateEnvironmentConnectionRequest = exports.Provider = exports.GetProvidersResponse = exports.GetProvidersRequest = exports.AssignDomainsToConnectionResponse = exports.AssignDomainsToConnectionRequest = exports.
|
|
8
|
-
exports.ListAppConnectionsResponse = exports.ListAppConnectionsRequest = exports.Flags = exports.PasswordConnectionConfig = exports.GetConnectionTestResultResponse = exports.GetConnectionTestResultRequest = exports.GetSAMLCertificateDetailsResponse = exports.SAMLCertificateRequest = exports.GetSAMLCertificateDetailsRequest = exports.GetSAMLMetadataResponse = exports.SAMLMetadataRequest = exports.GetSAMLMetadataRequest = exports.GetOIDCMetadataResponse = exports.OIDCMetadataRequest = exports.GetOIDCMetadataRequest = exports.IDPCertificate = exports.SAMLConnectionConfigResponse = exports.SAMLConnectionConfigRequest = exports.WebAuthConfiguration_Timeout =
|
|
7
|
+
exports.WebAuthConfiguration_AuthenticatorSelection = exports.WebAuthConfiguration_Authenticators = exports.WebAuthConfiguration_Attestation = exports.WebAuthConfiguration_Rp = exports.WebAuthConfiguration = exports.StaticAuthConfig = exports.PasswordLessConfig = exports.OAuthConnectionConfig = exports.OIDCConnectionConfig = exports.ToggleConnectionResponse = exports.ToggleConnectionRequest = exports.ToggleEnvironmentConnectionRequest = exports.SearchOrganizationConnectionsResponse = exports.SearchOrganizationConnectionsRequest = exports.ListOrganizationConnectionsResponse = exports.ListOrganizationConnectionsRequest = exports.ListConnection = exports.ListConnectionsResponse = exports.ListConnectionsRequest = exports.GetConnectionResponse = exports.GetConnectionRequest = exports.GetEnvironmentConnectionRequest = exports.DeleteConnectionRequest = exports.DeleteEnvironmentConnectionRequest = exports.UpdateConnectionResponse = exports.UpdateConnection = exports.UpdateConnectionRequest = exports.UpdateEnvironmentConnectionRequest = exports.CreateConnectionResponse = exports.Connection = exports.CreateConnection = exports.CreateConnectionRequest = exports.CreateEnvironmentConnectionRequest = exports.Provider = exports.GetProvidersResponse = exports.GetProvidersRequest = exports.AssignDomainsToConnectionResponse = exports.AssignDomainsToConnectionRequest = exports.ConnectionProvider = exports.ConnectionStatus = exports.ConnectionType = exports.OIDCScope = exports.TokenAuthType = exports.RequestBinding = exports.SAMLSigningOptions = exports.TestResultStatus = exports.PasswordlessType = exports.NameIdFormat = exports.ConfigurationType = exports.CodeChallengeType = void 0;
|
|
8
|
+
exports.ListAppConnectionsResponse = exports.ListAppConnectionsRequest = exports.Flags = exports.PasswordConnectionConfig = exports.GetConnectionTestResultResponse = exports.GetConnectionTestResultRequest = exports.GetSAMLCertificateDetailsResponse = exports.SAMLCertificateRequest = exports.GetSAMLCertificateDetailsRequest = exports.GetSAMLMetadataResponse = exports.SAMLMetadataRequest = exports.GetSAMLMetadataRequest = exports.GetOIDCMetadataResponse = exports.OIDCMetadataRequest = exports.GetOIDCMetadataRequest = exports.IDPCertificate = exports.SAMLConnectionConfigResponse = exports.SAMLConnectionConfigRequest = exports.WebAuthConfiguration_Timeout = void 0;
|
|
9
9
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
10
10
|
const domains_pb_js_1 = require("../domains/domains_pb.js");
|
|
11
11
|
/**
|
|
@@ -453,92 +453,6 @@ protobuf_1.proto3.util.setEnumType(ConnectionProvider, "scalekit.v1.connections.
|
|
|
453
453
|
{ no: 15, name: "SCALEKIT" },
|
|
454
454
|
{ no: 16, name: "ADFS" },
|
|
455
455
|
]);
|
|
456
|
-
/**
|
|
457
|
-
* @generated from message scalekit.v1.connections.UpdateConnectionUserManagementSettingsRequest
|
|
458
|
-
*/
|
|
459
|
-
class UpdateConnectionUserManagementSettingsRequest extends protobuf_1.Message {
|
|
460
|
-
constructor(data) {
|
|
461
|
-
super();
|
|
462
|
-
/**
|
|
463
|
-
* @generated from field: string connection_id = 1;
|
|
464
|
-
*/
|
|
465
|
-
this.connectionId = "";
|
|
466
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
467
|
-
}
|
|
468
|
-
static fromBinary(bytes, options) {
|
|
469
|
-
return new UpdateConnectionUserManagementSettingsRequest().fromBinary(bytes, options);
|
|
470
|
-
}
|
|
471
|
-
static fromJson(jsonValue, options) {
|
|
472
|
-
return new UpdateConnectionUserManagementSettingsRequest().fromJson(jsonValue, options);
|
|
473
|
-
}
|
|
474
|
-
static fromJsonString(jsonString, options) {
|
|
475
|
-
return new UpdateConnectionUserManagementSettingsRequest().fromJsonString(jsonString, options);
|
|
476
|
-
}
|
|
477
|
-
static equals(a, b) {
|
|
478
|
-
return protobuf_1.proto3.util.equals(UpdateConnectionUserManagementSettingsRequest, a, b);
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
exports.UpdateConnectionUserManagementSettingsRequest = UpdateConnectionUserManagementSettingsRequest;
|
|
482
|
-
UpdateConnectionUserManagementSettingsRequest.runtime = protobuf_1.proto3;
|
|
483
|
-
UpdateConnectionUserManagementSettingsRequest.typeName = "scalekit.v1.connections.UpdateConnectionUserManagementSettingsRequest";
|
|
484
|
-
UpdateConnectionUserManagementSettingsRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
485
|
-
{ no: 1, name: "connection_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
486
|
-
{ no: 2, name: "settings", kind: "message", T: ConnectionUserManagementSettings },
|
|
487
|
-
]);
|
|
488
|
-
/**
|
|
489
|
-
* @generated from message scalekit.v1.connections.ConnectionUserManagementSettings
|
|
490
|
-
*/
|
|
491
|
-
class ConnectionUserManagementSettings extends protobuf_1.Message {
|
|
492
|
-
constructor(data) {
|
|
493
|
-
super();
|
|
494
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
495
|
-
}
|
|
496
|
-
static fromBinary(bytes, options) {
|
|
497
|
-
return new ConnectionUserManagementSettings().fromBinary(bytes, options);
|
|
498
|
-
}
|
|
499
|
-
static fromJson(jsonValue, options) {
|
|
500
|
-
return new ConnectionUserManagementSettings().fromJson(jsonValue, options);
|
|
501
|
-
}
|
|
502
|
-
static fromJsonString(jsonString, options) {
|
|
503
|
-
return new ConnectionUserManagementSettings().fromJsonString(jsonString, options);
|
|
504
|
-
}
|
|
505
|
-
static equals(a, b) {
|
|
506
|
-
return protobuf_1.proto3.util.equals(ConnectionUserManagementSettings, a, b);
|
|
507
|
-
}
|
|
508
|
-
}
|
|
509
|
-
exports.ConnectionUserManagementSettings = ConnectionUserManagementSettings;
|
|
510
|
-
ConnectionUserManagementSettings.runtime = protobuf_1.proto3;
|
|
511
|
-
ConnectionUserManagementSettings.typeName = "scalekit.v1.connections.ConnectionUserManagementSettings";
|
|
512
|
-
ConnectionUserManagementSettings.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
513
|
-
{ no: 1, name: "sync_user_profile_on_signin", kind: "message", T: protobuf_1.BoolValue },
|
|
514
|
-
]);
|
|
515
|
-
/**
|
|
516
|
-
* @generated from message scalekit.v1.connections.UpdateConnectionUserManagementSettingsResponse
|
|
517
|
-
*/
|
|
518
|
-
class UpdateConnectionUserManagementSettingsResponse extends protobuf_1.Message {
|
|
519
|
-
constructor(data) {
|
|
520
|
-
super();
|
|
521
|
-
protobuf_1.proto3.util.initPartial(data, this);
|
|
522
|
-
}
|
|
523
|
-
static fromBinary(bytes, options) {
|
|
524
|
-
return new UpdateConnectionUserManagementSettingsResponse().fromBinary(bytes, options);
|
|
525
|
-
}
|
|
526
|
-
static fromJson(jsonValue, options) {
|
|
527
|
-
return new UpdateConnectionUserManagementSettingsResponse().fromJson(jsonValue, options);
|
|
528
|
-
}
|
|
529
|
-
static fromJsonString(jsonString, options) {
|
|
530
|
-
return new UpdateConnectionUserManagementSettingsResponse().fromJsonString(jsonString, options);
|
|
531
|
-
}
|
|
532
|
-
static equals(a, b) {
|
|
533
|
-
return protobuf_1.proto3.util.equals(UpdateConnectionUserManagementSettingsResponse, a, b);
|
|
534
|
-
}
|
|
535
|
-
}
|
|
536
|
-
exports.UpdateConnectionUserManagementSettingsResponse = UpdateConnectionUserManagementSettingsResponse;
|
|
537
|
-
UpdateConnectionUserManagementSettingsResponse.runtime = protobuf_1.proto3;
|
|
538
|
-
UpdateConnectionUserManagementSettingsResponse.typeName = "scalekit.v1.connections.UpdateConnectionUserManagementSettingsResponse";
|
|
539
|
-
UpdateConnectionUserManagementSettingsResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
540
|
-
{ no: 1, name: "settings", kind: "message", T: ConnectionUserManagementSettings },
|
|
541
|
-
]);
|
|
542
456
|
/**
|
|
543
457
|
* @generated from message scalekit.v1.connections.AssignDomainsToConnectionRequest
|
|
544
458
|
*/
|
|
@@ -901,7 +815,6 @@ Connection.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
901
815
|
{ no: 25, name: "key_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
902
816
|
{ no: 23, name: "provider_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
903
817
|
{ no: 24, name: "domains", kind: "message", T: domains_pb_js_1.Domain, repeated: true },
|
|
904
|
-
{ no: 28, name: "sync_user_profile_on_signin", kind: "message", T: protobuf_1.BoolValue },
|
|
905
818
|
]);
|
|
906
819
|
/**
|
|
907
820
|
* @generated from message scalekit.v1.connections.CreateConnectionResponse
|
|
@@ -1062,7 +975,6 @@ UpdateConnection.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1062
975
|
{ no: 24, name: "webauthn_config", kind: "message", T: WebAuthConfiguration, oneof: "settings" },
|
|
1063
976
|
{ no: 22, name: "key_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
1064
977
|
{ no: 21, name: "provider_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1065
|
-
{ no: 25, name: "sync_user_profile_on_signin", kind: "message", T: protobuf_1.BoolValue },
|
|
1066
978
|
]);
|
|
1067
979
|
/**
|
|
1068
980
|
* @generated from message scalekit.v1.connections.UpdateConnectionResponse
|
|
@@ -1714,6 +1626,8 @@ OIDCConnectionConfig.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1714
1626
|
{ no: 14, name: "idp_logout_required", kind: "message", T: protobuf_1.BoolValue },
|
|
1715
1627
|
{ no: 15, name: "post_logout_redirect_uri", kind: "message", T: protobuf_1.StringValue },
|
|
1716
1628
|
{ no: 16, name: "backchannel_logout_redirect_uri", kind: "message", T: protobuf_1.StringValue },
|
|
1629
|
+
{ no: 17, name: "sync_user_profile_on_login", kind: "message", T: protobuf_1.BoolValue },
|
|
1630
|
+
{ no: 18, name: "jit_provisioning_with_sso_enabled", kind: "message", T: protobuf_1.BoolValue },
|
|
1717
1631
|
]);
|
|
1718
1632
|
/**
|
|
1719
1633
|
* @generated from message scalekit.v1.connections.OAuthConnectionConfig
|
|
@@ -1760,6 +1674,7 @@ OAuthConnectionConfig.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
1760
1674
|
{ no: 15, name: "use_platform_creds", kind: "message", T: protobuf_1.BoolValue },
|
|
1761
1675
|
{ no: 16, name: "access_type", kind: "message", T: protobuf_1.StringValue },
|
|
1762
1676
|
{ no: 17, name: "custom_scope_name", kind: "message", T: protobuf_1.StringValue },
|
|
1677
|
+
{ no: 18, name: "sync_user_profile_on_login", kind: "message", T: protobuf_1.BoolValue },
|
|
1763
1678
|
]);
|
|
1764
1679
|
/**
|
|
1765
1680
|
* @generated from message scalekit.v1.connections.PasswordLessConfig
|
|
@@ -2112,6 +2027,8 @@ SAMLConnectionConfigRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
2112
2027
|
{ no: 20, name: "sp_entity_id", kind: "message", T: protobuf_1.StringValue },
|
|
2113
2028
|
{ no: 21, name: "sp_assertion_url", kind: "message", T: protobuf_1.StringValue },
|
|
2114
2029
|
{ no: 22, name: "sp_slo_url", kind: "message", T: protobuf_1.StringValue },
|
|
2030
|
+
{ no: 23, name: "sync_user_profile_on_login", kind: "message", T: protobuf_1.BoolValue },
|
|
2031
|
+
{ no: 24, name: "jit_provisioning_with_sso_enabled", kind: "message", T: protobuf_1.BoolValue },
|
|
2115
2032
|
]);
|
|
2116
2033
|
/**
|
|
2117
2034
|
* @generated from message scalekit.v1.connections.SAMLConnectionConfigResponse
|
|
@@ -2191,6 +2108,8 @@ SAMLConnectionConfigResponse.fields = protobuf_1.proto3.util.newFieldList(() =>
|
|
|
2191
2108
|
{ no: 19, name: "certificate_id", kind: "message", T: protobuf_1.StringValue },
|
|
2192
2109
|
{ no: 20, name: "idp_slo_required", kind: "message", T: protobuf_1.BoolValue },
|
|
2193
2110
|
{ no: 21, name: "sp_slo_url", kind: "message", T: protobuf_1.StringValue },
|
|
2111
|
+
{ no: 22, name: "sync_user_profile_on_login", kind: "message", T: protobuf_1.BoolValue },
|
|
2112
|
+
{ no: 23, name: "jit_provisioning_with_sso_enabled", kind: "message", T: protobuf_1.BoolValue },
|
|
2194
2113
|
]);
|
|
2195
2114
|
/**
|
|
2196
2115
|
* @generated from message scalekit.v1.connections.IDPCertificate
|