@uniorganization/uni-lib 4.0.12 → 4.0.13

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.
@@ -3,17 +3,33 @@ import { ServiceCenterPhoneEntity } from './service-center-phone.entity';
3
3
  export declare class ServiceCenterEntity {
4
4
  id: number;
5
5
  servicerAccount: string;
6
+ useFlag: string;
7
+ system: string;
6
8
  servicerName: string;
9
+ contact: string;
7
10
  address: string;
8
11
  city: string;
9
12
  county: string;
10
13
  state: string;
11
14
  zipCode: string;
12
15
  country: string;
16
+ servicerType: string;
13
17
  active: boolean;
18
+ eligible: boolean;
19
+ locatingFlag: boolean;
20
+ autoAcceptanceFlag: boolean;
21
+ partsManagementProgramFlag: boolean;
22
+ zipcodeCoverage: boolean;
23
+ brandCoverage: boolean;
24
+ productCoverage: boolean;
25
+ overwriteCutOffTime: string;
26
+ excludeServicerFromEmail: boolean;
27
+ notesNotificationEmail: string;
28
+ classification: string;
14
29
  fax: string;
15
30
  email: string;
16
31
  lgScore: number;
32
+ profileIndicator: string;
17
33
  isAuthorized: boolean;
18
34
  overallReviewScore: number;
19
35
  totalReviews: number;
@@ -25,10 +25,22 @@ __decorate([
25
25
  (0, typeorm_1.Column)({ name: 'servicer_account', type: 'varchar', nullable: false }),
26
26
  __metadata("design:type", String)
27
27
  ], ServiceCenterEntity.prototype, "servicerAccount", void 0);
28
+ __decorate([
29
+ (0, typeorm_1.Column)({ name: 'use_flag', type: 'varchar', nullable: true, select: false }),
30
+ __metadata("design:type", String)
31
+ ], ServiceCenterEntity.prototype, "useFlag", void 0);
32
+ __decorate([
33
+ (0, typeorm_1.Column)({ name: 'system', type: 'varchar', nullable: true }),
34
+ __metadata("design:type", String)
35
+ ], ServiceCenterEntity.prototype, "system", void 0);
28
36
  __decorate([
29
37
  (0, typeorm_1.Column)({ name: 'servicer_name', type: 'varchar', nullable: true }),
30
38
  __metadata("design:type", String)
31
39
  ], ServiceCenterEntity.prototype, "servicerName", void 0);
40
+ __decorate([
41
+ (0, typeorm_1.Column)({ name: 'contact', type: 'varchar', nullable: true, select: false }),
42
+ __metadata("design:type", String)
43
+ ], ServiceCenterEntity.prototype, "contact", void 0);
32
44
  __decorate([
33
45
  (0, typeorm_1.Column)({ name: 'address', type: 'varchar', nullable: true }),
34
46
  __metadata("design:type", String)
@@ -53,10 +65,58 @@ __decorate([
53
65
  (0, typeorm_1.Column)({ name: 'country', type: 'varchar', nullable: true }),
54
66
  __metadata("design:type", String)
55
67
  ], ServiceCenterEntity.prototype, "country", void 0);
68
+ __decorate([
69
+ (0, typeorm_1.Column)({ name: 'servicer_type', type: 'varchar', nullable: true, select: false }),
70
+ __metadata("design:type", String)
71
+ ], ServiceCenterEntity.prototype, "servicerType", void 0);
56
72
  __decorate([
57
73
  (0, typeorm_1.Column)({ name: 'active', type: 'boolean', default: true }),
58
74
  __metadata("design:type", Boolean)
59
75
  ], ServiceCenterEntity.prototype, "active", void 0);
76
+ __decorate([
77
+ (0, typeorm_1.Column)({ name: 'eligible', type: 'boolean', nullable: true, select: false }),
78
+ __metadata("design:type", Boolean)
79
+ ], ServiceCenterEntity.prototype, "eligible", void 0);
80
+ __decorate([
81
+ (0, typeorm_1.Column)({ name: 'locating_flag', type: 'boolean', nullable: true, select: false }),
82
+ __metadata("design:type", Boolean)
83
+ ], ServiceCenterEntity.prototype, "locatingFlag", void 0);
84
+ __decorate([
85
+ (0, typeorm_1.Column)({ name: 'auto_acceptance_flag', type: 'boolean', nullable: true, select: false }),
86
+ __metadata("design:type", Boolean)
87
+ ], ServiceCenterEntity.prototype, "autoAcceptanceFlag", void 0);
88
+ __decorate([
89
+ (0, typeorm_1.Column)({ name: 'parts_management_program_flag', type: 'boolean', nullable: true, select: false }),
90
+ __metadata("design:type", Boolean)
91
+ ], ServiceCenterEntity.prototype, "partsManagementProgramFlag", void 0);
92
+ __decorate([
93
+ (0, typeorm_1.Column)({ name: 'zipcode_coverage', type: 'boolean', nullable: true, select: false }),
94
+ __metadata("design:type", Boolean)
95
+ ], ServiceCenterEntity.prototype, "zipcodeCoverage", void 0);
96
+ __decorate([
97
+ (0, typeorm_1.Column)({ name: 'brand_coverage', type: 'boolean', nullable: true, select: false }),
98
+ __metadata("design:type", Boolean)
99
+ ], ServiceCenterEntity.prototype, "brandCoverage", void 0);
100
+ __decorate([
101
+ (0, typeorm_1.Column)({ name: 'product_coverage', type: 'boolean', nullable: true, select: false }),
102
+ __metadata("design:type", Boolean)
103
+ ], ServiceCenterEntity.prototype, "productCoverage", void 0);
104
+ __decorate([
105
+ (0, typeorm_1.Column)({ name: 'overwrite_cut_off_time', type: 'varchar', nullable: true, select: false }),
106
+ __metadata("design:type", String)
107
+ ], ServiceCenterEntity.prototype, "overwriteCutOffTime", void 0);
108
+ __decorate([
109
+ (0, typeorm_1.Column)({ name: 'exclude_servicer_from_email', type: 'boolean', nullable: true, select: false }),
110
+ __metadata("design:type", Boolean)
111
+ ], ServiceCenterEntity.prototype, "excludeServicerFromEmail", void 0);
112
+ __decorate([
113
+ (0, typeorm_1.Column)({ name: 'notes_notification_email', type: 'varchar', nullable: true, select: false }),
114
+ __metadata("design:type", String)
115
+ ], ServiceCenterEntity.prototype, "notesNotificationEmail", void 0);
116
+ __decorate([
117
+ (0, typeorm_1.Column)({ name: 'classification', type: 'varchar', nullable: true, select: false }),
118
+ __metadata("design:type", String)
119
+ ], ServiceCenterEntity.prototype, "classification", void 0);
60
120
  __decorate([
61
121
  (0, typeorm_1.Column)({ name: 'fax', type: 'varchar', nullable: true }),
62
122
  __metadata("design:type", String)
@@ -69,6 +129,10 @@ __decorate([
69
129
  (0, typeorm_1.Column)({ name: 'lg_score', type: 'integer', nullable: true }),
70
130
  __metadata("design:type", Number)
71
131
  ], ServiceCenterEntity.prototype, "lgScore", void 0);
132
+ __decorate([
133
+ (0, typeorm_1.Column)({ name: 'profile_indicator', type: 'varchar', nullable: true, select: false }),
134
+ __metadata("design:type", String)
135
+ ], ServiceCenterEntity.prototype, "profileIndicator", void 0);
72
136
  __decorate([
73
137
  (0, typeorm_1.Column)({ name: 'is_authorized', type: 'boolean', default: false }),
74
138
  __metadata("design:type", Boolean)
package/package.json CHANGED
@@ -1,71 +1,71 @@
1
- {
2
- "name": "@uniorganization/uni-lib",
3
- "version": "4.0.12",
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": "4.0.13",
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,30 +0,0 @@
1
- export declare class ServicerEntity {
2
- id: number;
3
- servicerAccount: string;
4
- servicerName: string;
5
- contact: string;
6
- address: string;
7
- city: string;
8
- county: string;
9
- state: string;
10
- zipCode: string;
11
- country: string;
12
- servicerType: string;
13
- active: string;
14
- eligible: string;
15
- locatingFlag: string;
16
- autoAcceptanceFlag: string;
17
- partsManagementProgramFlag: string;
18
- zipcodeCoverage: string;
19
- brandCoverage: string;
20
- productCoverage: string;
21
- overwriteCutOffTime: string;
22
- excludeServicerFromEmail: string;
23
- notesNotificationEmail: string;
24
- classification: string;
25
- phone: string;
26
- fax: string;
27
- email: string;
28
- lgScore: number;
29
- profileIndicator: string;
30
- }
@@ -1,132 +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.ServicerEntity = void 0;
13
- const typeorm_1 = require("typeorm");
14
- let ServicerEntity = class ServicerEntity {
15
- };
16
- exports.ServicerEntity = ServicerEntity;
17
- __decorate([
18
- (0, typeorm_1.PrimaryGeneratedColumn)(),
19
- __metadata("design:type", Number)
20
- ], ServicerEntity.prototype, "id", void 0);
21
- __decorate([
22
- (0, typeorm_1.Index)({ unique: true }),
23
- (0, typeorm_1.Column)({ name: 'servicer_account', type: 'varchar', nullable: false }),
24
- __metadata("design:type", String)
25
- ], ServicerEntity.prototype, "servicerAccount", void 0);
26
- __decorate([
27
- (0, typeorm_1.Column)({ name: 'servicer_name', type: 'varchar', nullable: true }),
28
- __metadata("design:type", String)
29
- ], ServicerEntity.prototype, "servicerName", void 0);
30
- __decorate([
31
- (0, typeorm_1.Column)({ name: 'contact', type: 'varchar', nullable: true }),
32
- __metadata("design:type", String)
33
- ], ServicerEntity.prototype, "contact", void 0);
34
- __decorate([
35
- (0, typeorm_1.Column)({ name: 'address', type: 'varchar', nullable: true }),
36
- __metadata("design:type", String)
37
- ], ServicerEntity.prototype, "address", void 0);
38
- __decorate([
39
- (0, typeorm_1.Column)({ name: 'city', type: 'varchar', nullable: true }),
40
- __metadata("design:type", String)
41
- ], ServicerEntity.prototype, "city", void 0);
42
- __decorate([
43
- (0, typeorm_1.Column)({ name: 'county', type: 'varchar', nullable: true }),
44
- __metadata("design:type", String)
45
- ], ServicerEntity.prototype, "county", void 0);
46
- __decorate([
47
- (0, typeorm_1.Column)({ name: 'state', type: 'varchar', nullable: true }),
48
- __metadata("design:type", String)
49
- ], ServicerEntity.prototype, "state", void 0);
50
- __decorate([
51
- (0, typeorm_1.Column)({ name: 'zip_code', type: 'varchar', nullable: true }),
52
- __metadata("design:type", String)
53
- ], ServicerEntity.prototype, "zipCode", void 0);
54
- __decorate([
55
- (0, typeorm_1.Column)({ name: 'country', type: 'varchar', nullable: true }),
56
- __metadata("design:type", String)
57
- ], ServicerEntity.prototype, "country", void 0);
58
- __decorate([
59
- (0, typeorm_1.Column)({ name: 'servicer_type', type: 'varchar', nullable: true }),
60
- __metadata("design:type", String)
61
- ], ServicerEntity.prototype, "servicerType", void 0);
62
- __decorate([
63
- (0, typeorm_1.Column)({ name: 'active', type: 'varchar', nullable: true }),
64
- __metadata("design:type", String)
65
- ], ServicerEntity.prototype, "active", void 0);
66
- __decorate([
67
- (0, typeorm_1.Column)({ name: 'eligible', type: 'varchar', nullable: true }),
68
- __metadata("design:type", String)
69
- ], ServicerEntity.prototype, "eligible", void 0);
70
- __decorate([
71
- (0, typeorm_1.Column)({ name: 'locating_flag', type: 'varchar', nullable: true }),
72
- __metadata("design:type", String)
73
- ], ServicerEntity.prototype, "locatingFlag", void 0);
74
- __decorate([
75
- (0, typeorm_1.Column)({ name: 'auto_acceptance_flag', type: 'varchar', nullable: true }),
76
- __metadata("design:type", String)
77
- ], ServicerEntity.prototype, "autoAcceptanceFlag", void 0);
78
- __decorate([
79
- (0, typeorm_1.Column)({ name: 'parts_management_program_flag', type: 'varchar', nullable: true }),
80
- __metadata("design:type", String)
81
- ], ServicerEntity.prototype, "partsManagementProgramFlag", void 0);
82
- __decorate([
83
- (0, typeorm_1.Column)({ name: 'zipcode_coverage', type: 'varchar', nullable: true }),
84
- __metadata("design:type", String)
85
- ], ServicerEntity.prototype, "zipcodeCoverage", void 0);
86
- __decorate([
87
- (0, typeorm_1.Column)({ name: 'brand_coverage', type: 'varchar', nullable: true }),
88
- __metadata("design:type", String)
89
- ], ServicerEntity.prototype, "brandCoverage", void 0);
90
- __decorate([
91
- (0, typeorm_1.Column)({ name: 'product_coverage', type: 'varchar', nullable: true }),
92
- __metadata("design:type", String)
93
- ], ServicerEntity.prototype, "productCoverage", void 0);
94
- __decorate([
95
- (0, typeorm_1.Column)({ name: 'overwrite_cut_off_time', type: 'varchar', nullable: true }),
96
- __metadata("design:type", String)
97
- ], ServicerEntity.prototype, "overwriteCutOffTime", void 0);
98
- __decorate([
99
- (0, typeorm_1.Column)({ name: 'exclude_servicer_from_email', type: 'varchar', nullable: true }),
100
- __metadata("design:type", String)
101
- ], ServicerEntity.prototype, "excludeServicerFromEmail", void 0);
102
- __decorate([
103
- (0, typeorm_1.Column)({ name: 'notes_notification_email', type: 'varchar', nullable: true }),
104
- __metadata("design:type", String)
105
- ], ServicerEntity.prototype, "notesNotificationEmail", void 0);
106
- __decorate([
107
- (0, typeorm_1.Column)({ name: 'classification', type: 'varchar', nullable: true }),
108
- __metadata("design:type", String)
109
- ], ServicerEntity.prototype, "classification", void 0);
110
- __decorate([
111
- (0, typeorm_1.Column)({ name: 'phone', type: 'varchar', nullable: true }),
112
- __metadata("design:type", String)
113
- ], ServicerEntity.prototype, "phone", void 0);
114
- __decorate([
115
- (0, typeorm_1.Column)({ name: 'fax', type: 'varchar', nullable: true }),
116
- __metadata("design:type", String)
117
- ], ServicerEntity.prototype, "fax", void 0);
118
- __decorate([
119
- (0, typeorm_1.Column)({ name: 'email', type: 'varchar', nullable: true }),
120
- __metadata("design:type", String)
121
- ], ServicerEntity.prototype, "email", void 0);
122
- __decorate([
123
- (0, typeorm_1.Column)({ name: 'lg_score', type: 'integer', nullable: true }),
124
- __metadata("design:type", Number)
125
- ], ServicerEntity.prototype, "lgScore", void 0);
126
- __decorate([
127
- (0, typeorm_1.Column)({ name: 'profile_indicator', type: 'varchar', nullable: true }),
128
- __metadata("design:type", String)
129
- ], ServicerEntity.prototype, "profileIndicator", void 0);
130
- exports.ServicerEntity = ServicerEntity = __decorate([
131
- (0, typeorm_1.Entity)('servicer', { schema: 'enr' })
132
- ], ServicerEntity);