@uniorganization/uni-lib 1.1.72 → 1.1.74

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 (207) hide show
  1. package/dist/config/db.config.d.ts +4 -4
  2. package/dist/config/db.config.js +28 -28
  3. package/dist/config/index.d.ts +3 -3
  4. package/dist/config/index.js +15 -15
  5. package/dist/config/shared-db.config.d.ts +4 -4
  6. package/dist/config/shared-db.config.js +28 -28
  7. package/dist/config/swagger.config.d.ts +1 -1
  8. package/dist/config/swagger.config.js +14 -14
  9. package/dist/entities/active-loads.entity.d.ts +18 -18
  10. package/dist/entities/active-loads.entity.js +84 -84
  11. package/dist/entities/applications.entity.d.ts +9 -9
  12. package/dist/entities/applications.entity.js +41 -41
  13. package/dist/entities/apps-user-id.entity.d.ts +20 -20
  14. package/dist/entities/apps-user-id.entity.js +91 -91
  15. package/dist/entities/audit.entity.d.ts +19 -19
  16. package/dist/entities/audit.entity.js +61 -61
  17. package/dist/entities/autofail-reasons.entity.d.ts +4 -4
  18. package/dist/entities/autofail-reasons.entity.js +27 -27
  19. package/dist/entities/blacklist.entity.d.ts +9 -9
  20. package/dist/entities/blacklist.entity.js +43 -43
  21. package/dist/entities/call-driver-data.entity.d.ts +25 -23
  22. package/dist/entities/call-driver-data.entity.js +105 -97
  23. package/dist/entities/call-drivers.entity.d.ts +19 -19
  24. package/dist/entities/call-drivers.entity.js +79 -79
  25. package/dist/entities/cb-completed-reasons.entity.d.ts +5 -5
  26. package/dist/entities/cb-completed-reasons.entity.js +31 -31
  27. package/dist/entities/change-alert.entity.d.ts +11 -11
  28. package/dist/entities/change-alert.entity.js +51 -51
  29. package/dist/entities/config.entity.d.ts +5 -5
  30. package/dist/entities/config.entity.js +31 -31
  31. package/dist/entities/daily-payment-status.entity.d.ts +27 -27
  32. package/dist/entities/daily-payment-status.entity.js +120 -120
  33. package/dist/entities/depreciation-categories.entity.d.ts +6 -6
  34. package/dist/entities/depreciation-categories.entity.js +32 -32
  35. package/dist/entities/depreciation-details.entity.d.ts +9 -9
  36. package/dist/entities/depreciation-details.entity.js +45 -45
  37. package/dist/entities/detail-type.entity.d.ts +4 -4
  38. package/dist/entities/detail-type.entity.js +27 -27
  39. package/dist/entities/dispute-request.entity.d.ts +27 -27
  40. package/dist/entities/dispute-request.entity.js +110 -110
  41. package/dist/entities/enr-calculation-log.entity.d.ts +49 -49
  42. package/dist/entities/enr-calculation-log.entity.js +203 -203
  43. package/dist/entities/enr-inventory.entity.d.ts +14 -14
  44. package/dist/entities/enr-inventory.entity.js +67 -67
  45. package/dist/entities/enr-results.entity.d.ts +5 -5
  46. package/dist/entities/enr-results.entity.js +31 -31
  47. package/dist/entities/escalation-category.entity.d.ts +4 -4
  48. package/dist/entities/escalation-category.entity.js +27 -27
  49. package/dist/entities/escalation-notes.entity.d.ts +10 -10
  50. package/dist/entities/escalation-notes.entity.js +43 -43
  51. package/dist/entities/escalation-outcome.entity.d.ts +4 -4
  52. package/dist/entities/escalation-outcome.entity.js +27 -27
  53. package/dist/entities/escalation-status-log.entity.d.ts +8 -8
  54. package/dist/entities/escalation-status-log.entity.js +37 -37
  55. package/dist/entities/escalation-status.entity.d.ts +4 -4
  56. package/dist/entities/escalation-status.entity.js +27 -27
  57. package/dist/entities/escalation-type.entity.d.ts +5 -5
  58. package/dist/entities/escalation-type.entity.js +31 -31
  59. package/dist/entities/escalations.entity.d.ts +39 -39
  60. package/dist/entities/escalations.entity.js +163 -163
  61. package/dist/entities/evaluation-autofail-reasons.entity.d.ts +7 -7
  62. package/dist/entities/evaluation-autofail-reasons.entity.js +35 -35
  63. package/dist/entities/evaluation-data.entity.d.ts +8 -8
  64. package/dist/entities/evaluation-data.entity.js +43 -43
  65. package/dist/entities/evaluation-forms.entity.d.ts +20 -20
  66. package/dist/entities/evaluation-forms.entity.js +67 -67
  67. package/dist/entities/evaluation-questions.entity.d.ts +10 -10
  68. package/dist/entities/evaluation-questions.entity.js +47 -47
  69. package/dist/entities/evaluations.entity.d.ts +37 -37
  70. package/dist/entities/evaluations.entity.js +151 -151
  71. package/dist/entities/file-contents.entity.d.ts +56 -56
  72. package/dist/entities/file-contents.entity.js +231 -231
  73. package/dist/entities/file-upload.entity.d.ts +10 -10
  74. package/dist/entities/file-upload.entity.js +47 -47
  75. package/dist/entities/form-definition.entity.d.ts +9 -9
  76. package/dist/entities/form-definition.entity.js +43 -43
  77. package/dist/entities/form-fields.entity.d.ts +18 -18
  78. package/dist/entities/form-fields.entity.js +79 -79
  79. package/dist/entities/form.entity.d.ts +15 -15
  80. package/dist/entities/form.entity.js +68 -68
  81. package/dist/entities/incident-notes.entity.d.ts +10 -10
  82. package/dist/entities/incident-notes.entity.js +43 -43
  83. package/dist/entities/incident.entity.d.ts +20 -20
  84. package/dist/entities/incident.entity.js +82 -82
  85. package/dist/entities/incoterms.entity.d.ts +9 -9
  86. package/dist/entities/incoterms.entity.js +47 -47
  87. package/dist/entities/index.d.ts +74 -74
  88. package/dist/entities/index.js +86 -86
  89. package/dist/entities/inventory.entity.d.ts +11 -11
  90. package/dist/entities/inventory.entity.js +55 -55
  91. package/dist/entities/it-info.entity.d.ts +12 -12
  92. package/dist/entities/it-info.entity.js +59 -59
  93. package/dist/entities/lob-assignment.entity.d.ts +6 -6
  94. package/dist/entities/lob-assignment.entity.js +35 -35
  95. package/dist/entities/lob-call-drivers.entity.d.ts +5 -5
  96. package/dist/entities/lob-call-drivers.entity.js +31 -31
  97. package/dist/entities/location-addresses.entity.d.ts +12 -12
  98. package/dist/entities/location-addresses.entity.js +59 -59
  99. package/dist/entities/ltp-history-transactions.entity.d.ts +11 -11
  100. package/dist/entities/ltp-history-transactions.entity.js +53 -53
  101. package/dist/entities/ltp-stm-roster.entity.d.ts +11 -11
  102. package/dist/entities/ltp-stm-roster.entity.js +55 -55
  103. package/dist/entities/modules-roles.entity.d.ts +13 -13
  104. package/dist/entities/modules-roles.entity.js +53 -53
  105. package/dist/entities/offphone-activities.entity.d.ts +5 -5
  106. package/dist/entities/offphone-activities.entity.js +31 -31
  107. package/dist/entities/onsite-ordering.entity.d.ts +11 -11
  108. package/dist/entities/onsite-ordering.entity.js +55 -55
  109. package/dist/entities/ost.entity.d.ts +6 -6
  110. package/dist/entities/ost.entity.js +35 -35
  111. package/dist/entities/otwe-offers.entity.d.ts +5 -5
  112. package/dist/entities/otwe-offers.entity.js +31 -31
  113. package/dist/entities/outbound-ticket-history.entity.d.ts +13 -13
  114. package/dist/entities/outbound-ticket-history.entity.js +53 -53
  115. package/dist/entities/pending-ticket-history.entity.d.ts +9 -9
  116. package/dist/entities/pending-ticket-history.entity.js +47 -47
  117. package/dist/entities/product-codes.entity.d.ts +17 -17
  118. package/dist/entities/product-codes.entity.js +77 -77
  119. package/dist/entities/question-group.entity.d.ts +11 -11
  120. package/dist/entities/question-group.entity.js +50 -50
  121. package/dist/entities/questions.entity.d.ts +10 -10
  122. package/dist/entities/questions.entity.js +49 -49
  123. package/dist/entities/regional-service-mgr.entity.d.ts +4 -4
  124. package/dist/entities/regional-service-mgr.entity.js +27 -27
  125. package/dist/entities/role-definition.entity.d.ts +7 -7
  126. package/dist/entities/role-definition.entity.js +35 -35
  127. package/dist/entities/role-privileges.entity.d.ts +10 -10
  128. package/dist/entities/role-privileges.entity.js +44 -44
  129. package/dist/entities/roster-personnel.entity.d.ts +9 -9
  130. package/dist/entities/roster-personnel.entity.js +49 -49
  131. package/dist/entities/roster.entity.d.ts +19 -19
  132. package/dist/entities/roster.entity.js +80 -80
  133. package/dist/entities/sap-raw-data.entity.d.ts +132 -132
  134. package/dist/entities/sap-raw-data.entity.js +539 -539
  135. package/dist/entities/sap-raw.entity.d.ts +36 -36
  136. package/dist/entities/sap-raw.entity.js +155 -155
  137. package/dist/entities/service-type.entity.d.ts +4 -4
  138. package/dist/entities/service-type.entity.js +27 -27
  139. package/dist/entities/skipped-ticket.entity.d.ts +13 -13
  140. package/dist/entities/skipped-ticket.entity.js +63 -63
  141. package/dist/entities/state.entity.d.ts +8 -8
  142. package/dist/entities/state.entity.js +43 -43
  143. package/dist/entities/template.entity.d.ts +10 -10
  144. package/dist/entities/template.entity.js +51 -51
  145. package/dist/entities/ticket-queue.entity.d.ts +8 -8
  146. package/dist/entities/ticket-queue.entity.js +43 -43
  147. package/dist/entities/transactions.entity.d.ts +32 -32
  148. package/dist/entities/transactions.entity.js +132 -132
  149. package/dist/entities/user-campaign.entity.d.ts +11 -10
  150. package/dist/entities/user-campaign.entity.js +45 -45
  151. package/dist/entities/user-roles.entity.d.ts +8 -8
  152. package/dist/entities/user-roles.entity.js +41 -41
  153. package/dist/entities/user-roster.view.d.ts +38 -38
  154. package/dist/entities/user-roster.view.js +163 -163
  155. package/dist/entities/usr.entity.d.ts +24 -24
  156. package/dist/entities/usr.entity.js +104 -104
  157. package/dist/entities/vw-escalation-age.d.ts +12 -12
  158. package/dist/entities/vw-escalation-age.js +62 -62
  159. package/dist/entities/warranty-category.entity.d.ts +4 -4
  160. package/dist/entities/warranty-category.entity.js +27 -27
  161. package/dist/index.d.ts +5 -5
  162. package/dist/index.js +17 -17
  163. package/dist/middlewares/index.d.ts +1 -1
  164. package/dist/middlewares/index.js +13 -13
  165. package/dist/middlewares/version-checker.middleware.d.ts +2 -2
  166. package/dist/middlewares/version-checker.middleware.js +28 -28
  167. package/dist/modules/common/common.module.d.ts +2 -2
  168. package/dist/modules/common/common.module.js +28 -28
  169. package/dist/modules/common/index.d.ts +4 -4
  170. package/dist/modules/common/index.js +16 -16
  171. package/dist/modules/common/jwt-auth.guard.d.ts +5 -5
  172. package/dist/modules/common/jwt-auth.guard.js +26 -26
  173. package/dist/modules/common/jwt.strategy.d.ts +9 -9
  174. package/dist/modules/common/jwt.strategy.js +43 -43
  175. package/dist/modules/common/logged-user.decorator.d.ts +1 -1
  176. package/dist/modules/common/logged-user.decorator.js +9 -9
  177. package/dist/modules/index.d.ts +1 -1
  178. package/dist/modules/index.js +13 -13
  179. package/dist/utils/index.d.ts +2 -2
  180. package/dist/utils/index.js +14 -14
  181. package/dist/utils/object.utils.d.ts +2 -2
  182. package/dist/utils/object.utils.js +19 -19
  183. package/dist/utils/parse.util.d.ts +3 -3
  184. package/dist/utils/parse.util.js +32 -32
  185. package/dist/utils/string.utils.d.ts +5 -5
  186. package/dist/utils/string.utils.js +118 -118
  187. package/package.json +75 -75
  188. package/dist/entities/pending-ticket-history.entity..d.ts +0 -10
  189. package/dist/entities/pending-ticket-history.entity..js +0 -47
  190. package/dist/interceptors/audit-user-activity.interceptor.d.ts +0 -12
  191. package/dist/interceptors/audit-user-activity.interceptor.js +0 -57
  192. package/dist/interceptors/index.d.ts +0 -1
  193. package/dist/interceptors/index.js +0 -13
  194. package/dist/modules/crud/base-service.interface.d.ts +0 -7
  195. package/dist/modules/crud/base-service.interface.js +0 -2
  196. package/dist/modules/crud/base.controller.d.ts +0 -11
  197. package/dist/modules/crud/base.controller.js +0 -92
  198. package/dist/modules/crud/base.entity.d.ts +0 -3
  199. package/dist/modules/crud/base.entity.js +0 -20
  200. package/dist/modules/crud/base.service.d.ts +0 -12
  201. package/dist/modules/crud/base.service.js +0 -88
  202. package/dist/modules/crud/index.d.ts +0 -4
  203. package/dist/modules/crud/index.js +0 -20
  204. package/dist/services/audit.service.d.ts +0 -8
  205. package/dist/services/audit.service.js +0 -49
  206. package/dist/services/index.d.ts +0 -1
  207. package/dist/services/index.js +0 -13
