@uniorganization/uni-lib 2.0.36 → 3.0.0
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/evaluations.entity.d.ts +1 -0
- package/dist/entities/evaluations.entity.js +4 -0
- package/dist/entities/index.d.ts +1 -6
- package/dist/entities/index.js +1 -6
- package/dist/entities/{raw-sap.entity.js → sap-raw.entity.js} +1 -1
- package/dist/modules/common/constants.d.ts +0 -3
- package/dist/modules/common/constants.js +1 -4
- package/dist/modules/common/shared-db-repositories.provider.d.ts +2 -17
- package/dist/modules/common/shared-db-repositories.provider.js +0 -39
- package/package.json +71 -71
- package/dist/entities/raw-daily-pending.entity.d.ts +0 -57
- package/dist/entities/raw-daily-pending.entity.js +0 -245
- package/dist/entities/raw-enr-pending.entity.d.ts +0 -143
- package/dist/entities/raw-enr-pending.entity.js +0 -583
- package/dist/entities/raw-sap.entity.d.ts +0 -36
- package/dist/entities/raw-sap.js +0 -155
- package/dist/entities/vw-raw-daily-pending.view.d.ts +0 -57
- package/dist/entities/vw-raw-daily-pending.view.js +0 -239
- package/dist/entities/vw-raw-enr-pending.view.d.ts +0 -143
- package/dist/entities/vw-raw-enr-pending.view.js +0 -583
- package/dist/entities/vw-raw-sap.view.d.ts +0 -36
- package/dist/entities/vw-raw-sap.view.js +0 -155
- /package/dist/entities/{raw-sap.d.ts → sap-raw.entity.d.ts} +0 -0
|
@@ -108,6 +108,10 @@ __decorate([
|
|
|
108
108
|
(0, typeorm_1.Column)({ name: 'feedback_id' }),
|
|
109
109
|
__metadata("design:type", Number)
|
|
110
110
|
], Evaluations.prototype, "feedbackId", void 0);
|
|
111
|
+
__decorate([
|
|
112
|
+
(0, typeorm_1.Column)({ name: 'is_sale' }),
|
|
113
|
+
__metadata("design:type", String)
|
|
114
|
+
], Evaluations.prototype, "isSale", void 0);
|
|
111
115
|
__decorate([
|
|
112
116
|
(0, typeorm_1.ManyToOne)(() => usr_entity_1.Users),
|
|
113
117
|
(0, typeorm_1.JoinColumn)({ name: 'agent_id' }),
|
package/dist/entities/index.d.ts
CHANGED
|
@@ -66,7 +66,7 @@ export * from './outbound-ticket-history.entity';
|
|
|
66
66
|
export * from './ticket-queue.entity';
|
|
67
67
|
export * from './pending-ticket-history.entity';
|
|
68
68
|
export * from './dispute-request.entity';
|
|
69
|
-
export * from './raw
|
|
69
|
+
export * from './sap-raw.entity';
|
|
70
70
|
export * from './active-loads.entity';
|
|
71
71
|
export * from './daily-payment-status.entity';
|
|
72
72
|
export * from './skipped-ticket.entity';
|
|
@@ -78,8 +78,3 @@ export * from './p1-service-network.entity';
|
|
|
78
78
|
export * from './raw_roster.entity';
|
|
79
79
|
export * from './bp-alerts.entity';
|
|
80
80
|
export * from './feedback.entity';
|
|
81
|
-
export * from './raw-daily-pending.entity';
|
|
82
|
-
export * from './raw-enr-pending.entity';
|
|
83
|
-
export * from './vw-raw-daily-pending.view';
|
|
84
|
-
export * from './vw-raw-enr-pending.view';
|
|
85
|
-
export * from './vw-raw-sap.view';
|
package/dist/entities/index.js
CHANGED
|
@@ -82,7 +82,7 @@ __exportStar(require("./outbound-ticket-history.entity"), exports);
|
|
|
82
82
|
__exportStar(require("./ticket-queue.entity"), exports);
|
|
83
83
|
__exportStar(require("./pending-ticket-history.entity"), exports);
|
|
84
84
|
__exportStar(require("./dispute-request.entity"), exports);
|
|
85
|
-
__exportStar(require("./raw
|
|
85
|
+
__exportStar(require("./sap-raw.entity"), exports);
|
|
86
86
|
__exportStar(require("./active-loads.entity"), exports);
|
|
87
87
|
__exportStar(require("./daily-payment-status.entity"), exports);
|
|
88
88
|
__exportStar(require("./skipped-ticket.entity"), exports);
|
|
@@ -94,8 +94,3 @@ __exportStar(require("./p1-service-network.entity"), exports);
|
|
|
94
94
|
__exportStar(require("./raw_roster.entity"), exports);
|
|
95
95
|
__exportStar(require("./bp-alerts.entity"), exports);
|
|
96
96
|
__exportStar(require("./feedback.entity"), exports);
|
|
97
|
-
__exportStar(require("./raw-daily-pending.entity"), exports);
|
|
98
|
-
__exportStar(require("./raw-enr-pending.entity"), exports);
|
|
99
|
-
__exportStar(require("./vw-raw-daily-pending.view"), exports);
|
|
100
|
-
__exportStar(require("./vw-raw-enr-pending.view"), exports);
|
|
101
|
-
__exportStar(require("./vw-raw-sap.view"), exports);
|
|
@@ -151,5 +151,5 @@ __decorate([
|
|
|
151
151
|
__metadata("design:type", String)
|
|
152
152
|
], SapRaw.prototype, "text1", void 0);
|
|
153
153
|
exports.SapRaw = SapRaw = __decorate([
|
|
154
|
-
(0, typeorm_1.Entity)('raw_sap', { schema: '
|
|
154
|
+
(0, typeorm_1.Entity)('raw_sap', { schema: 'public' })
|
|
155
155
|
], SapRaw);
|
|
@@ -1,5 +1,2 @@
|
|
|
1
1
|
export declare const SHARED_DB_CONNECTION = "SHARED_DB_CONNECTION";
|
|
2
2
|
export declare const USER_ROSTER_REPOSITORY = "USER_ROSTER_REPOSITORY";
|
|
3
|
-
export declare const SAP_RAW_DAILY_PENDING_REPOSITORY = "SAP_RAW_DAILY_PENDING_REPOSITORY";
|
|
4
|
-
export declare const SAP_RAW_ENR_PENDING_REPOSITORY = "SAP_RAW_ENR_PENDING_REPOSITORY";
|
|
5
|
-
export declare const SAP_RAW_SAP_REPOSITORY = "SAP_RAW_SAP_REPOSITORY";
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.USER_ROSTER_REPOSITORY = exports.SHARED_DB_CONNECTION = void 0;
|
|
4
4
|
exports.SHARED_DB_CONNECTION = 'SHARED_DB_CONNECTION';
|
|
5
5
|
exports.USER_ROSTER_REPOSITORY = 'USER_ROSTER_REPOSITORY';
|
|
6
|
-
exports.SAP_RAW_DAILY_PENDING_REPOSITORY = 'SAP_RAW_DAILY_PENDING_REPOSITORY';
|
|
7
|
-
exports.SAP_RAW_ENR_PENDING_REPOSITORY = 'SAP_RAW_ENR_PENDING_REPOSITORY';
|
|
8
|
-
exports.SAP_RAW_SAP_REPOSITORY = 'SAP_RAW_SAP_REPOSITORY';
|
|
@@ -1,22 +1,7 @@
|
|
|
1
1
|
import { Connection } from 'typeorm';
|
|
2
2
|
import { VwUserRoster } from '../../entities/user-roster.view';
|
|
3
|
-
|
|
4
|
-
import { VwRawEnrPending } from '../../entities/vw-raw-enr-pending.view';
|
|
5
|
-
import { VwRawSap } from '../../entities/vw-raw-sap.view';
|
|
6
|
-
export declare const sharedDbRepositoriesProvider: ({
|
|
3
|
+
export declare const sharedDbRepositoriesProvider: {
|
|
7
4
|
provide: string;
|
|
8
5
|
inject: string[];
|
|
9
6
|
useFactory: (connection: Connection) => Promise<import("typeorm").Repository<VwUserRoster>>;
|
|
10
|
-
}
|
|
11
|
-
provide: string;
|
|
12
|
-
inject: string[];
|
|
13
|
-
useFactory: (connection: Connection) => Promise<import("typeorm").Repository<VwRawDailyPending>>;
|
|
14
|
-
} | {
|
|
15
|
-
provide: string;
|
|
16
|
-
inject: string[];
|
|
17
|
-
useFactory: (connection: Connection) => Promise<import("typeorm").Repository<VwRawEnrPending>>;
|
|
18
|
-
} | {
|
|
19
|
-
provide: string;
|
|
20
|
-
inject: string[];
|
|
21
|
-
useFactory: (connection: Connection) => Promise<import("typeorm").Repository<VwRawSap>>;
|
|
22
|
-
})[];
|
|
7
|
+
}[];
|
|
@@ -12,9 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.sharedDbRepositoriesProvider = void 0;
|
|
13
13
|
const constants_1 = require("./constants");
|
|
14
14
|
const user_roster_view_1 = require("../../entities/user-roster.view");
|
|
15
|
-
const vw_raw_daily_pending_view_1 = require("../../entities/vw-raw-daily-pending.view");
|
|
16
|
-
const vw_raw_enr_pending_view_1 = require("../../entities/vw-raw-enr-pending.view");
|
|
17
|
-
const vw_raw_sap_view_1 = require("../../entities/vw-raw-sap.view");
|
|
18
15
|
exports.sharedDbRepositoriesProvider = [
|
|
19
16
|
{
|
|
20
17
|
provide: constants_1.USER_ROSTER_REPOSITORY,
|
|
@@ -28,40 +25,4 @@ exports.sharedDbRepositoriesProvider = [
|
|
|
28
25
|
}
|
|
29
26
|
}),
|
|
30
27
|
},
|
|
31
|
-
{
|
|
32
|
-
provide: constants_1.SAP_RAW_DAILY_PENDING_REPOSITORY,
|
|
33
|
-
inject: [constants_1.SHARED_DB_CONNECTION],
|
|
34
|
-
useFactory: (connection) => __awaiter(void 0, void 0, void 0, function* () {
|
|
35
|
-
try {
|
|
36
|
-
return connection.getRepository(vw_raw_daily_pending_view_1.VwRawDailyPending);
|
|
37
|
-
}
|
|
38
|
-
catch (error) {
|
|
39
|
-
console.log('Unable to get VwRawDailyPending Repo');
|
|
40
|
-
}
|
|
41
|
-
}),
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
provide: constants_1.SAP_RAW_ENR_PENDING_REPOSITORY,
|
|
45
|
-
inject: [constants_1.SHARED_DB_CONNECTION],
|
|
46
|
-
useFactory: (connection) => __awaiter(void 0, void 0, void 0, function* () {
|
|
47
|
-
try {
|
|
48
|
-
return connection.getRepository(vw_raw_enr_pending_view_1.VwRawEnrPending);
|
|
49
|
-
}
|
|
50
|
-
catch (error) {
|
|
51
|
-
console.log('Unable to get VwRawEnrPending Repo');
|
|
52
|
-
}
|
|
53
|
-
}),
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
provide: constants_1.SAP_RAW_SAP_REPOSITORY,
|
|
57
|
-
inject: [constants_1.SHARED_DB_CONNECTION],
|
|
58
|
-
useFactory: (connection) => __awaiter(void 0, void 0, void 0, function* () {
|
|
59
|
-
try {
|
|
60
|
-
return connection.getRepository(vw_raw_sap_view_1.VwRawSap);
|
|
61
|
-
}
|
|
62
|
-
catch (error) {
|
|
63
|
-
console.log('Unable to get VwRawSap Repo');
|
|
64
|
-
}
|
|
65
|
-
}),
|
|
66
|
-
},
|
|
67
28
|
];
|
package/package.json
CHANGED
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@uniorganization/uni-lib",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "UNI Library",
|
|
5
|
-
"author": "Jhomiguel",
|
|
6
|
-
"main": "dist/index.js",
|
|
7
|
-
"types": "dist/index.d.ts",
|
|
8
|
-
"files": [
|
|
9
|
-
"dist/**/*",
|
|
10
|
-
"*.md"
|
|
11
|
-
],
|
|
12
|
-
"scripts": {
|
|
13
|
-
"start:dev": "tsc -w",
|
|
14
|
-
"build": "tsc",
|
|
15
|
-
"prepare": "npm run build",
|
|
16
|
-
"format": "prettier --write \"src/**/*.ts\"",
|
|
17
|
-
"lint": "tslint -p tsconfig.json -c tslint.json",
|
|
18
|
-
"test": "jest",
|
|
19
|
-
"test:watch": "jest --watch",
|
|
20
|
-
"test:cov": "jest --coverage",
|
|
21
|
-
"test:e2e": "jest --config ./test/jest-e2e.json"
|
|
22
|
-
},
|
|
23
|
-
"dependencies": {
|
|
24
|
-
"@nestjs/axios": "3.0.3",
|
|
25
|
-
"@nestjs/jwt": "^10.2.0",
|
|
26
|
-
"@nestjs/common": "^10.4.1",
|
|
27
|
-
"@nestjs/core": "^10.4.1",
|
|
28
|
-
"@nestjs/passport": "^10.0.3",
|
|
29
|
-
"@nestjs/swagger": "^7.4.0",
|
|
30
|
-
"csvtojson": "^2.0.10",
|
|
31
|
-
"passport": "^0.7.0",
|
|
32
|
-
"passport-jwt": "^4.0.1",
|
|
33
|
-
"rxjs": "^7.8.1",
|
|
34
|
-
"swagger-ui-express": "^5.0.1",
|
|
35
|
-
"typeorm": "^0.3.20"
|
|
36
|
-
},
|
|
37
|
-
"devDependencies": {
|
|
38
|
-
"@nestjs/cli": "^10.4.5",
|
|
39
|
-
"@nestjs/platform-express": "^10.4.1",
|
|
40
|
-
"@nestjs/testing": "^10.4.1",
|
|
41
|
-
"@nestjs/typeorm": "^10.0.2",
|
|
42
|
-
"@types/express": "4.17.21",
|
|
43
|
-
"@types/jest": "^29.5.12",
|
|
44
|
-
"@types/node": "^22.5.4",
|
|
45
|
-
"@types/passport-jwt": "^4.0.1",
|
|
46
|
-
"@types/supertest": "^6.0.2",
|
|
47
|
-
"jest": "^29.7.0",
|
|
48
|
-
"prettier": "^3.3.3",
|
|
49
|
-
"supertest": "^7.0.0",
|
|
50
|
-
"ts-jest": "^29.2.5",
|
|
51
|
-
"ts-loader": "^9.5.1",
|
|
52
|
-
"ts-node": "^10.9.2",
|
|
53
|
-
"tsconfig-paths": "^4.2.0",
|
|
54
|
-
"tslint": "6.1.3",
|
|
55
|
-
"typescript": "^5.5.4"
|
|
56
|
-
},
|
|
57
|
-
"jest": {
|
|
58
|
-
"moduleFileExtensions": [
|
|
59
|
-
"js",
|
|
60
|
-
"json",
|
|
61
|
-
"ts"
|
|
62
|
-
],
|
|
63
|
-
"rootDir": "src",
|
|
64
|
-
"testRegex": ".spec.ts$",
|
|
65
|
-
"transform": {
|
|
66
|
-
"^.+\\.(t|j)s$": "ts-jest"
|
|
67
|
-
},
|
|
68
|
-
"coverageDirectory": "../coverage",
|
|
69
|
-
"testEnvironment": "node"
|
|
70
|
-
}
|
|
71
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@uniorganization/uni-lib",
|
|
3
|
+
"version": "3.0.0",
|
|
4
|
+
"description": "UNI Library",
|
|
5
|
+
"author": "Jhomiguel",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist/**/*",
|
|
10
|
+
"*.md"
|
|
11
|
+
],
|
|
12
|
+
"scripts": {
|
|
13
|
+
"start:dev": "tsc -w",
|
|
14
|
+
"build": "tsc",
|
|
15
|
+
"prepare": "npm run build",
|
|
16
|
+
"format": "prettier --write \"src/**/*.ts\"",
|
|
17
|
+
"lint": "tslint -p tsconfig.json -c tslint.json",
|
|
18
|
+
"test": "jest",
|
|
19
|
+
"test:watch": "jest --watch",
|
|
20
|
+
"test:cov": "jest --coverage",
|
|
21
|
+
"test:e2e": "jest --config ./test/jest-e2e.json"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"@nestjs/axios": "3.0.3",
|
|
25
|
+
"@nestjs/jwt": "^10.2.0",
|
|
26
|
+
"@nestjs/common": "^10.4.1",
|
|
27
|
+
"@nestjs/core": "^10.4.1",
|
|
28
|
+
"@nestjs/passport": "^10.0.3",
|
|
29
|
+
"@nestjs/swagger": "^7.4.0",
|
|
30
|
+
"csvtojson": "^2.0.10",
|
|
31
|
+
"passport": "^0.7.0",
|
|
32
|
+
"passport-jwt": "^4.0.1",
|
|
33
|
+
"rxjs": "^7.8.1",
|
|
34
|
+
"swagger-ui-express": "^5.0.1",
|
|
35
|
+
"typeorm": "^0.3.20"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@nestjs/cli": "^10.4.5",
|
|
39
|
+
"@nestjs/platform-express": "^10.4.1",
|
|
40
|
+
"@nestjs/testing": "^10.4.1",
|
|
41
|
+
"@nestjs/typeorm": "^10.0.2",
|
|
42
|
+
"@types/express": "4.17.21",
|
|
43
|
+
"@types/jest": "^29.5.12",
|
|
44
|
+
"@types/node": "^22.5.4",
|
|
45
|
+
"@types/passport-jwt": "^4.0.1",
|
|
46
|
+
"@types/supertest": "^6.0.2",
|
|
47
|
+
"jest": "^29.7.0",
|
|
48
|
+
"prettier": "^3.3.3",
|
|
49
|
+
"supertest": "^7.0.0",
|
|
50
|
+
"ts-jest": "^29.2.5",
|
|
51
|
+
"ts-loader": "^9.5.1",
|
|
52
|
+
"ts-node": "^10.9.2",
|
|
53
|
+
"tsconfig-paths": "^4.2.0",
|
|
54
|
+
"tslint": "6.1.3",
|
|
55
|
+
"typescript": "^5.5.4"
|
|
56
|
+
},
|
|
57
|
+
"jest": {
|
|
58
|
+
"moduleFileExtensions": [
|
|
59
|
+
"js",
|
|
60
|
+
"json",
|
|
61
|
+
"ts"
|
|
62
|
+
],
|
|
63
|
+
"rootDir": "src",
|
|
64
|
+
"testRegex": ".spec.ts$",
|
|
65
|
+
"transform": {
|
|
66
|
+
"^.+\\.(t|j)s$": "ts-jest"
|
|
67
|
+
},
|
|
68
|
+
"coverageDirectory": "../coverage",
|
|
69
|
+
"testEnvironment": "node"
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
export declare class RawDailyPending {
|
|
2
|
-
index: number;
|
|
3
|
-
fileDate: Date;
|
|
4
|
-
period: string;
|
|
5
|
-
epp: string;
|
|
6
|
-
transactionId: number;
|
|
7
|
-
pendingTat: number;
|
|
8
|
-
assignAging: string;
|
|
9
|
-
reasonAging: string;
|
|
10
|
-
sapCreatedId: string;
|
|
11
|
-
postingDate: Date;
|
|
12
|
-
firstAscAssignDate: string;
|
|
13
|
-
acknowledgeDate: string;
|
|
14
|
-
ascAssignedDate: string;
|
|
15
|
-
cc1stApptDate: string;
|
|
16
|
-
firstApptDateAsc: string;
|
|
17
|
-
ascLastAppt: string;
|
|
18
|
-
scheduleWithin: string;
|
|
19
|
-
partsStatus: string;
|
|
20
|
-
hassModels: string;
|
|
21
|
-
centerType: string;
|
|
22
|
-
nAscRsm2015: string;
|
|
23
|
-
serviceCenter: string;
|
|
24
|
-
serviceCenter1: string;
|
|
25
|
-
nHq8ProductGro: string;
|
|
26
|
-
productCategory: string;
|
|
27
|
-
localServiceProduct: string;
|
|
28
|
-
localServiceProduct2: string;
|
|
29
|
-
serviceModel: string;
|
|
30
|
-
serialNumber: string;
|
|
31
|
-
responsiblePerson: string;
|
|
32
|
-
customerRegion: string;
|
|
33
|
-
customerZipCode: string;
|
|
34
|
-
cbsaName: string;
|
|
35
|
-
nCustomerTelNo: string;
|
|
36
|
-
scsiCoverage: string;
|
|
37
|
-
redoTicketNoGcic: string;
|
|
38
|
-
inOutWarrantyIndicator: string;
|
|
39
|
-
statusReason: string;
|
|
40
|
-
serviceType: string;
|
|
41
|
-
symptomCode2: string;
|
|
42
|
-
symptomCode3: string;
|
|
43
|
-
symptomCode4: string;
|
|
44
|
-
dataOriginInboundOutbound: string;
|
|
45
|
-
serviceEngineer: string;
|
|
46
|
-
techId: string;
|
|
47
|
-
nContactRegion: string;
|
|
48
|
-
nContactRegion3: string;
|
|
49
|
-
placeOfPurchase: string;
|
|
50
|
-
wtyExceptionCode: string;
|
|
51
|
-
actualTRCount: string;
|
|
52
|
-
sStatus: string;
|
|
53
|
-
customer: string;
|
|
54
|
-
status: string;
|
|
55
|
-
extraField: string;
|
|
56
|
-
symptomCode1: string;
|
|
57
|
-
}
|
|
@@ -1,245 +0,0 @@
|
|
|
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.RawDailyPending = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
let RawDailyPending = class RawDailyPending {
|
|
15
|
-
};
|
|
16
|
-
exports.RawDailyPending = RawDailyPending;
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, typeorm_1.PrimaryColumn)({ name: 'index', type: 'numeric', precision: 50 }),
|
|
19
|
-
__metadata("design:type", Number)
|
|
20
|
-
], RawDailyPending.prototype, "index", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, typeorm_1.Column)({ name: 'file_date', type: 'date', nullable: true }),
|
|
23
|
-
__metadata("design:type", Date)
|
|
24
|
-
], RawDailyPending.prototype, "fileDate", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, typeorm_1.Column)({ name: 'period', type: 'text', nullable: true }),
|
|
27
|
-
__metadata("design:type", String)
|
|
28
|
-
], RawDailyPending.prototype, "period", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
(0, typeorm_1.Column)({ name: 'epp', type: 'text', nullable: true }),
|
|
31
|
-
__metadata("design:type", String)
|
|
32
|
-
], RawDailyPending.prototype, "epp", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
(0, typeorm_1.Column)({ name: 'transaction_id', type: 'numeric', precision: 25, nullable: true }),
|
|
35
|
-
__metadata("design:type", Number)
|
|
36
|
-
], RawDailyPending.prototype, "transactionId", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, typeorm_1.Column)({ name: 'pending_tat', type: 'numeric', nullable: true }),
|
|
39
|
-
__metadata("design:type", Number)
|
|
40
|
-
], RawDailyPending.prototype, "pendingTat", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
(0, typeorm_1.Column)({ name: 'assign_aging', type: 'text', nullable: true }),
|
|
43
|
-
__metadata("design:type", String)
|
|
44
|
-
], RawDailyPending.prototype, "assignAging", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
(0, typeorm_1.Column)({ name: 'reason_aging', type: 'text', nullable: true }),
|
|
47
|
-
__metadata("design:type", String)
|
|
48
|
-
], RawDailyPending.prototype, "reasonAging", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
(0, typeorm_1.Column)({ name: 'sap_created_id', type: 'text', nullable: true }),
|
|
51
|
-
__metadata("design:type", String)
|
|
52
|
-
], RawDailyPending.prototype, "sapCreatedId", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
(0, typeorm_1.Column)({ name: 'posting_date', type: 'date', nullable: true }),
|
|
55
|
-
__metadata("design:type", Date)
|
|
56
|
-
], RawDailyPending.prototype, "postingDate", void 0);
|
|
57
|
-
__decorate([
|
|
58
|
-
(0, typeorm_1.Column)({ name: 'first_asc_assign_date', type: 'text', nullable: true }),
|
|
59
|
-
__metadata("design:type", String)
|
|
60
|
-
], RawDailyPending.prototype, "firstAscAssignDate", void 0);
|
|
61
|
-
__decorate([
|
|
62
|
-
(0, typeorm_1.Column)({ name: 'acknowledge_date', type: 'text', nullable: true }),
|
|
63
|
-
__metadata("design:type", String)
|
|
64
|
-
], RawDailyPending.prototype, "acknowledgeDate", void 0);
|
|
65
|
-
__decorate([
|
|
66
|
-
(0, typeorm_1.Column)({ name: 'asc_assigned_date', type: 'text', nullable: true }),
|
|
67
|
-
__metadata("design:type", String)
|
|
68
|
-
], RawDailyPending.prototype, "ascAssignedDate", void 0);
|
|
69
|
-
__decorate([
|
|
70
|
-
(0, typeorm_1.Column)({ name: 'cc_1st_appt_date', type: 'text', nullable: true }),
|
|
71
|
-
__metadata("design:type", String)
|
|
72
|
-
], RawDailyPending.prototype, "cc1stApptDate", void 0);
|
|
73
|
-
__decorate([
|
|
74
|
-
(0, typeorm_1.Column)({ name: '1st_appt_date_asc', type: 'text', nullable: true }),
|
|
75
|
-
__metadata("design:type", String)
|
|
76
|
-
], RawDailyPending.prototype, "firstApptDateAsc", void 0);
|
|
77
|
-
__decorate([
|
|
78
|
-
(0, typeorm_1.Column)({ name: 'asc_last_appt', type: 'text', nullable: true }),
|
|
79
|
-
__metadata("design:type", String)
|
|
80
|
-
], RawDailyPending.prototype, "ascLastAppt", void 0);
|
|
81
|
-
__decorate([
|
|
82
|
-
(0, typeorm_1.Column)({ name: 'schedule_within', type: 'text', nullable: true }),
|
|
83
|
-
__metadata("design:type", String)
|
|
84
|
-
], RawDailyPending.prototype, "scheduleWithin", void 0);
|
|
85
|
-
__decorate([
|
|
86
|
-
(0, typeorm_1.Column)({ name: 'parts_status', type: 'text', nullable: true }),
|
|
87
|
-
__metadata("design:type", String)
|
|
88
|
-
], RawDailyPending.prototype, "partsStatus", void 0);
|
|
89
|
-
__decorate([
|
|
90
|
-
(0, typeorm_1.Column)({ name: 'hass_models', type: 'text', nullable: true }),
|
|
91
|
-
__metadata("design:type", String)
|
|
92
|
-
], RawDailyPending.prototype, "hassModels", void 0);
|
|
93
|
-
__decorate([
|
|
94
|
-
(0, typeorm_1.Column)({ name: 'center_type', type: 'text', nullable: true }),
|
|
95
|
-
__metadata("design:type", String)
|
|
96
|
-
], RawDailyPending.prototype, "centerType", void 0);
|
|
97
|
-
__decorate([
|
|
98
|
-
(0, typeorm_1.Column)({ name: 'n_asc_rsm_2015', type: 'text', nullable: true }),
|
|
99
|
-
__metadata("design:type", String)
|
|
100
|
-
], RawDailyPending.prototype, "nAscRsm2015", void 0);
|
|
101
|
-
__decorate([
|
|
102
|
-
(0, typeorm_1.Column)({ name: 'service_center', type: 'text', nullable: true }),
|
|
103
|
-
__metadata("design:type", String)
|
|
104
|
-
], RawDailyPending.prototype, "serviceCenter", void 0);
|
|
105
|
-
__decorate([
|
|
106
|
-
(0, typeorm_1.Column)({ name: 'service_center_1', type: 'text', nullable: true }),
|
|
107
|
-
__metadata("design:type", String)
|
|
108
|
-
], RawDailyPending.prototype, "serviceCenter1", void 0);
|
|
109
|
-
__decorate([
|
|
110
|
-
(0, typeorm_1.Column)({ name: 'n_hq_8_product_gro', type: 'text', nullable: true }),
|
|
111
|
-
__metadata("design:type", String)
|
|
112
|
-
], RawDailyPending.prototype, "nHq8ProductGro", void 0);
|
|
113
|
-
__decorate([
|
|
114
|
-
(0, typeorm_1.Column)({ name: 'product_category', type: 'text', nullable: true }),
|
|
115
|
-
__metadata("design:type", String)
|
|
116
|
-
], RawDailyPending.prototype, "productCategory", void 0);
|
|
117
|
-
__decorate([
|
|
118
|
-
(0, typeorm_1.Column)({ name: 'local_service_product', type: 'text', nullable: true }),
|
|
119
|
-
__metadata("design:type", String)
|
|
120
|
-
], RawDailyPending.prototype, "localServiceProduct", void 0);
|
|
121
|
-
__decorate([
|
|
122
|
-
(0, typeorm_1.Column)({ name: 'local_service_product_2', type: 'text', nullable: true }),
|
|
123
|
-
__metadata("design:type", String)
|
|
124
|
-
], RawDailyPending.prototype, "localServiceProduct2", void 0);
|
|
125
|
-
__decorate([
|
|
126
|
-
(0, typeorm_1.Column)({ name: 'service_model', type: 'text', nullable: true }),
|
|
127
|
-
__metadata("design:type", String)
|
|
128
|
-
], RawDailyPending.prototype, "serviceModel", void 0);
|
|
129
|
-
__decorate([
|
|
130
|
-
(0, typeorm_1.Column)({ name: 'serial_number', type: 'text', nullable: true }),
|
|
131
|
-
__metadata("design:type", String)
|
|
132
|
-
], RawDailyPending.prototype, "serialNumber", void 0);
|
|
133
|
-
__decorate([
|
|
134
|
-
(0, typeorm_1.Column)({ name: 'responsible_person', type: 'text', nullable: true }),
|
|
135
|
-
__metadata("design:type", String)
|
|
136
|
-
], RawDailyPending.prototype, "responsiblePerson", void 0);
|
|
137
|
-
__decorate([
|
|
138
|
-
(0, typeorm_1.Column)({ name: 'customer_region', type: 'text', nullable: true }),
|
|
139
|
-
__metadata("design:type", String)
|
|
140
|
-
], RawDailyPending.prototype, "customerRegion", void 0);
|
|
141
|
-
__decorate([
|
|
142
|
-
(0, typeorm_1.Column)({ name: 'customer_zip_code', type: 'text', nullable: true }),
|
|
143
|
-
__metadata("design:type", String)
|
|
144
|
-
], RawDailyPending.prototype, "customerZipCode", void 0);
|
|
145
|
-
__decorate([
|
|
146
|
-
(0, typeorm_1.Column)({ name: 'cbsa_name', type: 'text', nullable: true }),
|
|
147
|
-
__metadata("design:type", String)
|
|
148
|
-
], RawDailyPending.prototype, "cbsaName", void 0);
|
|
149
|
-
__decorate([
|
|
150
|
-
(0, typeorm_1.Column)({ name: 'n_customer_tel_no', type: 'text', nullable: true }),
|
|
151
|
-
__metadata("design:type", String)
|
|
152
|
-
], RawDailyPending.prototype, "nCustomerTelNo", void 0);
|
|
153
|
-
__decorate([
|
|
154
|
-
(0, typeorm_1.Column)({ name: 'scsi_coverage', type: 'text', nullable: true }),
|
|
155
|
-
__metadata("design:type", String)
|
|
156
|
-
], RawDailyPending.prototype, "scsiCoverage", void 0);
|
|
157
|
-
__decorate([
|
|
158
|
-
(0, typeorm_1.Column)({ name: 'redo_ticket_no_gcic', type: 'text', nullable: true }),
|
|
159
|
-
__metadata("design:type", String)
|
|
160
|
-
], RawDailyPending.prototype, "redoTicketNoGcic", void 0);
|
|
161
|
-
__decorate([
|
|
162
|
-
(0, typeorm_1.Column)({ name: 'in_out_warranty_indicator', type: 'text', nullable: true }),
|
|
163
|
-
__metadata("design:type", String)
|
|
164
|
-
], RawDailyPending.prototype, "inOutWarrantyIndicator", void 0);
|
|
165
|
-
__decorate([
|
|
166
|
-
(0, typeorm_1.Column)({ name: 'status_reason', type: 'text', nullable: true }),
|
|
167
|
-
__metadata("design:type", String)
|
|
168
|
-
], RawDailyPending.prototype, "statusReason", void 0);
|
|
169
|
-
__decorate([
|
|
170
|
-
(0, typeorm_1.Column)({ name: 'service_type', type: 'text', nullable: true }),
|
|
171
|
-
__metadata("design:type", String)
|
|
172
|
-
], RawDailyPending.prototype, "serviceType", void 0);
|
|
173
|
-
__decorate([
|
|
174
|
-
(0, typeorm_1.Column)({ name: 'symptom_code_2', type: 'text', nullable: true }),
|
|
175
|
-
__metadata("design:type", String)
|
|
176
|
-
], RawDailyPending.prototype, "symptomCode2", void 0);
|
|
177
|
-
__decorate([
|
|
178
|
-
(0, typeorm_1.Column)({ name: 'symptom_code_3', type: 'text', nullable: true }),
|
|
179
|
-
__metadata("design:type", String)
|
|
180
|
-
], RawDailyPending.prototype, "symptomCode3", void 0);
|
|
181
|
-
__decorate([
|
|
182
|
-
(0, typeorm_1.Column)({ name: 'symptom_code_4', type: 'text', nullable: true }),
|
|
183
|
-
__metadata("design:type", String)
|
|
184
|
-
], RawDailyPending.prototype, "symptomCode4", void 0);
|
|
185
|
-
__decorate([
|
|
186
|
-
(0, typeorm_1.Column)({ name: 'data_origin_inbound_outbound', type: 'text', nullable: true }),
|
|
187
|
-
__metadata("design:type", String)
|
|
188
|
-
], RawDailyPending.prototype, "dataOriginInboundOutbound", void 0);
|
|
189
|
-
__decorate([
|
|
190
|
-
(0, typeorm_1.Column)({ name: 'service_engineer', type: 'text', nullable: true }),
|
|
191
|
-
__metadata("design:type", String)
|
|
192
|
-
], RawDailyPending.prototype, "serviceEngineer", void 0);
|
|
193
|
-
__decorate([
|
|
194
|
-
(0, typeorm_1.Column)({ name: 'tech_id', type: 'text', nullable: true }),
|
|
195
|
-
__metadata("design:type", String)
|
|
196
|
-
], RawDailyPending.prototype, "techId", void 0);
|
|
197
|
-
__decorate([
|
|
198
|
-
(0, typeorm_1.Column)({ name: 'n_contact_region', type: 'text', nullable: true }),
|
|
199
|
-
__metadata("design:type", String)
|
|
200
|
-
], RawDailyPending.prototype, "nContactRegion", void 0);
|
|
201
|
-
__decorate([
|
|
202
|
-
(0, typeorm_1.Column)({ name: 'n_contact_region_3', type: 'text', nullable: true }),
|
|
203
|
-
__metadata("design:type", String)
|
|
204
|
-
], RawDailyPending.prototype, "nContactRegion3", void 0);
|
|
205
|
-
__decorate([
|
|
206
|
-
(0, typeorm_1.Column)({ name: 'place_of_purchase', type: 'text', nullable: true }),
|
|
207
|
-
__metadata("design:type", String)
|
|
208
|
-
], RawDailyPending.prototype, "placeOfPurchase", void 0);
|
|
209
|
-
__decorate([
|
|
210
|
-
(0, typeorm_1.Column)({ name: 'wty_exception_code', type: 'text', nullable: true }),
|
|
211
|
-
__metadata("design:type", String)
|
|
212
|
-
], RawDailyPending.prototype, "wtyExceptionCode", void 0);
|
|
213
|
-
__decorate([
|
|
214
|
-
(0, typeorm_1.Column)({ name: 'actual_t_r_count', type: 'text', nullable: true }),
|
|
215
|
-
__metadata("design:type", String)
|
|
216
|
-
], RawDailyPending.prototype, "actualTRCount", void 0);
|
|
217
|
-
__decorate([
|
|
218
|
-
(0, typeorm_1.Column)({ name: 's_status', type: 'text', nullable: true }),
|
|
219
|
-
__metadata("design:type", String)
|
|
220
|
-
], RawDailyPending.prototype, "sStatus", void 0);
|
|
221
|
-
__decorate([
|
|
222
|
-
(0, typeorm_1.Column)({ name: 'customer', type: 'text', nullable: true }),
|
|
223
|
-
__metadata("design:type", String)
|
|
224
|
-
], RawDailyPending.prototype, "customer", void 0);
|
|
225
|
-
__decorate([
|
|
226
|
-
(0, typeorm_1.Column)({ name: 'status', type: 'text', nullable: true }),
|
|
227
|
-
__metadata("design:type", String)
|
|
228
|
-
], RawDailyPending.prototype, "status", void 0);
|
|
229
|
-
__decorate([
|
|
230
|
-
(0, typeorm_1.Column)({ name: 'extra_field', type: 'varchar', length: 1, nullable: true }),
|
|
231
|
-
__metadata("design:type", String)
|
|
232
|
-
], RawDailyPending.prototype, "extraField", void 0);
|
|
233
|
-
__decorate([
|
|
234
|
-
(0, typeorm_1.Column)({ name: 'symptom_code_1', type: 'text', nullable: true }),
|
|
235
|
-
__metadata("design:type", String)
|
|
236
|
-
], RawDailyPending.prototype, "symptomCode1", void 0);
|
|
237
|
-
exports.RawDailyPending = RawDailyPending = __decorate([
|
|
238
|
-
(0, typeorm_1.Entity)('raw_daily_pending', { schema: 'stm' }),
|
|
239
|
-
(0, typeorm_1.Index)('raw_daily_pending_file_date_idx', ['fileDate']),
|
|
240
|
-
(0, typeorm_1.Index)('raw_daily_pending_posting_date_idx', ['postingDate']),
|
|
241
|
-
(0, typeorm_1.Index)('raw_daily_pending_sap_created_id_idx', ['sapCreatedId']),
|
|
242
|
-
(0, typeorm_1.Index)('raw_daily_pending_service_center_1_idx', ['serviceCenter1']),
|
|
243
|
-
(0, typeorm_1.Index)('raw_daily_pending_service_center_idx', ['serviceCenter']),
|
|
244
|
-
(0, typeorm_1.Index)('raw_daily_pending_transaction_id_idx', ['transactionId'])
|
|
245
|
-
], RawDailyPending);
|