rez_core 2.2.183 → 2.2.184
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/module/workflow/controller/comm-template.controller.d.ts +2 -1
- package/dist/module/workflow/controller/comm-template.controller.js +4 -3
- package/dist/module/workflow/controller/comm-template.controller.js.map +1 -1
- package/dist/module/workflow/entity/comm-template.entity.d.ts +1 -0
- package/dist/module/workflow/entity/comm-template.entity.js +4 -0
- package/dist/module/workflow/entity/comm-template.entity.js.map +1 -1
- package/dist/module/workflow/repository/comm-template.repository.d.ts +4 -3
- package/dist/module/workflow/repository/comm-template.repository.js +20 -5
- package/dist/module/workflow/repository/comm-template.repository.js.map +1 -1
- package/dist/module/workflow/service/comm-template.service.d.ts +2 -1
- package/dist/module/workflow/service/comm-template.service.js +3 -2
- package/dist/module/workflow/service/comm-template.service.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/module/workflow/controller/comm-template.controller.ts +2 -0
- package/src/module/workflow/entity/comm-template.entity.ts +3 -0
- package/src/module/workflow/repository/comm-template.repository.ts +33 -4
- package/src/module/workflow/service/comm-template.service.ts +7 -1
- package/.vscode/extensions.json +0 -5
|
@@ -4,9 +4,10 @@ export declare class CommTemplateController {
|
|
|
4
4
|
constructor(commTemplateService: CommTemplateService);
|
|
5
5
|
getTemplate(req: Request & {
|
|
6
6
|
user: any;
|
|
7
|
-
}, entity_type: string): Promise<{
|
|
7
|
+
}, entity_type: string, action_id: number): Promise<{
|
|
8
8
|
value: string;
|
|
9
9
|
label: string;
|
|
10
10
|
mode: string;
|
|
11
|
+
template: boolean;
|
|
11
12
|
}[]>;
|
|
12
13
|
}
|
|
@@ -20,9 +20,9 @@ let CommTemplateController = class CommTemplateController {
|
|
|
20
20
|
constructor(commTemplateService) {
|
|
21
21
|
this.commTemplateService = commTemplateService;
|
|
22
22
|
}
|
|
23
|
-
async getTemplate(req, entity_type) {
|
|
23
|
+
async getTemplate(req, entity_type, action_id) {
|
|
24
24
|
const loggedInUser = req.user.userData;
|
|
25
|
-
const result = this.commTemplateService.getAllCommTemplate(entity_type || '', loggedInUser);
|
|
25
|
+
const result = this.commTemplateService.getAllCommTemplate(entity_type || '', action_id, loggedInUser);
|
|
26
26
|
return result;
|
|
27
27
|
}
|
|
28
28
|
};
|
|
@@ -32,8 +32,9 @@ __decorate([
|
|
|
32
32
|
(0, common_1.HttpCode)(common_1.HttpStatus.OK),
|
|
33
33
|
__param(0, (0, common_1.Req)()),
|
|
34
34
|
__param(1, (0, common_1.Body)('entity_type')),
|
|
35
|
+
__param(2, (0, common_1.Body)('action_id')),
|
|
35
36
|
__metadata("design:type", Function),
|
|
36
|
-
__metadata("design:paramtypes", [Object, String]),
|
|
37
|
+
__metadata("design:paramtypes", [Object, String, Number]),
|
|
37
38
|
__metadata("design:returntype", Promise)
|
|
38
39
|
], CommTemplateController.prototype, "getTemplate", null);
|
|
39
40
|
exports.CommTemplateController = CommTemplateController = __decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"comm-template.controller.js","sourceRoot":"","sources":["../../../../src/module/workflow/controller/comm-template.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CASwB;AACxB,2DAAgE;AAChE,4EAAuE;AAIhE,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IACjC,YAA6B,mBAAwC;QAAxC,wBAAmB,GAAnB,mBAAmB,CAAqB;IAAG,CAAC;IAInE,AAAN,KAAK,CAAC,WAAW,CACR,GAA4B,EACd,WAAmB;
|
|
1
|
+
{"version":3,"file":"comm-template.controller.js","sourceRoot":"","sources":["../../../../src/module/workflow/controller/comm-template.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CASwB;AACxB,2DAAgE;AAChE,4EAAuE;AAIhE,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IACjC,YAA6B,mBAAwC;QAAxC,wBAAmB,GAAnB,mBAAmB,CAAqB;IAAG,CAAC;IAInE,AAAN,KAAK,CAAC,WAAW,CACR,GAA4B,EACd,WAAmB,EACrB,SAAiB;QAEpC,MAAM,YAAY,GAAG,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC;QACvC,MAAM,MAAM,GAAG,IAAI,CAAC,mBAAmB,CAAC,kBAAkB,CACxD,WAAW,IAAI,EAAE,EACjB,SAAS,EACT,YAAY,CACb,CAAC;QACF,OAAO,MAAM,CAAC;IAChB,CAAC;CACF,CAAA;AAlBY,wDAAsB;AAK3B;IAFL,IAAA,aAAI,EAAC,eAAe,CAAC;IACrB,IAAA,iBAAQ,EAAC,mBAAU,CAAC,EAAE,CAAC;IAErB,WAAA,IAAA,YAAG,GAAE,CAAA;IACL,WAAA,IAAA,aAAI,EAAC,aAAa,CAAC,CAAA;IACnB,WAAA,IAAA,aAAI,EAAC,WAAW,CAAC,CAAA;;;;yDASnB;iCAjBU,sBAAsB;IAFlC,IAAA,mBAAU,EAAC,YAAY,CAAC;IACxB,IAAA,kBAAS,EAAC,wBAAY,CAAC;qCAE4B,2CAAmB;GAD1D,sBAAsB,CAkBlC"}
|
|
@@ -44,6 +44,10 @@ __decorate([
|
|
|
44
44
|
(0, typeorm_1.Column)({ nullable: true }),
|
|
45
45
|
__metadata("design:type", Number)
|
|
46
46
|
], CommTemplate.prototype, "markup_id", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
49
|
+
__metadata("design:type", Boolean)
|
|
50
|
+
], CommTemplate.prototype, "is_template", void 0);
|
|
47
51
|
exports.CommTemplate = CommTemplate = __decorate([
|
|
48
52
|
(0, typeorm_1.Entity)({ name: 'cr_wf_comm_template' }),
|
|
49
53
|
__metadata("design:paramtypes", [])
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"comm-template.entity.js","sourceRoot":"","sources":["../../../../src/module/workflow/entity/comm-template.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uEAA6D;AAC7D,6EAAuE;AACvE,qCAAyC;AAGlC,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,+BAAU;IAC1C;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,WAAW,GAAG,+BAAa,CAAC;IACnC,CAAC;
|
|
1
|
+
{"version":3,"file":"comm-template.entity.js","sourceRoot":"","sources":["../../../../src/module/workflow/entity/comm-template.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uEAA6D;AAC7D,6EAAuE;AACvE,qCAAyC;AAGlC,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,+BAAU;IAC1C;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,WAAW,GAAG,+BAAa,CAAC;IACnC,CAAC;CAwBF,CAAA;AA5BY,oCAAY;AAOvB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0CACd;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wDACjB;AAG3B;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACX;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACP;AAIpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CAC3B;AAIlB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACT;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACN;uBA3BV,YAAY;IADxB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,qBAAqB,EAAE,CAAC;;GAC3B,YAAY,CA4BxB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Repository } from 'typeorm';
|
|
1
|
+
import { DataSource, Repository } from 'typeorm';
|
|
2
2
|
import { CommTemplate } from '../entity/comm-template.entity';
|
|
3
3
|
import { TemplateAttach } from '../entity/template-attach-mapper.entity';
|
|
4
4
|
import { MediaDataService } from 'src/module/meta/service/media-data.service';
|
|
@@ -6,8 +6,9 @@ export declare class CommTemplateRepository {
|
|
|
6
6
|
private readonly commTemplateRepository;
|
|
7
7
|
private readonly templateAttachEntity;
|
|
8
8
|
private readonly mediaDataService;
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
private readonly dataSource;
|
|
10
|
+
constructor(commTemplateRepository: Repository<CommTemplate>, templateAttachEntity: Repository<TemplateAttach>, mediaDataService: MediaDataService, dataSource: DataSource);
|
|
11
|
+
getAllCommTemplate(entity_type: string, action_id: number, loggedInUser: any): Promise<CommTemplate[]>;
|
|
11
12
|
save(commTemplate: any): Promise<any>;
|
|
12
13
|
delete(id: any): Promise<any>;
|
|
13
14
|
getTemplateByCode(entity_type: string, id: number, loggedInUser: any): Promise<any | null>;
|
|
@@ -20,18 +20,32 @@ const comm_template_entity_1 = require("../entity/comm-template.entity");
|
|
|
20
20
|
const template_attach_mapper_entity_1 = require("../entity/template-attach-mapper.entity");
|
|
21
21
|
const media_data_service_1 = require("../../meta/service/media-data.service");
|
|
22
22
|
let CommTemplateRepository = class CommTemplateRepository {
|
|
23
|
-
constructor(commTemplateRepository, templateAttachEntity, mediaDataService) {
|
|
23
|
+
constructor(commTemplateRepository, templateAttachEntity, mediaDataService, dataSource) {
|
|
24
24
|
this.commTemplateRepository = commTemplateRepository;
|
|
25
25
|
this.templateAttachEntity = templateAttachEntity;
|
|
26
26
|
this.mediaDataService = mediaDataService;
|
|
27
|
+
this.dataSource = dataSource;
|
|
27
28
|
}
|
|
28
|
-
async getAllCommTemplate(entity_type, loggedInUser) {
|
|
29
|
+
async getAllCommTemplate(entity_type, action_id, loggedInUser) {
|
|
29
30
|
const { organization_id } = loggedInUser;
|
|
31
|
+
const [actionResult] = await this.dataSource.query(`SELECT is_template
|
|
32
|
+
FROM cr_wf_action
|
|
33
|
+
WHERE id = ? AND organization_id = ?
|
|
34
|
+
LIMIT 1`, [action_id, organization_id]);
|
|
35
|
+
if (!actionResult) {
|
|
36
|
+
throw new Error('Invalid action_id');
|
|
37
|
+
}
|
|
38
|
+
const { is_template } = actionResult;
|
|
39
|
+
await this.dataSource.query(`UPDATE cr_wf_comm_template
|
|
40
|
+
SET is_template = ?
|
|
41
|
+
WHERE mapped_entity_type = ?
|
|
42
|
+
AND organization_id = ?`, [is_template, entity_type, organization_id]);
|
|
30
43
|
return this.commTemplateRepository.find({
|
|
31
|
-
select: ['name', 'code', 'mode'],
|
|
44
|
+
select: ['name', 'code', 'mode', 'is_template'],
|
|
32
45
|
where: {
|
|
33
46
|
mapped_entity_type: entity_type,
|
|
34
|
-
organization_id
|
|
47
|
+
organization_id,
|
|
48
|
+
is_template,
|
|
35
49
|
},
|
|
36
50
|
});
|
|
37
51
|
}
|
|
@@ -82,6 +96,7 @@ exports.CommTemplateRepository = CommTemplateRepository = __decorate([
|
|
|
82
96
|
__param(1, (0, typeorm_1.InjectRepository)(template_attach_mapper_entity_1.TemplateAttach)),
|
|
83
97
|
__metadata("design:paramtypes", [typeorm_2.Repository,
|
|
84
98
|
typeorm_2.Repository,
|
|
85
|
-
media_data_service_1.MediaDataService
|
|
99
|
+
media_data_service_1.MediaDataService,
|
|
100
|
+
typeorm_2.DataSource])
|
|
86
101
|
], CommTemplateRepository);
|
|
87
102
|
//# sourceMappingURL=comm-template.repository.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"comm-template.repository.js","sourceRoot":"","sources":["../../../../src/module/workflow/repository/comm-template.repository.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAA+D;AAC/D,6CAAmD;AAEnD,
|
|
1
|
+
{"version":3,"file":"comm-template.repository.js","sourceRoot":"","sources":["../../../../src/module/workflow/repository/comm-template.repository.ts"],"names":[],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,CAAC,QAAQ,EACZ,YAAY,CACb,CAAC;gBACF,OAAO,KAAK,CAAC;YACf,CAAC,CAAC,CACH,CAAC;QACJ,CAAC;QAGD,OAAO;YACL,GAAG,QAAQ;YACX,WAAW,EAAE,gBAAgB;SAC9B,CAAC;IACJ,CAAC;CACF,CAAA;AAzHY,wDAAsB;iCAAtB,sBAAsB;IADlC,IAAA,mBAAU,GAAE;IAGR,WAAA,IAAA,0BAAgB,EAAC,mCAAY,CAAC,CAAA;IAE9B,WAAA,IAAA,0BAAgB,EAAC,8CAAc,CAAC,CAAA;qCADQ,oBAAU;QAEZ,oBAAU;QACd,qCAAgB;QACtB,oBAAU;GAP9B,sBAAsB,CAyHlC"}
|
|
@@ -7,9 +7,10 @@ export declare class CommTemplateService extends EntityServiceImpl {
|
|
|
7
7
|
createEntity(entityData: any, loggedInUser: any): Promise<any>;
|
|
8
8
|
updateEntity(entityData: any, loggedInUser: UserData): Promise<any>;
|
|
9
9
|
getEntityData(entityType: string, id: number, loggedInUser: any): Promise<any>;
|
|
10
|
-
getAllCommTemplate(entity_type: string, loggedInUser: any): Promise<{
|
|
10
|
+
getAllCommTemplate(entity_type: string, action_id: number, loggedInUser: any): Promise<{
|
|
11
11
|
value: string;
|
|
12
12
|
label: string;
|
|
13
13
|
mode: string;
|
|
14
|
+
template: boolean;
|
|
14
15
|
}[]>;
|
|
15
16
|
}
|
|
@@ -60,12 +60,13 @@ let CommTemplateService = class CommTemplateService extends entity_service_impl_
|
|
|
60
60
|
const getTemplate = await this.commTemplateRepository.getTemplateByCode(entityType, id, loggedInUser);
|
|
61
61
|
return getTemplate;
|
|
62
62
|
}
|
|
63
|
-
async getAllCommTemplate(entity_type, loggedInUser) {
|
|
64
|
-
const commTemplateData = await this.commTemplateRepository.getAllCommTemplate(entity_type, loggedInUser);
|
|
63
|
+
async getAllCommTemplate(entity_type, action_id, loggedInUser) {
|
|
64
|
+
const commTemplateData = await this.commTemplateRepository.getAllCommTemplate(entity_type, action_id, loggedInUser);
|
|
65
65
|
const response = commTemplateData.map((item) => ({
|
|
66
66
|
value: item.code,
|
|
67
67
|
label: item.name,
|
|
68
68
|
mode: item.mode,
|
|
69
|
+
template: item.is_template,
|
|
69
70
|
}));
|
|
70
71
|
return response;
|
|
71
72
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"comm-template.service.js","sourceRoot":"","sources":["../../../../src/module/workflow/service/comm-template.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,qFAAgF;AAChF,gGAAwF;AAKjF,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,+CAAiB;IACxD,YAA6B,sBAA8C;QACzE,KAAK,EAAE,CAAC;QADmB,2BAAsB,GAAtB,sBAAsB,CAAwB;IAE3E,CAAC;IAED,KAAK,CAAC,YAAY,CAAC,UAAe,EAAE,YAAiB;QACnD,MAAM,EAAE,WAAW,EAAE,GAAG,YAAY,EAAE,GAAG,UAAU,CAAC;QAEpD,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;QAGtE,IAAI,WAAW,IAAI,WAAW,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAC1C,MAAM,kBAAkB,GAAG,WAAW,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC;gBAC1D,WAAW,EAAE,YAAY,CAAC,WAAW;gBACrC,WAAW,EAAE,QAAQ,CAAC,EAAE;gBACxB,QAAQ,EAAE,UAAU;gBACpB,eAAe,EAAE,YAAY,CAAC,eAAe;gBAC7C,OAAO,EAAE,YAAY,CAAC,OAAO;gBAC7B,QAAQ,EAAE,YAAY,CAAC,QAAQ;gBAC/B,kBAAkB,EAAE,MAAM;gBAC1B,UAAU,EAAE,YAAY,CAAC,UAAU;aACpC,CAAC,CAAC,CAAC;YAEJ,MAAM,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,kBAAkB,CAA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