@uniorganization/uni-lib 1.0.7 → 1.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/entities/escalations.entity.d.ts +2 -0
- package/dist/entities/escalations.entity.js +8 -0
- package/dist/modules/config/config.module.js +2 -2
- package/dist/modules/config/config.service.d.ts +1 -1
- package/dist/modules/config/config.service.js +2 -2
- package/dist/modules/index.d.ts +0 -1
- package/dist/modules/index.js +0 -1
- package/package.json +1 -1
|
@@ -12,6 +12,7 @@ export declare class Escalations {
|
|
|
12
12
|
escalationType: EscalationType;
|
|
13
13
|
escalationTypeTitle: string;
|
|
14
14
|
escalationStatus: string;
|
|
15
|
+
previousStatus: string;
|
|
15
16
|
escalationCategory: string;
|
|
16
17
|
escalationOutcome: string;
|
|
17
18
|
escalationReasons: string;
|
|
@@ -25,6 +26,7 @@ export declare class Escalations {
|
|
|
25
26
|
dateResolved: Timestamp;
|
|
26
27
|
emailSent: boolean;
|
|
27
28
|
reEscalated: boolean;
|
|
29
|
+
escalationCount: Number;
|
|
28
30
|
agent: Users;
|
|
29
31
|
reviewer: Users;
|
|
30
32
|
sme: Users;
|
|
@@ -53,6 +53,10 @@ __decorate([
|
|
|
53
53
|
(0, typeorm_1.Column)({ name: 'escalation_status' }),
|
|
54
54
|
__metadata("design:type", String)
|
|
55
55
|
], Escalations.prototype, "escalationStatus", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, typeorm_1.Column)({ name: 'previous_status' }),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], Escalations.prototype, "previousStatus", void 0);
|
|
56
60
|
__decorate([
|
|
57
61
|
(0, typeorm_1.Column)({ name: 'escalation_category' }),
|
|
58
62
|
__metadata("design:type", String)
|
|
@@ -105,6 +109,10 @@ __decorate([
|
|
|
105
109
|
(0, typeorm_1.Column)({ name: 're_escalated', default: () => false }),
|
|
106
110
|
__metadata("design:type", Boolean)
|
|
107
111
|
], Escalations.prototype, "reEscalated", void 0);
|
|
112
|
+
__decorate([
|
|
113
|
+
(0, typeorm_1.Column)({ name: 'escalation_count' }),
|
|
114
|
+
__metadata("design:type", Number)
|
|
115
|
+
], Escalations.prototype, "escalationCount", void 0);
|
|
108
116
|
__decorate([
|
|
109
117
|
(0, typeorm_1.OneToOne)((type) => usr_entity_1.Users, { eager: true }),
|
|
110
118
|
(0, typeorm_1.JoinColumn)({ name: 'agent_id' }),
|
|
@@ -12,14 +12,14 @@ const typeorm_1 = require("@nestjs/typeorm");
|
|
|
12
12
|
const config_service_1 = require("./config.service");
|
|
13
13
|
const axios_1 = require("@nestjs/axios");
|
|
14
14
|
const aes_gcm_1 = require("@nestrx/aes-gcm");
|
|
15
|
-
const
|
|
15
|
+
const config_entity_1 = require("../../entities/config.entity");
|
|
16
16
|
let ConfigurationModule = class ConfigurationModule {
|
|
17
17
|
};
|
|
18
18
|
ConfigurationModule = __decorate([
|
|
19
19
|
(0, common_1.Module)({
|
|
20
20
|
imports: [
|
|
21
21
|
aes_gcm_1.AesGcmModule.forRoot(process.env.JWT_KEY),
|
|
22
|
-
typeorm_1.TypeOrmModule.forFeature([
|
|
22
|
+
typeorm_1.TypeOrmModule.forFeature([config_entity_1.Config]),
|
|
23
23
|
axios_1.HttpModule.register({
|
|
24
24
|
timeout: Number(process.env.REQUEST_TIMEOUT) || 5000,
|
|
25
25
|
maxRedirects: Number(process.env.MAX_REDIRECTS) || 5,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Repository } from 'typeorm';
|
|
2
2
|
import { AesGcmService } from '@nestrx/aes-gcm';
|
|
3
3
|
import { HttpService } from '@nestjs/axios';
|
|
4
|
-
import { Config } from '
|
|
4
|
+
import { Config } from '../../entities/config.entity';
|
|
5
5
|
export declare class ConfigService {
|
|
6
6
|
private readonly configRepository;
|
|
7
7
|
private readonly httpService;
|
|
@@ -27,7 +27,7 @@ const typeorm_1 = require("@nestjs/typeorm");
|
|
|
27
27
|
const typeorm_2 = require("typeorm");
|
|
28
28
|
const aes_gcm_1 = require("@nestrx/aes-gcm");
|
|
29
29
|
const axios_1 = require("@nestjs/axios");
|
|
30
|
-
const
|
|
30
|
+
const config_entity_1 = require("../../entities/config.entity");
|
|
31
31
|
let ConfigService = class ConfigService {
|
|
32
32
|
constructor(configRepository, httpService, aes) {
|
|
33
33
|
this.configRepository = configRepository;
|
|
@@ -165,7 +165,7 @@ let ConfigService = class ConfigService {
|
|
|
165
165
|
};
|
|
166
166
|
ConfigService = __decorate([
|
|
167
167
|
(0, common_1.Injectable)(),
|
|
168
|
-
__param(0, (0, typeorm_1.InjectRepository)(
|
|
168
|
+
__param(0, (0, typeorm_1.InjectRepository)(config_entity_1.Config)),
|
|
169
169
|
__metadata("design:paramtypes", [typeorm_2.Repository,
|
|
170
170
|
axios_1.HttpService,
|
|
171
171
|
aes_gcm_1.AesGcmService])
|
package/dist/modules/index.d.ts
CHANGED
package/dist/modules/index.js
CHANGED