easywork-common-lib 1.0.1298 → 1.0.1300
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/entities/capacitation/weeks-sections/weeks-roles-play/roles-play-agent.entity.d.ts +6 -0
- package/dist/entities/capacitation/weeks-sections/weeks-roles-play/roles-play-agent.entity.js +21 -1
- package/dist/entities/capacitation/weeks-sections/weeks-roles-play/roles-play-agent.entity.js.map +1 -1
- package/dist/entities/tools/mail/mail-queue-distribution.d.ts +8 -0
- package/dist/entities/tools/mail/mail-queue-distribution.js +38 -0
- package/dist/entities/tools/mail/mail-queue-distribution.js.map +1 -0
- package/dist/entities/tools/mail/mail-queue-entities-assigned.d.ts +9 -0
- package/dist/entities/tools/mail/mail-queue-entities-assigned.js +39 -0
- package/dist/entities/tools/mail/mail-queue-entities-assigned.js.map +1 -0
- package/dist/entities/tools/mail/mail-queue-status.d.ts +9 -0
- package/dist/entities/tools/mail/mail-queue-status.js +44 -0
- package/dist/entities/tools/mail/mail-queue-status.js.map +1 -0
- package/dist/entities/user-special-role.entity.d.ts +2 -1
- package/dist/entities/user-special-role.entity.js +1 -0
- package/dist/entities/user-special-role.entity.js.map +1 -1
- package/dist/grpc/drive/drive.proto +339 -339
- package/dist/grpc/drive/leads.proto +114 -114
- package/dist/modules/authorization/services/resource-access-filter.service.js +21 -21
- package/package.json +54 -54
package/dist/entities/capacitation/weeks-sections/weeks-roles-play/roles-play-agent.entity.d.ts
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { Agent } from "../../../sales/agent.entity";
|
|
2
2
|
import { RolesPlay } from "./weeks-roles-play.entity";
|
|
3
3
|
import { BaseEntityOnlyEssential } from "../../../../common";
|
|
4
|
+
export declare enum RolesPlayStatusEnum {
|
|
5
|
+
NOT_STARTED = "not_started",
|
|
6
|
+
IN_PROGRESS = "in_progress",
|
|
7
|
+
COMPLETED = "completed"
|
|
8
|
+
}
|
|
4
9
|
export declare class RolesPlayAgentEntity extends BaseEntityOnlyEssential {
|
|
5
10
|
dateCompleted: Date;
|
|
6
11
|
dateNotCompleted: Date;
|
|
12
|
+
status: RolesPlayStatusEnum;
|
|
7
13
|
agentId: Agent;
|
|
8
14
|
rolesPlayId: RolesPlay;
|
|
9
15
|
}
|
package/dist/entities/capacitation/weeks-sections/weeks-roles-play/roles-play-agent.entity.js
CHANGED
|
@@ -9,15 +9,22 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.RolesPlayAgentEntity = void 0;
|
|
12
|
+
exports.RolesPlayAgentEntity = exports.RolesPlayStatusEnum = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
14
|
const typeorm_1 = require("typeorm");
|
|
15
15
|
const agent_entity_1 = require("../../../sales/agent.entity");
|
|
16
16
|
const weeks_roles_play_entity_1 = require("./weeks-roles-play.entity");
|
|
17
17
|
const common_1 = require("../../../../common");
|
|
18
|
+
var RolesPlayStatusEnum;
|
|
19
|
+
(function (RolesPlayStatusEnum) {
|
|
20
|
+
RolesPlayStatusEnum["NOT_STARTED"] = "not_started";
|
|
21
|
+
RolesPlayStatusEnum["IN_PROGRESS"] = "in_progress";
|
|
22
|
+
RolesPlayStatusEnum["COMPLETED"] = "completed";
|
|
23
|
+
})(RolesPlayStatusEnum || (exports.RolesPlayStatusEnum = RolesPlayStatusEnum = {}));
|
|
18
24
|
let RolesPlayAgentEntity = class RolesPlayAgentEntity extends common_1.BaseEntityOnlyEssential {
|
|
19
25
|
dateCompleted;
|
|
20
26
|
dateNotCompleted;
|
|
27
|
+
status;
|
|
21
28
|
agentId;
|
|
22
29
|
rolesPlayId;
|
|
23
30
|
};
|
|
@@ -46,6 +53,19 @@ __decorate([
|
|
|
46
53
|
}),
|
|
47
54
|
__metadata("design:type", Date)
|
|
48
55
|
], RolesPlayAgentEntity.prototype, "dateNotCompleted", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, swagger_1.ApiProperty)({
|
|
58
|
+
enum: RolesPlayStatusEnum,
|
|
59
|
+
description: 'Estatus del role play para el agente',
|
|
60
|
+
default: RolesPlayStatusEnum.IN_PROGRESS,
|
|
61
|
+
}),
|
|
62
|
+
(0, typeorm_1.Column)({
|
|
63
|
+
type: 'enum',
|
|
64
|
+
enum: RolesPlayStatusEnum,
|
|
65
|
+
default: RolesPlayStatusEnum.IN_PROGRESS,
|
|
66
|
+
}),
|
|
67
|
+
__metadata("design:type", String)
|
|
68
|
+
], RolesPlayAgentEntity.prototype, "status", void 0);
|
|
49
69
|
__decorate([
|
|
50
70
|
(0, typeorm_1.ManyToOne)(() => agent_entity_1.Agent, agent => agent.rolesPlay, {
|
|
51
71
|
nullable: false,
|
package/dist/entities/capacitation/weeks-sections/weeks-roles-play/roles-play-agent.entity.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"roles-play-agent.entity.js","sourceRoot":"","sources":["../../../../../src/entities/capacitation/weeks-sections/weeks-roles-play/roles-play-agent.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,qCAAoD;AACpD,8DAAoD;AACpD,uEAAsD;AACtD,+CAA6D;
|
|
1
|
+
{"version":3,"file":"roles-play-agent.entity.js","sourceRoot":"","sources":["../../../../../src/entities/capacitation/weeks-sections/weeks-roles-play/roles-play-agent.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,qCAAoD;AACpD,8DAAoD;AACpD,uEAAsD;AACtD,+CAA6D;AAE7D,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC7B,kDAA2B,CAAA;IAC3B,kDAA2B,CAAA;IAC3B,8CAAuB,CAAA;AACzB,CAAC,EAJW,mBAAmB,mCAAnB,mBAAmB,QAI9B;AAMM,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EAAE,KAAK;QACf,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;8BACW,mCAAS;yDAAC;+BAhDZ,oBAAoB;IADhC,IAAA,gBAAM,GAAE;GACI,oBAAoB,CAiDhC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Mailbox } from './mailbox.entity';
|
|
2
|
+
import { BaseEntityOnlyEssential } from 'common';
|
|
3
|
+
import { User } from 'entities/user.entity';
|
|
4
|
+
export declare class MailQueueDistribution extends BaseEntityOnlyEssential {
|
|
5
|
+
orderInQueue: number;
|
|
6
|
+
mailbox: Mailbox;
|
|
7
|
+
userInvited: User;
|
|
8
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
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;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.MailQueueDistribution = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const mailbox_entity_1 = require("./mailbox.entity");
|
|
15
|
+
const common_1 = require("common");
|
|
16
|
+
const user_entity_1 = require("entities/user.entity");
|
|
17
|
+
let MailQueueDistribution = class MailQueueDistribution extends common_1.BaseEntityOnlyEssential {
|
|
18
|
+
orderInQueue;
|
|
19
|
+
mailbox;
|
|
20
|
+
userInvited;
|
|
21
|
+
};
|
|
22
|
+
exports.MailQueueDistribution = MailQueueDistribution;
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, typeorm_1.Column)(),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], MailQueueDistribution.prototype, "orderInQueue", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.ManyToOne)(() => mailbox_entity_1.Mailbox, { nullable: true, onDelete: 'SET NULL' }),
|
|
29
|
+
__metadata("design:type", mailbox_entity_1.Mailbox)
|
|
30
|
+
], MailQueueDistribution.prototype, "mailbox", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, { nullable: false, onDelete: 'CASCADE' }),
|
|
33
|
+
__metadata("design:type", user_entity_1.User)
|
|
34
|
+
], MailQueueDistribution.prototype, "userInvited", void 0);
|
|
35
|
+
exports.MailQueueDistribution = MailQueueDistribution = __decorate([
|
|
36
|
+
(0, typeorm_1.Entity)()
|
|
37
|
+
], MailQueueDistribution);
|
|
38
|
+
//# sourceMappingURL=mail-queue-distribution.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mail-queue-distribution.js","sourceRoot":"","sources":["../../../../src/entities/tools/mail/mail-queue-distribution.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAoD;AAEpD,qDAA2C;AAC3C,mCAAiD;AACjD,sDAA4C;AAGrC,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,gCAAuB;IAEhE,YAAY,CAAS;IAGrB,OAAO,CAAU;IAGjB,WAAW,CAAO;CACnB,CAAA;AATY,sDAAqB;AAEhC;IADC,IAAA,gBAAM,GAAE;;2DACY;AAGrB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wBAAO,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC;8BAC1D,wBAAO;sDAAC;AAGjB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BACnD,kBAAI;0DAAC;gCARP,qBAAqB;IADjC,IAAA,gBAAM,GAAE;GACI,qBAAqB,CASjC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Mailbox } from './mailbox.entity';
|
|
2
|
+
import { BaseEntityOnlyEssential } from 'common';
|
|
3
|
+
import { User } from 'entities/user.entity';
|
|
4
|
+
import { MailMessageCRMLink } from './mail.entity';
|
|
5
|
+
export declare class MailQueueEntitiesAssigned extends BaseEntityOnlyEssential {
|
|
6
|
+
crm: MailMessageCRMLink;
|
|
7
|
+
mailbox: Mailbox;
|
|
8
|
+
userAssigned: User;
|
|
9
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
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;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.MailQueueEntitiesAssigned = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const mailbox_entity_1 = require("./mailbox.entity");
|
|
15
|
+
const common_1 = require("common");
|
|
16
|
+
const user_entity_1 = require("entities/user.entity");
|
|
17
|
+
let MailQueueEntitiesAssigned = class MailQueueEntitiesAssigned extends common_1.BaseEntityOnlyEssential {
|
|
18
|
+
crm;
|
|
19
|
+
mailbox;
|
|
20
|
+
userAssigned;
|
|
21
|
+
};
|
|
22
|
+
exports.MailQueueEntitiesAssigned = MailQueueEntitiesAssigned;
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, typeorm_1.Column)({ type: 'jsonb', nullable: true }),
|
|
25
|
+
__metadata("design:type", Object)
|
|
26
|
+
], MailQueueEntitiesAssigned.prototype, "crm", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Unique)(['mailbox']),
|
|
29
|
+
(0, typeorm_1.ManyToOne)(() => mailbox_entity_1.Mailbox, { nullable: true, onDelete: 'CASCADE' }),
|
|
30
|
+
__metadata("design:type", mailbox_entity_1.Mailbox)
|
|
31
|
+
], MailQueueEntitiesAssigned.prototype, "mailbox", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, { nullable: true, onDelete: 'SET NULL' }),
|
|
34
|
+
__metadata("design:type", user_entity_1.User)
|
|
35
|
+
], MailQueueEntitiesAssigned.prototype, "userAssigned", void 0);
|
|
36
|
+
exports.MailQueueEntitiesAssigned = MailQueueEntitiesAssigned = __decorate([
|
|
37
|
+
(0, typeorm_1.Entity)()
|
|
38
|
+
], MailQueueEntitiesAssigned);
|
|
39
|
+
//# sourceMappingURL=mail-queue-entities-assigned.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mail-queue-entities-assigned.js","sourceRoot":"","sources":["../../../../src/entities/tools/mail/mail-queue-entities-assigned.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA4D;AAE5D,qDAA2C;AAC3C,mCAAiD;AACjD,sDAA4C;AAIrC,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,gCAAuB;IAEpE,GAAG,CAAqB;IAIxB,OAAO,CAAU;IAGjB,YAAY,CAAO;CACpB,CAAA;AAVY,8DAAyB;AAEpC;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDAClB;AAIxB;IAFC,IAAA,gBAAM,EAAC,CAAC,SAAS,CAAC,CAAC;IACnB,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wBAAO,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BACzD,wBAAO;0DAAC;AAGjB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC;8BAClD,kBAAI;+DAAC;oCATR,yBAAyB;IADrC,IAAA,gBAAM,GAAE;GACI,yBAAyB,CAUrC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Mailbox } from './mailbox.entity';
|
|
2
|
+
import { BaseEntityOnlyEssential } from 'common';
|
|
3
|
+
import { User } from 'entities/user.entity';
|
|
4
|
+
export declare class MailQueueStatus extends BaseEntityOnlyEssential {
|
|
5
|
+
lastAssignedOrder: number;
|
|
6
|
+
lastAssignmentTimestamp: string;
|
|
7
|
+
mailbox: Mailbox;
|
|
8
|
+
lastAssignedUser: User;
|
|
9
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
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;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.MailQueueStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const mailbox_entity_1 = require("./mailbox.entity");
|
|
15
|
+
const common_1 = require("common");
|
|
16
|
+
const user_entity_1 = require("entities/user.entity");
|
|
17
|
+
let MailQueueStatus = class MailQueueStatus extends common_1.BaseEntityOnlyEssential {
|
|
18
|
+
lastAssignedOrder;
|
|
19
|
+
lastAssignmentTimestamp;
|
|
20
|
+
mailbox;
|
|
21
|
+
lastAssignedUser;
|
|
22
|
+
};
|
|
23
|
+
exports.MailQueueStatus = MailQueueStatus;
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)(),
|
|
26
|
+
__metadata("design:type", Number)
|
|
27
|
+
], MailQueueStatus.prototype, "lastAssignedOrder", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)({ type: 'timestamp' }),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], MailQueueStatus.prototype, "lastAssignmentTimestamp", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Unique)(['mailbox']),
|
|
34
|
+
(0, typeorm_1.ManyToOne)(() => mailbox_entity_1.Mailbox, { nullable: true, onDelete: 'CASCADE' }),
|
|
35
|
+
__metadata("design:type", mailbox_entity_1.Mailbox)
|
|
36
|
+
], MailQueueStatus.prototype, "mailbox", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.ManyToOne)(() => user_entity_1.User, { nullable: true, onDelete: 'SET NULL' }),
|
|
39
|
+
__metadata("design:type", user_entity_1.User)
|
|
40
|
+
], MailQueueStatus.prototype, "lastAssignedUser", void 0);
|
|
41
|
+
exports.MailQueueStatus = MailQueueStatus = __decorate([
|
|
42
|
+
(0, typeorm_1.Entity)()
|
|
43
|
+
], MailQueueStatus);
|
|
44
|
+
//# sourceMappingURL=mail-queue-status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mail-queue-status.js","sourceRoot":"","sources":["../../../../src/entities/tools/mail/mail-queue-status.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA4D;AAE5D,qDAA2C;AAC3C,mCAAiD;AACjD,sDAA4C;AAGrC,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,gCAAuB;IAE1D,iBAAiB,CAAS;IAG1B,uBAAuB,CAAS;IAIhC,OAAO,CAAU;IAGjB,gBAAgB,CAAO;CACxB,CAAA;AAbY,0CAAe;AAE1B;IADC,IAAA,gBAAM,GAAE;;0DACiB;AAG1B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;;gEACE;AAIhC;IAFC,IAAA,gBAAM,EAAC,CAAC,SAAS,CAAC,CAAC;IACnB,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,wBAAO,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BACzD,wBAAO;gDAAC;AAGjB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,kBAAI,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC;8BAC9C,kBAAI;yDAAC;0BAZZ,eAAe;IAD3B,IAAA,gBAAM,GAAE;GACI,eAAe,CAa3B"}
|
|
@@ -2,7 +2,8 @@ import { User } from "./user.entity";
|
|
|
2
2
|
export declare enum SpecialRoleType {
|
|
3
3
|
DEVELOPMENT_MANAGER = "development_manager",
|
|
4
4
|
RECRUITMENT_MANAGER = "recruitment_manager",
|
|
5
|
-
TRAINER = "trainer"
|
|
5
|
+
TRAINER = "trainer",
|
|
6
|
+
RECRUITER = "recruiter"
|
|
6
7
|
}
|
|
7
8
|
export declare class UserSpecialRole {
|
|
8
9
|
id: string;
|
|
@@ -17,6 +17,7 @@ var SpecialRoleType;
|
|
|
17
17
|
SpecialRoleType["DEVELOPMENT_MANAGER"] = "development_manager";
|
|
18
18
|
SpecialRoleType["RECRUITMENT_MANAGER"] = "recruitment_manager";
|
|
19
19
|
SpecialRoleType["TRAINER"] = "trainer";
|
|
20
|
+
SpecialRoleType["RECRUITER"] = "recruiter";
|
|
20
21
|
})(SpecialRoleType || (exports.SpecialRoleType = SpecialRoleType = {}));
|
|
21
22
|
let UserSpecialRole = class UserSpecialRole {
|
|
22
23
|
id;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-special-role.entity.js","sourceRoot":"","sources":["../../src/entities/user-special-role.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAQiB;AACjB,+CAAqC;AAErC,IAAY,
|
|
1
|
+
{"version":3,"file":"user-special-role.entity.js","sourceRoot":"","sources":["../../src/entities/user-special-role.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAQiB;AACjB,+CAAqC;AAErC,IAAY,eAKX;AALD,WAAY,eAAe;IACzB,8DAA2C,CAAA;IAC3C,8DAA2C,CAAA;IAC3C,sCAAmB,CAAA;IACnB,0CAAuB,CAAA;AACzB,CAAC,EALW,eAAe,+BAAf,eAAe,QAK1B;AAGM,IAAM,eAAe,GAArB,MAAM,eAAe;IAE1B,EAAE,CAAS;IAIX,IAAI,CAAO;IAGX,MAAM,CAAS;IAOf,QAAQ,CAAkB;IAI1B,UAAU,CAAO;IAGjB,YAAY,CAAS;IAGrB,UAAU,CAAO;IAGjB,QAAQ,CAAU;IAGlB,WAAW,CAAW;IAGtB,QAAQ,CAAsB;IA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