@@ -1,4 +1,4 @@
1
- export declare class EscalationCategory {
2
- id: number;
3
- category: string;
4
- }
1
+ export declare class EscalationCategory {
2
+ id: number;
3
+ category: string;
4
+ }
@@ -1,27 +1,27 @@
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.EscalationCategory = void 0;
13
- const typeorm_1 = require("typeorm");
14
- let EscalationCategory = class EscalationCategory {
15
- };
16
- __decorate([
17
- (0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
18
- __metadata("design:type", Number)
19
- ], EscalationCategory.prototype, "id", void 0);
20
- __decorate([
21
- (0, typeorm_1.Column)({ name: 'category' }),
22
- __metadata("design:type", String)
23
- ], EscalationCategory.prototype, "category", void 0);
24
- EscalationCategory = __decorate([
25
- (0, typeorm_1.Entity)('escalation_category', { schema: 'tracking' })
26
- ], EscalationCategory);
27
- exports.EscalationCategory = EscalationCategory;
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.EscalationCategory = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ let EscalationCategory = class EscalationCategory {
15
+ };
16
+ __decorate([
17
+ (0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
18
+ __metadata("design:type", Number)
19
+ ], EscalationCategory.prototype, "id", void 0);
20
+ __decorate([
21
+ (0, typeorm_1.Column)({ name: 'category' }),
22
+ __metadata("design:type", String)
23
+ ], EscalationCategory.prototype, "category", void 0);
24
+ EscalationCategory = __decorate([
25
+ (0, typeorm_1.Entity)('escalation_category', { schema: 'tracking' })
26
+ ], EscalationCategory);
27
+ exports.EscalationCategory = EscalationCategory;
@@ -1,10 +1,10 @@
1
- import { Timestamp } from 'typeorm';
2
- import { Users } from './usr.entity';
3
- import { Escalations } from './escalations.entity';
4
- export declare class EscalationNotes {
5
- id: number;
6
- escalation: Escalations;
7
- notes: string;
8
- addedOn: Timestamp;
9
- addedBy: Users;
10
- }
1
+ import { Timestamp } from 'typeorm';
2
+ import { Users } from './usr.entity';
3
+ import { Escalations } from './escalations.entity';
4
+ export declare class EscalationNotes {
5
+ id: number;
6
+ escalation: Escalations;
7
+ notes: string;
8
+ addedOn: Timestamp;
9
+ addedBy: Users;
10
+ }
@@ -1,43 +1,43 @@
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.EscalationNotes = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const usr_entity_1 = require("./usr.entity");
15
- const escalations_entity_1 = require("./escalations.entity");
16
- let EscalationNotes = class EscalationNotes {
17
- };
18
- __decorate([
19
- (0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
20
- __metadata("design:type", Number)
21
- ], EscalationNotes.prototype, "id", void 0);
22
- __decorate([
23
- (0, typeorm_1.OneToOne)((type) => escalations_entity_1.Escalations),
24
- (0, typeorm_1.JoinColumn)({ name: 'escalation_id' }),
25
- __metadata("design:type", escalations_entity_1.Escalations)
26
- ], EscalationNotes.prototype, "escalation", void 0);
27
- __decorate([
28
- (0, typeorm_1.Column)({ name: 'notes' }),
29
- __metadata("design:type", String)
30
- ], EscalationNotes.prototype, "notes", void 0);
31
- __decorate([
32
- (0, typeorm_1.Column)('timestamp', { name: 'added_on' }),
33
- __metadata("design:type", typeorm_1.Timestamp)
34
- ], EscalationNotes.prototype, "addedOn", void 0);
35
- __decorate([
36
- (0, typeorm_1.OneToOne)((type) => usr_entity_1.Users, { eager: true }),
37
- (0, typeorm_1.JoinColumn)({ name: 'added_by' }),
38
- __metadata("design:type", usr_entity_1.Users)
39
- ], EscalationNotes.prototype, "addedBy", void 0);
40
- EscalationNotes = __decorate([
41
- (0, typeorm_1.Entity)('escalation_notes', { schema: 'tracking' })
42
- ], EscalationNotes);
43
- exports.EscalationNotes = EscalationNotes;
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.EscalationNotes = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const usr_entity_1 = require("./usr.entity");
15
+ const escalations_entity_1 = require("./escalations.entity");
16
+ let EscalationNotes = class EscalationNotes {
17
+ };
18
+ __decorate([
19
+ (0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
20
+ __metadata("design:type", Number)
21
+ ], EscalationNotes.prototype, "id", void 0);
22
+ __decorate([
23
+ (0, typeorm_1.OneToOne)((type) => escalations_entity_1.Escalations),
24
+ (0, typeorm_1.JoinColumn)({ name: 'escalation_id' }),
25
+ __metadata("design:type", escalations_entity_1.Escalations)
26
+ ], EscalationNotes.prototype, "escalation", void 0);
27
+ __decorate([
28
+ (0, typeorm_1.Column)({ name: 'notes' }),
29
+ __metadata("design:type", String)
30
+ ], EscalationNotes.prototype, "notes", void 0);
31
+ __decorate([
32
+ (0, typeorm_1.Column)('timestamp', { name: 'added_on' }),
33
+ __metadata("design:type", typeorm_1.Timestamp)
34
+ ], EscalationNotes.prototype, "addedOn", void 0);
35
+ __decorate([
36
+ (0, typeorm_1.OneToOne)((type) => usr_entity_1.Users, { eager: true }),
37
+ (0, typeorm_1.JoinColumn)({ name: 'added_by' }),
38
+ __metadata("design:type", usr_entity_1.Users)
39
+ ], EscalationNotes.prototype, "addedBy", void 0);
40
+ EscalationNotes = __decorate([
41
+ (0, typeorm_1.Entity)('escalation_notes', { schema: 'tracking' })
42
+ ], EscalationNotes);
43
+ exports.EscalationNotes = EscalationNotes;
@@ -1,4 +1,4 @@
1
- export declare class EscalationOutcome {
2
- id: number;
3
- outcome: string;
4
- }
1
+ export declare class EscalationOutcome {
2
+ id: number;
3
+ outcome: string;
4
+ }
@@ -1,27 +1,27 @@
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.EscalationOutcome = void 0;
13
- const typeorm_1 = require("typeorm");
14
- let EscalationOutcome = class EscalationOutcome {
15
- };
16
- __decorate([
17
- (0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
18
- __metadata("design:type", Number)
19
- ], EscalationOutcome.prototype, "id", void 0);
20
- __decorate([
21
- (0, typeorm_1.Column)({ name: 'outcome' }),
22
- __metadata("design:type", String)
23
- ], EscalationOutcome.prototype, "outcome", void 0);
24
- EscalationOutcome = __decorate([
25
- (0, typeorm_1.Entity)('escalation_outcome', { schema: 'tracking' })
26
- ], EscalationOutcome);
27
- exports.EscalationOutcome = EscalationOutcome;
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.EscalationOutcome = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ let EscalationOutcome = class EscalationOutcome {
15
+ };
16
+ __decorate([
17
+ (0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
18
+ __metadata("design:type", Number)
19
+ ], EscalationOutcome.prototype, "id", void 0);
20
+ __decorate([
21
+ (0, typeorm_1.Column)({ name: 'outcome' }),
22
+ __metadata("design:type", String)
23
+ ], EscalationOutcome.prototype, "outcome", void 0);
24
+ EscalationOutcome = __decorate([
25
+ (0, typeorm_1.Entity)('escalation_outcome', { schema: 'tracking' })
26
+ ], EscalationOutcome);
27
+ exports.EscalationOutcome = EscalationOutcome;
@@ -1,8 +1,8 @@
1
- import { Timestamp } from 'typeorm';
2
- import { Escalations } from './escalations.entity';
3
- export declare class EscalationStatusLog {
4
- id: number;
5
- status: string;
6
- effectiveDate: Timestamp;
7
- escalation: Escalations;
8
- }
1
+ import { Timestamp } from 'typeorm';
2
+ import { Escalations } from './escalations.entity';
3
+ export declare class EscalationStatusLog {
4
+ id: number;
5
+ status: string;
6
+ effectiveDate: Timestamp;
7
+ escalation: Escalations;
8
+ }
@@ -1,37 +1,37 @@
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.EscalationStatusLog = void 0;
13
- const typeorm_1 = require("typeorm");
14
- const escalations_entity_1 = require("./escalations.entity");
15
- let EscalationStatusLog = class EscalationStatusLog {
16
- };
17
- __decorate([
18
- (0, typeorm_1.PrimaryGeneratedColumn)(),
19
- __metadata("design:type", Number)
20
- ], EscalationStatusLog.prototype, "id", void 0);
21
- __decorate([
22
- (0, typeorm_1.Column)(),
23
- __metadata("design:type", String)
24
- ], EscalationStatusLog.prototype, "status", void 0);
25
- __decorate([
26
- (0, typeorm_1.Column)('timestamp', { name: 'effective_date' }),
27
- __metadata("design:type", typeorm_1.Timestamp)
28
- ], EscalationStatusLog.prototype, "effectiveDate", void 0);
29
- __decorate([
30
- (0, typeorm_1.ManyToOne)((type) => escalations_entity_1.Escalations, (escalation) => escalation.id),
31
- (0, typeorm_1.JoinColumn)({ name: 'escalation_id' }),
32
- __metadata("design:type", escalations_entity_1.Escalations)
33
- ], EscalationStatusLog.prototype, "escalation", void 0);
34
- EscalationStatusLog = __decorate([
35
- (0, typeorm_1.Entity)('escalation_status_log', { schema: 'tracking' })
36
- ], EscalationStatusLog);
37
- exports.EscalationStatusLog = EscalationStatusLog;
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.EscalationStatusLog = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const escalations_entity_1 = require("./escalations.entity");
15
+ let EscalationStatusLog = class EscalationStatusLog {
16
+ };
17
+ __decorate([
18
+ (0, typeorm_1.PrimaryGeneratedColumn)(),
19
+ __metadata("design:type", Number)
20
+ ], EscalationStatusLog.prototype, "id", void 0);
21
+ __decorate([
22
+ (0, typeorm_1.Column)(),
23
+ __metadata("design:type", String)
24
+ ], EscalationStatusLog.prototype, "status", void 0);
25
+ __decorate([
26
+ (0, typeorm_1.Column)('timestamp', { name: 'effective_date' }),
27
+ __metadata("design:type", typeorm_1.Timestamp)
28
+ ], EscalationStatusLog.prototype, "effectiveDate", void 0);
29
+ __decorate([
30
+ (0, typeorm_1.ManyToOne)((type) => escalations_entity_1.Escalations, (escalation) => escalation.id),
31
+ (0, typeorm_1.JoinColumn)({ name: 'escalation_id' }),
32
+ __metadata("design:type", escalations_entity_1.Escalations)
33
+ ], EscalationStatusLog.prototype, "escalation", void 0);
34
+ EscalationStatusLog = __decorate([
35
+ (0, typeorm_1.Entity)('escalation_status_log', { schema: 'tracking' })
36
+ ], EscalationStatusLog);
37
+ exports.EscalationStatusLog = EscalationStatusLog;
@@ -1,4 +1,4 @@
1
- export declare class EscalationStatus {
2
- id: number;
3
- status: string;
4
- }
1
+ export declare class EscalationStatus {
2
+ id: number;
3
+ status: string;
4
+ }
@@ -1,27 +1,27 @@
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.EscalationStatus = void 0;
13
- const typeorm_1 = require("typeorm");
14
- let EscalationStatus = class EscalationStatus {
15
- };
16
- __decorate([
17
- (0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
18
- __metadata("design:type", Number)
19
- ], EscalationStatus.prototype, "id", void 0);
20
- __decorate([
21
- (0, typeorm_1.Column)({ name: 'status' }),
22
- __metadata("design:type", String)
23
- ], EscalationStatus.prototype, "status", void 0);
24
- EscalationStatus = __decorate([
25
- (0, typeorm_1.Entity)('escalation_status', { schema: 'tracking' })
26
- ], EscalationStatus);
27
- exports.EscalationStatus = EscalationStatus;
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.EscalationStatus = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ let EscalationStatus = class EscalationStatus {
15
+ };
16
+ __decorate([
17
+ (0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
18
+ __metadata("design:type", Number)
19
+ ], EscalationStatus.prototype, "id", void 0);
20
+ __decorate([
21
+ (0, typeorm_1.Column)({ name: 'status' }),
22
+ __metadata("design:type", String)
23
+ ], EscalationStatus.prototype, "status", void 0);
24
+ EscalationStatus = __decorate([
25
+ (0, typeorm_1.Entity)('escalation_status', { schema: 'tracking' })
26
+ ], EscalationStatus);
27
+ exports.EscalationStatus = EscalationStatus;
@@ -1,5 +1,5 @@
1
- export declare class EscalationType {
2
- id: number;
3
- riskLevel: string;
4
- category: string;
5
- }
1
+ export declare class EscalationType {
2
+ id: number;
3
+ riskLevel: string;
4
+ category: string;
5
+ }
@@ -1,31 +1,31 @@
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.EscalationType = void 0;
13
- const typeorm_1 = require("typeorm");
14
- let EscalationType = class EscalationType {
15
- };
16
- __decorate([
17
- (0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
18
- __metadata("design:type", Number)
19
- ], EscalationType.prototype, "id", void 0);
20
- __decorate([
21
- (0, typeorm_1.Column)({ name: 'risk_level' }),
22
- __metadata("design:type", String)
23
- ], EscalationType.prototype, "riskLevel", void 0);
24
- __decorate([
25
- (0, typeorm_1.Column)({ name: 'category' }),
26
- __metadata("design:type", String)
27
- ], EscalationType.prototype, "category", void 0);
28
- EscalationType = __decorate([
29
- (0, typeorm_1.Entity)('escalation_type', { schema: 'tracking' })
30
- ], EscalationType);
31
- exports.EscalationType = EscalationType;
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.EscalationType = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ let EscalationType = class EscalationType {
15
+ };
16
+ __decorate([
17
+ (0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
18
+ __metadata("design:type", Number)
19
+ ], EscalationType.prototype, "id", void 0);
20
+ __decorate([
21
+ (0, typeorm_1.Column)({ name: 'risk_level' }),
22
+ __metadata("design:type", String)
23
+ ], EscalationType.prototype, "riskLevel", void 0);
24
+ __decorate([
25
+ (0, typeorm_1.Column)({ name: 'category' }),
26
+ __metadata("design:type", String)
27
+ ], EscalationType.prototype, "category", void 0);
28
+ EscalationType = __decorate([
29
+ (0, typeorm_1.Entity)('escalation_type', { schema: 'tracking' })
30
+ ], EscalationType);
31
+ exports.EscalationType = EscalationType;
@@ -1,39 +1,39 @@
1
- import { Timestamp } from 'typeorm';
2
- import { EscalationType } from './escalation-type.entity';
3
- import { Users } from './usr.entity';
4
- import { EscalationNotes } from './escalation-notes.entity';
5
- import { CallDriverData } from './call-driver-data.entity';
6
- import { EscalationStatusLog } from './escalation-status-log.entity';
7
- export declare class Escalations {
8
- id: number;
9
- escalationId: string;
10
- division: string;
11
- lob: string;
12
- callDriverData: CallDriverData;
13
- escalationType: EscalationType;
14
- escalationTypeTitle: string;
15
- escalationStatus: string;
16
- previousStatus: string;
17
- escalationCategory: string;
18
- escalationOutcome: string;
19
- escalationReasons: string;
20
- currentAscBe: string;
21
- ascInput: string;
22
- customerExpectations: string;
23
- recommendedSolution: string;
24
- validEscalation: string;
25
- dateCreated: Timestamp;
26
- dateUpdated: Timestamp;
27
- dateResolved: Timestamp;
28
- emailSent: boolean;
29
- reEscalated: boolean;
30
- escalationCount: Number;
31
- followUpOutcome: string;
32
- followUpDate: Timestamp;
33
- agent: Users;
34
- reviewer: Users;
35
- sme: Users;
36
- followUpAgent: Users;
37
- escalationNotes: EscalationNotes[];
38
- escalationStatusLog: EscalationStatusLog[];
39
- }
1
+ import { Timestamp } from 'typeorm';
2
+ import { EscalationType } from './escalation-type.entity';
3
+ import { Users } from './usr.entity';
4
+ import { EscalationNotes } from './escalation-notes.entity';
5
+ import { CallDriverData } from './call-driver-data.entity';
6
+ import { EscalationStatusLog } from './escalation-status-log.entity';
7
+ export declare class Escalations {
8
+ id: number;
9
+ escalationId: string;
10
+ division: string;
11
+ lob: string;
12
+ callDriverData: CallDriverData;
13
+ escalationType: EscalationType;
14
+ escalationTypeTitle: string;
15
+ escalationStatus: string;
16
+ previousStatus: string;
17
+ escalationCategory: string;
18
+ escalationOutcome: string;
19
+ escalationReasons: string;
20
+ currentAscBe: string;
21
+ ascInput: string;
22
+ customerExpectations: string;
23
+ recommendedSolution: string;
24
+ validEscalation: string;
25
+ dateCreated: Timestamp;
26
+ dateUpdated: Timestamp;
27
+ dateResolved: Timestamp;
28
+ emailSent: boolean;
29
+ reEscalated: boolean;
30
+ escalationCount: Number;
31
+ followUpOutcome: string;
32
+ followUpDate: Timestamp;
33
+ agent: Users;
34
+ reviewer: Users;
35
+ sme: Users;
36
+ followUpAgent: Users;
37
+ escalationNotes: EscalationNotes[];
38
+ escalationStatusLog: EscalationStatusLog[];
39
+ }