rez_core 2.2.7 → 2.2.9

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.
Files changed (216) hide show
  1. package/dist/constant/global.constant.d.ts +2 -1
  2. package/dist/constant/global.constant.js +3 -2
  3. package/dist/constant/global.constant.js.map +1 -1
  4. package/dist/module/enterprise/repository/school.repository.js +18 -2
  5. package/dist/module/enterprise/repository/school.repository.js.map +1 -1
  6. package/dist/module/filter/controller/filter.controller.d.ts +1 -1
  7. package/dist/module/filter/controller/filter.controller.js +7 -4
  8. package/dist/module/filter/controller/filter.controller.js.map +1 -1
  9. package/dist/module/filter/dto/filter-request.dto.d.ts +1 -0
  10. package/dist/module/filter/service/filter.service.js +26 -4
  11. package/dist/module/filter/service/filter.service.js.map +1 -1
  12. package/dist/module/layout_preference/controller/layout_preference.controller.js +4 -4
  13. package/dist/module/layout_preference/controller/layout_preference.controller.js.map +1 -1
  14. package/dist/module/layout_preference/entity/layout_preference.entity.d.ts +2 -0
  15. package/dist/module/layout_preference/entity/layout_preference.entity.js +13 -0
  16. package/dist/module/layout_preference/entity/layout_preference.entity.js.map +1 -1
  17. package/dist/module/layout_preference/repository/layout_preference.repository.d.ts +1 -1
  18. package/dist/module/layout_preference/repository/layout_preference.repository.js +4 -2
  19. package/dist/module/layout_preference/repository/layout_preference.repository.js.map +1 -1
  20. package/dist/module/layout_preference/service/layout_preference.service.d.ts +1 -1
  21. package/dist/module/layout_preference/service/layout_preference.service.js +17 -4
  22. package/dist/module/layout_preference/service/layout_preference.service.js.map +1 -1
  23. package/dist/module/listmaster/entity/list-master-items.entity.js +5 -5
  24. package/dist/module/listmaster/entity/list-master-items.entity.js.map +1 -1
  25. package/dist/module/meta/controller/media.controller.d.ts +1 -1
  26. package/dist/module/meta/controller/media.controller.js +1 -1
  27. package/dist/module/meta/controller/media.controller.js.map +1 -1
  28. package/dist/module/meta/entity/base-entity.entity.js.map +1 -1
  29. package/dist/module/module/controller/module-access.controller.d.ts +1 -1
  30. package/dist/module/module/controller/module-access.controller.js +6 -6
  31. package/dist/module/module/controller/module-access.controller.js.map +1 -1
  32. package/dist/module/module/service/module-access.service.d.ts +2 -1
  33. package/dist/module/module/service/module-access.service.js +5 -3
  34. package/dist/module/module/service/module-access.service.js.map +1 -1
  35. package/dist/module/workflow/controller/action-category.controller.d.ts +8 -0
  36. package/dist/module/workflow/controller/action-category.controller.js +45 -0
  37. package/dist/module/workflow/controller/action-category.controller.js.map +1 -0
  38. package/dist/module/workflow/controller/action.controller.d.ts +28 -0
  39. package/dist/module/workflow/controller/action.controller.js +88 -0
  40. package/dist/module/workflow/controller/action.controller.js.map +1 -0
  41. package/dist/module/workflow/controller/comm-template.controller.d.ts +11 -0
  42. package/dist/module/workflow/controller/comm-template.controller.js +44 -0
  43. package/dist/module/workflow/controller/comm-template.controller.js.map +1 -0
  44. package/dist/module/workflow/controller/entity-modification.controller.d.ts +8 -0
  45. package/dist/module/workflow/controller/entity-modification.controller.js +44 -0
  46. package/dist/module/workflow/controller/entity-modification.controller.js.map +1 -0
  47. package/dist/module/workflow/controller/stage-group.controller.d.ts +10 -0
  48. package/dist/module/workflow/controller/stage-group.controller.js +43 -0
  49. package/dist/module/workflow/controller/stage-group.controller.js.map +1 -0
  50. package/dist/module/workflow/controller/stage.controller.d.ts +13 -0
  51. package/dist/module/workflow/controller/stage.controller.js +56 -0
  52. package/dist/module/workflow/controller/stage.controller.js.map +1 -0
  53. package/dist/module/workflow/controller/task.controller.d.ts +21 -0
  54. package/dist/module/workflow/controller/task.controller.js +58 -0
  55. package/dist/module/workflow/controller/task.controller.js.map +1 -0
  56. package/dist/module/workflow/controller/workflow-meta.controller.d.ts +15 -0
  57. package/dist/module/workflow/controller/workflow-meta.controller.js +70 -0
  58. package/dist/module/workflow/controller/workflow-meta.controller.js.map +1 -0
  59. package/dist/module/workflow/controller/workflow.controller.d.ts +25 -10
  60. package/dist/module/workflow/controller/workflow.controller.js +32 -15
  61. package/dist/module/workflow/controller/workflow.controller.js.map +1 -1
  62. package/dist/module/workflow/entity/action-category.entity.d.ts +1 -0
  63. package/dist/module/workflow/entity/action-category.entity.js +4 -0
  64. package/dist/module/workflow/entity/action-category.entity.js.map +1 -1
  65. package/dist/module/workflow/entity/action-data.entity.d.ts +15 -0
  66. package/dist/module/workflow/entity/action-data.entity.js +70 -0
  67. package/dist/module/workflow/entity/action-data.entity.js.map +1 -0
  68. package/dist/module/workflow/entity/action.entity.d.ts +7 -2
  69. package/dist/module/workflow/entity/action.entity.js +30 -10
  70. package/dist/module/workflow/entity/action.entity.js.map +1 -1
  71. package/dist/module/workflow/entity/comm-template.entity.d.ts +5 -0
  72. package/dist/module/workflow/entity/comm-template.entity.js +21 -1
  73. package/dist/module/workflow/entity/comm-template.entity.js.map +1 -1
  74. package/dist/module/workflow/entity/entity-modification.entity.d.ts +13 -0
  75. package/dist/module/workflow/entity/entity-modification.entity.js +63 -0
  76. package/dist/module/workflow/entity/entity-modification.entity.js.map +1 -0
  77. package/dist/module/workflow/entity/stage-group.entity.d.ts +1 -1
  78. package/dist/module/workflow/entity/stage-group.entity.js +1 -1
  79. package/dist/module/workflow/entity/stage-group.entity.js.map +1 -1
  80. package/dist/module/workflow/entity/stage-movement-data.entity.d.ts +4 -0
  81. package/dist/module/workflow/entity/stage-movement-data.entity.js +16 -0
  82. package/dist/module/workflow/entity/stage-movement-data.entity.js.map +1 -1
  83. package/dist/module/workflow/entity/stage.entity.d.ts +2 -2
  84. package/dist/module/workflow/entity/stage.entity.js +5 -5
  85. package/dist/module/workflow/entity/stage.entity.js.map +1 -1
  86. package/dist/module/workflow/entity/task-data.entity.d.ts +25 -0
  87. package/dist/module/workflow/entity/task-data.entity.js +110 -0
  88. package/dist/module/workflow/entity/task-data.entity.js.map +1 -0
  89. package/dist/module/workflow/entity/template-attach-mapper.entity.d.ts +11 -0
  90. package/dist/module/workflow/entity/template-attach-mapper.entity.js +54 -0
  91. package/dist/module/workflow/entity/template-attach-mapper.entity.js.map +1 -0
  92. package/dist/module/workflow/entity/workflow-level-mapping.entity.d.ts +7 -0
  93. package/dist/module/workflow/entity/workflow-level-mapping.entity.js +38 -0
  94. package/dist/module/workflow/entity/workflow-level-mapping.entity.js.map +1 -0
  95. package/dist/module/workflow/entity/workflow.entity.d.ts +2 -0
  96. package/dist/module/workflow/entity/workflow.entity.js +8 -0
  97. package/dist/module/workflow/entity/workflow.entity.js.map +1 -1
  98. package/dist/module/workflow/repository/action-data.repository.d.ts +10 -0
  99. package/dist/module/workflow/repository/action-data.repository.js +85 -0
  100. package/dist/module/workflow/repository/action-data.repository.js.map +1 -0
  101. package/dist/module/workflow/repository/action.repository.d.ts +17 -0
  102. package/dist/module/workflow/repository/action.repository.js +97 -0
  103. package/dist/module/workflow/repository/action.repository.js.map +1 -0
  104. package/dist/module/workflow/repository/comm-template.repository.d.ts +14 -0
  105. package/dist/module/workflow/repository/comm-template.repository.js +87 -0
  106. package/dist/module/workflow/repository/comm-template.repository.js.map +1 -0
  107. package/dist/module/workflow/repository/stage-group.repository.d.ts +7 -0
  108. package/dist/module/workflow/repository/stage-group.repository.js +50 -0
  109. package/dist/module/workflow/repository/stage-group.repository.js.map +1 -0
  110. package/dist/module/workflow/repository/stage-movement.repository.d.ts +23 -0
  111. package/dist/module/workflow/repository/stage-movement.repository.js +142 -0
  112. package/dist/module/workflow/repository/stage-movement.repository.js.map +1 -0
  113. package/dist/module/workflow/repository/stage.repository.d.ts +7 -0
  114. package/dist/module/workflow/repository/stage.repository.js +50 -0
  115. package/dist/module/workflow/repository/stage.repository.js.map +1 -0
  116. package/dist/module/workflow/repository/task.repository.d.ts +10 -0
  117. package/dist/module/workflow/repository/task.repository.js +77 -0
  118. package/dist/module/workflow/repository/task.repository.js.map +1 -0
  119. package/dist/module/workflow/repository/workflow.repository.d.ts +9 -1
  120. package/dist/module/workflow/repository/workflow.repository.js +38 -6
  121. package/dist/module/workflow/repository/workflow.repository.js.map +1 -1
  122. package/dist/module/workflow/service/action-category.service.d.ts +5 -0
  123. package/dist/module/workflow/service/action-category.service.js +23 -1
  124. package/dist/module/workflow/service/action-category.service.js.map +1 -1
  125. package/dist/module/workflow/service/action-data.service.d.ts +11 -0
  126. package/dist/module/workflow/service/action-data.service.js +36 -0
  127. package/dist/module/workflow/service/action-data.service.js.map +1 -0
  128. package/dist/module/workflow/service/action.service.d.ts +19 -1
  129. package/dist/module/workflow/service/action.service.js +159 -10
  130. package/dist/module/workflow/service/action.service.js.map +1 -1
  131. package/dist/module/workflow/service/comm-template.service.d.ts +11 -0
  132. package/dist/module/workflow/service/comm-template.service.js +59 -1
  133. package/dist/module/workflow/service/comm-template.service.js.map +1 -1
  134. package/dist/module/workflow/service/entity-modification.service.d.ts +8 -0
  135. package/dist/module/workflow/service/entity-modification.service.js +52 -0
  136. package/dist/module/workflow/service/entity-modification.service.js.map +1 -0
  137. package/dist/module/workflow/service/populate-workflow.service.d.ts +21 -0
  138. package/dist/module/workflow/service/populate-workflow.service.js +124 -0
  139. package/dist/module/workflow/service/populate-workflow.service.js.map +1 -0
  140. package/dist/module/workflow/service/stage-group.service.d.ts +13 -0
  141. package/dist/module/workflow/service/stage-group.service.js +39 -1
  142. package/dist/module/workflow/service/stage-group.service.js.map +1 -1
  143. package/dist/module/workflow/service/stage.service.d.ts +14 -4
  144. package/dist/module/workflow/service/stage.service.js +57 -13
  145. package/dist/module/workflow/service/stage.service.js.map +1 -1
  146. package/dist/module/workflow/service/task.service.d.ts +18 -0
  147. package/dist/module/workflow/service/task.service.js +63 -0
  148. package/dist/module/workflow/service/task.service.js.map +1 -0
  149. package/dist/module/workflow/service/workflow-list-master.service.js +4 -4
  150. package/dist/module/workflow/service/workflow-meta.service.d.ts +20 -0
  151. package/dist/module/workflow/service/workflow-meta.service.js +137 -0
  152. package/dist/module/workflow/service/workflow-meta.service.js.map +1 -0
  153. package/dist/module/workflow/service/workflow.service.d.ts +28 -5
  154. package/dist/module/workflow/service/workflow.service.js +108 -41
  155. package/dist/module/workflow/service/workflow.service.js.map +1 -1
  156. package/dist/module/workflow/workflow.module.js +82 -15
  157. package/dist/module/workflow/workflow.module.js.map +1 -1
  158. package/dist/tsconfig.build.tsbuildinfo +1 -1
  159. package/package.json +1 -1
  160. package/src/constant/global.constant.ts +3 -1
  161. package/src/module/enterprise/repository/school.repository.ts +23 -2
  162. package/src/module/filter/controller/filter.controller.ts +10 -4
  163. package/src/module/filter/dto/filter-request.dto.ts +1 -0
  164. package/src/module/filter/service/filter.service.ts +39 -5
  165. package/src/module/layout_preference/controller/layout_preference.controller.ts +6 -4
  166. package/src/module/layout_preference/entity/layout_preference.entity.ts +11 -0
  167. package/src/module/layout_preference/repository/layout_preference.repository.ts +6 -2
  168. package/src/module/layout_preference/service/layout_preference.service.ts +31 -6
  169. package/src/module/listmaster/entity/list-master-items.entity.ts +5 -5
  170. package/src/module/meta/controller/media.controller.ts +5 -7
  171. package/src/module/meta/entity/base-entity.entity.ts +1 -1
  172. package/src/module/module/controller/module-access.controller.ts +9 -4
  173. package/src/module/module/service/module-access.service.ts +15 -8
  174. package/src/module/workflow/controller/action-category.controller.ts +35 -0
  175. package/src/module/workflow/controller/action.controller.ts +73 -0
  176. package/src/module/workflow/controller/comm-template.controller.ts +32 -0
  177. package/src/module/workflow/controller/entity-modification.controller.ts +35 -0
  178. package/src/module/workflow/controller/stage-group.controller.ts +33 -0
  179. package/src/module/workflow/controller/stage.controller.ts +50 -0
  180. package/src/module/workflow/controller/task.controller.ts +57 -0
  181. package/src/module/workflow/controller/workflow-meta.controller.ts +76 -0
  182. package/src/module/workflow/controller/workflow.controller.ts +32 -12
  183. package/src/module/workflow/entity/action-category.entity.ts +3 -0
  184. package/src/module/workflow/entity/action-data.entity.ts +43 -0
  185. package/src/module/workflow/entity/action.entity.ts +18 -3
  186. package/src/module/workflow/entity/comm-template.entity.ts +18 -1
  187. package/src/module/workflow/entity/entity-modification.entity.ts +38 -0
  188. package/src/module/workflow/entity/stage-group.entity.ts +1 -1
  189. package/src/module/workflow/entity/stage-movement-data.entity.ts +12 -0
  190. package/src/module/workflow/entity/stage.entity.ts +4 -4
  191. package/src/module/workflow/entity/task-data.entity.ts +73 -0
  192. package/src/module/workflow/entity/template-attach-mapper.entity.ts +30 -0
  193. package/src/module/workflow/entity/workflow-level-mapping.entity.ts +18 -0
  194. package/src/module/workflow/entity/workflow.entity.ts +6 -0
  195. package/src/module/workflow/repository/action-data.repository.ts +93 -0
  196. package/src/module/workflow/repository/action.repository.ts +104 -0
  197. package/src/module/workflow/repository/comm-template.repository.ts +102 -0
  198. package/src/module/workflow/repository/stage-group.repository.ts +46 -0
  199. package/src/module/workflow/repository/stage-movement.repository.ts +219 -0
  200. package/src/module/workflow/repository/stage.repository.ts +47 -0
  201. package/src/module/workflow/repository/task.repository.ts +85 -0
  202. package/src/module/workflow/repository/workflow.repository.ts +40 -2
  203. package/src/module/workflow/service/action-category.service.ts +26 -1
  204. package/src/module/workflow/service/action-data.service.ts +45 -0
  205. package/src/module/workflow/service/action-template-mapping.service.ts +1 -1
  206. package/src/module/workflow/service/action.service.ts +279 -19
  207. package/src/module/workflow/service/comm-template.service.ts +90 -1
  208. package/src/module/workflow/service/entity-modification.service.ts +67 -0
  209. package/src/module/workflow/service/populate-workflow.service.ts +189 -0
  210. package/src/module/workflow/service/stage-group.service.ts +67 -2
  211. package/src/module/workflow/service/stage.service.ts +104 -28
  212. package/src/module/workflow/service/task.service.ts +95 -0
  213. package/src/module/workflow/service/workflow-list-master.service.ts +4 -4
  214. package/src/module/workflow/service/workflow-meta.service.ts +231 -0
  215. package/src/module/workflow/service/workflow.service.ts +181 -50
  216. package/src/module/workflow/workflow.module.ts +82 -15
