@campxdev/server-shared 1.2.37 → 1.2.39
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/common/config/mongo.config.d.ts +3 -3
- package/dist/common/config/mongo.config.js +23 -23
- package/dist/common/decorators/request.decorators.d.ts +5 -5
- package/dist/common/decorators/request.decorators.js +36 -36
- package/dist/common/decorators/time-validation.decorator.d.ts +2 -2
- package/dist/common/decorators/time-validation.decorator.js +26 -26
- package/dist/common/filters/unhandled-exception.filter.d.ts +4 -4
- package/dist/common/filters/unhandled-exception.filter.js +37 -38
- package/dist/common/filters/unhandled-exception.filter.js.map +1 -1
- package/dist/common/guards/guard.d.ts +8 -8
- package/dist/common/guards/guard.js +24 -24
- package/dist/common/index.d.ts +10 -10
- package/dist/common/index.js +26 -26
- package/dist/common/interceptors/request.interceptor.d.ts +20 -20
- package/dist/common/interceptors/request.interceptor.js +142 -143
- package/dist/common/interceptors/request.interceptor.js.map +1 -1
- package/dist/common/interfaces/context.interface.d.ts +125 -125
- package/dist/common/interfaces/context.interface.js +2 -2
- package/dist/common/store/request-store.d.ts +44 -44
- package/dist/common/store/request-store.js +166 -166
- package/dist/common/store/store-config.d.ts +6 -6
- package/dist/common/store/store-config.js +23 -23
- package/dist/common/store/store.interceptor.d.ts +5 -5
- package/dist/common/store/store.interceptor.js +36 -37
- package/dist/common/store/store.interceptor.js.map +1 -1
- package/dist/domain/db-connection.module.d.ts +3 -3
- package/dist/domain/db-connection.module.js +28 -29
- package/dist/domain/db-connection.module.js.map +1 -1
- package/dist/domain/entities/evaluator.entity.d.ts +17 -17
- package/dist/domain/entities/evaluator.entity.js +111 -112
- package/dist/domain/entities/evaluator.entity.js.map +1 -1
- package/dist/domain/entities/leads.entity.d.ts +26 -26
- package/dist/domain/entities/leads.entity.js +160 -161
- package/dist/domain/entities/leads.entity.js.map +1 -1
- package/dist/domain/entities/profile-permission.entity.d.ts +13 -13
- package/dist/domain/entities/profile-permission.entity.js +69 -70
- package/dist/domain/entities/profile-permission.entity.js.map +1 -1
- package/dist/domain/entities/profile.entity.d.ts +26 -26
- package/dist/domain/entities/profile.entity.js +98 -99
- package/dist/domain/entities/profile.entity.js.map +1 -1
- package/dist/domain/entities/student.entity.d.ts +26 -26
- package/dist/domain/entities/student.entity.js +123 -124
- package/dist/domain/entities/student.entity.js.map +1 -1
- package/dist/domain/entities/user.entity.d.ts +20 -20
- package/dist/domain/entities/user.entity.js +135 -136
- package/dist/domain/entities/user.entity.js.map +1 -1
- package/dist/domain/index.d.ts +10 -10
- package/dist/domain/index.js +26 -26
- package/dist/domain/schemas/global-users.schema.d.ts +60 -60
- package/dist/domain/schemas/global-users.schema.d.ts.map +1 -1
- package/dist/domain/schemas/global-users.schema.js +156 -158
- package/dist/domain/schemas/global-users.schema.js.map +1 -1
- package/dist/domain/schemas/tenant.schema.d.ts +109 -106
- package/dist/domain/schemas/tenant.schema.d.ts.map +1 -1
- package/dist/domain/schemas/tenant.schema.js +349 -347
- package/dist/domain/schemas/tenant.schema.js.map +1 -1
- package/dist/domain/shared-domain.module.d.ts +2 -2
- package/dist/domain/shared-domain.module.js +26 -27
- package/dist/domain/shared-domain.module.js.map +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +21 -21
- package/dist/permissions/app-permissions/commute-x-permissions.d.ts +118 -118
- package/dist/permissions/app-permissions/commute-x-permissions.js +128 -128
- package/dist/permissions/app-permissions/enroll-x-permissions.d.ts +498 -498
- package/dist/permissions/app-permissions/enroll-x-permissions.js +816 -816
- package/dist/permissions/app-permissions/exams-permissions.d.ts +745 -745
- package/dist/permissions/app-permissions/exams-permissions.js +1218 -1218
- package/dist/permissions/app-permissions/hostels-permissions.d.ts +424 -424
- package/dist/permissions/app-permissions/hostels-permissions.js +537 -537
- package/dist/permissions/app-permissions/payments-permissions.d.ts +364 -364
- package/dist/permissions/app-permissions/payments-permissions.js +486 -486
- package/dist/permissions/app-permissions/people-x-permissions.d.ts +346 -346
- package/dist/permissions/app-permissions/people-x-permissions.js +356 -356
- package/dist/permissions/app-permissions/square-permissions.d.ts +1357 -1240
- package/dist/permissions/app-permissions/square-permissions.d.ts.map +1 -1
- package/dist/permissions/app-permissions/square-permissions.js +2470 -2263
- package/dist/permissions/app-permissions/square-permissions.js.map +1 -1
- package/dist/permissions/check-permission.guard.d.ts +9 -9
- package/dist/permissions/check-permission.guard.js +60 -60
- package/dist/permissions/index.d.ts +9 -9
- package/dist/permissions/index.js +32 -32
- package/dist/permissions/permissions.d.ts +7698 -7464
- package/dist/permissions/permissions.d.ts.map +1 -1
- package/dist/permissions/permissions.js +122 -122
- package/dist/shared-module/index.d.ts +2 -2
- package/dist/shared-module/index.js +7 -7
- package/dist/shared-module/shared.module.d.ts +10 -10
- package/dist/shared-module/shared.module.js +36 -37
- package/dist/shared-module/shared.module.js.map +1 -1
- package/dist/shared-module/shared.service.d.ts +67 -67
- package/dist/shared-module/shared.service.js +211 -212
- package/dist/shared-module/shared.service.js.map +1 -1
- package/dist/utils/constants.d.ts +25 -25
- package/dist/utils/constants.js +28 -28
- package/dist/utils/index.d.ts +2 -2
- package/dist/utils/index.js +18 -18
- package/dist/utils/utils.d.ts +26 -26
- package/dist/utils/utils.js +250 -250
- package/package.json +46 -46
|
@@ -1,113 +1,112 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
21
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
22
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
23
|
-
};
|
|
24
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
|
-
if (mod && mod.__esModule) return mod;
|
|
26
|
-
var result = {};
|
|
27
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
28
|
-
__setModuleDefault(result, mod);
|
|
29
|
-
return result;
|
|
30
|
-
};
|
|
31
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
32
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
33
|
-
};
|
|
34
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
-
exports.Evaluator = void 0;
|
|
36
|
-
const bcrypt = __importStar(require("bcrypt"));
|
|
37
|
-
const typeorm_1 = require("typeorm");
|
|
38
|
-
let Evaluator = class Evaluator {
|
|
39
|
-
id;
|
|
40
|
-
fullName;
|
|
41
|
-
email;
|
|
42
|
-
mobile;
|
|
43
|
-
alternativeMobile;
|
|
44
|
-
password;
|
|
45
|
-
organisation;
|
|
46
|
-
address;
|
|
47
|
-
costPerPaper;
|
|
48
|
-
createdAt;
|
|
49
|
-
updatedAt;
|
|
50
|
-
picture;
|
|
51
|
-
proofPicture;
|
|
52
|
-
async verifyPassword(plainTextPassword) {
|
|
53
|
-
return bcrypt.compare(plainTextPassword, this.password);
|
|
54
|
-
}
|
|
55
|
-
async hashPassword() {
|
|
56
|
-
this.password = await bcrypt.hash(this.password, 10);
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
__decorate([
|
|
60
|
-
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
61
|
-
__metadata("design:type", Number)
|
|
62
|
-
], Evaluator.prototype, "id", void 0);
|
|
63
|
-
__decorate([
|
|
64
|
-
(0, typeorm_1.Column)(),
|
|
65
|
-
__metadata("design:type", String)
|
|
66
|
-
], Evaluator.prototype, "fullName", void 0);
|
|
67
|
-
__decorate([
|
|
68
|
-
(0, typeorm_1.Column)({ unique: true }),
|
|
69
|
-
__metadata("design:type", String)
|
|
70
|
-
], Evaluator.prototype, "email", void 0);
|
|
71
|
-
__decorate([
|
|
72
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
73
|
-
__metadata("design:type", String)
|
|
74
|
-
], Evaluator.prototype, "mobile", void 0);
|
|
75
|
-
__decorate([
|
|
76
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
77
|
-
__metadata("design:type", String)
|
|
78
|
-
], Evaluator.prototype, "alternativeMobile", void 0);
|
|
79
|
-
__decorate([
|
|
80
|
-
(0, typeorm_1.Column)(),
|
|
81
|
-
__metadata("design:type", String)
|
|
82
|
-
], Evaluator.prototype, "password", void 0);
|
|
83
|
-
__decorate([
|
|
84
|
-
(0, typeorm_1.Column)(),
|
|
85
|
-
__metadata("design:type", String)
|
|
86
|
-
], Evaluator.prototype, "organisation", void 0);
|
|
87
|
-
__decorate([
|
|
88
|
-
(0, typeorm_1.Column)({ nullable: true }),
|
|
89
|
-
__metadata("design:type", String)
|
|
90
|
-
], Evaluator.prototype, "address", void 0);
|
|
91
|
-
__decorate([
|
|
92
|
-
(0, typeorm_1.Column)(),
|
|
93
|
-
__metadata("design:type", Number)
|
|
94
|
-
], Evaluator.prototype, "costPerPaper", void 0);
|
|
95
|
-
__decorate([
|
|
96
|
-
(0, typeorm_1.CreateDateColumn)(),
|
|
97
|
-
__metadata("design:type", String)
|
|
98
|
-
], Evaluator.prototype, "createdAt", void 0);
|
|
99
|
-
__decorate([
|
|
100
|
-
(0, typeorm_1.UpdateDateColumn)(),
|
|
101
|
-
__metadata("design:type", String)
|
|
102
|
-
], Evaluator.prototype, "updatedAt", void 0);
|
|
103
|
-
__decorate([
|
|
104
|
-
(0, typeorm_1.BeforeInsert)(),
|
|
105
|
-
__metadata("design:type", Function),
|
|
106
|
-
__metadata("design:paramtypes", []),
|
|
107
|
-
__metadata("design:returntype", Promise)
|
|
108
|
-
], Evaluator.prototype, "hashPassword", null);
|
|
109
|
-
Evaluator = __decorate([
|
|
110
|
-
(0, typeorm_1.Entity)()
|
|
111
|
-
], Evaluator);
|
|
112
|
-
exports.Evaluator = Evaluator;
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
21
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
22
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
23
|
+
};
|
|
24
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
|
+
if (mod && mod.__esModule) return mod;
|
|
26
|
+
var result = {};
|
|
27
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
28
|
+
__setModuleDefault(result, mod);
|
|
29
|
+
return result;
|
|
30
|
+
};
|
|
31
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
32
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
exports.Evaluator = void 0;
|
|
36
|
+
const bcrypt = __importStar(require("bcrypt"));
|
|
37
|
+
const typeorm_1 = require("typeorm");
|
|
38
|
+
let Evaluator = exports.Evaluator = class Evaluator {
|
|
39
|
+
id;
|
|
40
|
+
fullName;
|
|
41
|
+
email;
|
|
42
|
+
mobile;
|
|
43
|
+
alternativeMobile;
|
|
44
|
+
password;
|
|
45
|
+
organisation;
|
|
46
|
+
address;
|
|
47
|
+
costPerPaper;
|
|
48
|
+
createdAt;
|
|
49
|
+
updatedAt;
|
|
50
|
+
picture;
|
|
51
|
+
proofPicture;
|
|
52
|
+
async verifyPassword(plainTextPassword) {
|
|
53
|
+
return bcrypt.compare(plainTextPassword, this.password);
|
|
54
|
+
}
|
|
55
|
+
async hashPassword() {
|
|
56
|
+
this.password = await bcrypt.hash(this.password, 10);
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
61
|
+
__metadata("design:type", Number)
|
|
62
|
+
], Evaluator.prototype, "id", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, typeorm_1.Column)(),
|
|
65
|
+
__metadata("design:type", String)
|
|
66
|
+
], Evaluator.prototype, "fullName", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, typeorm_1.Column)({ unique: true }),
|
|
69
|
+
__metadata("design:type", String)
|
|
70
|
+
], Evaluator.prototype, "email", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
73
|
+
__metadata("design:type", String)
|
|
74
|
+
], Evaluator.prototype, "mobile", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
77
|
+
__metadata("design:type", String)
|
|
78
|
+
], Evaluator.prototype, "alternativeMobile", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
(0, typeorm_1.Column)(),
|
|
81
|
+
__metadata("design:type", String)
|
|
82
|
+
], Evaluator.prototype, "password", void 0);
|
|
83
|
+
__decorate([
|
|
84
|
+
(0, typeorm_1.Column)(),
|
|
85
|
+
__metadata("design:type", String)
|
|
86
|
+
], Evaluator.prototype, "organisation", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
89
|
+
__metadata("design:type", String)
|
|
90
|
+
], Evaluator.prototype, "address", void 0);
|
|
91
|
+
__decorate([
|
|
92
|
+
(0, typeorm_1.Column)(),
|
|
93
|
+
__metadata("design:type", Number)
|
|
94
|
+
], Evaluator.prototype, "costPerPaper", void 0);
|
|
95
|
+
__decorate([
|
|
96
|
+
(0, typeorm_1.CreateDateColumn)(),
|
|
97
|
+
__metadata("design:type", String)
|
|
98
|
+
], Evaluator.prototype, "createdAt", void 0);
|
|
99
|
+
__decorate([
|
|
100
|
+
(0, typeorm_1.UpdateDateColumn)(),
|
|
101
|
+
__metadata("design:type", String)
|
|
102
|
+
], Evaluator.prototype, "updatedAt", void 0);
|
|
103
|
+
__decorate([
|
|
104
|
+
(0, typeorm_1.BeforeInsert)(),
|
|
105
|
+
__metadata("design:type", Function),
|
|
106
|
+
__metadata("design:paramtypes", []),
|
|
107
|
+
__metadata("design:returntype", Promise)
|
|
108
|
+
], Evaluator.prototype, "hashPassword", null);
|
|
109
|
+
exports.Evaluator = Evaluator = __decorate([
|
|
110
|
+
(0, typeorm_1.Entity)()
|
|
111
|
+
], Evaluator);
|
|
113
112
|
//# sourceMappingURL=evaluator.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"evaluator.entity.js","sourceRoot":"","sources":["../../../src/domain/entities/evaluator.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAiC;AACjC,qCAOiB;AAGV,IAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"evaluator.entity.js","sourceRoot":"","sources":["../../../src/domain/entities/evaluator.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAiC;AACjC,qCAOiB;AAGV,IAAM,SAAS,uBAAf,MAAM,SAAS;IAEpB,EAAE,CAAS;IAGX,QAAQ,CAAS;IAGjB,KAAK,CAAS;IAGd,MAAM,CAAS;IAGf,iBAAiB,CAAS;IAG1B,QAAQ,CAAS;IAGjB,YAAY,CAAS;IAGrB,OAAO,CAAS;IAGhB,YAAY,CAAS;IAGrB,SAAS,CAAS;IAGlB,SAAS,CAAS;IAElB,OAAO,CAAM;IAEb,YAAY,CAAM;IAElB,KAAK,CAAC,cAAc,CAAC,iBAAyB;QAC5C,OAAO,MAAM,CAAC,OAAO,CAAC,iBAAiB,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC1D,CAAC;IAGK,AAAN,KAAK,CAAC,YAAY;QAChB,IAAI,CAAC,QAAQ,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;IACvD,CAAC;CACF,CAAA;AA5CC;IADC,IAAA,gCAAsB,GAAE;;qCACd;AAGX;IADC,IAAA,gBAAM,GAAE;;2CACQ;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;wCACX;AAGd;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yCACZ;AAGf;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACD;AAG1B;IADC,IAAA,gBAAM,GAAE;;2CACQ;AAGjB;IADC,IAAA,gBAAM,GAAE;;+CACY;AAGrB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0CACX;AAGhB;IADC,IAAA,gBAAM,GAAE;;+CACY;AAGrB;IADC,IAAA,0BAAgB,GAAE;;4CACD;AAGlB;IADC,IAAA,0BAAgB,GAAE;;4CACD;AAWZ;IADL,IAAA,sBAAY,GAAE;;;;6CAGd;oBA7CU,SAAS;IADrB,IAAA,gBAAM,GAAE;GACI,SAAS,CA8CrB"}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
export declare class Leads {
|
|
2
|
-
id: number;
|
|
3
|
-
name: string;
|
|
4
|
-
firstName: string;
|
|
5
|
-
lastName: string;
|
|
6
|
-
mobile: string;
|
|
7
|
-
gender: string;
|
|
8
|
-
email: string;
|
|
9
|
-
location: string;
|
|
10
|
-
source: string;
|
|
11
|
-
campaign: string;
|
|
12
|
-
type: string;
|
|
13
|
-
programId: number;
|
|
14
|
-
courseId: number;
|
|
15
|
-
counsellorId: number;
|
|
16
|
-
stage: string;
|
|
17
|
-
status: string;
|
|
18
|
-
batch: string;
|
|
19
|
-
remarks: string;
|
|
20
|
-
followUpDate: string;
|
|
21
|
-
dob: string;
|
|
22
|
-
password: string;
|
|
23
|
-
createdAt: string;
|
|
24
|
-
updatedAt: string;
|
|
25
|
-
verifyPassword(plainTextPassword: string): Promise<boolean>;
|
|
26
|
-
}
|
|
1
|
+
export declare class Leads {
|
|
2
|
+
id: number;
|
|
3
|
+
name: string;
|
|
4
|
+
firstName: string;
|
|
5
|
+
lastName: string;
|
|
6
|
+
mobile: string;
|
|
7
|
+
gender: string;
|
|
8
|
+
email: string;
|
|
9
|
+
location: string;
|
|
10
|
+
source: string;
|
|
11
|
+
campaign: string;
|
|
12
|
+
type: string;
|
|
13
|
+
programId: number;
|
|
14
|
+
courseId: number;
|
|
15
|
+
counsellorId: number;
|
|
16
|
+
stage: string;
|
|
17
|
+
status: string;
|
|
18
|
+
batch: string;
|
|
19
|
+
remarks: string;
|
|
20
|
+
followUpDate: string;
|
|
21
|
+
dob: string;
|
|
22
|
+
password: string;
|
|
23
|
+
createdAt: string;
|
|
24
|
+
updatedAt: string;
|
|
25
|
+
verifyPassword(plainTextPassword: string): Promise<boolean>;
|
|
26
|
+
}
|
|
27
27
|
//# sourceMappingURL=leads.entity.d.ts.map
|
|
@@ -1,162 +1,161 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
21
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
22
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
23
|
-
};
|
|
24
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
|
-
if (mod && mod.__esModule) return mod;
|
|
26
|
-
var result = {};
|
|
27
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
28
|
-
__setModuleDefault(result, mod);
|
|
29
|
-
return result;
|
|
30
|
-
};
|
|
31
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
32
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
33
|
-
};
|
|
34
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
-
exports.Leads = void 0;
|
|
36
|
-
const bcrypt = __importStar(require("bcrypt"));
|
|
37
|
-
const typeorm_1 = require("typeorm");
|
|
38
|
-
let Leads = class Leads {
|
|
39
|
-
id;
|
|
40
|
-
name;
|
|
41
|
-
firstName;
|
|
42
|
-
lastName;
|
|
43
|
-
mobile;
|
|
44
|
-
gender;
|
|
45
|
-
email;
|
|
46
|
-
location;
|
|
47
|
-
source;
|
|
48
|
-
campaign;
|
|
49
|
-
type;
|
|
50
|
-
programId;
|
|
51
|
-
courseId;
|
|
52
|
-
counsellorId;
|
|
53
|
-
stage;
|
|
54
|
-
status;
|
|
55
|
-
batch;
|
|
56
|
-
remarks;
|
|
57
|
-
followUpDate;
|
|
58
|
-
dob;
|
|
59
|
-
password;
|
|
60
|
-
createdAt;
|
|
61
|
-
updatedAt;
|
|
62
|
-
async verifyPassword(plainTextPassword) {
|
|
63
|
-
return bcrypt.compare(plainTextPassword, this.password);
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
__decorate([
|
|
67
|
-
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
68
|
-
__metadata("design:type", Number)
|
|
69
|
-
], Leads.prototype, "id", void 0);
|
|
70
|
-
__decorate([
|
|
71
|
-
(0, typeorm_1.Column)(),
|
|
72
|
-
__metadata("design:type", String)
|
|
73
|
-
], Leads.prototype, "name", void 0);
|
|
74
|
-
__decorate([
|
|
75
|
-
(0, typeorm_1.Column)(),
|
|
76
|
-
__metadata("design:type", String)
|
|
77
|
-
], Leads.prototype, "firstName", void 0);
|
|
78
|
-
__decorate([
|
|
79
|
-
(0, typeorm_1.Column)(),
|
|
80
|
-
__metadata("design:type", String)
|
|
81
|
-
], Leads.prototype, "lastName", void 0);
|
|
82
|
-
__decorate([
|
|
83
|
-
(0, typeorm_1.Column)(),
|
|
84
|
-
__metadata("design:type", String)
|
|
85
|
-
], Leads.prototype, "mobile", void 0);
|
|
86
|
-
__decorate([
|
|
87
|
-
(0, typeorm_1.Column)(),
|
|
88
|
-
__metadata("design:type", String)
|
|
89
|
-
], Leads.prototype, "gender", void 0);
|
|
90
|
-
__decorate([
|
|
91
|
-
(0, typeorm_1.Column)(),
|
|
92
|
-
__metadata("design:type", String)
|
|
93
|
-
], Leads.prototype, "email", void 0);
|
|
94
|
-
__decorate([
|
|
95
|
-
(0, typeorm_1.Column)(),
|
|
96
|
-
__metadata("design:type", String)
|
|
97
|
-
], Leads.prototype, "location", void 0);
|
|
98
|
-
__decorate([
|
|
99
|
-
(0, typeorm_1.Column)(),
|
|
100
|
-
__metadata("design:type", String)
|
|
101
|
-
], Leads.prototype, "source", void 0);
|
|
102
|
-
__decorate([
|
|
103
|
-
(0, typeorm_1.Column)(),
|
|
104
|
-
__metadata("design:type", String)
|
|
105
|
-
], Leads.prototype, "campaign", void 0);
|
|
106
|
-
__decorate([
|
|
107
|
-
(0, typeorm_1.Column)(),
|
|
108
|
-
__metadata("design:type", String)
|
|
109
|
-
], Leads.prototype, "type", void 0);
|
|
110
|
-
__decorate([
|
|
111
|
-
(0, typeorm_1.Column)(),
|
|
112
|
-
__metadata("design:type", Number)
|
|
113
|
-
], Leads.prototype, "programId", void 0);
|
|
114
|
-
__decorate([
|
|
115
|
-
(0, typeorm_1.Column)(),
|
|
116
|
-
__metadata("design:type", Number)
|
|
117
|
-
], Leads.prototype, "courseId", void 0);
|
|
118
|
-
__decorate([
|
|
119
|
-
(0, typeorm_1.Column)(),
|
|
120
|
-
__metadata("design:type", Number)
|
|
121
|
-
], Leads.prototype, "counsellorId", void 0);
|
|
122
|
-
__decorate([
|
|
123
|
-
(0, typeorm_1.Column)(),
|
|
124
|
-
__metadata("design:type", String)
|
|
125
|
-
], Leads.prototype, "stage", void 0);
|
|
126
|
-
__decorate([
|
|
127
|
-
(0, typeorm_1.Column)(),
|
|
128
|
-
__metadata("design:type", String)
|
|
129
|
-
], Leads.prototype, "status", void 0);
|
|
130
|
-
__decorate([
|
|
131
|
-
(0, typeorm_1.Column)(),
|
|
132
|
-
__metadata("design:type", String)
|
|
133
|
-
], Leads.prototype, "batch", void 0);
|
|
134
|
-
__decorate([
|
|
135
|
-
(0, typeorm_1.Column)(),
|
|
136
|
-
__metadata("design:type", String)
|
|
137
|
-
], Leads.prototype, "remarks", void 0);
|
|
138
|
-
__decorate([
|
|
139
|
-
(0, typeorm_1.Column)(),
|
|
140
|
-
__metadata("design:type", String)
|
|
141
|
-
], Leads.prototype, "followUpDate", void 0);
|
|
142
|
-
__decorate([
|
|
143
|
-
(0, typeorm_1.Column)(),
|
|
144
|
-
__metadata("design:type", String)
|
|
145
|
-
], Leads.prototype, "dob", void 0);
|
|
146
|
-
__decorate([
|
|
147
|
-
(0, typeorm_1.Column)(),
|
|
148
|
-
__metadata("design:type", String)
|
|
149
|
-
], Leads.prototype, "password", void 0);
|
|
150
|
-
__decorate([
|
|
151
|
-
(0, typeorm_1.CreateDateColumn)(),
|
|
152
|
-
__metadata("design:type", String)
|
|
153
|
-
], Leads.prototype, "createdAt", void 0);
|
|
154
|
-
__decorate([
|
|
155
|
-
(0, typeorm_1.UpdateDateColumn)(),
|
|
156
|
-
__metadata("design:type", String)
|
|
157
|
-
], Leads.prototype, "updatedAt", void 0);
|
|
158
|
-
Leads = __decorate([
|
|
159
|
-
(0, typeorm_1.Entity)()
|
|
160
|
-
], Leads);
|
|
161
|
-
exports.Leads = Leads;
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
19
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
21
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
22
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
23
|
+
};
|
|
24
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
25
|
+
if (mod && mod.__esModule) return mod;
|
|
26
|
+
var result = {};
|
|
27
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
28
|
+
__setModuleDefault(result, mod);
|
|
29
|
+
return result;
|
|
30
|
+
};
|
|
31
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
32
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
exports.Leads = void 0;
|
|
36
|
+
const bcrypt = __importStar(require("bcrypt"));
|
|
37
|
+
const typeorm_1 = require("typeorm");
|
|
38
|
+
let Leads = exports.Leads = class Leads {
|
|
39
|
+
id;
|
|
40
|
+
name;
|
|
41
|
+
firstName;
|
|
42
|
+
lastName;
|
|
43
|
+
mobile;
|
|
44
|
+
gender;
|
|
45
|
+
email;
|
|
46
|
+
location;
|
|
47
|
+
source;
|
|
48
|
+
campaign;
|
|
49
|
+
type;
|
|
50
|
+
programId;
|
|
51
|
+
courseId;
|
|
52
|
+
counsellorId;
|
|
53
|
+
stage;
|
|
54
|
+
status;
|
|
55
|
+
batch;
|
|
56
|
+
remarks;
|
|
57
|
+
followUpDate;
|
|
58
|
+
dob;
|
|
59
|
+
password;
|
|
60
|
+
createdAt;
|
|
61
|
+
updatedAt;
|
|
62
|
+
async verifyPassword(plainTextPassword) {
|
|
63
|
+
return bcrypt.compare(plainTextPassword, this.password);
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
68
|
+
__metadata("design:type", Number)
|
|
69
|
+
], Leads.prototype, "id", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, typeorm_1.Column)(),
|
|
72
|
+
__metadata("design:type", String)
|
|
73
|
+
], Leads.prototype, "name", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, typeorm_1.Column)(),
|
|
76
|
+
__metadata("design:type", String)
|
|
77
|
+
], Leads.prototype, "firstName", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, typeorm_1.Column)(),
|
|
80
|
+
__metadata("design:type", String)
|
|
81
|
+
], Leads.prototype, "lastName", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, typeorm_1.Column)(),
|
|
84
|
+
__metadata("design:type", String)
|
|
85
|
+
], Leads.prototype, "mobile", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
(0, typeorm_1.Column)(),
|
|
88
|
+
__metadata("design:type", String)
|
|
89
|
+
], Leads.prototype, "gender", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
(0, typeorm_1.Column)(),
|
|
92
|
+
__metadata("design:type", String)
|
|
93
|
+
], Leads.prototype, "email", void 0);
|
|
94
|
+
__decorate([
|
|
95
|
+
(0, typeorm_1.Column)(),
|
|
96
|
+
__metadata("design:type", String)
|
|
97
|
+
], Leads.prototype, "location", void 0);
|
|
98
|
+
__decorate([
|
|
99
|
+
(0, typeorm_1.Column)(),
|
|
100
|
+
__metadata("design:type", String)
|
|
101
|
+
], Leads.prototype, "source", void 0);
|
|
102
|
+
__decorate([
|
|
103
|
+
(0, typeorm_1.Column)(),
|
|
104
|
+
__metadata("design:type", String)
|
|
105
|
+
], Leads.prototype, "campaign", void 0);
|
|
106
|
+
__decorate([
|
|
107
|
+
(0, typeorm_1.Column)(),
|
|
108
|
+
__metadata("design:type", String)
|
|
109
|
+
], Leads.prototype, "type", void 0);
|
|
110
|
+
__decorate([
|
|
111
|
+
(0, typeorm_1.Column)(),
|
|
112
|
+
__metadata("design:type", Number)
|
|
113
|
+
], Leads.prototype, "programId", void 0);
|
|
114
|
+
__decorate([
|
|
115
|
+
(0, typeorm_1.Column)(),
|
|
116
|
+
__metadata("design:type", Number)
|
|
117
|
+
], Leads.prototype, "courseId", void 0);
|
|
118
|
+
__decorate([
|
|
119
|
+
(0, typeorm_1.Column)(),
|
|
120
|
+
__metadata("design:type", Number)
|
|
121
|
+
], Leads.prototype, "counsellorId", void 0);
|
|
122
|
+
__decorate([
|
|
123
|
+
(0, typeorm_1.Column)(),
|
|
124
|
+
__metadata("design:type", String)
|
|
125
|
+
], Leads.prototype, "stage", void 0);
|
|
126
|
+
__decorate([
|
|
127
|
+
(0, typeorm_1.Column)(),
|
|
128
|
+
__metadata("design:type", String)
|
|
129
|
+
], Leads.prototype, "status", void 0);
|
|
130
|
+
__decorate([
|
|
131
|
+
(0, typeorm_1.Column)(),
|
|
132
|
+
__metadata("design:type", String)
|
|
133
|
+
], Leads.prototype, "batch", void 0);
|
|
134
|
+
__decorate([
|
|
135
|
+
(0, typeorm_1.Column)(),
|
|
136
|
+
__metadata("design:type", String)
|
|
137
|
+
], Leads.prototype, "remarks", void 0);
|
|
138
|
+
__decorate([
|
|
139
|
+
(0, typeorm_1.Column)(),
|
|
140
|
+
__metadata("design:type", String)
|
|
141
|
+
], Leads.prototype, "followUpDate", void 0);
|
|
142
|
+
__decorate([
|
|
143
|
+
(0, typeorm_1.Column)(),
|
|
144
|
+
__metadata("design:type", String)
|
|
145
|
+
], Leads.prototype, "dob", void 0);
|
|
146
|
+
__decorate([
|
|
147
|
+
(0, typeorm_1.Column)(),
|
|
148
|
+
__metadata("design:type", String)
|
|
149
|
+
], Leads.prototype, "password", void 0);
|
|
150
|
+
__decorate([
|
|
151
|
+
(0, typeorm_1.CreateDateColumn)(),
|
|
152
|
+
__metadata("design:type", String)
|
|
153
|
+
], Leads.prototype, "createdAt", void 0);
|
|
154
|
+
__decorate([
|
|
155
|
+
(0, typeorm_1.UpdateDateColumn)(),
|
|
156
|
+
__metadata("design:type", String)
|
|
157
|
+
], Leads.prototype, "updatedAt", void 0);
|
|
158
|
+
exports.Leads = Leads = __decorate([
|
|
159
|
+
(0, typeorm_1.Entity)()
|
|
160
|
+
], Leads);
|
|
162
161
|
//# sourceMappingURL=leads.entity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"leads.entity.js","sourceRoot":"","sources":["../../../src/domain/entities/leads.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAiC;AACjC,qCAMiB;AAGV,IAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"leads.entity.js","sourceRoot":"","sources":["../../../src/domain/entities/leads.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAiC;AACjC,qCAMiB;AAGV,IAAM,KAAK,mBAAX,MAAM,KAAK;IAEhB,EAAE,CAAS;IAGX,IAAI,CAAS;IAGb,SAAS,CAAS;IAGlB,QAAQ,CAAS;IAGjB,MAAM,CAAS;IAGf,MAAM,CAAS;IAGf,KAAK,CAAS;IAGd,QAAQ,CAAS;IAGjB,MAAM,CAAS;IAGf,QAAQ,CAAS;IAGjB,IAAI,CAAS;IAGb,SAAS,CAAS;IAGlB,QAAQ,CAAS;IAGjB,YAAY,CAAS;IAGrB,KAAK,CAAS;IAGd,MAAM,CAAS;IAGf,KAAK,CAAS;IAGd,OAAO,CAAS;IAGhB,YAAY,CAAS;IAGrB,GAAG,CAAS;IAGZ,QAAQ,CAAS;IAGjB,SAAS,CAAS;IAGlB,SAAS,CAAS;IAElB,KAAK,CAAC,cAAc,CAAC,iBAAyB;QAC5C,OAAO,MAAM,CAAC,OAAO,CAAC,iBAAiB,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC1D,CAAC;CACF,CAAA;AAvEC;IADC,IAAA,gCAAsB,GAAE;;iCACd;AAGX;IADC,IAAA,gBAAM,GAAE;;mCACI;AAGb;IADC,IAAA,gBAAM,GAAE;;wCACS;AAGlB;IADC,IAAA,gBAAM,GAAE;;uCACQ;AAGjB;IADC,IAAA,gBAAM,GAAE;;qCACM;AAGf;IADC,IAAA,gBAAM,GAAE;;qCACM;AAGf;IADC,IAAA,gBAAM,GAAE;;oCACK;AAGd;IADC,IAAA,gBAAM,GAAE;;uCACQ;AAGjB;IADC,IAAA,gBAAM,GAAE;;qCACM;AAGf;IADC,IAAA,gBAAM,GAAE;;uCACQ;AAGjB;IADC,IAAA,gBAAM,GAAE;;mCACI;AAGb;IADC,IAAA,gBAAM,GAAE;;wCACS;AAGlB;IADC,IAAA,gBAAM,GAAE;;uCACQ;AAGjB;IADC,IAAA,gBAAM,GAAE;;2CACY;AAGrB;IADC,IAAA,gBAAM,GAAE;;oCACK;AAGd;IADC,IAAA,gBAAM,GAAE;;qCACM;AAGf;IADC,IAAA,gBAAM,GAAE;;oCACK;AAGd;IADC,IAAA,gBAAM,GAAE;;sCACO;AAGhB;IADC,IAAA,gBAAM,GAAE;;2CACY;AAGrB;IADC,IAAA,gBAAM,GAAE;;kCACG;AAGZ;IADC,IAAA,gBAAM,GAAE;;uCACQ;AAGjB;IADC,IAAA,0BAAgB,GAAE;;wCACD;AAGlB;IADC,IAAA,0BAAgB,GAAE;;wCACD;gBApEP,KAAK;IADjB,IAAA,gBAAM,GAAE;GACI,KAAK,CAyEjB"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Profile } from './profile.entity';
|
|
2
|
-
export declare class ProfilePermission {
|
|
3
|
-
id: number;
|
|
4
|
-
profileId: number;
|
|
5
|
-
profile: Profile;
|
|
6
|
-
groupSlug: string;
|
|
7
|
-
permissionSlug: string;
|
|
8
|
-
hasPermission: boolean;
|
|
9
|
-
permissions: string[];
|
|
10
|
-
lastUpdatedBy: number;
|
|
11
|
-
updatedAt: string;
|
|
12
|
-
createdAt: string;
|
|
13
|
-
}
|
|
1
|
+
import { Profile } from './profile.entity';
|
|
2
|
+
export declare class ProfilePermission {
|
|
3
|
+
id: number;
|
|
4
|
+
profileId: number;
|
|
5
|
+
profile: Profile;
|
|
6
|
+
groupSlug: string;
|
|
7
|
+
permissionSlug: string;
|
|
8
|
+
hasPermission: boolean;
|
|
9
|
+
permissions: string[];
|
|
10
|
+
lastUpdatedBy: number;
|
|
11
|
+
updatedAt: string;
|
|
12
|
+
createdAt: string;
|
|
13
|
+
}
|
|
14
14
|
//# sourceMappingURL=profile-permission.entity.d.ts.map
|