@rocketlink/crm-model 1.0.266 → 1.0.268
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/dist/dtos/aclAction.request.dto.d.ts +6 -0
- package/dist/dtos/aclAction.request.dto.d.ts.map +1 -0
- package/dist/dtos/aclAction.request.dto.js +2 -0
- package/dist/dtos/aclSubject.request.dto.d.ts +6 -0
- package/dist/dtos/aclSubject.request.dto.d.ts.map +1 -0
- package/dist/dtos/aclSubject.request.dto.js +2 -0
- package/dist/dtos/role.request.dto.d.ts +6 -0
- package/dist/dtos/role.request.dto.d.ts.map +1 -0
- package/dist/dtos/role.request.dto.js +2 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -0
- package/dist/model/aclAction.model.d.ts +7 -0
- package/dist/model/aclAction.model.d.ts.map +1 -0
- package/dist/model/aclAction.model.js +2 -0
- package/dist/model/aclRolePermission.model.d.ts +15 -0
- package/dist/model/aclRolePermission.model.d.ts.map +1 -0
- package/dist/model/aclRolePermission.model.js +2 -0
- package/dist/model/aclSubject.model.d.ts +7 -0
- package/dist/model/aclSubject.model.d.ts.map +1 -0
- package/dist/model/aclSubject.model.js +2 -0
- package/dist/model/constants/acl.constants.d.ts +7 -0
- package/dist/model/constants/acl.constants.d.ts.map +1 -0
- package/dist/model/constants/acl.constants.js +8 -0
- package/dist/model/hook.model.d.ts +1 -1
- package/dist/model/hook.model.d.ts.map +1 -1
- package/dist/model/role.model.d.ts +10 -0
- package/dist/model/role.model.d.ts.map +1 -0
- package/dist/model/role.model.js +2 -0
- package/dist/model/user.model.d.ts +2 -0
- package/dist/model/user.model.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/dtos/aclAction.request.dto.ts +6 -0
- package/src/dtos/aclSubject.request.dto.ts +6 -0
- package/src/dtos/role.request.dto.ts +6 -0
- package/src/index.ts +8 -0
- package/src/model/aclAction.model.ts +6 -0
- package/src/model/aclRolePermission.model.ts +15 -0
- package/src/model/aclSubject.model.ts +6 -0
- package/src/model/constants/acl.constants.ts +7 -0
- package/src/model/hook.model.ts +1 -1
- package/src/model/role.model.ts +9 -0
- package/src/model/user.model.ts +3 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aclAction.request.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/aclAction.request.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAElE,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;IACzD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aclSubject.request.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/aclSubject.request.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAElE,MAAM,WAAW,kBAAmB,SAAQ,gBAAgB;IAC1D,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"role.request.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/role.request.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAElE,MAAM,WAAW,YAAa,SAAQ,gBAAgB;IACpD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
|
package/dist/index.d.ts
CHANGED
|
@@ -36,6 +36,9 @@ export * from './dtos/transaction.request.dto';
|
|
|
36
36
|
export * from './dtos/transactionError.request.dto';
|
|
37
37
|
export * from './dtos/webhook.request.dto';
|
|
38
38
|
export * from './dtos/webhook.response.dto';
|
|
39
|
+
export * from './dtos/role.request.dto';
|
|
40
|
+
export * from './dtos/aclSubject.request.dto';
|
|
41
|
+
export * from './dtos/aclAction.request.dto';
|
|
39
42
|
export * from './mappers/csv/csvRowDataOrder.csv.mapper';
|
|
40
43
|
export * from './mappers/csv/csvRowDataSubscriptionId.csv.mapper';
|
|
41
44
|
export * from './model/constants/lead.constants';
|
|
@@ -51,6 +54,7 @@ export * from './model/constants/hookOutbox.constants';
|
|
|
51
54
|
export * from './model/constants/job.constants';
|
|
52
55
|
export * from './model/constants/event.constants';
|
|
53
56
|
export * from './model/constants/offer.constants';
|
|
57
|
+
export * from './model/constants/acl.constants';
|
|
54
58
|
export * from './model/campaign.model';
|
|
55
59
|
export * from './model/category.model';
|
|
56
60
|
export * from './model/csv.model';
|
|
@@ -79,6 +83,10 @@ export * from './model/subscription.model';
|
|
|
79
83
|
export * from './model/subscriptionStepdown.model';
|
|
80
84
|
export * from './model/transaction.model';
|
|
81
85
|
export * from './model/transactionError.model';
|
|
86
|
+
export * from './model/role.model';
|
|
87
|
+
export * from './model/aclSubject.model';
|
|
88
|
+
export * from './model/aclAction.model';
|
|
89
|
+
export * from './model/aclRolePermission.model';
|
|
82
90
|
export * from './gateways/adapters/model/transactionEmp.model';
|
|
83
91
|
export * from './gateways/adapters/model/transactionNovalNet.model';
|
|
84
92
|
export * from './gateways/adapters/model/transactionFinXP.model';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,uBAAuB,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC7G,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AAGnC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qCAAqC,CAAC;AACpD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AC;AAC3D,cAAc,iDAAiD,CAAC;AAChE,cAAc,8CAA8C,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -61,6 +61,9 @@ __exportStar(require("./dtos/transaction.request.dto"), exports);
|
|
|
61
61
|
__exportStar(require("./dtos/transactionError.request.dto"), exports);
|
|
62
62
|
__exportStar(require("./dtos/webhook.request.dto"), exports);
|
|
63
63
|
__exportStar(require("./dtos/webhook.response.dto"), exports);
|
|
64
|
+
__exportStar(require("./dtos/role.request.dto"), exports);
|
|
65
|
+
__exportStar(require("./dtos/aclSubject.request.dto"), exports);
|
|
66
|
+
__exportStar(require("./dtos/aclAction.request.dto"), exports);
|
|
64
67
|
// Export all Mappers
|
|
65
68
|
__exportStar(require("./mappers/csv/csvRowDataOrder.csv.mapper"), exports);
|
|
66
69
|
__exportStar(require("./mappers/csv/csvRowDataSubscriptionId.csv.mapper"), exports);
|
|
@@ -78,6 +81,7 @@ __exportStar(require("./model/constants/hookOutbox.constants"), exports);
|
|
|
78
81
|
__exportStar(require("./model/constants/job.constants"), exports);
|
|
79
82
|
__exportStar(require("./model/constants/event.constants"), exports);
|
|
80
83
|
__exportStar(require("./model/constants/offer.constants"), exports);
|
|
84
|
+
__exportStar(require("./model/constants/acl.constants"), exports);
|
|
81
85
|
// Export all Models
|
|
82
86
|
__exportStar(require("./model/campaign.model"), exports);
|
|
83
87
|
__exportStar(require("./model/category.model"), exports);
|
|
@@ -108,6 +112,10 @@ __exportStar(require("./model/subscription.model"), exports);
|
|
|
108
112
|
__exportStar(require("./model/subscriptionStepdown.model"), exports);
|
|
109
113
|
__exportStar(require("./model/transaction.model"), exports);
|
|
110
114
|
__exportStar(require("./model/transactionError.model"), exports);
|
|
115
|
+
__exportStar(require("./model/role.model"), exports);
|
|
116
|
+
__exportStar(require("./model/aclSubject.model"), exports);
|
|
117
|
+
__exportStar(require("./model/aclAction.model"), exports);
|
|
118
|
+
__exportStar(require("./model/aclRolePermission.model"), exports);
|
|
111
119
|
// Export Gateway Adapters Models
|
|
112
120
|
__exportStar(require("./gateways/adapters/model/transactionEmp.model"), exports);
|
|
113
121
|
__exportStar(require("./gateways/adapters/model/transactionNovalNet.model"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aclAction.model.d.ts","sourceRoot":"","sources":["../../src/model/aclAction.model.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACxB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,SAAS,CAAC,EAAE,IAAI,CAAC;CAClB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AclAction } from "./aclAction.model";
|
|
2
|
+
import { AclSubject } from "./aclSubject.model";
|
|
3
|
+
import { Role } from "./role.model";
|
|
4
|
+
export interface AclRolePermission {
|
|
5
|
+
id?: number;
|
|
6
|
+
roleId?: number;
|
|
7
|
+
subjectId?: number;
|
|
8
|
+
actionId?: number;
|
|
9
|
+
role?: Role;
|
|
10
|
+
action?: AclAction;
|
|
11
|
+
subject?: AclSubject;
|
|
12
|
+
createdAt?: Date;
|
|
13
|
+
updatedAt?: Date;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=aclRolePermission.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aclRolePermission.model.d.ts","sourceRoot":"","sources":["../../src/model/aclRolePermission.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,MAAM,WAAW,iBAAiB;IAChC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,SAAS,CAAC,EAAE,IAAI,CAAC;CAClB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aclSubject.model.d.ts","sourceRoot":"","sources":["../../src/model/aclSubject.model.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,SAAS,CAAC,EAAE,IAAI,CAAC;CAClB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acl.constants.d.ts","sourceRoot":"","sources":["../../../src/model/constants/acl.constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;CAIb,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hook.model.d.ts","sourceRoot":"","sources":["../../src/model/hook.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,MAAM,WAAW,IAAI;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"hook.model.d.ts","sourceRoot":"","sources":["../../src/model/hook.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEtC,MAAM,WAAW,IAAI;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC/B,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,CAAC,EAAE,IAAI,CAAC;CAClB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AclRolePermission } from "./aclRolePermission.model";
|
|
2
|
+
export interface Role {
|
|
3
|
+
id?: number;
|
|
4
|
+
name?: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
aclPermissions?: AclRolePermission[];
|
|
7
|
+
createdAt?: Date;
|
|
8
|
+
updatedAt?: Date;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=role.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"role.model.d.ts","sourceRoot":"","sources":["../../src/model/role.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,MAAM,WAAW,IAAI;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACrC,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,SAAS,CAAC,EAAE,IAAI,CAAC;CAClB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.model.d.ts","sourceRoot":"","sources":["../../src/model/user.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAC,QAAQ,EAAC,MAAM,wBAAwB,CAAC;AAEhD,MAAM,WAAW,IAAI;IACjB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,SAAS,CAAC,EAAE,IAAI,CAAC;CACpB"}
|
|
1
|
+
{"version":3,"file":"user.model.d.ts","sourceRoot":"","sources":["../../src/model/user.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,kCAAkC,CAAC;AAC5D,OAAO,EAAC,QAAQ,EAAC,MAAM,wBAAwB,CAAC;AAEhD,MAAM,WAAW,IAAI;IACjB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,SAAS,CAAC,EAAE,IAAI,CAAC;CACpB"}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -40,6 +40,9 @@ export * from './dtos/transaction.request.dto';
|
|
|
40
40
|
export * from './dtos/transactionError.request.dto';
|
|
41
41
|
export * from './dtos/webhook.request.dto';
|
|
42
42
|
export * from './dtos/webhook.response.dto';
|
|
43
|
+
export * from './dtos/role.request.dto';
|
|
44
|
+
export * from './dtos/aclSubject.request.dto';
|
|
45
|
+
export * from './dtos/aclAction.request.dto';
|
|
43
46
|
|
|
44
47
|
// Export all Mappers
|
|
45
48
|
export * from './mappers/csv/csvRowDataOrder.csv.mapper';
|
|
@@ -59,6 +62,7 @@ export * from './model/constants/hookOutbox.constants';
|
|
|
59
62
|
export * from './model/constants/job.constants';
|
|
60
63
|
export * from './model/constants/event.constants';
|
|
61
64
|
export * from './model/constants/offer.constants';
|
|
65
|
+
export * from './model/constants/acl.constants';
|
|
62
66
|
|
|
63
67
|
// Export all Models
|
|
64
68
|
export * from './model/campaign.model';
|
|
@@ -90,6 +94,10 @@ export * from './model/subscription.model';
|
|
|
90
94
|
export * from './model/subscriptionStepdown.model';
|
|
91
95
|
export * from './model/transaction.model';
|
|
92
96
|
export * from './model/transactionError.model';
|
|
97
|
+
export * from './model/role.model';
|
|
98
|
+
export * from './model/aclSubject.model';
|
|
99
|
+
export * from './model/aclAction.model';
|
|
100
|
+
export * from './model/aclRolePermission.model';
|
|
93
101
|
|
|
94
102
|
// Export Gateway Adapters Models
|
|
95
103
|
export * from './gateways/adapters/model/transactionEmp.model';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AclAction } from "./aclAction.model";
|
|
2
|
+
import { AclSubject } from "./aclSubject.model";
|
|
3
|
+
import { Role } from "./role.model";
|
|
4
|
+
|
|
5
|
+
export interface AclRolePermission {
|
|
6
|
+
id?: number;
|
|
7
|
+
roleId?: number;
|
|
8
|
+
subjectId?: number;
|
|
9
|
+
actionId?: number;
|
|
10
|
+
role?: Role;
|
|
11
|
+
action?: AclAction;
|
|
12
|
+
subject?: AclSubject;
|
|
13
|
+
createdAt?: Date;
|
|
14
|
+
updatedAt?: Date;
|
|
15
|
+
}
|
package/src/model/hook.model.ts
CHANGED
package/src/model/user.model.ts
CHANGED
|
@@ -5,10 +5,12 @@ export interface User {
|
|
|
5
5
|
id?: number;
|
|
6
6
|
name?: string;
|
|
7
7
|
password?: string;
|
|
8
|
+
plainPassword?: string;
|
|
8
9
|
email?: string;
|
|
9
10
|
status?: USER_STATE;
|
|
10
11
|
tenantId?: number;
|
|
12
|
+
roleId?: number;
|
|
11
13
|
merchants?: Merchant[];
|
|
12
14
|
createdAt?: Date;
|
|
13
15
|
updatedAt?: Date;
|
|
14
|
-
}
|
|
16
|
+
}
|