@scalekit-sdk/node 1.0.10 → 1.0.12
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/README.md +11 -0
- package/buf.gen.yaml +2 -1
- package/lib/core.js +1 -1
- package/lib/core.js.map +1 -1
- package/lib/passwordless.d.ts +55 -0
- package/lib/passwordless.js +111 -0
- package/lib/passwordless.js.map +1 -0
- package/lib/pkg/grpc/scalekit/v1/auth/passwordless_connect.d.ts +37 -0
- package/lib/pkg/grpc/scalekit/v1/auth/passwordless_connect.js +45 -0
- package/lib/pkg/grpc/scalekit/v1/auth/passwordless_connect.js.map +1 -0
- package/lib/pkg/grpc/scalekit/v1/auth/passwordless_pb.d.ts +184 -0
- package/lib/pkg/grpc/scalekit/v1/auth/passwordless_pb.js +245 -0
- package/lib/pkg/grpc/scalekit/v1/auth/passwordless_pb.js.map +1 -0
- package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.d.ts +28 -1
- package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.js +27 -0
- package/lib/pkg/grpc/scalekit/v1/connections/connections_connect.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.d.ts +349 -3
- package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.js +406 -1
- package/lib/pkg/grpc/scalekit/v1/connections/connections_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/directories/directories_connect.d.ts +38 -2
- package/lib/pkg/grpc/scalekit/v1/directories/directories_connect.js +36 -0
- package/lib/pkg/grpc/scalekit/v1/directories/directories_connect.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/directories/directories_pb.d.ts +152 -3
- package/lib/pkg/grpc/scalekit/v1/directories/directories_pb.js +234 -3
- package/lib/pkg/grpc/scalekit/v1/directories/directories_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/domains/domains_connect.d.ts +11 -2
- package/lib/pkg/grpc/scalekit/v1/domains/domains_connect.js +9 -0
- package/lib/pkg/grpc/scalekit/v1/domains/domains_connect.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.d.ts +36 -0
- package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.js +38 -1
- package/lib/pkg/grpc/scalekit/v1/domains/domains_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/options/options_pb.d.ts +6 -2
- package/lib/pkg/grpc/scalekit/v1/options/options_pb.js +7 -2
- package/lib/pkg/grpc/scalekit/v1/options/options_pb.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.d.ts +37 -1
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.js +36 -0
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_connect.js.map +1 -1
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.d.ts +233 -10
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.js +325 -7
- package/lib/pkg/grpc/scalekit/v1/organizations/organizations_pb.js.map +1 -1
- package/lib/scalekit.d.ts +2 -0
- package/lib/scalekit.js +2 -0
- package/lib/scalekit.js.map +1 -1
- package/package.json +1 -1
- package/src/core.ts +1 -1
- package/src/passwordless.ts +135 -0
- package/src/pkg/grpc/scalekit/v1/auth/passwordless_connect.ts +44 -0
- package/src/pkg/grpc/scalekit/v1/auth/passwordless_pb.ts +330 -0
- package/src/pkg/grpc/scalekit/v1/connections/connections_connect.ts +28 -1
- package/src/pkg/grpc/scalekit/v1/connections/connections_pb.ts +598 -1
- package/src/pkg/grpc/scalekit/v1/directories/directories_connect.ts +38 -2
- package/src/pkg/grpc/scalekit/v1/directories/directories_pb.ts +283 -2
- package/src/pkg/grpc/scalekit/v1/domains/domains_connect.ts +11 -2
- package/src/pkg/grpc/scalekit/v1/domains/domains_pb.ts +56 -0
- package/src/pkg/grpc/scalekit/v1/options/options_pb.ts +8 -2
- package/src/pkg/grpc/scalekit/v1/organizations/organizations_connect.ts +37 -1
- package/src/pkg/grpc/scalekit/v1/organizations/organizations_pb.ts +435 -11
- package/src/scalekit.ts +6 -0
|
@@ -15,7 +15,11 @@ export declare enum DirectoryType {
|
|
|
15
15
|
/**
|
|
16
16
|
* @generated from enum value: LDAP = 2;
|
|
17
17
|
*/
|
|
18
|
-
LDAP = 2
|
|
18
|
+
LDAP = 2,
|
|
19
|
+
/**
|
|
20
|
+
* @generated from enum value: POLL = 3;
|
|
21
|
+
*/
|
|
22
|
+
POLL = 3
|
|
19
23
|
}
|
|
20
24
|
/**
|
|
21
25
|
* @generated from enum scalekit.v1.directories.DirectoryProvider
|
|
@@ -44,7 +48,15 @@ export declare enum DirectoryProvider {
|
|
|
44
48
|
/**
|
|
45
49
|
* @generated from enum value: ONELOGIN = 5;
|
|
46
50
|
*/
|
|
47
|
-
ONELOGIN = 5
|
|
51
|
+
ONELOGIN = 5,
|
|
52
|
+
/**
|
|
53
|
+
* @generated from enum value: JUMPCLOUD = 6;
|
|
54
|
+
*/
|
|
55
|
+
JUMPCLOUD = 6,
|
|
56
|
+
/**
|
|
57
|
+
* @generated from enum value: PING_IDENTITY = 7;
|
|
58
|
+
*/
|
|
59
|
+
PING_IDENTITY = 7
|
|
48
60
|
}
|
|
49
61
|
/**
|
|
50
62
|
* @generated from enum scalekit.v1.directories.DirectoryStatus
|
|
@@ -230,6 +242,10 @@ export declare class UpdateDirectory extends Message<UpdateDirectory> {
|
|
|
230
242
|
* @generated from field: repeated scalekit.v1.directories.DirectoryMapping mappings = 10;
|
|
231
243
|
*/
|
|
232
244
|
mappings: DirectoryMapping[];
|
|
245
|
+
/**
|
|
246
|
+
* @generated from field: repeated scalekit.v1.directories.ExternalGroup groups = 15;
|
|
247
|
+
*/
|
|
248
|
+
groups: ExternalGroup[];
|
|
233
249
|
constructor(data?: PartialMessage<UpdateDirectory>);
|
|
234
250
|
static readonly runtime: typeof proto3;
|
|
235
251
|
static readonly typeName = "scalekit.v1.directories.UpdateDirectory";
|
|
@@ -256,6 +272,31 @@ export declare class UpdateDirectoryResponse extends Message<UpdateDirectoryResp
|
|
|
256
272
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateDirectoryResponse;
|
|
257
273
|
static equals(a: UpdateDirectoryResponse | PlainMessage<UpdateDirectoryResponse> | undefined, b: UpdateDirectoryResponse | PlainMessage<UpdateDirectoryResponse> | undefined): boolean;
|
|
258
274
|
}
|
|
275
|
+
/**
|
|
276
|
+
* @generated from message scalekit.v1.directories.AssignGroupsForDirectoryRequest
|
|
277
|
+
*/
|
|
278
|
+
export declare class AssignGroupsForDirectoryRequest extends Message<AssignGroupsForDirectoryRequest> {
|
|
279
|
+
/**
|
|
280
|
+
* @generated from field: string id = 1;
|
|
281
|
+
*/
|
|
282
|
+
id: string;
|
|
283
|
+
/**
|
|
284
|
+
* @generated from field: string organization_id = 2;
|
|
285
|
+
*/
|
|
286
|
+
organizationId: string;
|
|
287
|
+
/**
|
|
288
|
+
* @generated from field: repeated string external_ids = 3;
|
|
289
|
+
*/
|
|
290
|
+
externalIds: string[];
|
|
291
|
+
constructor(data?: PartialMessage<AssignGroupsForDirectoryRequest>);
|
|
292
|
+
static readonly runtime: typeof proto3;
|
|
293
|
+
static readonly typeName = "scalekit.v1.directories.AssignGroupsForDirectoryRequest";
|
|
294
|
+
static readonly fields: FieldList;
|
|
295
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AssignGroupsForDirectoryRequest;
|
|
296
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AssignGroupsForDirectoryRequest;
|
|
297
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AssignGroupsForDirectoryRequest;
|
|
298
|
+
static equals(a: AssignGroupsForDirectoryRequest | PlainMessage<AssignGroupsForDirectoryRequest> | undefined, b: AssignGroupsForDirectoryRequest | PlainMessage<AssignGroupsForDirectoryRequest> | undefined): boolean;
|
|
299
|
+
}
|
|
259
300
|
/**
|
|
260
301
|
* @generated from message scalekit.v1.directories.ListDirectoriesRequest
|
|
261
302
|
*/
|
|
@@ -388,6 +429,10 @@ export declare class ListDirectoryGroupsRequest extends Message<ListDirectoryGro
|
|
|
388
429
|
* @generated from field: optional bool include_detail = 6;
|
|
389
430
|
*/
|
|
390
431
|
includeDetail?: boolean;
|
|
432
|
+
/**
|
|
433
|
+
* @generated from field: optional bool include_external_groups = 7;
|
|
434
|
+
*/
|
|
435
|
+
includeExternalGroups?: boolean;
|
|
391
436
|
constructor(data?: PartialMessage<ListDirectoryGroupsRequest>);
|
|
392
437
|
static readonly runtime: typeof proto3;
|
|
393
438
|
static readonly typeName = "scalekit.v1.directories.ListDirectoryGroupsRequest";
|
|
@@ -426,6 +471,27 @@ export declare class ListDirectoryGroupsResponse extends Message<ListDirectoryGr
|
|
|
426
471
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListDirectoryGroupsResponse;
|
|
427
472
|
static equals(a: ListDirectoryGroupsResponse | PlainMessage<ListDirectoryGroupsResponse> | undefined, b: ListDirectoryGroupsResponse | PlainMessage<ListDirectoryGroupsResponse> | undefined): boolean;
|
|
428
473
|
}
|
|
474
|
+
/**
|
|
475
|
+
* @generated from message scalekit.v1.directories.ListDirectoryGroupsSummaryRequest
|
|
476
|
+
*/
|
|
477
|
+
export declare class ListDirectoryGroupsSummaryRequest extends Message<ListDirectoryGroupsSummaryRequest> {
|
|
478
|
+
/**
|
|
479
|
+
* @generated from field: string organization_id = 1;
|
|
480
|
+
*/
|
|
481
|
+
organizationId: string;
|
|
482
|
+
/**
|
|
483
|
+
* @generated from field: string directory_id = 2;
|
|
484
|
+
*/
|
|
485
|
+
directoryId: string;
|
|
486
|
+
constructor(data?: PartialMessage<ListDirectoryGroupsSummaryRequest>);
|
|
487
|
+
static readonly runtime: typeof proto3;
|
|
488
|
+
static readonly typeName = "scalekit.v1.directories.ListDirectoryGroupsSummaryRequest";
|
|
489
|
+
static readonly fields: FieldList;
|
|
490
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListDirectoryGroupsSummaryRequest;
|
|
491
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListDirectoryGroupsSummaryRequest;
|
|
492
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListDirectoryGroupsSummaryRequest;
|
|
493
|
+
static equals(a: ListDirectoryGroupsSummaryRequest | PlainMessage<ListDirectoryGroupsSummaryRequest> | undefined, b: ListDirectoryGroupsSummaryRequest | PlainMessage<ListDirectoryGroupsSummaryRequest> | undefined): boolean;
|
|
494
|
+
}
|
|
429
495
|
/**
|
|
430
496
|
* @generated from message scalekit.v1.directories.Directory
|
|
431
497
|
*/
|
|
@@ -486,6 +552,18 @@ export declare class Directory extends Message<Directory> {
|
|
|
486
552
|
* @generated from field: scalekit.v1.directories.AttributeMappings attribute_mappings = 14;
|
|
487
553
|
*/
|
|
488
554
|
attributeMappings?: AttributeMappings;
|
|
555
|
+
/**
|
|
556
|
+
* @generated from field: string status = 15;
|
|
557
|
+
*/
|
|
558
|
+
status: string;
|
|
559
|
+
/**
|
|
560
|
+
* @generated from field: string email = 16;
|
|
561
|
+
*/
|
|
562
|
+
email: string;
|
|
563
|
+
/**
|
|
564
|
+
* @generated from field: string groups_tracked = 17;
|
|
565
|
+
*/
|
|
566
|
+
groupsTracked: string;
|
|
489
567
|
constructor(data?: PartialMessage<Directory>);
|
|
490
568
|
static readonly runtime: typeof proto3;
|
|
491
569
|
static readonly typeName = "scalekit.v1.directories.Directory";
|
|
@@ -611,6 +689,31 @@ export declare class DirectoryUser extends Message<DirectoryUser> {
|
|
|
611
689
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DirectoryUser;
|
|
612
690
|
static equals(a: DirectoryUser | PlainMessage<DirectoryUser> | undefined, b: DirectoryUser | PlainMessage<DirectoryUser> | undefined): boolean;
|
|
613
691
|
}
|
|
692
|
+
/**
|
|
693
|
+
* @generated from message scalekit.v1.directories.ExternalGroup
|
|
694
|
+
*/
|
|
695
|
+
export declare class ExternalGroup extends Message<ExternalGroup> {
|
|
696
|
+
/**
|
|
697
|
+
* @generated from field: string external_id = 1;
|
|
698
|
+
*/
|
|
699
|
+
externalId: string;
|
|
700
|
+
/**
|
|
701
|
+
* @generated from field: string display_name = 2;
|
|
702
|
+
*/
|
|
703
|
+
displayName: string;
|
|
704
|
+
/**
|
|
705
|
+
* @generated from field: string email = 3;
|
|
706
|
+
*/
|
|
707
|
+
email: string;
|
|
708
|
+
constructor(data?: PartialMessage<ExternalGroup>);
|
|
709
|
+
static readonly runtime: typeof proto3;
|
|
710
|
+
static readonly typeName = "scalekit.v1.directories.ExternalGroup";
|
|
711
|
+
static readonly fields: FieldList;
|
|
712
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ExternalGroup;
|
|
713
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ExternalGroup;
|
|
714
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExternalGroup;
|
|
715
|
+
static equals(a: ExternalGroup | PlainMessage<ExternalGroup> | undefined, b: ExternalGroup | PlainMessage<ExternalGroup> | undefined): boolean;
|
|
716
|
+
}
|
|
614
717
|
/**
|
|
615
718
|
* @generated from message scalekit.v1.directories.DirectoryGroup
|
|
616
719
|
*/
|
|
@@ -866,7 +969,11 @@ export declare class RoleAssignment extends Message<RoleAssignment> {
|
|
|
866
969
|
*/
|
|
867
970
|
groupId: string;
|
|
868
971
|
/**
|
|
869
|
-
* @generated from field: string
|
|
972
|
+
* @generated from field: string role_name = 2;
|
|
973
|
+
*/
|
|
974
|
+
roleName: string;
|
|
975
|
+
/**
|
|
976
|
+
* @generated from field: string role_id = 3;
|
|
870
977
|
*/
|
|
871
978
|
roleId: string;
|
|
872
979
|
constructor(data?: PartialMessage<RoleAssignment>);
|
|
@@ -958,3 +1065,45 @@ export declare class UpdateAttributesResponse extends Message<UpdateAttributesRe
|
|
|
958
1065
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateAttributesResponse;
|
|
959
1066
|
static equals(a: UpdateAttributesResponse | PlainMessage<UpdateAttributesResponse> | undefined, b: UpdateAttributesResponse | PlainMessage<UpdateAttributesResponse> | undefined): boolean;
|
|
960
1067
|
}
|
|
1068
|
+
/**
|
|
1069
|
+
* @generated from message scalekit.v1.directories.DeleteDirectoryRequest
|
|
1070
|
+
*/
|
|
1071
|
+
export declare class DeleteDirectoryRequest extends Message<DeleteDirectoryRequest> {
|
|
1072
|
+
/**
|
|
1073
|
+
* @generated from field: string organization_id = 1;
|
|
1074
|
+
*/
|
|
1075
|
+
organizationId: string;
|
|
1076
|
+
/**
|
|
1077
|
+
* @generated from field: string id = 3;
|
|
1078
|
+
*/
|
|
1079
|
+
id: string;
|
|
1080
|
+
constructor(data?: PartialMessage<DeleteDirectoryRequest>);
|
|
1081
|
+
static readonly runtime: typeof proto3;
|
|
1082
|
+
static readonly typeName = "scalekit.v1.directories.DeleteDirectoryRequest";
|
|
1083
|
+
static readonly fields: FieldList;
|
|
1084
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteDirectoryRequest;
|
|
1085
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteDirectoryRequest;
|
|
1086
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteDirectoryRequest;
|
|
1087
|
+
static equals(a: DeleteDirectoryRequest | PlainMessage<DeleteDirectoryRequest> | undefined, b: DeleteDirectoryRequest | PlainMessage<DeleteDirectoryRequest> | undefined): boolean;
|
|
1088
|
+
}
|
|
1089
|
+
/**
|
|
1090
|
+
* @generated from message scalekit.v1.directories.TriggerDirectorySyncRequest
|
|
1091
|
+
*/
|
|
1092
|
+
export declare class TriggerDirectorySyncRequest extends Message<TriggerDirectorySyncRequest> {
|
|
1093
|
+
/**
|
|
1094
|
+
* @generated from field: string directory_id = 1;
|
|
1095
|
+
*/
|
|
1096
|
+
directoryId: string;
|
|
1097
|
+
/**
|
|
1098
|
+
* @generated from field: string organization_id = 2;
|
|
1099
|
+
*/
|
|
1100
|
+
organizationId: string;
|
|
1101
|
+
constructor(data?: PartialMessage<TriggerDirectorySyncRequest>);
|
|
1102
|
+
static readonly runtime: typeof proto3;
|
|
1103
|
+
static readonly typeName = "scalekit.v1.directories.TriggerDirectorySyncRequest";
|
|
1104
|
+
static readonly fields: FieldList;
|
|
1105
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TriggerDirectorySyncRequest;
|
|
1106
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TriggerDirectorySyncRequest;
|
|
1107
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TriggerDirectorySyncRequest;
|
|
1108
|
+
static equals(a: TriggerDirectorySyncRequest | PlainMessage<TriggerDirectorySyncRequest> | undefined, b: TriggerDirectorySyncRequest | PlainMessage<TriggerDirectorySyncRequest> | undefined): boolean;
|
|
1109
|
+
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
// @ts-nocheck
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.UpdateAttributesResponse = exports.AttributeMapping = exports.AttributeMappings = exports.UpdateAttributesRequest = exports.RoleAssignment = exports.AssignRolesResponse = exports.RoleAssignments = exports.AssignRolesRequest = exports.Stats = exports.Secret = exports.RegenerateDirectorySecretResponse = exports.RegenerateDirectorySecretRequest = exports.CreateDirectorySecretResponse = exports.CreateDirectorySecretRequest = exports.DirectoryGroup = exports.DirectoryUser = exports.DirectoryMapping = exports.ToggleDirectoryResponse = exports.ToggleDirectoryRequest = exports.Directory = exports.ListDirectoryGroupsResponse = exports.ListDirectoryGroupsRequest = exports.ListDirectoryUsersResponse = exports.ListDirectoryUsersRequest = exports.ListDirectoriesResponse = exports.ListDirectoriesRequest = exports.UpdateDirectoryResponse = exports.UpdateDirectory = exports.UpdateDirectoryRequest = exports.CreateDirectoryResponse = exports.CreateDirectory = exports.CreateDirectoryRequest = exports.GetDirectoryResponse = exports.GetDirectoryRequest = exports.SecretStatus = exports.DirectoryStatus = exports.DirectoryProvider = exports.DirectoryType = void 0;
|
|
7
|
+
exports.TriggerDirectorySyncRequest = exports.DeleteDirectoryRequest = exports.UpdateAttributesResponse = exports.AttributeMapping = exports.AttributeMappings = exports.UpdateAttributesRequest = exports.RoleAssignment = exports.AssignRolesResponse = exports.RoleAssignments = exports.AssignRolesRequest = exports.Stats = exports.Secret = exports.RegenerateDirectorySecretResponse = exports.RegenerateDirectorySecretRequest = exports.CreateDirectorySecretResponse = exports.CreateDirectorySecretRequest = exports.DirectoryGroup = exports.ExternalGroup = exports.DirectoryUser = exports.DirectoryMapping = exports.ToggleDirectoryResponse = exports.ToggleDirectoryRequest = exports.Directory = exports.ListDirectoryGroupsSummaryRequest = exports.ListDirectoryGroupsResponse = exports.ListDirectoryGroupsRequest = exports.ListDirectoryUsersResponse = exports.ListDirectoryUsersRequest = exports.ListDirectoriesResponse = exports.ListDirectoriesRequest = exports.AssignGroupsForDirectoryRequest = exports.UpdateDirectoryResponse = exports.UpdateDirectory = exports.UpdateDirectoryRequest = exports.CreateDirectoryResponse = exports.CreateDirectory = exports.CreateDirectoryRequest = exports.GetDirectoryResponse = exports.GetDirectoryRequest = exports.SecretStatus = exports.DirectoryStatus = exports.DirectoryProvider = exports.DirectoryType = void 0;
|
|
8
8
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
9
9
|
/**
|
|
10
10
|
* @generated from enum scalekit.v1.directories.DirectoryType
|
|
@@ -23,12 +23,17 @@ var DirectoryType;
|
|
|
23
23
|
* @generated from enum value: LDAP = 2;
|
|
24
24
|
*/
|
|
25
25
|
DirectoryType[DirectoryType["LDAP"] = 2] = "LDAP";
|
|
26
|
+
/**
|
|
27
|
+
* @generated from enum value: POLL = 3;
|
|
28
|
+
*/
|
|
29
|
+
DirectoryType[DirectoryType["POLL"] = 3] = "POLL";
|
|
26
30
|
})(DirectoryType || (exports.DirectoryType = DirectoryType = {}));
|
|
27
31
|
// Retrieve enum metadata with: proto3.getEnumType(DirectoryType)
|
|
28
32
|
protobuf_1.proto3.util.setEnumType(DirectoryType, "scalekit.v1.directories.DirectoryType", [
|
|
29
33
|
{ no: 0, name: "DIRECTORY_TYPE_UNSPECIFIED" },
|
|
30
34
|
{ no: 1, name: "SCIM" },
|
|
31
35
|
{ no: 2, name: "LDAP" },
|
|
36
|
+
{ no: 3, name: "POLL" },
|
|
32
37
|
]);
|
|
33
38
|
/**
|
|
34
39
|
* @generated from enum scalekit.v1.directories.DirectoryProvider
|
|
@@ -59,6 +64,14 @@ var DirectoryProvider;
|
|
|
59
64
|
* @generated from enum value: ONELOGIN = 5;
|
|
60
65
|
*/
|
|
61
66
|
DirectoryProvider[DirectoryProvider["ONELOGIN"] = 5] = "ONELOGIN";
|
|
67
|
+
/**
|
|
68
|
+
* @generated from enum value: JUMPCLOUD = 6;
|
|
69
|
+
*/
|
|
70
|
+
DirectoryProvider[DirectoryProvider["JUMPCLOUD"] = 6] = "JUMPCLOUD";
|
|
71
|
+
/**
|
|
72
|
+
* @generated from enum value: PING_IDENTITY = 7;
|
|
73
|
+
*/
|
|
74
|
+
DirectoryProvider[DirectoryProvider["PING_IDENTITY"] = 7] = "PING_IDENTITY";
|
|
62
75
|
})(DirectoryProvider || (exports.DirectoryProvider = DirectoryProvider = {}));
|
|
63
76
|
// Retrieve enum metadata with: proto3.getEnumType(DirectoryProvider)
|
|
64
77
|
protobuf_1.proto3.util.setEnumType(DirectoryProvider, "scalekit.v1.directories.DirectoryProvider", [
|
|
@@ -68,6 +81,8 @@ protobuf_1.proto3.util.setEnumType(DirectoryProvider, "scalekit.v1.directories.D
|
|
|
68
81
|
{ no: 3, name: "MICROSOFT_AD" },
|
|
69
82
|
{ no: 4, name: "AUTH0" },
|
|
70
83
|
{ no: 5, name: "ONELOGIN" },
|
|
84
|
+
{ no: 6, name: "JUMPCLOUD" },
|
|
85
|
+
{ no: 7, name: "PING_IDENTITY" },
|
|
71
86
|
]);
|
|
72
87
|
/**
|
|
73
88
|
* @generated from enum scalekit.v1.directories.DirectoryStatus
|
|
@@ -342,6 +357,10 @@ class UpdateDirectory extends protobuf_1.Message {
|
|
|
342
357
|
* @generated from field: repeated scalekit.v1.directories.DirectoryMapping mappings = 10;
|
|
343
358
|
*/
|
|
344
359
|
this.mappings = [];
|
|
360
|
+
/**
|
|
361
|
+
* @generated from field: repeated scalekit.v1.directories.ExternalGroup groups = 15;
|
|
362
|
+
*/
|
|
363
|
+
this.groups = [];
|
|
345
364
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
346
365
|
}
|
|
347
366
|
static fromBinary(bytes, options) {
|
|
@@ -367,6 +386,7 @@ UpdateDirectory.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
367
386
|
{ no: 8, name: "directory_provider", kind: "enum", T: protobuf_1.proto3.getEnumType(DirectoryProvider) },
|
|
368
387
|
{ no: 9, name: "status", kind: "enum", T: protobuf_1.proto3.getEnumType(DirectoryStatus) },
|
|
369
388
|
{ no: 10, name: "mappings", kind: "message", T: DirectoryMapping, repeated: true },
|
|
389
|
+
{ no: 15, name: "groups", kind: "message", T: ExternalGroup, repeated: true },
|
|
370
390
|
]);
|
|
371
391
|
/**
|
|
372
392
|
* @generated from message scalekit.v1.directories.UpdateDirectoryResponse
|
|
@@ -395,6 +415,47 @@ UpdateDirectoryResponse.typeName = "scalekit.v1.directories.UpdateDirectoryRespo
|
|
|
395
415
|
UpdateDirectoryResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
396
416
|
{ no: 1, name: "directory", kind: "message", T: Directory },
|
|
397
417
|
]);
|
|
418
|
+
/**
|
|
419
|
+
* @generated from message scalekit.v1.directories.AssignGroupsForDirectoryRequest
|
|
420
|
+
*/
|
|
421
|
+
class AssignGroupsForDirectoryRequest extends protobuf_1.Message {
|
|
422
|
+
constructor(data) {
|
|
423
|
+
super();
|
|
424
|
+
/**
|
|
425
|
+
* @generated from field: string id = 1;
|
|
426
|
+
*/
|
|
427
|
+
this.id = "";
|
|
428
|
+
/**
|
|
429
|
+
* @generated from field: string organization_id = 2;
|
|
430
|
+
*/
|
|
431
|
+
this.organizationId = "";
|
|
432
|
+
/**
|
|
433
|
+
* @generated from field: repeated string external_ids = 3;
|
|
434
|
+
*/
|
|
435
|
+
this.externalIds = [];
|
|
436
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
437
|
+
}
|
|
438
|
+
static fromBinary(bytes, options) {
|
|
439
|
+
return new AssignGroupsForDirectoryRequest().fromBinary(bytes, options);
|
|
440
|
+
}
|
|
441
|
+
static fromJson(jsonValue, options) {
|
|
442
|
+
return new AssignGroupsForDirectoryRequest().fromJson(jsonValue, options);
|
|
443
|
+
}
|
|
444
|
+
static fromJsonString(jsonString, options) {
|
|
445
|
+
return new AssignGroupsForDirectoryRequest().fromJsonString(jsonString, options);
|
|
446
|
+
}
|
|
447
|
+
static equals(a, b) {
|
|
448
|
+
return protobuf_1.proto3.util.equals(AssignGroupsForDirectoryRequest, a, b);
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
exports.AssignGroupsForDirectoryRequest = AssignGroupsForDirectoryRequest;
|
|
452
|
+
AssignGroupsForDirectoryRequest.runtime = protobuf_1.proto3;
|
|
453
|
+
AssignGroupsForDirectoryRequest.typeName = "scalekit.v1.directories.AssignGroupsForDirectoryRequest";
|
|
454
|
+
AssignGroupsForDirectoryRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
455
|
+
{ no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
456
|
+
{ no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
457
|
+
{ no: 3, name: "external_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
458
|
+
]);
|
|
398
459
|
/**
|
|
399
460
|
* @generated from message scalekit.v1.directories.ListDirectoriesRequest
|
|
400
461
|
*/
|
|
@@ -599,6 +660,7 @@ ListDirectoryGroupsRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
599
660
|
{ no: 4, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
600
661
|
{ no: 5, name: "updated_after", kind: "message", T: protobuf_1.Timestamp, opt: true },
|
|
601
662
|
{ no: 6, name: "include_detail", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
663
|
+
{ no: 7, name: "include_external_groups", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
|
|
602
664
|
]);
|
|
603
665
|
/**
|
|
604
666
|
* @generated from message scalekit.v1.directories.ListDirectoryGroupsResponse
|
|
@@ -646,6 +708,42 @@ ListDirectoryGroupsResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
646
708
|
{ no: 3, name: "next_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
647
709
|
{ no: 4, name: "prev_page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
648
710
|
]);
|
|
711
|
+
/**
|
|
712
|
+
* @generated from message scalekit.v1.directories.ListDirectoryGroupsSummaryRequest
|
|
713
|
+
*/
|
|
714
|
+
class ListDirectoryGroupsSummaryRequest extends protobuf_1.Message {
|
|
715
|
+
constructor(data) {
|
|
716
|
+
super();
|
|
717
|
+
/**
|
|
718
|
+
* @generated from field: string organization_id = 1;
|
|
719
|
+
*/
|
|
720
|
+
this.organizationId = "";
|
|
721
|
+
/**
|
|
722
|
+
* @generated from field: string directory_id = 2;
|
|
723
|
+
*/
|
|
724
|
+
this.directoryId = "";
|
|
725
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
726
|
+
}
|
|
727
|
+
static fromBinary(bytes, options) {
|
|
728
|
+
return new ListDirectoryGroupsSummaryRequest().fromBinary(bytes, options);
|
|
729
|
+
}
|
|
730
|
+
static fromJson(jsonValue, options) {
|
|
731
|
+
return new ListDirectoryGroupsSummaryRequest().fromJson(jsonValue, options);
|
|
732
|
+
}
|
|
733
|
+
static fromJsonString(jsonString, options) {
|
|
734
|
+
return new ListDirectoryGroupsSummaryRequest().fromJsonString(jsonString, options);
|
|
735
|
+
}
|
|
736
|
+
static equals(a, b) {
|
|
737
|
+
return protobuf_1.proto3.util.equals(ListDirectoryGroupsSummaryRequest, a, b);
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
exports.ListDirectoryGroupsSummaryRequest = ListDirectoryGroupsSummaryRequest;
|
|
741
|
+
ListDirectoryGroupsSummaryRequest.runtime = protobuf_1.proto3;
|
|
742
|
+
ListDirectoryGroupsSummaryRequest.typeName = "scalekit.v1.directories.ListDirectoryGroupsSummaryRequest";
|
|
743
|
+
ListDirectoryGroupsSummaryRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
744
|
+
{ no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
745
|
+
{ no: 2, name: "directory_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
746
|
+
]);
|
|
649
747
|
/**
|
|
650
748
|
* @generated from message scalekit.v1.directories.Directory
|
|
651
749
|
*/
|
|
@@ -692,6 +790,18 @@ class Directory extends protobuf_1.Message {
|
|
|
692
790
|
* @generated from field: repeated scalekit.v1.directories.Secret secrets = 11;
|
|
693
791
|
*/
|
|
694
792
|
this.secrets = [];
|
|
793
|
+
/**
|
|
794
|
+
* @generated from field: string status = 15;
|
|
795
|
+
*/
|
|
796
|
+
this.status = "";
|
|
797
|
+
/**
|
|
798
|
+
* @generated from field: string email = 16;
|
|
799
|
+
*/
|
|
800
|
+
this.email = "";
|
|
801
|
+
/**
|
|
802
|
+
* @generated from field: string groups_tracked = 17;
|
|
803
|
+
*/
|
|
804
|
+
this.groupsTracked = "";
|
|
695
805
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
696
806
|
}
|
|
697
807
|
static fromBinary(bytes, options) {
|
|
@@ -725,6 +835,9 @@ Directory.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
725
835
|
{ no: 12, name: "stats", kind: "message", T: Stats },
|
|
726
836
|
{ no: 13, name: "role_assignments", kind: "message", T: RoleAssignments },
|
|
727
837
|
{ no: 14, name: "attribute_mappings", kind: "message", T: AttributeMappings },
|
|
838
|
+
{ no: 15, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
839
|
+
{ no: 16, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
840
|
+
{ no: 17, name: "groups_tracked", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
728
841
|
]);
|
|
729
842
|
/**
|
|
730
843
|
* @generated from message scalekit.v1.directories.ToggleDirectoryRequest
|
|
@@ -898,6 +1011,47 @@ DirectoryUser.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
|
898
1011
|
{ no: 17, name: "groups", kind: "message", T: DirectoryGroup, repeated: true },
|
|
899
1012
|
{ no: 18, name: "user_detail", kind: "message", T: protobuf_1.Struct },
|
|
900
1013
|
]);
|
|
1014
|
+
/**
|
|
1015
|
+
* @generated from message scalekit.v1.directories.ExternalGroup
|
|
1016
|
+
*/
|
|
1017
|
+
class ExternalGroup extends protobuf_1.Message {
|
|
1018
|
+
constructor(data) {
|
|
1019
|
+
super();
|
|
1020
|
+
/**
|
|
1021
|
+
* @generated from field: string external_id = 1;
|
|
1022
|
+
*/
|
|
1023
|
+
this.externalId = "";
|
|
1024
|
+
/**
|
|
1025
|
+
* @generated from field: string display_name = 2;
|
|
1026
|
+
*/
|
|
1027
|
+
this.displayName = "";
|
|
1028
|
+
/**
|
|
1029
|
+
* @generated from field: string email = 3;
|
|
1030
|
+
*/
|
|
1031
|
+
this.email = "";
|
|
1032
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1033
|
+
}
|
|
1034
|
+
static fromBinary(bytes, options) {
|
|
1035
|
+
return new ExternalGroup().fromBinary(bytes, options);
|
|
1036
|
+
}
|
|
1037
|
+
static fromJson(jsonValue, options) {
|
|
1038
|
+
return new ExternalGroup().fromJson(jsonValue, options);
|
|
1039
|
+
}
|
|
1040
|
+
static fromJsonString(jsonString, options) {
|
|
1041
|
+
return new ExternalGroup().fromJsonString(jsonString, options);
|
|
1042
|
+
}
|
|
1043
|
+
static equals(a, b) {
|
|
1044
|
+
return protobuf_1.proto3.util.equals(ExternalGroup, a, b);
|
|
1045
|
+
}
|
|
1046
|
+
}
|
|
1047
|
+
exports.ExternalGroup = ExternalGroup;
|
|
1048
|
+
ExternalGroup.runtime = protobuf_1.proto3;
|
|
1049
|
+
ExternalGroup.typeName = "scalekit.v1.directories.ExternalGroup";
|
|
1050
|
+
ExternalGroup.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1051
|
+
{ no: 1, name: "external_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1052
|
+
{ no: 2, name: "display_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1053
|
+
{ no: 3, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1054
|
+
]);
|
|
901
1055
|
/**
|
|
902
1056
|
* @generated from message scalekit.v1.directories.DirectoryGroup
|
|
903
1057
|
*/
|
|
@@ -1270,7 +1424,11 @@ class RoleAssignment extends protobuf_1.Message {
|
|
|
1270
1424
|
*/
|
|
1271
1425
|
this.groupId = "";
|
|
1272
1426
|
/**
|
|
1273
|
-
* @generated from field: string
|
|
1427
|
+
* @generated from field: string role_name = 2;
|
|
1428
|
+
*/
|
|
1429
|
+
this.roleName = "";
|
|
1430
|
+
/**
|
|
1431
|
+
* @generated from field: string role_id = 3;
|
|
1274
1432
|
*/
|
|
1275
1433
|
this.roleId = "";
|
|
1276
1434
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -1293,7 +1451,8 @@ RoleAssignment.runtime = protobuf_1.proto3;
|
|
|
1293
1451
|
RoleAssignment.typeName = "scalekit.v1.directories.RoleAssignment";
|
|
1294
1452
|
RoleAssignment.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1295
1453
|
{ no: 1, name: "group_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1296
|
-
{ no: 2, name: "
|
|
1454
|
+
{ no: 2, name: "role_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1455
|
+
{ no: 3, name: "role_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1297
1456
|
]);
|
|
1298
1457
|
/**
|
|
1299
1458
|
* @generated from message scalekit.v1.directories.UpdateAttributesRequest
|
|
@@ -1426,4 +1585,76 @@ UpdateAttributesResponse.typeName = "scalekit.v1.directories.UpdateAttributesRes
|
|
|
1426
1585
|
UpdateAttributesResponse.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1427
1586
|
{ no: 1, name: "attribute_mappings", kind: "message", T: AttributeMappings },
|
|
1428
1587
|
]);
|
|
1588
|
+
/**
|
|
1589
|
+
* @generated from message scalekit.v1.directories.DeleteDirectoryRequest
|
|
1590
|
+
*/
|
|
1591
|
+
class DeleteDirectoryRequest extends protobuf_1.Message {
|
|
1592
|
+
constructor(data) {
|
|
1593
|
+
super();
|
|
1594
|
+
/**
|
|
1595
|
+
* @generated from field: string organization_id = 1;
|
|
1596
|
+
*/
|
|
1597
|
+
this.organizationId = "";
|
|
1598
|
+
/**
|
|
1599
|
+
* @generated from field: string id = 3;
|
|
1600
|
+
*/
|
|
1601
|
+
this.id = "";
|
|
1602
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1603
|
+
}
|
|
1604
|
+
static fromBinary(bytes, options) {
|
|
1605
|
+
return new DeleteDirectoryRequest().fromBinary(bytes, options);
|
|
1606
|
+
}
|
|
1607
|
+
static fromJson(jsonValue, options) {
|
|
1608
|
+
return new DeleteDirectoryRequest().fromJson(jsonValue, options);
|
|
1609
|
+
}
|
|
1610
|
+
static fromJsonString(jsonString, options) {
|
|
1611
|
+
return new DeleteDirectoryRequest().fromJsonString(jsonString, options);
|
|
1612
|
+
}
|
|
1613
|
+
static equals(a, b) {
|
|
1614
|
+
return protobuf_1.proto3.util.equals(DeleteDirectoryRequest, a, b);
|
|
1615
|
+
}
|
|
1616
|
+
}
|
|
1617
|
+
exports.DeleteDirectoryRequest = DeleteDirectoryRequest;
|
|
1618
|
+
DeleteDirectoryRequest.runtime = protobuf_1.proto3;
|
|
1619
|
+
DeleteDirectoryRequest.typeName = "scalekit.v1.directories.DeleteDirectoryRequest";
|
|
1620
|
+
DeleteDirectoryRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1621
|
+
{ no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1622
|
+
{ no: 3, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1623
|
+
]);
|
|
1624
|
+
/**
|
|
1625
|
+
* @generated from message scalekit.v1.directories.TriggerDirectorySyncRequest
|
|
1626
|
+
*/
|
|
1627
|
+
class TriggerDirectorySyncRequest extends protobuf_1.Message {
|
|
1628
|
+
constructor(data) {
|
|
1629
|
+
super();
|
|
1630
|
+
/**
|
|
1631
|
+
* @generated from field: string directory_id = 1;
|
|
1632
|
+
*/
|
|
1633
|
+
this.directoryId = "";
|
|
1634
|
+
/**
|
|
1635
|
+
* @generated from field: string organization_id = 2;
|
|
1636
|
+
*/
|
|
1637
|
+
this.organizationId = "";
|
|
1638
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1639
|
+
}
|
|
1640
|
+
static fromBinary(bytes, options) {
|
|
1641
|
+
return new TriggerDirectorySyncRequest().fromBinary(bytes, options);
|
|
1642
|
+
}
|
|
1643
|
+
static fromJson(jsonValue, options) {
|
|
1644
|
+
return new TriggerDirectorySyncRequest().fromJson(jsonValue, options);
|
|
1645
|
+
}
|
|
1646
|
+
static fromJsonString(jsonString, options) {
|
|
1647
|
+
return new TriggerDirectorySyncRequest().fromJsonString(jsonString, options);
|
|
1648
|
+
}
|
|
1649
|
+
static equals(a, b) {
|
|
1650
|
+
return protobuf_1.proto3.util.equals(TriggerDirectorySyncRequest, a, b);
|
|
1651
|
+
}
|
|
1652
|
+
}
|
|
1653
|
+
exports.TriggerDirectorySyncRequest = TriggerDirectorySyncRequest;
|
|
1654
|
+
TriggerDirectorySyncRequest.runtime = protobuf_1.proto3;
|
|
1655
|
+
TriggerDirectorySyncRequest.typeName = "scalekit.v1.directories.TriggerDirectorySyncRequest";
|
|
1656
|
+
TriggerDirectorySyncRequest.fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1657
|
+
{ no: 1, name: "directory_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1658
|
+
{ no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
1659
|
+
]);
|
|
1429
1660
|
//# sourceMappingURL=directories_pb.js.map
|