@ubs-platform/users-common 5.7.1 → 6.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.
- package/entity-ownership-dto.d.ts +35 -18
- package/entity-ownership-group.d.ts +58 -0
- package/entity-ownership-group.js +31 -0
- package/entity-ownership-group.js.map +1 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -2,35 +2,52 @@ export declare class UserCapabilityDTO {
|
|
|
2
2
|
userId: string;
|
|
3
3
|
capability?: string;
|
|
4
4
|
}
|
|
5
|
+
export interface EntityOwnershipRemoveUserCapabilityDTO {
|
|
6
|
+
userId: string;
|
|
7
|
+
}
|
|
8
|
+
export interface EntityOwnershipSetGroupIdDTO {
|
|
9
|
+
userId: string;
|
|
10
|
+
groupId: string;
|
|
11
|
+
}
|
|
5
12
|
export interface EntityOwnershipDTO {
|
|
6
13
|
userCapabilities: UserCapabilityDTO[];
|
|
7
|
-
entityGroup:
|
|
8
|
-
entityName:
|
|
9
|
-
entityId:
|
|
10
|
-
overriderRoles:
|
|
14
|
+
entityGroup: string;
|
|
15
|
+
entityName: string;
|
|
16
|
+
entityId: string;
|
|
17
|
+
overriderRoles: string[];
|
|
18
|
+
entityOwnershipGroupId: string;
|
|
11
19
|
}
|
|
12
20
|
export interface EntityOwnershipInsertCapabiltyDTO {
|
|
13
|
-
entityGroup:
|
|
14
|
-
entityName:
|
|
15
|
-
entityId:
|
|
21
|
+
entityGroup: string;
|
|
22
|
+
entityName: string;
|
|
23
|
+
entityId: string;
|
|
16
24
|
userId: string;
|
|
17
25
|
capability: string;
|
|
18
26
|
}
|
|
19
27
|
export interface EntityOwnershipUserSearch {
|
|
20
|
-
entityGroup:
|
|
21
|
-
entityName:
|
|
22
|
-
userId
|
|
23
|
-
|
|
28
|
+
entityGroup: string;
|
|
29
|
+
entityName: string;
|
|
30
|
+
userId?: string;
|
|
31
|
+
entityOwnershipGroupId?: string;
|
|
32
|
+
capabilityAtLeastOne?: string[];
|
|
24
33
|
}
|
|
25
34
|
export interface EntityOwnershipSearch {
|
|
26
|
-
entityGroup:
|
|
27
|
-
entityName:
|
|
28
|
-
entityId
|
|
35
|
+
entityGroup: string;
|
|
36
|
+
entityName: string;
|
|
37
|
+
entityId?: string;
|
|
29
38
|
}
|
|
30
39
|
export interface EntityOwnershipUserCheck {
|
|
31
|
-
entityGroup:
|
|
32
|
-
entityName:
|
|
33
|
-
entityId
|
|
34
|
-
|
|
40
|
+
entityGroup: string;
|
|
41
|
+
entityName: string;
|
|
42
|
+
entityId?: string;
|
|
43
|
+
capabilityAtLeastOne?: string[];
|
|
35
44
|
userId: string;
|
|
45
|
+
entityOwnershipGroupId?: string;
|
|
46
|
+
}
|
|
47
|
+
export interface EntityOwnershipGroupIdCheck {
|
|
48
|
+
entityGroup: string;
|
|
49
|
+
entityName: string;
|
|
50
|
+
entityId?: string;
|
|
51
|
+
capabilityAtLeastOne?: string[];
|
|
52
|
+
entityOwnershipGroupId: string;
|
|
36
53
|
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export type GroupCapability = 'OWNER' | 'VIEWER' | "EDITOR" | "META_EDIT" | 'ADJUST_MEMBERS' | 'ONLY_EDIT_MEMBER_CAPABILITIES';
|
|
2
|
+
export declare class EntityOwnershipGroupCommonDTO {
|
|
3
|
+
id?: string;
|
|
4
|
+
name: string;
|
|
5
|
+
description: string;
|
|
6
|
+
initialUserId?: string;
|
|
7
|
+
initialUserEntityCapabilities: EOGUserEntityCapabilityDTO[];
|
|
8
|
+
}
|
|
9
|
+
export declare class EntityOwnershipGroupSearchDTO {
|
|
10
|
+
id?: string;
|
|
11
|
+
name: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
memberUserId?: string;
|
|
14
|
+
admin?: "true" | "false";
|
|
15
|
+
}
|
|
16
|
+
export declare class EntityOwnershipGroupDTO {
|
|
17
|
+
id?: string;
|
|
18
|
+
name: string;
|
|
19
|
+
description?: string;
|
|
20
|
+
}
|
|
21
|
+
export declare class EntityOwnershipGroupMetaDTO {
|
|
22
|
+
id: string;
|
|
23
|
+
name: string;
|
|
24
|
+
description?: string;
|
|
25
|
+
}
|
|
26
|
+
export declare class EOGUserEntityCapabilityDTO {
|
|
27
|
+
entityGroup: string;
|
|
28
|
+
entityName: string;
|
|
29
|
+
capability: string;
|
|
30
|
+
}
|
|
31
|
+
export declare class EOGUserCapabilityDTO {
|
|
32
|
+
userId: string;
|
|
33
|
+
userFullName?: string;
|
|
34
|
+
entityCapabilities: EOGUserEntityCapabilityDTO[];
|
|
35
|
+
groupCapability: GroupCapability;
|
|
36
|
+
}
|
|
37
|
+
export declare class EOGUserCapabilityInviteDTO {
|
|
38
|
+
userLogin: string;
|
|
39
|
+
entityCapabilities: EOGUserEntityCapabilityDTO[];
|
|
40
|
+
groupCapability: GroupCapability;
|
|
41
|
+
}
|
|
42
|
+
export declare class EOGUserCapabilityInvitationDTO {
|
|
43
|
+
eogName: string;
|
|
44
|
+
eogDescription: string;
|
|
45
|
+
eogId: string;
|
|
46
|
+
invitedByUserId: string;
|
|
47
|
+
invitedByUserName: string;
|
|
48
|
+
userName: string;
|
|
49
|
+
userId: string;
|
|
50
|
+
invitationId: string;
|
|
51
|
+
entityCapabilities: EOGUserEntityCapabilityDTO[];
|
|
52
|
+
groupCapability: GroupCapability;
|
|
53
|
+
}
|
|
54
|
+
export declare class EOGCheckUserGroupCapabilityDTO {
|
|
55
|
+
entityOwnershipGroupId: string;
|
|
56
|
+
userId: string;
|
|
57
|
+
groupCapabilitiesAtLeastOne: GroupCapability[];
|
|
58
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EOGCheckUserGroupCapabilityDTO = exports.EOGUserCapabilityInvitationDTO = exports.EOGUserCapabilityInviteDTO = exports.EOGUserCapabilityDTO = exports.EOGUserEntityCapabilityDTO = exports.EntityOwnershipGroupMetaDTO = exports.EntityOwnershipGroupDTO = exports.EntityOwnershipGroupSearchDTO = exports.EntityOwnershipGroupCommonDTO = void 0;
|
|
4
|
+
class EntityOwnershipGroupCommonDTO {
|
|
5
|
+
}
|
|
6
|
+
exports.EntityOwnershipGroupCommonDTO = EntityOwnershipGroupCommonDTO;
|
|
7
|
+
class EntityOwnershipGroupSearchDTO {
|
|
8
|
+
}
|
|
9
|
+
exports.EntityOwnershipGroupSearchDTO = EntityOwnershipGroupSearchDTO;
|
|
10
|
+
class EntityOwnershipGroupDTO {
|
|
11
|
+
}
|
|
12
|
+
exports.EntityOwnershipGroupDTO = EntityOwnershipGroupDTO;
|
|
13
|
+
class EntityOwnershipGroupMetaDTO {
|
|
14
|
+
}
|
|
15
|
+
exports.EntityOwnershipGroupMetaDTO = EntityOwnershipGroupMetaDTO;
|
|
16
|
+
class EOGUserEntityCapabilityDTO {
|
|
17
|
+
}
|
|
18
|
+
exports.EOGUserEntityCapabilityDTO = EOGUserEntityCapabilityDTO;
|
|
19
|
+
class EOGUserCapabilityDTO {
|
|
20
|
+
}
|
|
21
|
+
exports.EOGUserCapabilityDTO = EOGUserCapabilityDTO;
|
|
22
|
+
class EOGUserCapabilityInviteDTO {
|
|
23
|
+
}
|
|
24
|
+
exports.EOGUserCapabilityInviteDTO = EOGUserCapabilityInviteDTO;
|
|
25
|
+
class EOGUserCapabilityInvitationDTO {
|
|
26
|
+
}
|
|
27
|
+
exports.EOGUserCapabilityInvitationDTO = EOGUserCapabilityInvitationDTO;
|
|
28
|
+
class EOGCheckUserGroupCapabilityDTO {
|
|
29
|
+
}
|
|
30
|
+
exports.EOGCheckUserGroupCapabilityDTO = EOGCheckUserGroupCapabilityDTO;
|
|
31
|
+
//# sourceMappingURL=entity-ownership-group.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entity-ownership-group.js","sourceRoot":"","sources":["../../../../../libs/users-common/src/entity-ownership-group.ts"],"names":[],"mappings":";;;AAEA,MAAa,6BAA6B;CAgBzC;AAhBD,sEAgBC;AAED,MAAa,6BAA6B;CAMzC;AAND,sEAMC;AAED,MAAa,uBAAuB;CAKnC;AALD,0DAKC;AAGD,MAAa,2BAA2B;CAKvC;AALD,kEAKC;AAED,MAAa,0BAA0B;CAItC;AAJD,gEAIC;AACD,MAAa,oBAAoB;CAKhC;AALD,oDAKC;AAGD,MAAa,0BAA0B;CAItC;AAJD,gEAIC;AAGD,MAAa,8BAA8B;CAY1C;AAZD,wEAYC;AAED,MAAa,8BAA8B;CAI1C;AAJD,wEAIC"}
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -27,4 +27,5 @@ __exportStar(require("./password-change-dto"), exports);
|
|
|
27
27
|
__exportStar(require("./user-full-dto"), exports);
|
|
28
28
|
__exportStar(require("./error-informations"), exports);
|
|
29
29
|
__exportStar(require("./entity-ownership-dto"), exports);
|
|
30
|
+
__exportStar(require("./entity-ownership-group"), exports);
|
|
30
31
|
//# sourceMappingURL=index.js.map
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/users-common/src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,2DAAyC;AACzC,wDAAsC;AACtC,iDAA+B;AAC/B,0DAAwC;AACxC,6CAA2B;AAC3B,mDAAiC;AACjC,yDAAuC;AACvC,oDAAkC;AAClC,wDAAsC;AACtC,kDAAgC;AAChC,uDAAqC;AACrC,yDAAuC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/users-common/src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,2DAAyC;AACzC,wDAAsC;AACtC,iDAA+B;AAC/B,0DAAwC;AACxC,6CAA2B;AAC3B,mDAAiC;AACjC,yDAAuC;AACvC,oDAAkC;AAClC,wDAAsC;AACtC,kDAAgC;AAChC,uDAAqC;AACrC,yDAAuC;AACvC,2DAAwC"}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@ubs-platform/users-common","version":"
|
|
1
|
+
{"name":"@ubs-platform/users-common","version":"6.0.0","description":"","repository":{"url":"https://github.com/ubs-platform/ubs-mona-mr"},"homepage":"https://github.com/ubs-platform/ubs-mona-mr","iksir":{"type":"LIBRARY","libraryMode":"PEER","buildSubFolder":"users-common/src"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"ISC"}
|