@@ -0,0 +1 @@
1
+ {"version":3,"file":"task.controller.js","sourceRoot":"","sources":["../../../../src/module/workflow/controller/task.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CASwB;AACxB,2DAAgE;AAChE,0DAAsD;AAI/C,IAAM,cAAc,GAApB,MAAM,cAAc;IACzB,YAEmB,WAAwB;QAAxB,gBAAW,GAAX,WAAW,CAAa;IACxC,CAAC;IAIE,AAAN,KAAK,CAAC,sBAAsB,CACnB,GAA4B,EAEnC,IAKC;QAED,MAAM,YAAY,GAAG,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC;QACvC,MAAM,MAAM,GAAG,IAAI,CAAC,WAAW,CAAC,4BAA4B,CAC1D,YAAY,EACZ,IAAI,CACL,CAAC;QACF,OAAO,MAAM,CAAC;IAChB,CAAC;IAGK,AAAN,KAAK,CAAC,QAAQ,CACL,GAA4B,EAEnC,IAKC;QAED,MAAM,YAAY,GAAG,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC;QACvC,MAAM,MAAM,GAAG,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,CAAC,CAAC;QAC7D,OAAO,MAAM,CAAC;IAChB,CAAC;CACF,CAAA;AAzCY,wCAAc;AAQnB;IAFL,IAAA,aAAI,EAAC,oBAAoB,CAAC;IAC1B,IAAA,iBAAQ,EAAC,mBAAU,CAAC,EAAE,CAAC;IAErB,WAAA,IAAA,YAAG,GAAE,CAAA;IACL,WAAA,IAAA,aAAI,GAAE,CAAA;;;;4DAcR;AAGK;IADL,IAAA,aAAI,EAAC,YAAY,CAAC;IAEhB,WAAA,IAAA,YAAG,GAAE,CAAA;IACL,WAAA,IAAA,aAAI,GAAE,CAAA;;;;8CAWR;yBAxCU,cAAc;IAF1B,IAAA,mBAAU,EAAC,OAAO,CAAC;IACnB,IAAA,kBAAS,EAAC,wBAAY,CAAC;IAGnB,WAAA,IAAA,eAAM,EAAC,aAAa,CAAC,CAAA;qCACQ,0BAAW;GAHhC,cAAc,CAyC1B"}
@@ -0,0 +1,15 @@
1
+ import { WorkflowMetaService } from '../service/workflow-meta.service';
2
+ import { StageMovementData } from '../entity/stage-movement-data.entity';
3
+ export declare class WorkflowMetaController {
4
+ private readonly workflowMetaService;
5
+ constructor(workflowMetaService: WorkflowMetaService);
6
+ getCurrentStage(mapped_entity_type: string, mapped_entity_id: number, req: Request & {
7
+ user: any;
8
+ }): Promise<StageMovementData | null>;
9
+ getNextStage(mapped_entity_type: string, mapped_entity_id: number, req: Request & {
10
+ user: any;
11
+ }): Promise<number | null>;
12
+ moveToNextStage(mapped_entity_type: string, mapped_entity_id: number, req: Request & {
13
+ user: any;
14
+ }): Promise<string>;
15
+ }
@@ -0,0 +1,70 @@
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
+ var __param = (this && this.__param) || function (paramIndex, decorator) {
12
+ return function (target, key) { decorator(target, key, paramIndex); }
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.WorkflowMetaController = void 0;
16
+ const common_1 = require("@nestjs/common");
17
+ const workflow_meta_service_1 = require("../service/workflow-meta.service");
18
+ const jwt_guard_1 = require("../../auth/guards/jwt.guard");
19
+ let WorkflowMetaController = class WorkflowMetaController {
20
+ constructor(workflowMetaService) {
21
+ this.workflowMetaService = workflowMetaService;
22
+ }
23
+ async getCurrentStage(mapped_entity_type, mapped_entity_id, req) {
24
+ let loggedInUser = req.user.userData;
25
+ return this.workflowMetaService.getCurrentStage(mapped_entity_type, Number(mapped_entity_id), loggedInUser);
26
+ }
27
+ async getNextStage(mapped_entity_type, mapped_entity_id, req) {
28
+ const loggedInUser = req.user.userData;
29
+ const current = await this.workflowMetaService.getCurrentStage(mapped_entity_type, Number(mapped_entity_id), loggedInUser);
30
+ return current ? this.workflowMetaService.getNextStage(current) : null;
31
+ }
32
+ async moveToNextStage(mapped_entity_type, mapped_entity_id, req) {
33
+ const loggedInUser = req.user.userData;
34
+ return this.workflowMetaService.moveToNextStage(mapped_entity_type, Number(mapped_entity_id), loggedInUser);
35
+ }
36
+ };
37
+ exports.WorkflowMetaController = WorkflowMetaController;
38
+ __decorate([
39
+ (0, common_1.Get)('current-stage'),
40
+ __param(0, (0, common_1.Query)('entityType')),
41
+ __param(1, (0, common_1.Query)('entityId')),
42
+ __param(2, (0, common_1.Req)()),
43
+ __metadata("design:type", Function),
44
+ __metadata("design:paramtypes", [String, Number, Object]),
45
+ __metadata("design:returntype", Promise)
46
+ ], WorkflowMetaController.prototype, "getCurrentStage", null);
47
+ __decorate([
48
+ (0, common_1.Get)('next-stage'),
49
+ __param(0, (0, common_1.Query)('entityType')),
50
+ __param(1, (0, common_1.Query)('entityId')),
51
+ __param(2, (0, common_1.Req)()),
52
+ __metadata("design:type", Function),
53
+ __metadata("design:paramtypes", [String, Number, Object]),
54
+ __metadata("design:returntype", Promise)
55
+ ], WorkflowMetaController.prototype, "getNextStage", null);
56
+ __decorate([
57
+ (0, common_1.Post)('move-next-stage'),
58
+ __param(0, (0, common_1.Body)('entityType')),
59
+ __param(1, (0, common_1.Body)('entityId')),
60
+ __param(2, (0, common_1.Req)()),
61
+ __metadata("design:type", Function),
62
+ __metadata("design:paramtypes", [String, Number, Object]),
63
+ __metadata("design:returntype", Promise)
64
+ ], WorkflowMetaController.prototype, "moveToNextStage", null);
65
+ exports.WorkflowMetaController = WorkflowMetaController = __decorate([
66
+ (0, common_1.Controller)('workflow-meta'),
67
+ (0, common_1.UseGuards)(jwt_guard_1.JwtAuthGuard),
68
+ __metadata("design:paramtypes", [workflow_meta_service_1.WorkflowMetaService])
69
+ ], WorkflowMetaController);
70
+ //# sourceMappingURL=workflow-meta.controller.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workflow-meta.controller.js","sourceRoot":"","sources":["../../../../src/module/workflow/controller/workflow-meta.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAQwB;AACxB,4EAAuE;AAEvE,2DAAgE;AAIzD,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IACjC,YAA6B,mBAAwC;QAAxC,wBAAmB,GAAnB,mBAAmB,CAAqB;IAAG,CAAC;IAMnE,AAAN,KAAK,CAAC,eAAe,CACE,kBAA0B,EAC5B,gBAAwB,EACpC,GAA4B;QAEnC,IAAI,YAAY,GAAG,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC;QAErC,OAAO,IAAI,CAAC,mBAAmB,CAAC,eAAe,CAC7C,kBAAkB,EAClB,MAAM,CAAC,gBAAgB,CAAC,EACxB,YAAY,CACb,CAAC;IACJ,CAAC;IAMK,AAAN,KAAK,CAAC,YAAY,CACK,kBAA0B,EAC5B,gBAAwB,EACpC,GAA4B;QAEnC,MAAM,YAAY,GAAG,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC;QACvC,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,mBAAmB,CAAC,eAAe,CAC5D,kBAAkB,EAClB,MAAM,CAAC,gBAAgB,CAAC,EACxB,YAAY,CACb,CAAC;QACF,OAAO,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IACzE,CAAC;IAWK,AAAN,KAAK,CAAC,eAAe,CACC,kBAA0B,EAC5B,gBAAwB,EACnC,GAA4B;QAEnC,MAAM,YAAY,GAAG,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC;QACvC,OAAO,IAAI,CAAC,mBAAmB,CAAC,eAAe,CAC7C,kBAAkB,EAClB,MAAM,CAAC,gBAAgB,CAAC,EACxB,YAAY,CACb,CAAC;IACJ,CAAC;CACF,CAAA;AA5DY,wDAAsB;AAO3B;IADL,IAAA,YAAG,EAAC,eAAe,CAAC;IAElB,WAAA,IAAA,cAAK,EAAC,YAAY,CAAC,CAAA;IACnB,WAAA,IAAA,cAAK,EAAC,UAAU,CAAC,CAAA;IACjB,WAAA,IAAA,YAAG,GAAE,CAAA;;;;6DASP;AAMK;IADL,IAAA,YAAG,EAAC,YAAY,CAAC;IAEf,WAAA,IAAA,cAAK,EAAC,YAAY,CAAC,CAAA;IACnB,WAAA,IAAA,cAAK,EAAC,UAAU,CAAC,CAAA;IACjB,WAAA,IAAA,YAAG,GAAE,CAAA;;;;0DASP;AAWK;IADL,IAAA,aAAI,EAAC,iBAAiB,CAAC;IAErB,WAAA,IAAA,aAAI,EAAC,YAAY,CAAC,CAAA;IAClB,WAAA,IAAA,aAAI,EAAC,UAAU,CAAC,CAAA;IAChB,WAAA,IAAA,YAAG,GAAE,CAAA;;;;6DAQP;iCA3DU,sBAAsB;IAFlC,IAAA,mBAAU,EAAC,eAAe,CAAC;IAC3B,IAAA,kBAAS,EAAC,wBAAY,CAAC;qCAE4B,2CAAmB;GAD1D,sBAAsB,CA4DlC"}
@@ -1,16 +1,31 @@
1
1
  import { WorkflowService } from '../service/workflow.service';
2
- import { Request } from 'express';
2
+ import { PopulateWorkflowService } from '../service/populate-workflow.service';
3
3
  export declare class WorkflowController {
4
4
  private readonly workflowService;
5
- constructor(workflowService: WorkflowService);
6
- getWorkflow(body: {
7
- entity_type: string;
8
- }, req: Request & {
5
+ private readonly populateWorkflowService;
6
+ constructor(workflowService: WorkflowService, populateWorkflowService: PopulateWorkflowService);
7
+ getAllWorkflows(req: Request & {
9
8
  user: any;
10
- }): Promise<any>;
9
+ }, body: {
10
+ entity_type: string;
11
+ }): Promise<import("../entity/workflow.entity").Workflow[]>;
11
12
  getWorkflowById(id: number): Promise<any>;
12
- getLeadContactDropdown(body: {
13
- leadId: number;
14
- mode: string;
15
- }): Promise<any[]>;
13
+ SS: any;
14
+ updateSequence(body: any, req: Request & {
15
+ user: any;
16
+ }): Promise<{
17
+ updated: number;
18
+ results: {
19
+ id: any;
20
+ success: boolean;
21
+ result?: any;
22
+ error?: string;
23
+ }[];
24
+ }>;
25
+ populateWorkflow(body: any, req: Request & {
26
+ user: any;
27
+ }): Promise<{
28
+ message: string;
29
+ status: string;
30
+ }>;
16
31
  }
@@ -16,32 +16,38 @@ exports.WorkflowController = void 0;
16
16
  const common_1 = require("@nestjs/common");
17
17
  const jwt_guard_1 = require("../../auth/guards/jwt.guard");
18
18
  const workflow_service_1 = require("../service/workflow.service");
19
+ const populate_workflow_service_1 = require("../service/populate-workflow.service");
19
20
  let WorkflowController = class WorkflowController {
20
- constructor(workflowService) {
21
+ constructor(workflowService, populateWorkflowService) {
21
22
  this.workflowService = workflowService;
23
+ this.populateWorkflowService = populateWorkflowService;
22
24
  }
23
- async getWorkflow(body, req) {
24
- const loggedInUser = req.user.userData;
25
- const result = await this.workflowService.getAllWorkflow(body.entity_type, loggedInUser);
26
- return result;
25
+ async getAllWorkflows(req, body) {
26
+ const { level_id, level_type } = req.user.userData;
27
+ return this.workflowService.getAllWorkflows(body.entity_type, level_id, level_type);
27
28
  }
28
29
  async getWorkflowById(id) {
29
30
  return this.workflowService.getWorkflowById(id);
30
31
  }
31
- async getLeadContactDropdown(body) {
32
- return this.workflowService.getLeadContactDropdown(body.leadId, body.mode);
32
+ async updateSequence(body, req) {
33
+ const loggedInUser = req.user?.userData;
34
+ return this.workflowService.updateSequence(body, loggedInUser);
35
+ }
36
+ async populateWorkflow(body, req) {
37
+ const loggedInUser = req.user?.userData;
38
+ return this.populateWorkflowService.populateWorkflowData(body.organization_id, loggedInUser);
33
39
  }
34
40
  };
35
41
  exports.WorkflowController = WorkflowController;
36
42
  __decorate([
37
- (0, common_1.Post)('/getWorkflow'),
43
+ (0, common_1.Post)('/getAllWorkflows'),
38
44
  (0, common_1.HttpCode)(common_1.HttpStatus.OK),
39
- __param(0, (0, common_1.Body)()),
40
- __param(1, (0, common_1.Req)()),
45
+ __param(0, (0, common_1.Req)()),
46
+ __param(1, (0, common_1.Body)()),
41
47
  __metadata("design:type", Function),
42
48
  __metadata("design:paramtypes", [Object, Object]),
43
49
  __metadata("design:returntype", Promise)
44
- ], WorkflowController.prototype, "getWorkflow", null);
50
+ ], WorkflowController.prototype, "getAllWorkflows", null);
45
51
  __decorate([
46
52
  (0, common_1.Get)('/getWorkflowById/:id'),
47
53
  (0, common_1.HttpCode)(common_1.HttpStatus.OK),
@@ -51,16 +57,27 @@ __decorate([
51
57
  __metadata("design:returntype", Promise)
52
58
  ], WorkflowController.prototype, "getWorkflowById", null);
53
59
  __decorate([
54
- (0, common_1.Post)('/getContactDropdown'),
60
+ (0, common_1.Post)('/updateSequence'),
55
61
  (0, common_1.HttpCode)(common_1.HttpStatus.OK),
56
62
  __param(0, (0, common_1.Body)()),
63
+ __param(1, (0, common_1.Req)()),
57
64
  __metadata("design:type", Function),
58
- __metadata("design:paramtypes", [Object]),
65
+ __metadata("design:paramtypes", [Object, Object]),
66
+ __metadata("design:returntype", Promise)
67
+ ], WorkflowController.prototype, "updateSequence", null);
68
+ __decorate([
69
+ (0, common_1.Post)('/populateWorkflow'),
70
+ __param(0, (0, common_1.Body)()),
71
+ __param(1, (0, common_1.Req)()),
72
+ __metadata("design:type", Function),
73
+ __metadata("design:paramtypes", [Object, Object]),
59
74
  __metadata("design:returntype", Promise)
60
- ], WorkflowController.prototype, "getLeadContactDropdown", null);
75
+ ], WorkflowController.prototype, "populateWorkflow", null);
61
76
  exports.WorkflowController = WorkflowController = __decorate([
62
77
  (0, common_1.Controller)('/workflow'),
63
78
  (0, common_1.UseGuards)(jwt_guard_1.JwtAuthGuard),
64
- __metadata("design:paramtypes", [workflow_service_1.WorkflowService])
79
+ __param(0, (0, common_1.Inject)('WorkflowService')),
80
+ __metadata("design:paramtypes", [workflow_service_1.WorkflowService,
81
+ populate_workflow_service_1.PopulateWorkflowService])
65
82
  ], WorkflowController);
66
83
  //# sourceMappingURL=workflow.controller.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"workflow.controller.js","sourceRoot":"","sources":["../../../../src/module/workflow/controller/workflow.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAWwB;AACxB,2DAAgE;AAChE,kEAA8D;AAKvD,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;IAC7B,YAA6B,eAAgC;QAAhC,oBAAe,GAAf,eAAe,CAAiB;IAAG,CAAC;IAI3D,AAAN,KAAK,CAAC,WAAW,CACP,IAA6B,EAC9B,GAA4B;QAEnC,MAAM,YAAY,GAAG,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC;QACvC,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,eAAe,CAAC,cAAc,CACtD,IAAI,CAAC,WAAW,EAChB,YAAY,CACb,CAAC;QACF,OAAO,MAAM,CAAC;IAChB,CAAC;IAIK,AAAN,KAAK,CAAC,eAAe,CAAc,EAAU;QAC3C,OAAO,IAAI,CAAC,eAAe,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC;IAClD,CAAC;IAIK,AAAN,KAAK,CAAC,sBAAsB,CAAS,IAAsC;QACzE,OAAO,IAAI,CAAC,eAAe,CAAC,sBAAsB,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IAC7E,CAAC;CACF,CAAA;AA5BY,gDAAkB;AAKvB;IAFL,IAAA,aAAI,EAAC,cAAc,CAAC;IACpB,IAAA,iBAAQ,EAAC,mBAAU,CAAC,EAAE,CAAC;IAErB,WAAA,IAAA,aAAI,GAAE,CAAA;IACN,WAAA,IAAA,YAAG,GAAE,CAAA;;;;qDAQP;AAIK;IAFL,IAAA,YAAG,EAAC,sBAAsB,CAAC;IAC3B,IAAA,iBAAQ,EAAC,mBAAU,CAAC,EAAE,CAAC;IACD,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;;;;yDAEjC;AAIK;IAFL,IAAA,aAAI,EAAC,qBAAqB,CAAC;IAC3B,IAAA,iBAAQ,EAAC,mBAAU,CAAC,EAAE,CAAC;IACM,WAAA,IAAA,aAAI,GAAE,CAAA;;;;gEAEnC;6BA3BU,kBAAkB;IAF9B,IAAA,mBAAU,EAAC,WAAW,CAAC;IACvB,IAAA,kBAAS,EAAC,wBAAY,CAAC;qCAEwB,kCAAe;GADlD,kBAAkB,CA4B9B"}
1
+ {"version":3,"file":"workflow.controller.js","sourceRoot":"","sources":["../../../../src/module/workflow/controller/workflow.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAawB;AACxB,2DAAgE;AAChE,kEAA8D;AAC9D,oFAA+E;AAIxE,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;IAC7B,YAEmB,eAAgC,EAChC,uBAAgD;QADhD,oBAAe,GAAf,eAAe,CAAiB;QAChC,4BAAuB,GAAvB,uBAAuB,CAAyB;IAChE,CAAC;IAIE,AAAN,KAAK,CAAC,eAAe,CACZ,GAA4B,EAC3B,IAA6B;QAErC,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,GAAG,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC;QACnD,OAAO,IAAI,CAAC,eAAe,CAAC,eAAe,CACzC,IAAI,CAAC,WAAW,EAChB,QAAQ,EACR,UAAU,CACX,CAAC;IACJ,CAAC;IAIK,AAAN,KAAK,CAAC,eAAe,CAAc,EAAU;QAC3C,OAAO,IAAI,CAAC,eAAe,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC;IAClD,CAAC;IAKK,AAAN,KAAK,CAAC,cAAc,CAAS,IAAS,EAAS,GAA4B;QACzE,MAAM,YAAY,GAAG,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC;QACxC,OAAO,IAAI,CAAC,eAAe,CAAC,cAAc,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;IACjE,CAAC;IAGK,AAAN,KAAK,CAAC,gBAAgB,CACZ,IAAS,EACV,GAA4B;QAEnC,MAAM,YAAY,GAAG,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC;QACxC,OAAO,IAAI,CAAC,uBAAuB,CAAC,oBAAoB,CACtD,IAAI,CAAC,eAAe,EACpB,YAAY,CACb,CAAC;IACJ,CAAC;CACF,CAAA;AA9CY,gDAAkB;AASvB;IAFL,IAAA,aAAI,EAAC,kBAAkB,CAAC;IACxB,IAAA,iBAAQ,EAAC,mBAAU,CAAC,EAAE,CAAC;IAErB,WAAA,IAAA,YAAG,GAAE,CAAA;IACL,WAAA,IAAA,aAAI,GAAE,CAAA;;;;yDAQR;AAIK;IAFL,IAAA,YAAG,EAAC,sBAAsB,CAAC;IAC3B,IAAA,iBAAQ,EAAC,mBAAU,CAAC,EAAE,CAAC;IACD,WAAA,IAAA,cAAK,EAAC,IAAI,CAAC,CAAA;;;;yDAEjC;AAKK;IAFL,IAAA,aAAI,EAAC,iBAAiB,CAAC;IACvB,IAAA,iBAAQ,EAAC,mBAAU,CAAC,EAAE,CAAC;IACF,WAAA,IAAA,aAAI,GAAE,CAAA;IAAa,WAAA,IAAA,YAAG,GAAE,CAAA;;;;wDAG7C;AAGK;IADL,IAAA,aAAI,EAAC,mBAAmB,CAAC;IAEvB,WAAA,IAAA,aAAI,GAAE,CAAA;IACN,WAAA,IAAA,YAAG,GAAE,CAAA;;;;0DAOP;6BA7CU,kBAAkB;IAF9B,IAAA,mBAAU,EAAC,WAAW,CAAC;IACvB,IAAA,kBAAS,EAAC,wBAAY,CAAC;IAGnB,WAAA,IAAA,eAAM,EAAC,iBAAiB,CAAC,CAAA;qCACQ,kCAAe;QACP,mDAAuB;GAJxD,kBAAkB,CA8C9B"}
@@ -3,4 +3,5 @@ export declare class ActionCategory extends BaseEntity {
3
3
  constructor();
4
4
  logo: string;
5
5
  modalName: string;
6
+ mapped_entity_type: string;
6
7
  }
@@ -28,6 +28,10 @@ __decorate([
28
28
  (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
29
29
  __metadata("design:type", String)
30
30
  ], ActionCategory.prototype, "modalName", void 0);
31
+ __decorate([
32
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
33
+ __metadata("design:type", String)
34
+ ], ActionCategory.prototype, "mapped_entity_type", void 0);
31
35
  exports.ActionCategory = ActionCategory = __decorate([
32
36
  (0, typeorm_1.Entity)({ name: 'cr_wf_action_category' }),
33
37
  __metadata("design:paramtypes", [])
@@ -1 +1 @@
1
- {"version":3,"file":"action-category.entity.js","sourceRoot":"","sources":["../../../../src/module/workflow/entity/action-category.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uEAA+D;AAC/D,6EAAuE;AACvE,qCAAyC;AAGlC,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,+BAAU;IAC5C;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,WAAW,GAAG,iCAAe,CAAC;IACrC,CAAC;CAOF,CAAA;AAXY,wCAAc;AAOzB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CAC/B;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDAC1B;yBAVP,cAAc;IAD1B,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,uBAAuB,EAAE,CAAC;;GAC7B,cAAc,CAW1B"}
1
+ {"version":3,"file":"action-category.entity.js","sourceRoot":"","sources":["../../../../src/module/workflow/entity/action-category.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uEAA+D;AAC/D,6EAAuE;AACvE,qCAAyC;AAGlC,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,+BAAU;IAC5C;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,WAAW,GAAG,iCAAe,CAAC;IACrC,CAAC;CAUF,CAAA;AAdY,wCAAc;AAOzB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CAC/B;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDAC1B;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DACjB;yBAbhB,cAAc;IAD1B,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,uBAAuB,EAAE,CAAC;;GAC7B,cAAc,CAc1B"}
@@ -0,0 +1,15 @@
1
+ import { BaseEntity } from 'src/module/meta/entity/base-entity.entity';
2
+ export declare class ActionDataEntity extends BaseEntity {
3
+ constructor();
4
+ action_id: number;
5
+ user_id: number;
6
+ stage_id: number;
7
+ start_time: Date;
8
+ end_time: Date;
9
+ is_mandatory: boolean;
10
+ mapped_entity_id: number;
11
+ mapped_entity_type: string;
12
+ sequence: number;
13
+ is_done: boolean;
14
+ is_current: string;
15
+ }
@@ -0,0 +1,70 @@
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.ActionDataEntity = void 0;
13
+ const base_entity_entity_1 = require("../../meta/entity/base-entity.entity");
14
+ const typeorm_1 = require("typeorm");
15
+ let ActionDataEntity = class ActionDataEntity extends base_entity_entity_1.BaseEntity {
16
+ constructor() {
17
+ super();
18
+ this.entity_type = 'ACTION_DATA';
19
+ }
20
+ };
21
+ exports.ActionDataEntity = ActionDataEntity;
22
+ __decorate([
23
+ (0, typeorm_1.Column)({ nullable: true }),
24
+ __metadata("design:type", Number)
25
+ ], ActionDataEntity.prototype, "action_id", void 0);
26
+ __decorate([
27
+ (0, typeorm_1.Column)({ nullable: true }),
28
+ __metadata("design:type", Number)
29
+ ], ActionDataEntity.prototype, "user_id", void 0);
30
+ __decorate([
31
+ (0, typeorm_1.Column)({ nullable: true }),
32
+ __metadata("design:type", Number)
33
+ ], ActionDataEntity.prototype, "stage_id", void 0);
34
+ __decorate([
35
+ (0, typeorm_1.Column)({ nullable: true }),
36
+ __metadata("design:type", Date)
37
+ ], ActionDataEntity.prototype, "start_time", void 0);
38
+ __decorate([
39
+ (0, typeorm_1.Column)({ nullable: true }),
40
+ __metadata("design:type", Date)
41
+ ], ActionDataEntity.prototype, "end_time", void 0);
42
+ __decorate([
43
+ (0, typeorm_1.Column)({ nullable: true }),
44
+ __metadata("design:type", Boolean)
45
+ ], ActionDataEntity.prototype, "is_mandatory", void 0);
46
+ __decorate([
47
+ (0, typeorm_1.Column)({ nullable: true }),
48
+ __metadata("design:type", Number)
49
+ ], ActionDataEntity.prototype, "mapped_entity_id", void 0);
50
+ __decorate([
51
+ (0, typeorm_1.Column)({ nullable: true }),
52
+ __metadata("design:type", String)
53
+ ], ActionDataEntity.prototype, "mapped_entity_type", void 0);
54
+ __decorate([
55
+ (0, typeorm_1.Column)({ nullable: true }),
56
+ __metadata("design:type", Number)
57
+ ], ActionDataEntity.prototype, "sequence", void 0);
58
+ __decorate([
59
+ (0, typeorm_1.Column)({ default: 0 }),
60
+ __metadata("design:type", Boolean)
61
+ ], ActionDataEntity.prototype, "is_done", void 0);
62
+ __decorate([
63
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
64
+ __metadata("design:type", String)
65
+ ], ActionDataEntity.prototype, "is_current", void 0);
66
+ exports.ActionDataEntity = ActionDataEntity = __decorate([
67
+ (0, typeorm_1.Entity)({ name: 'cr_wf_action_data' }),
68
+ __metadata("design:paramtypes", [])
69
+ ], ActionDataEntity);
70
+ //# sourceMappingURL=action-data.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action-data.entity.js","sourceRoot":"","sources":["../../../../src/module/workflow/entity/action-data.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6EAAuE;AACvE,qCAAyC;AAGlC,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,+BAAU;IAC9C;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,WAAW,GAAG,aAAa,CAAC;IACnC,CAAC;CAkCF,CAAA;AAtCY,4CAAgB;AAO3B;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACT;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACX;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACV;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACf,IAAI;oDAAC;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACjB,IAAI;kDAAC;AAGf;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACL;AAGtB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0DACF;AAGzB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4DACA;AAG3B;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACV;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;;iDACN;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACzB;2BArCR,gBAAgB;IAD5B,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,mBAAmB,EAAE,CAAC;;GACzB,gBAAgB,CAsC5B"}
@@ -1,7 +1,12 @@
1
1
  import { BaseEntity } from 'src/module/meta/entity/base-entity.entity';
2
- export declare class Action extends BaseEntity {
2
+ export declare class ActionEntity extends BaseEntity {
3
3
  constructor();
4
4
  workflow_id: number;
5
- action_cat_id: number;
5
+ action_category: string;
6
6
  action_requirement: string;
7
+ sequence: string;
8
+ reason_code: string;
9
+ default_reason_code: string;
10
+ default_value: boolean;
11
+ user_id: number;
7
12
  }
@@ -9,31 +9,51 @@ 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.Action = void 0;
12
+ exports.ActionEntity = void 0;
13
13
  const global_constant_1 = require("../../../constant/global.constant");
14
14
  const base_entity_entity_1 = require("../../meta/entity/base-entity.entity");
15
15
  const typeorm_1 = require("typeorm");
16
- let Action = class Action extends base_entity_entity_1.BaseEntity {
16
+ let ActionEntity = class ActionEntity extends base_entity_entity_1.BaseEntity {
17
17
  constructor() {
18
18
  super();
19
19
  this.entity_type = global_constant_1.ACTION;
20
20
  }
21
21
  };
22
- exports.Action = Action;
22
+ exports.ActionEntity = ActionEntity;
23
23
  __decorate([
24
24
  (0, typeorm_1.Column)({ type: 'int', nullable: true }),
25
25
  __metadata("design:type", Number)
26
- ], Action.prototype, "workflow_id", void 0);
26
+ ], ActionEntity.prototype, "workflow_id", void 0);
27
27
  __decorate([
28
- (0, typeorm_1.Column)({ type: 'int', nullable: true }),
29
- __metadata("design:type", Number)
30
- ], Action.prototype, "action_cat_id", void 0);
28
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
29
+ __metadata("design:type", String)
30
+ ], ActionEntity.prototype, "action_category", void 0);
31
+ __decorate([
32
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
33
+ __metadata("design:type", String)
34
+ ], ActionEntity.prototype, "action_requirement", void 0);
35
+ __decorate([
36
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
37
+ __metadata("design:type", String)
38
+ ], ActionEntity.prototype, "sequence", void 0);
39
+ __decorate([
40
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
41
+ __metadata("design:type", String)
42
+ ], ActionEntity.prototype, "reason_code", void 0);
31
43
  __decorate([
32
44
  (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
33
45
  __metadata("design:type", String)
34
- ], Action.prototype, "action_requirement", void 0);
35
- exports.Action = Action = __decorate([
46
+ ], ActionEntity.prototype, "default_reason_code", void 0);
47
+ __decorate([
48
+ (0, typeorm_1.Column)({ default: 0, type: 'boolean' }),
49
+ __metadata("design:type", Boolean)
50
+ ], ActionEntity.prototype, "default_value", void 0);
51
+ __decorate([
52
+ (0, typeorm_1.Column)({ nullable: true }),
53
+ __metadata("design:type", Number)
54
+ ], ActionEntity.prototype, "user_id", void 0);
55
+ exports.ActionEntity = ActionEntity = __decorate([
36
56
  (0, typeorm_1.Entity)({ name: 'cr_wf_action' }),
37
57
  __metadata("design:paramtypes", [])
38
- ], Action);
58
+ ], ActionEntity);
39
59
  //# sourceMappingURL=action.entity.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"action.entity.js","sourceRoot":"","sources":["../../../../src/module/workflow/entity/action.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uEAAsD;AACtD,6EAAuE;AACvE,qCAAyC;AAGlC,IAAM,MAAM,GAAZ,MAAM,MAAO,SAAQ,+BAAU;IACpC;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,WAAW,GAAG,wBAAM,CAAC;IAC5B,CAAC;CAUF,CAAA;AAdY,wBAAM;AAOjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2CACpB;AAGpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CAClB;AAGtB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDACjB;iBAbhB,MAAM;IADlB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC;;GACpB,MAAM,CAclB"}
1
+ {"version":3,"file":"action.entity.js","sourceRoot":"","sources":["../../../../src/module/workflow/entity/action.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uEAAsD;AACtD,6EAAuE;AACvE,qCAAyC;AAGlC,IAAM,YAAY,GAAlB,MAAM,YAAa,SAAQ,+BAAU;IAC1C;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,WAAW,GAAG,wBAAM,CAAC;IAC5B,CAAC;CAyBF,CAAA;AA7BY,oCAAY;AAOvB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACpB;AAGpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACpB;AAGxB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;wDACjB;AAG3B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8CAC3B;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iDACxB;AAGpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yDAChB;AAG5B;IADC,IAAA,gBAAM,EAAC,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;;mDACjB;AAGvB;IADC,IAAA,gBAAM,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACX;uBA5BL,YAAY;IADxB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC;;GACpB,YAAY,CA6BxB"}
@@ -2,4 +2,9 @@ import { BaseEntity } from 'src/module/meta/entity/base-entity.entity';
2
2
  export declare class CommTemplate extends BaseEntity {
3
3
  constructor();
4
4
  mode: string;
5
+ mapped_entity_type: string;
6
+ subject: string;
7
+ format_type: string;
8
+ rich_text: string;
9
+ markup_id: number;
5
10
  }
@@ -21,9 +21,29 @@ let CommTemplate = class CommTemplate extends base_entity_entity_1.BaseEntity {
21
21
  };
22
22
  exports.CommTemplate = CommTemplate;
23
23
  __decorate([
24
- (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
24
+ (0, typeorm_1.Column)({ nullable: true }),
25
25
  __metadata("design:type", String)
26
26
  ], CommTemplate.prototype, "mode", void 0);
27
+ __decorate([
28
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
29
+ __metadata("design:type", String)
30
+ ], CommTemplate.prototype, "mapped_entity_type", void 0);
31
+ __decorate([
32
+ (0, typeorm_1.Column)({ nullable: true }),
33
+ __metadata("design:type", String)
34
+ ], CommTemplate.prototype, "subject", void 0);
35
+ __decorate([
36
+ (0, typeorm_1.Column)({ nullable: true }),
37
+ __metadata("design:type", String)
38
+ ], CommTemplate.prototype, "format_type", void 0);
39
+ __decorate([
40
+ (0, typeorm_1.Column)({ type: 'longtext', nullable: true }),
41
+ __metadata("design:type", String)
42
+ ], CommTemplate.prototype, "rich_text", void 0);
43
+ __decorate([
44
+ (0, typeorm_1.Column)({ nullable: true }),
45
+ __metadata("design:type", Number)
46
+ ], CommTemplate.prototype, "markup_id", void 0);
27
47
  exports.CommTemplate = CommTemplate = __decorate([
28
48
  (0, typeorm_1.Entity)({ name: 'cr_wf_comm_template' }),
29
49
  __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;CAIF,CAAA;AARY,oCAAY;AAOvB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0CAC/B;uBAPF,YAAY;IADxB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,qBAAqB,EAAE,CAAC;;GAC3B,YAAY,CAQxB"}
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;CAqBF,CAAA;AAzBY,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;uBAxBP,YAAY;IADxB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,qBAAqB,EAAE,CAAC;;GAC3B,YAAY,CAyBxB"}
@@ -0,0 +1,13 @@
1
+ import { BaseEntity } from 'src/module/meta/entity/base-entity.entity';
2
+ export declare class EntityModification extends BaseEntity {
3
+ constructor();
4
+ mapped_entity_id: number;
5
+ mapped_entity_type: string;
6
+ mode: string;
7
+ stage_id: number;
8
+ action_id: number;
9
+ attribute_key: string;
10
+ current_value: string;
11
+ new_value: string;
12
+ reason_code: string;
13
+ }
@@ -0,0 +1,63 @@
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.EntityModification = void 0;
13
+ const global_constant_1 = require("../../../constant/global.constant");
14
+ const base_entity_entity_1 = require("../../meta/entity/base-entity.entity");
15
+ const typeorm_1 = require("typeorm");
16
+ let EntityModification = class EntityModification extends base_entity_entity_1.BaseEntity {
17
+ constructor() {
18
+ super();
19
+ this.entity_type = global_constant_1.ENTITY_MODIFICATION;
20
+ }
21
+ };
22
+ exports.EntityModification = EntityModification;
23
+ __decorate([
24
+ (0, typeorm_1.Column)({ type: 'int', nullable: true }),
25
+ __metadata("design:type", Number)
26
+ ], EntityModification.prototype, "mapped_entity_id", void 0);
27
+ __decorate([
28
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
29
+ __metadata("design:type", String)
30
+ ], EntityModification.prototype, "mapped_entity_type", void 0);
31
+ __decorate([
32
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
33
+ __metadata("design:type", String)
34
+ ], EntityModification.prototype, "mode", void 0);
35
+ __decorate([
36
+ (0, typeorm_1.Column)({ type: 'int', nullable: true }),
37
+ __metadata("design:type", Number)
38
+ ], EntityModification.prototype, "stage_id", void 0);
39
+ __decorate([
40
+ (0, typeorm_1.Column)({ type: 'int', nullable: true }),
41
+ __metadata("design:type", Number)
42
+ ], EntityModification.prototype, "action_id", void 0);
43
+ __decorate([
44
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
45
+ __metadata("design:type", String)
46
+ ], EntityModification.prototype, "attribute_key", void 0);
47
+ __decorate([
48
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
49
+ __metadata("design:type", String)
50
+ ], EntityModification.prototype, "current_value", void 0);
51
+ __decorate([
52
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
53
+ __metadata("design:type", String)
54
+ ], EntityModification.prototype, "new_value", void 0);
55
+ __decorate([
56
+ (0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
57
+ __metadata("design:type", String)
58
+ ], EntityModification.prototype, "reason_code", void 0);
59
+ exports.EntityModification = EntityModification = __decorate([
60
+ (0, typeorm_1.Entity)({ name: 'cr_wf_entity_modification' }),
61
+ __metadata("design:paramtypes", [])
62
+ ], EntityModification);
63
+ //# sourceMappingURL=entity-modification.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entity-modification.entity.js","sourceRoot":"","sources":["../../../../src/module/workflow/entity/entity-modification.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uEAAmE;AACnE,6EAAuE;AACvE,qCAAyC;AAGlC,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,+BAAU;IAChD;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,WAAW,GAAG,qCAAmB,CAAC;IACzC,CAAC;CA4BF,CAAA;AAhCY,gDAAkB;AAO7B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4DACf;AAGzB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8DACjB;AAG3B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDAC/B;AAGb;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACvB;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACtB;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yDACtB;AAGtB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yDACtB;AAGtB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDAC1B;AAGlB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACxB;6BA/BT,kBAAkB;IAD9B,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,2BAA2B,EAAE,CAAC;;GACjC,kBAAkB,CAgC9B"}
@@ -2,5 +2,5 @@ import { BaseEntity } from 'src/module/meta/entity/base-entity.entity';
2
2
  export declare class StageGroup extends BaseEntity {
3
3
  constructor();
4
4
  workflow_id: number;
5
- sortindex: number;
5
+ sequence: number;
6
6
  }
@@ -27,7 +27,7 @@ __decorate([
27
27
  __decorate([
28
28
  (0, typeorm_1.Column)({ type: 'int', nullable: true }),
29
29
  __metadata("design:type", Number)
30
- ], StageGroup.prototype, "sortindex", void 0);
30
+ ], StageGroup.prototype, "sequence", void 0);
31
31
  exports.StageGroup = StageGroup = __decorate([
32
32
  (0, typeorm_1.Entity)({ name: 'cr_wf_stage_group' }),
33
33
  __metadata("design:paramtypes", [])
@@ -1 +1 @@
1
- {"version":3,"file":"stage-group.entity.js","sourceRoot":"","sources":["../../../../src/module/workflow/entity/stage-group.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uEAA2D;AAC3D,6EAAuE;AACvE,qCAAyC;AAGlC,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,+BAAU;IACxC;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,WAAW,GAAG,6BAAW,CAAC;IACjC,CAAC;CAOF,CAAA;AAXY,gCAAU;AAOrB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACpB;AAGpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6CACtB;qBAVP,UAAU;IADtB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,mBAAmB,EAAE,CAAC;;GACzB,UAAU,CAWtB"}
1
+ {"version":3,"file":"stage-group.entity.js","sourceRoot":"","sources":["../../../../src/module/workflow/entity/stage-group.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uEAA2D;AAC3D,6EAAuE;AACvE,qCAAyC;AAGlC,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,+BAAU;IACxC;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,WAAW,GAAG,6BAAW,CAAC;IACjC,CAAC;CAOF,CAAA;AAXY,gCAAU;AAOrB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACpB;AAGpB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CACvB;qBAVN,UAAU;IADtB,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,mBAAmB,EAAE,CAAC;;GACzB,UAAU,CAWtB"}
@@ -3,7 +3,11 @@ export declare class StageMovementData extends BaseEntity {
3
3
  constructor();
4
4
  current_user_id: number;
5
5
  stage_action_mapping_id: number;
6
+ stage_group_id: number;
7
+ stage_id: number;
6
8
  start_date: Date;
7
9
  end_date: Date;
8
10
  is_current: string;
11
+ mapped_entity_type: string;
12
+ mapped_entity_id: number;
9
13
  }