@uniorganization/uni-lib 4.3.0 → 4.3.2
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/daily-payment.entity.d.ts +58 -0
- package/dist/entities/daily-payment.entity.js +248 -0
- 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/middlewares/index.d.ts +1 -0
- package/dist/middlewares/index.js +17 -0
- package/dist/middlewares/version-checker.middleware.d.ts +2 -0
- package/dist/middlewares/version-checker.middleware.js +27 -0
- package/dist/modules/common/jwt.strategy.js +2 -6
- package/dist/modules/tenant/redis-tenant-state.store.js +0 -3
- package/dist/modules/tenant/tenant-authorization.service.d.ts +2 -2
- package/dist/modules/tenant/tenant-authorization.service.js +37 -25
- package/dist/modules/tenant/tenant-authorization.types.d.ts +2 -2
- package/dist/modules/tenant/tenant.types.d.ts +0 -1
- package/package.json +13 -12
- package/dist/entities/user-client-context.entity.d.ts +0 -10
- package/dist/entities/user-client-context.entity.js +0 -59
- package/dist/modules/tenant/master-users.guard.d.ts +0 -4
- package/dist/modules/tenant/master-users.guard.js +0 -35
|
@@ -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);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Division } from './division.entity';
|
|
2
|
+
import { UsersLobs } from './users-lobs.entity';
|
|
3
|
+
export declare class Lob {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
divisionId: string;
|
|
7
|
+
clientId: number;
|
|
8
|
+
createdById: number;
|
|
9
|
+
createdAt: Date;
|
|
10
|
+
updatedAt: Date;
|
|
11
|
+
deletedAt: Date | null;
|
|
12
|
+
division: Division;
|
|
13
|
+
userLobs: UsersLobs[];
|
|
14
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
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.Lob = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const division_entity_1 = require("./division.entity");
|
|
15
|
+
const users_lobs_entity_1 = require("./users-lobs.entity");
|
|
16
|
+
let Lob = class Lob {
|
|
17
|
+
};
|
|
18
|
+
exports.Lob = Lob;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, typeorm_1.PrimaryGeneratedColumn)('identity', { type: 'bigint' }),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], Lob.prototype, "id", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 100 }),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], Lob.prototype, "name", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Column)({ name: 'division_id', type: 'bigint' }),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], Lob.prototype, "divisionId", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)({ name: 'client_id', type: 'integer' }),
|
|
33
|
+
__metadata("design:type", Number)
|
|
34
|
+
], Lob.prototype, "clientId", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.Column)({ name: 'created_by_id', type: 'numeric' }),
|
|
37
|
+
__metadata("design:type", Number)
|
|
38
|
+
], Lob.prototype, "createdById", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, typeorm_1.CreateDateColumn)({ name: 'created_at', type: 'timestamptz' }),
|
|
41
|
+
__metadata("design:type", Date)
|
|
42
|
+
], Lob.prototype, "createdAt", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, typeorm_1.UpdateDateColumn)({ name: 'updated_at', type: 'timestamptz' }),
|
|
45
|
+
__metadata("design:type", Date)
|
|
46
|
+
], Lob.prototype, "updatedAt", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, typeorm_1.DeleteDateColumn)({ name: 'deleted_at', type: 'timestamptz', nullable: true }),
|
|
49
|
+
__metadata("design:type", Date)
|
|
50
|
+
], Lob.prototype, "deletedAt", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, typeorm_1.ManyToOne)(() => division_entity_1.Division, (division) => division.lobs),
|
|
53
|
+
(0, typeorm_1.JoinColumn)([
|
|
54
|
+
{ name: 'division_id', referencedColumnName: 'id' },
|
|
55
|
+
{ name: 'client_id', referencedColumnName: 'clientId' },
|
|
56
|
+
]),
|
|
57
|
+
__metadata("design:type", division_entity_1.Division)
|
|
58
|
+
], Lob.prototype, "division", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, typeorm_1.OneToMany)(() => users_lobs_entity_1.UsersLobs, (usersLobs) => usersLobs.lob),
|
|
61
|
+
__metadata("design:type", Array)
|
|
62
|
+
], Lob.prototype, "userLobs", void 0);
|
|
63
|
+
exports.Lob = Lob = __decorate([
|
|
64
|
+
(0, typeorm_1.Entity)('lob', { schema: 'stm' })
|
|
65
|
+
], Lob);
|
|
@@ -27,9 +27,9 @@ __decorate([
|
|
|
27
27
|
__metadata("design:type", String)
|
|
28
28
|
], OffPhoneActivities.prototype, "activity", 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
|
-
], OffPhoneActivities.prototype, "
|
|
32
|
+
], OffPhoneActivities.prototype, "lobId", void 0);
|
|
33
33
|
exports.OffPhoneActivities = OffPhoneActivities = __decorate([
|
|
34
34
|
(0, typeorm_1.Entity)('off_phone_activities', { schema: 'tracking' })
|
|
35
35
|
], OffPhoneActivities);
|
|
@@ -27,9 +27,9 @@ __decorate([
|
|
|
27
27
|
__metadata("design:type", String)
|
|
28
28
|
], OtweOffers.prototype, "offer", 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
|
-
], OtweOffers.prototype, "
|
|
32
|
+
], OtweOffers.prototype, "lobId", void 0);
|
|
33
33
|
exports.OtweOffers = OtweOffers = __decorate([
|
|
34
34
|
(0, typeorm_1.Entity)('otwe_offers', { schema: 'tracking' })
|
|
35
35
|
], OtweOffers);
|
|
@@ -32,13 +32,13 @@ __decorate([
|
|
|
32
32
|
__metadata("design:type", String)
|
|
33
33
|
], OutboundTicketHistory.prototype, "transaction", void 0);
|
|
34
34
|
__decorate([
|
|
35
|
-
(0, typeorm_1.Column)(),
|
|
35
|
+
(0, typeorm_1.Column)({ name: 'division_id', type: 'bigint', nullable: true }),
|
|
36
36
|
__metadata("design:type", String)
|
|
37
|
-
], OutboundTicketHistory.prototype, "
|
|
37
|
+
], OutboundTicketHistory.prototype, "divisionId", void 0);
|
|
38
38
|
__decorate([
|
|
39
|
-
(0, typeorm_1.Column)(),
|
|
39
|
+
(0, typeorm_1.Column)({ name: 'lob_id', type: 'bigint', nullable: true }),
|
|
40
40
|
__metadata("design:type", String)
|
|
41
|
-
], OutboundTicketHistory.prototype, "
|
|
41
|
+
], OutboundTicketHistory.prototype, "lobId", void 0);
|
|
42
42
|
__decorate([
|
|
43
43
|
(0, typeorm_1.Column)(),
|
|
44
44
|
__metadata("design:type", String)
|
|
@@ -23,13 +23,13 @@ __decorate([
|
|
|
23
23
|
__metadata("design:type", Number)
|
|
24
24
|
], PendingTicketHistory.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
|
-
], PendingTicketHistory.prototype, "
|
|
28
|
+
], PendingTicketHistory.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
|
-
], PendingTicketHistory.prototype, "
|
|
32
|
+
], PendingTicketHistory.prototype, "lobId", void 0);
|
|
33
33
|
__decorate([
|
|
34
34
|
(0, typeorm_1.Column)({ name: 'campaign' }),
|
|
35
35
|
__metadata("design:type", String)
|
|
@@ -64,9 +64,9 @@ export declare class RawRoster {
|
|
|
64
64
|
phoenixId: string;
|
|
65
65
|
five9Id: string;
|
|
66
66
|
communityWfmId: string;
|
|
67
|
-
|
|
67
|
+
divisionId: string | null;
|
|
68
68
|
mainLine: string;
|
|
69
|
-
|
|
69
|
+
lobId: string | null;
|
|
70
70
|
employeeRole: string;
|
|
71
71
|
sector: string;
|
|
72
72
|
sprinklrId: string;
|
|
@@ -272,17 +272,17 @@ __decorate([
|
|
|
272
272
|
__metadata("design:type", String)
|
|
273
273
|
], RawRoster.prototype, "communityWfmId", void 0);
|
|
274
274
|
__decorate([
|
|
275
|
-
(0, typeorm_1.Column)({ name: '
|
|
275
|
+
(0, typeorm_1.Column)({ name: 'division_id', type: 'bigint', nullable: true }),
|
|
276
276
|
__metadata("design:type", String)
|
|
277
|
-
], RawRoster.prototype, "
|
|
277
|
+
], RawRoster.prototype, "divisionId", void 0);
|
|
278
278
|
__decorate([
|
|
279
279
|
(0, typeorm_1.Column)({ name: 'main_line', type: 'text' }),
|
|
280
280
|
__metadata("design:type", String)
|
|
281
281
|
], RawRoster.prototype, "mainLine", void 0);
|
|
282
282
|
__decorate([
|
|
283
|
-
(0, typeorm_1.Column)({ name: '
|
|
283
|
+
(0, typeorm_1.Column)({ name: 'lob_id', type: 'bigint', nullable: true }),
|
|
284
284
|
__metadata("design:type", String)
|
|
285
|
-
], RawRoster.prototype, "
|
|
285
|
+
], RawRoster.prototype, "lobId", void 0);
|
|
286
286
|
__decorate([
|
|
287
287
|
(0, typeorm_1.Column)({ name: 'employee_role', type: 'text' }),
|
|
288
288
|
__metadata("design:type", String)
|
|
@@ -10,9 +10,9 @@ export declare class Roster {
|
|
|
10
10
|
status: string;
|
|
11
11
|
dateStart: Date;
|
|
12
12
|
dateEnd: Date;
|
|
13
|
-
|
|
13
|
+
divisionId: string | null;
|
|
14
14
|
mainLine: string;
|
|
15
|
-
|
|
15
|
+
lobId: string | null;
|
|
16
16
|
itInfo: ItInfo;
|
|
17
17
|
appsUserId: AppsUserId;
|
|
18
18
|
reportedIncidents: Incident[];
|
|
@@ -50,17 +50,17 @@ __decorate([
|
|
|
50
50
|
__metadata("design:type", Date)
|
|
51
51
|
], Roster.prototype, "dateEnd", void 0);
|
|
52
52
|
__decorate([
|
|
53
|
-
(0, typeorm_1.Column)({ name: '
|
|
53
|
+
(0, typeorm_1.Column)({ name: 'division_id', type: 'bigint', nullable: true }),
|
|
54
54
|
__metadata("design:type", String)
|
|
55
|
-
], Roster.prototype, "
|
|
55
|
+
], Roster.prototype, "divisionId", void 0);
|
|
56
56
|
__decorate([
|
|
57
57
|
(0, typeorm_1.Column)({ name: 'main_line' }),
|
|
58
58
|
__metadata("design:type", String)
|
|
59
59
|
], Roster.prototype, "mainLine", void 0);
|
|
60
60
|
__decorate([
|
|
61
|
-
(0, typeorm_1.Column)({ name: '
|
|
61
|
+
(0, typeorm_1.Column)({ name: 'lob_id', type: 'bigint', nullable: true }),
|
|
62
62
|
__metadata("design:type", String)
|
|
63
|
-
], Roster.prototype, "
|
|
63
|
+
], Roster.prototype, "lobId", void 0);
|
|
64
64
|
__decorate([
|
|
65
65
|
(0, typeorm_1.OneToOne)((type) => it_info_entity_1.ItInfo, { cascade: ['insert', 'update', 'remove'] }),
|
|
66
66
|
(0, typeorm_1.JoinColumn)({ name: 'it_info_id' }),
|
|
@@ -35,13 +35,13 @@ __decorate([
|
|
|
35
35
|
__metadata("design:type", String)
|
|
36
36
|
], SkippedTicket.prototype, "queueKey", void 0);
|
|
37
37
|
__decorate([
|
|
38
|
-
(0, typeorm_1.Column)(),
|
|
38
|
+
(0, typeorm_1.Column)({ name: 'division_id', type: 'bigint', nullable: true }),
|
|
39
39
|
__metadata("design:type", String)
|
|
40
|
-
], SkippedTicket.prototype, "
|
|
40
|
+
], SkippedTicket.prototype, "divisionId", void 0);
|
|
41
41
|
__decorate([
|
|
42
|
-
(0, typeorm_1.Column)(),
|
|
42
|
+
(0, typeorm_1.Column)({ name: 'lob_id', type: 'bigint', nullable: true }),
|
|
43
43
|
__metadata("design:type", String)
|
|
44
|
-
], SkippedTicket.prototype, "
|
|
44
|
+
], SkippedTicket.prototype, "lobId", void 0);
|
|
45
45
|
__decorate([
|
|
46
46
|
(0, typeorm_1.Column)(),
|
|
47
47
|
__metadata("design:type", String)
|
|
@@ -23,13 +23,13 @@ __decorate([
|
|
|
23
23
|
__metadata("design:type", Number)
|
|
24
24
|
], Templates.prototype, "id", void 0);
|
|
25
25
|
__decorate([
|
|
26
|
-
(0, typeorm_1.Column)({ name: '
|
|
26
|
+
(0, typeorm_1.Column)({ name: 'division_id', type: 'bigint', nullable: true }),
|
|
27
27
|
__metadata("design:type", String)
|
|
28
|
-
], Templates.prototype, "
|
|
28
|
+
], Templates.prototype, "divisionId", 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
|
-
], Templates.prototype, "
|
|
32
|
+
], Templates.prototype, "lobId", void 0);
|
|
33
33
|
__decorate([
|
|
34
34
|
(0, typeorm_1.Column)({ name: 'transaction_type' }),
|
|
35
35
|
__metadata("design:type", String)
|
|
@@ -23,13 +23,13 @@ __decorate([
|
|
|
23
23
|
__metadata("design:type", Number)
|
|
24
24
|
], TicketQueue.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
|
-
], TicketQueue.prototype, "
|
|
28
|
+
], TicketQueue.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
|
-
], TicketQueue.prototype, "
|
|
32
|
+
], TicketQueue.prototype, "lobId", void 0);
|
|
33
33
|
__decorate([
|
|
34
34
|
(0, typeorm_1.Column)(),
|
|
35
35
|
__metadata("design:type", String)
|