@uniorganization/uni-lib 4.1.3 → 4.1.5
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/bp-alerts.entity.d.ts +2 -2
- package/dist/entities/bp-alerts.entity.js +4 -4
- package/dist/entities/business-schedule.entity.d.ts +2 -2
- package/dist/entities/business-schedule.entity.js +4 -4
- package/dist/entities/call-driver-data.entity.d.ts +2 -2
- package/dist/entities/call-driver-data.entity.js +4 -4
- package/dist/entities/call-drivers.entity.d.ts +1 -1
- package/dist/entities/call-drivers.entity.js +2 -2
- package/dist/entities/cb-completed-reasons.entity.d.ts +1 -1
- package/dist/entities/cb-completed-reasons.entity.js +2 -2
- package/dist/entities/claim-report.entity.d.ts +2 -2
- package/dist/entities/claim-report.entity.js +4 -4
- package/dist/entities/dispute-request.entity.d.ts +2 -2
- package/dist/entities/dispute-request.entity.js +4 -4
- package/dist/entities/division.entity.d.ts +11 -0
- package/dist/entities/division.entity.js +52 -0
- package/dist/entities/enr-inventory.entity.d.ts +2 -2
- package/dist/entities/enr-inventory.entity.js +4 -4
- package/dist/entities/enr-results.entity.d.ts +1 -1
- package/dist/entities/enr-results.entity.js +2 -2
- package/dist/entities/escalations.entity.d.ts +2 -2
- package/dist/entities/escalations.entity.js +4 -4
- package/dist/entities/evaluation-forms.entity.d.ts +4 -4
- package/dist/entities/evaluations.entity.d.ts +2 -2
- package/dist/entities/evaluations.entity.js +4 -4
- package/dist/entities/form-fields.entity.d.ts +2 -2
- package/dist/entities/form-fields.entity.js +4 -4
- package/dist/entities/form.entity.d.ts +2 -2
- package/dist/entities/form.entity.js +4 -4
- package/dist/entities/inbox/message-case.entity.d.ts +2 -2
- package/dist/entities/inbox/message-case.entity.js +6 -8
- package/dist/entities/inbox/sla-policy.entity.d.ts +2 -2
- package/dist/entities/inbox/sla-policy.entity.js +4 -4
- package/dist/entities/index.d.ts +3 -0
- package/dist/entities/index.js +3 -0
- package/dist/entities/inventory.entity.d.ts +1 -1
- package/dist/entities/inventory.entity.js +2 -2
- package/dist/entities/lob-assignment.entity.d.ts +1 -1
- package/dist/entities/lob-assignment.entity.js +2 -2
- package/dist/entities/lob-call-drivers.entity.d.ts +1 -1
- package/dist/entities/lob-call-drivers.entity.js +2 -2
- package/dist/entities/lob.entity.d.ts +14 -0
- package/dist/entities/lob.entity.js +65 -0
- package/dist/entities/offphone-activities.entity.d.ts +1 -1
- package/dist/entities/offphone-activities.entity.js +2 -2
- package/dist/entities/otwe-offers.entity.d.ts +1 -1
- package/dist/entities/otwe-offers.entity.js +2 -2
- package/dist/entities/outbound-ticket-history.entity.d.ts +2 -2
- package/dist/entities/outbound-ticket-history.entity.js +4 -4
- package/dist/entities/pending-ticket-history.entity.d.ts +2 -2
- package/dist/entities/pending-ticket-history.entity.js +4 -4
- package/dist/entities/raw_roster.entity.d.ts +2 -2
- package/dist/entities/raw_roster.entity.js +4 -4
- package/dist/entities/roster.entity.d.ts +2 -2
- package/dist/entities/roster.entity.js +4 -4
- package/dist/entities/skipped-ticket.entity.d.ts +2 -2
- package/dist/entities/skipped-ticket.entity.js +4 -4
- package/dist/entities/template.entity.d.ts +2 -2
- package/dist/entities/template.entity.js +4 -4
- package/dist/entities/ticket-queue.entity.d.ts +2 -2
- package/dist/entities/ticket-queue.entity.js +4 -4
- package/dist/entities/user-roster.view.d.ts +2 -2
- package/dist/entities/user-roster.view.js +4 -4
- package/dist/entities/users-lobs.entity.d.ts +11 -0
- package/dist/entities/users-lobs.entity.js +57 -0
- package/dist/entities/usr.entity.d.ts +4 -2
- package/dist/entities/usr.entity.js +22 -14
- package/dist/entities/vw-escalation-age.d.ts +2 -0
- package/dist/entities/vw-escalation-age.js +8 -0
- package/dist/modules/common/jwt.strategy.js +8 -9
- package/dist/modules/common/jwt.strategy.spec.d.ts +1 -0
- package/dist/modules/common/jwt.strategy.spec.js +89 -0
- package/dist/modules/tenant/redis-tenant-state.store.js +10 -3
- package/dist/modules/tenant/tenant-authorization.service.d.ts +2 -2
- package/dist/modules/tenant/tenant-authorization.service.js +105 -35
- package/dist/modules/tenant/tenant-authorization.service.spec.d.ts +1 -0
- package/dist/modules/tenant/tenant-authorization.service.spec.js +101 -0
- package/dist/modules/tenant/tenant-authorization.types.d.ts +12 -2
- package/dist/modules/tenant/tenant.types.d.ts +9 -1
- package/package.json +1 -1
|
@@ -36,13 +36,13 @@ __decorate([
|
|
|
36
36
|
__metadata("design:type", String)
|
|
37
37
|
], BpAlerts.prototype, "transaction", void 0);
|
|
38
38
|
__decorate([
|
|
39
|
-
(0, typeorm_1.Column)(),
|
|
39
|
+
(0, typeorm_1.Column)({ name: 'division_id', type: 'bigint', nullable: true }),
|
|
40
40
|
__metadata("design:type", String)
|
|
41
|
-
], BpAlerts.prototype, "
|
|
41
|
+
], BpAlerts.prototype, "divisionId", void 0);
|
|
42
42
|
__decorate([
|
|
43
|
-
(0, typeorm_1.Column)(),
|
|
43
|
+
(0, typeorm_1.Column)({ name: 'lob_id', type: 'bigint', nullable: true }),
|
|
44
44
|
__metadata("design:type", String)
|
|
45
|
-
], BpAlerts.prototype, "
|
|
45
|
+
], BpAlerts.prototype, "lobId", void 0);
|
|
46
46
|
__decorate([
|
|
47
47
|
(0, typeorm_1.Column)(),
|
|
48
48
|
__metadata("design:type", String)
|
|
@@ -3,8 +3,8 @@ export declare class BusinessSchedule {
|
|
|
3
3
|
clientId: number;
|
|
4
4
|
id: string;
|
|
5
5
|
name: string;
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
divisionId: string | null;
|
|
7
|
+
lobId: string | null;
|
|
8
8
|
timezone: string;
|
|
9
9
|
isActive: boolean;
|
|
10
10
|
days: BusinessScheduleDay[];
|
|
@@ -28,13 +28,13 @@ __decorate([
|
|
|
28
28
|
__metadata("design:type", String)
|
|
29
29
|
], BusinessSchedule.prototype, "name", void 0);
|
|
30
30
|
__decorate([
|
|
31
|
-
(0, typeorm_1.Column)({
|
|
31
|
+
(0, typeorm_1.Column)({ name: 'division_id', type: 'bigint', nullable: true }),
|
|
32
32
|
__metadata("design:type", String)
|
|
33
|
-
], BusinessSchedule.prototype, "
|
|
33
|
+
], BusinessSchedule.prototype, "divisionId", void 0);
|
|
34
34
|
__decorate([
|
|
35
|
-
(0, typeorm_1.Column)({
|
|
35
|
+
(0, typeorm_1.Column)({ name: 'lob_id', type: 'bigint', nullable: true }),
|
|
36
36
|
__metadata("design:type", String)
|
|
37
|
-
], BusinessSchedule.prototype, "
|
|
37
|
+
], BusinessSchedule.prototype, "lobId", void 0);
|
|
38
38
|
__decorate([
|
|
39
39
|
(0, typeorm_1.Column)({ type: 'varchar', length: 100 }),
|
|
40
40
|
__metadata("design:type", String)
|
|
@@ -35,13 +35,13 @@ __decorate([
|
|
|
35
35
|
__metadata("design:type", String)
|
|
36
36
|
], CallDriverData.prototype, "campaignName", void 0);
|
|
37
37
|
__decorate([
|
|
38
|
-
(0, typeorm_1.Column)({ name: '
|
|
38
|
+
(0, typeorm_1.Column)({ name: 'division_id', type: 'bigint', nullable: true }),
|
|
39
39
|
__metadata("design:type", String)
|
|
40
|
-
], CallDriverData.prototype, "
|
|
40
|
+
], CallDriverData.prototype, "divisionId", void 0);
|
|
41
41
|
__decorate([
|
|
42
|
-
(0, typeorm_1.Column)({ name: '
|
|
42
|
+
(0, typeorm_1.Column)({ name: 'lob_id', type: 'bigint', nullable: true }),
|
|
43
43
|
__metadata("design:type", String)
|
|
44
|
-
], CallDriverData.prototype, "
|
|
44
|
+
], CallDriverData.prototype, "lobId", void 0);
|
|
45
45
|
__decorate([
|
|
46
46
|
(0, typeorm_1.Column)({ name: 'agent' }),
|
|
47
47
|
__metadata("design:type", String)
|
|
@@ -75,9 +75,9 @@ __decorate([
|
|
|
75
75
|
__metadata("design:type", String)
|
|
76
76
|
], CallDrivers.prototype, "notes", void 0);
|
|
77
77
|
__decorate([
|
|
78
|
-
(0, typeorm_1.Column)({ name: '
|
|
78
|
+
(0, typeorm_1.Column)({ name: 'lob_id', type: 'bigint', nullable: true }),
|
|
79
79
|
__metadata("design:type", String)
|
|
80
|
-
], CallDrivers.prototype, "
|
|
80
|
+
], CallDrivers.prototype, "lobId", void 0);
|
|
81
81
|
exports.CallDrivers = CallDrivers = __decorate([
|
|
82
82
|
(0, typeorm_1.Entity)('call_drivers', { schema: 'tracking' })
|
|
83
83
|
], CallDrivers);
|
|
@@ -27,9 +27,9 @@ __decorate([
|
|
|
27
27
|
__metadata("design:type", String)
|
|
28
28
|
], CallbackCompletedReasons.prototype, "reason", void 0);
|
|
29
29
|
__decorate([
|
|
30
|
-
(0, typeorm_1.Column)({ name: '
|
|
30
|
+
(0, typeorm_1.Column)({ name: 'lob_id', type: 'bigint', nullable: true }),
|
|
31
31
|
__metadata("design:type", String)
|
|
32
|
-
], CallbackCompletedReasons.prototype, "
|
|
32
|
+
], CallbackCompletedReasons.prototype, "lobId", void 0);
|
|
33
33
|
exports.CallbackCompletedReasons = CallbackCompletedReasons = __decorate([
|
|
34
34
|
(0, typeorm_1.Entity)('callback_completed_reasons', { schema: 'tracking' })
|
|
35
35
|
], CallbackCompletedReasons);
|
|
@@ -33,8 +33,8 @@ export declare class ClaimReport {
|
|
|
33
33
|
changedByResponsible: String;
|
|
34
34
|
reasonForDelay: String;
|
|
35
35
|
uploadDate: Date;
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
divisionId: string | null;
|
|
37
|
+
lobId: string | null;
|
|
38
38
|
campaign: String;
|
|
39
39
|
status: String;
|
|
40
40
|
agent: String;
|
|
@@ -151,13 +151,13 @@ __decorate([
|
|
|
151
151
|
__metadata("design:type", Date)
|
|
152
152
|
], ClaimReport.prototype, "uploadDate", void 0);
|
|
153
153
|
__decorate([
|
|
154
|
-
(0, typeorm_1.Column)(),
|
|
154
|
+
(0, typeorm_1.Column)({ name: 'division_id', type: 'bigint', nullable: true }),
|
|
155
155
|
__metadata("design:type", String)
|
|
156
|
-
], ClaimReport.prototype, "
|
|
156
|
+
], ClaimReport.prototype, "divisionId", void 0);
|
|
157
157
|
__decorate([
|
|
158
|
-
(0, typeorm_1.Column)(),
|
|
158
|
+
(0, typeorm_1.Column)({ name: 'lob_id', type: 'bigint', nullable: true }),
|
|
159
159
|
__metadata("design:type", String)
|
|
160
|
-
], ClaimReport.prototype, "
|
|
160
|
+
], ClaimReport.prototype, "lobId", void 0);
|
|
161
161
|
__decorate([
|
|
162
162
|
(0, typeorm_1.Column)(),
|
|
163
163
|
__metadata("design:type", String)
|
|
@@ -5,8 +5,8 @@ export type RequestStatus = 'NEW' | 'OPS APPROVED' | 'OPS REJECTED' | 'QA REJECT
|
|
|
5
5
|
export declare class DisputeRequest {
|
|
6
6
|
clientId: number;
|
|
7
7
|
id: number;
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
divisionId: string | null;
|
|
9
|
+
lobId: string | null;
|
|
10
10
|
requestStatus: RequestStatus;
|
|
11
11
|
requestDate: Date;
|
|
12
12
|
agent: Users;
|
|
@@ -25,13 +25,13 @@ __decorate([
|
|
|
25
25
|
__metadata("design:type", Number)
|
|
26
26
|
], DisputeRequest.prototype, "id", void 0);
|
|
27
27
|
__decorate([
|
|
28
|
-
(0, typeorm_1.Column)(),
|
|
28
|
+
(0, typeorm_1.Column)({ name: 'division_id', type: 'bigint', nullable: true }),
|
|
29
29
|
__metadata("design:type", String)
|
|
30
|
-
], DisputeRequest.prototype, "
|
|
30
|
+
], DisputeRequest.prototype, "divisionId", void 0);
|
|
31
31
|
__decorate([
|
|
32
|
-
(0, typeorm_1.Column)(),
|
|
32
|
+
(0, typeorm_1.Column)({ name: 'lob_id', type: 'bigint', nullable: true }),
|
|
33
33
|
__metadata("design:type", String)
|
|
34
|
-
], DisputeRequest.prototype, "
|
|
34
|
+
], DisputeRequest.prototype, "lobId", void 0);
|
|
35
35
|
__decorate([
|
|
36
36
|
(0, typeorm_1.Column)('varchar', { name: 'request_status' }),
|
|
37
37
|
__metadata("design:type", String)
|
|
@@ -0,0 +1,52 @@
|
|
|
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.Division = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const lob_entity_1 = require("./lob.entity");
|
|
15
|
+
let Division = class Division {
|
|
16
|
+
};
|
|
17
|
+
exports.Division = Division;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, typeorm_1.PrimaryGeneratedColumn)('identity', { type: 'bigint' }),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], Division.prototype, "id", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 100 }),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], Division.prototype, "name", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, typeorm_1.Column)({ name: 'client_id', type: 'integer' }),
|
|
28
|
+
__metadata("design:type", Number)
|
|
29
|
+
], Division.prototype, "clientId", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, typeorm_1.Column)({ name: 'created_by_id', type: 'numeric' }),
|
|
32
|
+
__metadata("design:type", Number)
|
|
33
|
+
], Division.prototype, "createdById", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, typeorm_1.CreateDateColumn)({ name: 'created_at', type: 'timestamptz' }),
|
|
36
|
+
__metadata("design:type", Date)
|
|
37
|
+
], Division.prototype, "createdAt", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, typeorm_1.UpdateDateColumn)({ name: 'updated_at', type: 'timestamptz' }),
|
|
40
|
+
__metadata("design:type", Date)
|
|
41
|
+
], Division.prototype, "updatedAt", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, typeorm_1.DeleteDateColumn)({ name: 'deleted_at', type: 'timestamptz', nullable: true }),
|
|
44
|
+
__metadata("design:type", Date)
|
|
45
|
+
], Division.prototype, "deletedAt", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, typeorm_1.OneToMany)(() => lob_entity_1.Lob, (lob) => lob.division),
|
|
48
|
+
__metadata("design:type", Array)
|
|
49
|
+
], Division.prototype, "lobs", void 0);
|
|
50
|
+
exports.Division = Division = __decorate([
|
|
51
|
+
(0, typeorm_1.Entity)('division', { schema: 'stm' })
|
|
52
|
+
], Division);
|
|
@@ -31,13 +31,13 @@ __decorate([
|
|
|
31
31
|
__metadata("design:type", String)
|
|
32
32
|
], EnrInventory.prototype, "plant", void 0);
|
|
33
33
|
__decorate([
|
|
34
|
-
(0, typeorm_1.Column)(),
|
|
34
|
+
(0, typeorm_1.Column)({ name: 'division_id', type: 'bigint', nullable: true }),
|
|
35
35
|
__metadata("design:type", String)
|
|
36
|
-
], EnrInventory.prototype, "
|
|
36
|
+
], EnrInventory.prototype, "divisionId", void 0);
|
|
37
37
|
__decorate([
|
|
38
|
-
(0, typeorm_1.Column)(),
|
|
38
|
+
(0, typeorm_1.Column)({ name: 'lob_id', type: 'bigint', nullable: true }),
|
|
39
39
|
__metadata("design:type", String)
|
|
40
|
-
], EnrInventory.prototype, "
|
|
40
|
+
], EnrInventory.prototype, "lobId", void 0);
|
|
41
41
|
__decorate([
|
|
42
42
|
(0, typeorm_1.Column)(),
|
|
43
43
|
__metadata("design:type", String)
|
|
@@ -27,9 +27,9 @@ __decorate([
|
|
|
27
27
|
__metadata("design:type", String)
|
|
28
28
|
], EnrResults.prototype, "result", void 0);
|
|
29
29
|
__decorate([
|
|
30
|
-
(0, typeorm_1.Column)({ name: '
|
|
30
|
+
(0, typeorm_1.Column)({ name: 'lob_id', type: 'bigint', nullable: true }),
|
|
31
31
|
__metadata("design:type", String)
|
|
32
|
-
], EnrResults.prototype, "
|
|
32
|
+
], EnrResults.prototype, "lobId", void 0);
|
|
33
33
|
exports.EnrResults = EnrResults = __decorate([
|
|
34
34
|
(0, typeorm_1.Entity)('enr_result', { schema: 'tracking' })
|
|
35
35
|
], EnrResults);
|
|
@@ -8,8 +8,8 @@ export declare class Escalations {
|
|
|
8
8
|
clientId: number;
|
|
9
9
|
id: number;
|
|
10
10
|
escalationId: string;
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
divisionId: string | null;
|
|
12
|
+
lobId: string | null;
|
|
13
13
|
callDriverData: CallDriverData;
|
|
14
14
|
escalationType: EscalationType;
|
|
15
15
|
escalationTypeTitle: string;
|
|
@@ -32,13 +32,13 @@ __decorate([
|
|
|
32
32
|
__metadata("design:type", String)
|
|
33
33
|
], Escalations.prototype, "escalationId", void 0);
|
|
34
34
|
__decorate([
|
|
35
|
-
(0, typeorm_1.Column)({ name: '
|
|
35
|
+
(0, typeorm_1.Column)({ name: 'division_id', type: 'bigint', nullable: true }),
|
|
36
36
|
__metadata("design:type", String)
|
|
37
|
-
], Escalations.prototype, "
|
|
37
|
+
], Escalations.prototype, "divisionId", void 0);
|
|
38
38
|
__decorate([
|
|
39
|
-
(0, typeorm_1.Column)({ name: '
|
|
39
|
+
(0, typeorm_1.Column)({ name: 'lob_id', type: 'bigint', nullable: true }),
|
|
40
40
|
__metadata("design:type", String)
|
|
41
|
-
], Escalations.prototype, "
|
|
41
|
+
], Escalations.prototype, "lobId", void 0);
|
|
42
42
|
__decorate([
|
|
43
43
|
(0, typeorm_1.OneToOne)(() => call_driver_data_entity_1.CallDriverData, (cd) => cd.escalation),
|
|
44
44
|
__metadata("design:type", call_driver_data_entity_1.CallDriverData)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Timestamp } from 'typeorm';
|
|
2
2
|
import { QuestionGroup } from './question-group.entity';
|
|
3
3
|
import { EvaluationAutofailReasons } from './evaluation-autofail-reasons.entity';
|
|
4
|
-
export interface
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
export interface DivisionLobId {
|
|
5
|
+
divisionId: number;
|
|
6
|
+
lobId: number;
|
|
7
7
|
}
|
|
8
8
|
export declare class EvaluationForms {
|
|
9
9
|
clientId: number;
|
|
@@ -12,7 +12,7 @@ export declare class EvaluationForms {
|
|
|
12
12
|
isActive: boolean;
|
|
13
13
|
dateCreated: Timestamp;
|
|
14
14
|
scoreType: string;
|
|
15
|
-
divisionLob:
|
|
15
|
+
divisionLob: DivisionLobId[];
|
|
16
16
|
isDefault: boolean;
|
|
17
17
|
useAutofail: boolean;
|
|
18
18
|
usePcs: boolean;
|
|
@@ -8,8 +8,8 @@ import { Feedback } from './feedback.entity';
|
|
|
8
8
|
export declare class Evaluations {
|
|
9
9
|
clientId: number;
|
|
10
10
|
id: number;
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
lobId: string | null;
|
|
12
|
+
divisionId: string | null;
|
|
13
13
|
score: number;
|
|
14
14
|
dateCreated: Timestamp;
|
|
15
15
|
isDisputed: boolean;
|
|
@@ -29,13 +29,13 @@ __decorate([
|
|
|
29
29
|
__metadata("design:type", Number)
|
|
30
30
|
], Evaluations.prototype, "id", void 0);
|
|
31
31
|
__decorate([
|
|
32
|
-
(0, typeorm_1.Column)(),
|
|
32
|
+
(0, typeorm_1.Column)({ name: 'lob_id', type: 'bigint', nullable: true }),
|
|
33
33
|
__metadata("design:type", String)
|
|
34
|
-
], Evaluations.prototype, "
|
|
34
|
+
], Evaluations.prototype, "lobId", void 0);
|
|
35
35
|
__decorate([
|
|
36
|
-
(0, typeorm_1.Column)(),
|
|
36
|
+
(0, typeorm_1.Column)({ name: 'division_id', type: 'bigint', nullable: true }),
|
|
37
37
|
__metadata("design:type", String)
|
|
38
|
-
], Evaluations.prototype, "
|
|
38
|
+
], Evaluations.prototype, "divisionId", void 0);
|
|
39
39
|
__decorate([
|
|
40
40
|
(0, typeorm_1.Column)({ name: 'score' }),
|
|
41
41
|
__metadata("design:type", Number)
|
|
@@ -23,13 +23,13 @@ __decorate([
|
|
|
23
23
|
__metadata("design:type", Number)
|
|
24
24
|
], FormFields.prototype, "id", void 0);
|
|
25
25
|
__decorate([
|
|
26
|
-
(0, typeorm_1.Column)(),
|
|
26
|
+
(0, typeorm_1.Column)({ name: 'division_id', type: 'bigint', nullable: true }),
|
|
27
27
|
__metadata("design:type", String)
|
|
28
|
-
], FormFields.prototype, "
|
|
28
|
+
], FormFields.prototype, "divisionId", void 0);
|
|
29
29
|
__decorate([
|
|
30
|
-
(0, typeorm_1.Column)(),
|
|
30
|
+
(0, typeorm_1.Column)({ name: 'lob_id', type: 'bigint', nullable: true }),
|
|
31
31
|
__metadata("design:type", String)
|
|
32
|
-
], FormFields.prototype, "
|
|
32
|
+
], FormFields.prototype, "lobId", void 0);
|
|
33
33
|
__decorate([
|
|
34
34
|
(0, typeorm_1.Column)({ name: 'field_label' }),
|
|
35
35
|
__metadata("design:type", String)
|
|
@@ -2,8 +2,8 @@ import { FormDefinition } from './form-definition.entity';
|
|
|
2
2
|
export declare class Form {
|
|
3
3
|
clientId: number;
|
|
4
4
|
id: number;
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
divisionId: string | null;
|
|
6
|
+
lobId: string | null;
|
|
7
7
|
formType: string;
|
|
8
8
|
formName: string;
|
|
9
9
|
status: string;
|
|
@@ -24,13 +24,13 @@ __decorate([
|
|
|
24
24
|
__metadata("design:type", Number)
|
|
25
25
|
], Form.prototype, "id", void 0);
|
|
26
26
|
__decorate([
|
|
27
|
-
(0, typeorm_1.Column)({ name: '
|
|
27
|
+
(0, typeorm_1.Column)({ name: 'division_id', type: 'bigint', nullable: true }),
|
|
28
28
|
__metadata("design:type", String)
|
|
29
|
-
], Form.prototype, "
|
|
29
|
+
], Form.prototype, "divisionId", void 0);
|
|
30
30
|
__decorate([
|
|
31
|
-
(0, typeorm_1.Column)({ name: '
|
|
31
|
+
(0, typeorm_1.Column)({ name: 'lob_id', type: 'bigint', nullable: true }),
|
|
32
32
|
__metadata("design:type", String)
|
|
33
|
-
], Form.prototype, "
|
|
33
|
+
], Form.prototype, "lobId", void 0);
|
|
34
34
|
__decorate([
|
|
35
35
|
(0, typeorm_1.Column)({ name: 'form_type' }),
|
|
36
36
|
__metadata("design:type", String)
|
|
@@ -38,8 +38,8 @@ export declare class MessageCaseEntity {
|
|
|
38
38
|
businessSchedule?: BusinessSchedule | null;
|
|
39
39
|
businessScheduleId: string | null;
|
|
40
40
|
businessScheduleSource: 'agent_scope' | 'global_default' | null;
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
businessDivisionId: string | null;
|
|
42
|
+
businessLobId: string | null;
|
|
43
43
|
businessScheduleSnapshot: Record<string, unknown> | null;
|
|
44
44
|
businessTimeEnabled: boolean;
|
|
45
45
|
businessClockStartedAt: Date | null;
|
|
@@ -223,22 +223,20 @@ __decorate([
|
|
|
223
223
|
], MessageCaseEntity.prototype, "businessScheduleSource", void 0);
|
|
224
224
|
__decorate([
|
|
225
225
|
(0, typeorm_1.Column)({
|
|
226
|
-
name: '
|
|
227
|
-
type: '
|
|
228
|
-
length: 100,
|
|
226
|
+
name: 'business_division_id',
|
|
227
|
+
type: 'bigint',
|
|
229
228
|
nullable: true,
|
|
230
229
|
}),
|
|
231
230
|
__metadata("design:type", String)
|
|
232
|
-
], MessageCaseEntity.prototype, "
|
|
231
|
+
], MessageCaseEntity.prototype, "businessDivisionId", void 0);
|
|
233
232
|
__decorate([
|
|
234
233
|
(0, typeorm_1.Column)({
|
|
235
|
-
name: '
|
|
236
|
-
type: '
|
|
237
|
-
length: 100,
|
|
234
|
+
name: 'business_lob_id',
|
|
235
|
+
type: 'bigint',
|
|
238
236
|
nullable: true,
|
|
239
237
|
}),
|
|
240
238
|
__metadata("design:type", String)
|
|
241
|
-
], MessageCaseEntity.prototype, "
|
|
239
|
+
], MessageCaseEntity.prototype, "businessLobId", void 0);
|
|
242
240
|
__decorate([
|
|
243
241
|
(0, typeorm_1.Column)({ name: 'business_schedule_snapshot', type: 'jsonb', nullable: true }),
|
|
244
242
|
__metadata("design:type", Object)
|
|
@@ -2,8 +2,8 @@ export declare class SlaPolicyEntity {
|
|
|
2
2
|
clientId: number;
|
|
3
3
|
id: string;
|
|
4
4
|
name: string;
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
divisionId: string | null;
|
|
6
|
+
lobId: string | null;
|
|
7
7
|
campaign: string | null;
|
|
8
8
|
firstReviewWithinMinutes: number;
|
|
9
9
|
resolveWithinMinutes: number;
|
|
@@ -27,13 +27,13 @@ __decorate([
|
|
|
27
27
|
__metadata("design:type", String)
|
|
28
28
|
], SlaPolicyEntity.prototype, "name", void 0);
|
|
29
29
|
__decorate([
|
|
30
|
-
(0, typeorm_1.Column)({ name: '
|
|
30
|
+
(0, typeorm_1.Column)({ name: 'division_id', type: 'bigint', nullable: true }),
|
|
31
31
|
__metadata("design:type", String)
|
|
32
|
-
], SlaPolicyEntity.prototype, "
|
|
32
|
+
], SlaPolicyEntity.prototype, "divisionId", void 0);
|
|
33
33
|
__decorate([
|
|
34
|
-
(0, typeorm_1.Column)({ name: '
|
|
34
|
+
(0, typeorm_1.Column)({ name: 'lob_id', type: 'bigint', nullable: true }),
|
|
35
35
|
__metadata("design:type", String)
|
|
36
|
-
], SlaPolicyEntity.prototype, "
|
|
36
|
+
], SlaPolicyEntity.prototype, "lobId", void 0);
|
|
37
37
|
__decorate([
|
|
38
38
|
(0, typeorm_1.Column)({ name: 'campaign', type: 'varchar', length: 100, nullable: true }),
|
|
39
39
|
__metadata("design:type", String)
|
package/dist/entities/index.d.ts
CHANGED
|
@@ -8,7 +8,10 @@ export * from './change-alert.entity';
|
|
|
8
8
|
export * from './config.entity';
|
|
9
9
|
export * from './depreciation-categories.entity';
|
|
10
10
|
export * from './depreciation-details.entity';
|
|
11
|
+
export * from './division.entity';
|
|
11
12
|
export * from './detail-type.entity';
|
|
13
|
+
export * from './lob.entity';
|
|
14
|
+
export * from './users-lobs.entity';
|
|
12
15
|
export * from './enr-calculation-log.entity';
|
|
13
16
|
export * from './enr-results.entity';
|
|
14
17
|
export * from './escalation-category.entity';
|
package/dist/entities/index.js
CHANGED
|
@@ -24,7 +24,10 @@ __exportStar(require("./change-alert.entity"), exports);
|
|
|
24
24
|
__exportStar(require("./config.entity"), exports);
|
|
25
25
|
__exportStar(require("./depreciation-categories.entity"), exports);
|
|
26
26
|
__exportStar(require("./depreciation-details.entity"), exports);
|
|
27
|
+
__exportStar(require("./division.entity"), exports);
|
|
27
28
|
__exportStar(require("./detail-type.entity"), exports);
|
|
29
|
+
__exportStar(require("./lob.entity"), exports);
|
|
30
|
+
__exportStar(require("./users-lobs.entity"), exports);
|
|
28
31
|
__exportStar(require("./enr-calculation-log.entity"), exports);
|
|
29
32
|
__exportStar(require("./enr-results.entity"), exports);
|
|
30
33
|
__exportStar(require("./escalation-category.entity"), exports);
|
|
@@ -27,9 +27,9 @@ __decorate([
|
|
|
27
27
|
__metadata("design:type", String)
|
|
28
28
|
], Inventory.prototype, "plant", void 0);
|
|
29
29
|
__decorate([
|
|
30
|
-
(0, typeorm_1.Column)(),
|
|
30
|
+
(0, typeorm_1.Column)({ name: 'division_id', type: 'bigint', nullable: true }),
|
|
31
31
|
__metadata("design:type", String)
|
|
32
|
-
], Inventory.prototype, "
|
|
32
|
+
], Inventory.prototype, "divisionId", void 0);
|
|
33
33
|
__decorate([
|
|
34
34
|
(0, typeorm_1.Column)(),
|
|
35
35
|
__metadata("design:type", String)
|
|
@@ -23,9 +23,9 @@ __decorate([
|
|
|
23
23
|
__metadata("design:type", Number)
|
|
24
24
|
], LobAssigment.prototype, "id", void 0);
|
|
25
25
|
__decorate([
|
|
26
|
-
(0, typeorm_1.Column)({ name: '
|
|
26
|
+
(0, typeorm_1.Column)({ name: 'lob_id', type: 'bigint', nullable: true }),
|
|
27
27
|
__metadata("design:type", String)
|
|
28
|
-
], LobAssigment.prototype, "
|
|
28
|
+
], LobAssigment.prototype, "lobId", void 0);
|
|
29
29
|
__decorate([
|
|
30
30
|
(0, typeorm_1.Column)({ name: 'assign_to' }),
|
|
31
31
|
__metadata("design:type", String)
|
|
@@ -27,9 +27,9 @@ __decorate([
|
|
|
27
27
|
__metadata("design:type", String)
|
|
28
28
|
], LobCallDrivers.prototype, "driver", void 0);
|
|
29
29
|
__decorate([
|
|
30
|
-
(0, typeorm_1.Column)({ name: '
|
|
30
|
+
(0, typeorm_1.Column)({ name: 'lob_id', type: 'bigint', nullable: true }),
|
|
31
31
|
__metadata("design:type", String)
|
|
32
|
-
], LobCallDrivers.prototype, "
|
|
32
|
+
], LobCallDrivers.prototype, "lobId", void 0);
|
|
33
33
|
exports.LobCallDrivers = LobCallDrivers = __decorate([
|
|
34
34
|
(0, typeorm_1.Entity)('lob_call_drivers', { schema: 'tracking' })
|
|
35
35
|
], LobCallDrivers);
|