@uniorganization/uni-lib 2.0.9 → 2.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/entities/index.d.ts +1 -0
- package/dist/entities/index.js +1 -0
- package/dist/entities/raw_roster.entity.d.ts +73 -0
- package/dist/entities/raw_roster.entity.js +301 -0
- package/dist/entities/user-roster.view.d.ts +46 -16
- package/dist/entities/user-roster.view.js +181 -61
- package/dist/entities/usr.entity.d.ts +2 -1
- package/dist/entities/usr.entity.js +5 -4
- package/package.json +1 -1
package/dist/entities/index.d.ts
CHANGED
package/dist/entities/index.js
CHANGED
|
@@ -91,3 +91,4 @@ __exportStar(require("./enr-inventory.entity"), exports);
|
|
|
91
91
|
__exportStar(require("./claim-report.entity"), exports);
|
|
92
92
|
__exportStar(require("./p1-service-center.entity"), exports);
|
|
93
93
|
__exportStar(require("./p1-service-network.entity"), exports);
|
|
94
|
+
__exportStar(require("./raw_roster.entity"), exports);
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { Users } from './usr.entity';
|
|
2
|
+
export declare class RawRoster {
|
|
3
|
+
employeeId: string;
|
|
4
|
+
rowIndex: number;
|
|
5
|
+
internalId: number;
|
|
6
|
+
phoneLogin: string;
|
|
7
|
+
verintSkill: string;
|
|
8
|
+
firstLevelId: string;
|
|
9
|
+
firstLevelName: string;
|
|
10
|
+
secondLevelId: string;
|
|
11
|
+
secondLevelName: string;
|
|
12
|
+
thirdLevelId: string;
|
|
13
|
+
thirdLevelName: string;
|
|
14
|
+
startDate: string;
|
|
15
|
+
endDate: string;
|
|
16
|
+
jobTitle: string;
|
|
17
|
+
verintUsername: string;
|
|
18
|
+
tdUser: string;
|
|
19
|
+
lmsClient: string;
|
|
20
|
+
lmsNt: string;
|
|
21
|
+
productionDate: string;
|
|
22
|
+
gcicId: string;
|
|
23
|
+
ern: string;
|
|
24
|
+
trainerId: string;
|
|
25
|
+
trainerName: string;
|
|
26
|
+
trainingClass: string;
|
|
27
|
+
emailId: string;
|
|
28
|
+
smsId: string;
|
|
29
|
+
lmsId: string;
|
|
30
|
+
p1User: string;
|
|
31
|
+
qaId: string;
|
|
32
|
+
qaName: string;
|
|
33
|
+
rowDate: string;
|
|
34
|
+
employeeStatus: string;
|
|
35
|
+
tapp2: string;
|
|
36
|
+
tapp11: string;
|
|
37
|
+
tapp13: string;
|
|
38
|
+
scoreId: string;
|
|
39
|
+
workLocation: string;
|
|
40
|
+
lastDateOnSite: string;
|
|
41
|
+
sunIn: string;
|
|
42
|
+
sunOut: string;
|
|
43
|
+
monIn: string;
|
|
44
|
+
monOut: string;
|
|
45
|
+
tueIn: string;
|
|
46
|
+
tueOut: string;
|
|
47
|
+
wedIn: string;
|
|
48
|
+
wedOut: string;
|
|
49
|
+
thuIn: string;
|
|
50
|
+
thuOut: string;
|
|
51
|
+
friIn: string;
|
|
52
|
+
friOut: string;
|
|
53
|
+
satIn: string;
|
|
54
|
+
satOut: string;
|
|
55
|
+
updatedBy: string;
|
|
56
|
+
updatedDate: string;
|
|
57
|
+
schEffectiveDate: string;
|
|
58
|
+
fullName: string;
|
|
59
|
+
company: string;
|
|
60
|
+
teamsUsername: string;
|
|
61
|
+
mimecastId: string;
|
|
62
|
+
revoId: string;
|
|
63
|
+
phoenixId: string;
|
|
64
|
+
five9Id: string;
|
|
65
|
+
communityWfmId: string;
|
|
66
|
+
division: string;
|
|
67
|
+
mainLine: string;
|
|
68
|
+
lob: string;
|
|
69
|
+
employeeRole: string;
|
|
70
|
+
sector: string;
|
|
71
|
+
sprinklrId: string;
|
|
72
|
+
user: Users;
|
|
73
|
+
}
|
|
@@ -0,0 +1,301 @@
|
|
|
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.RawRoster = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const usr_entity_1 = require("./usr.entity");
|
|
15
|
+
let RawRoster = class RawRoster {
|
|
16
|
+
};
|
|
17
|
+
exports.RawRoster = RawRoster;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, typeorm_1.PrimaryColumn)({ type: 'varchar' }),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], RawRoster.prototype, "employeeId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, typeorm_1.Column)({ type: 'integer' }),
|
|
24
|
+
__metadata("design:type", Number)
|
|
25
|
+
], RawRoster.prototype, "rowIndex", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, typeorm_1.Column)({ type: 'integer' }),
|
|
28
|
+
__metadata("design:type", Number)
|
|
29
|
+
], RawRoster.prototype, "internalId", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], RawRoster.prototype, "phoneLogin", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], RawRoster.prototype, "verintSkill", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], RawRoster.prototype, "firstLevelId", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], RawRoster.prototype, "firstLevelName", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], RawRoster.prototype, "secondLevelId", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], RawRoster.prototype, "secondLevelName", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
56
|
+
__metadata("design:type", String)
|
|
57
|
+
], RawRoster.prototype, "thirdLevelId", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
60
|
+
__metadata("design:type", String)
|
|
61
|
+
], RawRoster.prototype, "thirdLevelName", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
64
|
+
__metadata("design:type", String)
|
|
65
|
+
], RawRoster.prototype, "startDate", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
68
|
+
__metadata("design:type", String)
|
|
69
|
+
], RawRoster.prototype, "endDate", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
72
|
+
__metadata("design:type", String)
|
|
73
|
+
], RawRoster.prototype, "jobTitle", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
76
|
+
__metadata("design:type", String)
|
|
77
|
+
], RawRoster.prototype, "verintUsername", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
80
|
+
__metadata("design:type", String)
|
|
81
|
+
], RawRoster.prototype, "tdUser", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
84
|
+
__metadata("design:type", String)
|
|
85
|
+
], RawRoster.prototype, "lmsClient", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
88
|
+
__metadata("design:type", String)
|
|
89
|
+
], RawRoster.prototype, "lmsNt", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
92
|
+
__metadata("design:type", String)
|
|
93
|
+
], RawRoster.prototype, "productionDate", void 0);
|
|
94
|
+
__decorate([
|
|
95
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
96
|
+
__metadata("design:type", String)
|
|
97
|
+
], RawRoster.prototype, "gcicId", void 0);
|
|
98
|
+
__decorate([
|
|
99
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
100
|
+
__metadata("design:type", String)
|
|
101
|
+
], RawRoster.prototype, "ern", void 0);
|
|
102
|
+
__decorate([
|
|
103
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
104
|
+
__metadata("design:type", String)
|
|
105
|
+
], RawRoster.prototype, "trainerId", void 0);
|
|
106
|
+
__decorate([
|
|
107
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
108
|
+
__metadata("design:type", String)
|
|
109
|
+
], RawRoster.prototype, "trainerName", void 0);
|
|
110
|
+
__decorate([
|
|
111
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
112
|
+
__metadata("design:type", String)
|
|
113
|
+
], RawRoster.prototype, "trainingClass", void 0);
|
|
114
|
+
__decorate([
|
|
115
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
116
|
+
__metadata("design:type", String)
|
|
117
|
+
], RawRoster.prototype, "emailId", void 0);
|
|
118
|
+
__decorate([
|
|
119
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
120
|
+
__metadata("design:type", String)
|
|
121
|
+
], RawRoster.prototype, "smsId", void 0);
|
|
122
|
+
__decorate([
|
|
123
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
124
|
+
__metadata("design:type", String)
|
|
125
|
+
], RawRoster.prototype, "lmsId", void 0);
|
|
126
|
+
__decorate([
|
|
127
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
128
|
+
__metadata("design:type", String)
|
|
129
|
+
], RawRoster.prototype, "p1User", void 0);
|
|
130
|
+
__decorate([
|
|
131
|
+
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
132
|
+
__metadata("design:type", String)
|
|
133
|
+
], RawRoster.prototype, "qaId", void 0);
|
|
134
|
+
__decorate([
|
|
135
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
136
|
+
__metadata("design:type", String)
|
|
137
|
+
], RawRoster.prototype, "qaName", void 0);
|
|
138
|
+
__decorate([
|
|
139
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
140
|
+
__metadata("design:type", String)
|
|
141
|
+
], RawRoster.prototype, "rowDate", void 0);
|
|
142
|
+
__decorate([
|
|
143
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
144
|
+
__metadata("design:type", String)
|
|
145
|
+
], RawRoster.prototype, "employeeStatus", void 0);
|
|
146
|
+
__decorate([
|
|
147
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
148
|
+
__metadata("design:type", String)
|
|
149
|
+
], RawRoster.prototype, "tapp2", void 0);
|
|
150
|
+
__decorate([
|
|
151
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
152
|
+
__metadata("design:type", String)
|
|
153
|
+
], RawRoster.prototype, "tapp11", void 0);
|
|
154
|
+
__decorate([
|
|
155
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
156
|
+
__metadata("design:type", String)
|
|
157
|
+
], RawRoster.prototype, "tapp13", void 0);
|
|
158
|
+
__decorate([
|
|
159
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
160
|
+
__metadata("design:type", String)
|
|
161
|
+
], RawRoster.prototype, "scoreId", void 0);
|
|
162
|
+
__decorate([
|
|
163
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
164
|
+
__metadata("design:type", String)
|
|
165
|
+
], RawRoster.prototype, "workLocation", void 0);
|
|
166
|
+
__decorate([
|
|
167
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
168
|
+
__metadata("design:type", String)
|
|
169
|
+
], RawRoster.prototype, "lastDateOnSite", void 0);
|
|
170
|
+
__decorate([
|
|
171
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
172
|
+
__metadata("design:type", String)
|
|
173
|
+
], RawRoster.prototype, "sunIn", void 0);
|
|
174
|
+
__decorate([
|
|
175
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
176
|
+
__metadata("design:type", String)
|
|
177
|
+
], RawRoster.prototype, "sunOut", void 0);
|
|
178
|
+
__decorate([
|
|
179
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
180
|
+
__metadata("design:type", String)
|
|
181
|
+
], RawRoster.prototype, "monIn", void 0);
|
|
182
|
+
__decorate([
|
|
183
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
184
|
+
__metadata("design:type", String)
|
|
185
|
+
], RawRoster.prototype, "monOut", void 0);
|
|
186
|
+
__decorate([
|
|
187
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
188
|
+
__metadata("design:type", String)
|
|
189
|
+
], RawRoster.prototype, "tueIn", void 0);
|
|
190
|
+
__decorate([
|
|
191
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
192
|
+
__metadata("design:type", String)
|
|
193
|
+
], RawRoster.prototype, "tueOut", void 0);
|
|
194
|
+
__decorate([
|
|
195
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
196
|
+
__metadata("design:type", String)
|
|
197
|
+
], RawRoster.prototype, "wedIn", void 0);
|
|
198
|
+
__decorate([
|
|
199
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
200
|
+
__metadata("design:type", String)
|
|
201
|
+
], RawRoster.prototype, "wedOut", void 0);
|
|
202
|
+
__decorate([
|
|
203
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
204
|
+
__metadata("design:type", String)
|
|
205
|
+
], RawRoster.prototype, "thuIn", void 0);
|
|
206
|
+
__decorate([
|
|
207
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
208
|
+
__metadata("design:type", String)
|
|
209
|
+
], RawRoster.prototype, "thuOut", void 0);
|
|
210
|
+
__decorate([
|
|
211
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
212
|
+
__metadata("design:type", String)
|
|
213
|
+
], RawRoster.prototype, "friIn", void 0);
|
|
214
|
+
__decorate([
|
|
215
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
216
|
+
__metadata("design:type", String)
|
|
217
|
+
], RawRoster.prototype, "friOut", void 0);
|
|
218
|
+
__decorate([
|
|
219
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
220
|
+
__metadata("design:type", String)
|
|
221
|
+
], RawRoster.prototype, "satIn", void 0);
|
|
222
|
+
__decorate([
|
|
223
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
224
|
+
__metadata("design:type", String)
|
|
225
|
+
], RawRoster.prototype, "satOut", void 0);
|
|
226
|
+
__decorate([
|
|
227
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
228
|
+
__metadata("design:type", String)
|
|
229
|
+
], RawRoster.prototype, "updatedBy", void 0);
|
|
230
|
+
__decorate([
|
|
231
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
232
|
+
__metadata("design:type", String)
|
|
233
|
+
], RawRoster.prototype, "updatedDate", void 0);
|
|
234
|
+
__decorate([
|
|
235
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
236
|
+
__metadata("design:type", String)
|
|
237
|
+
], RawRoster.prototype, "schEffectiveDate", void 0);
|
|
238
|
+
__decorate([
|
|
239
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
240
|
+
__metadata("design:type", String)
|
|
241
|
+
], RawRoster.prototype, "fullName", void 0);
|
|
242
|
+
__decorate([
|
|
243
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
244
|
+
__metadata("design:type", String)
|
|
245
|
+
], RawRoster.prototype, "company", void 0);
|
|
246
|
+
__decorate([
|
|
247
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
248
|
+
__metadata("design:type", String)
|
|
249
|
+
], RawRoster.prototype, "teamsUsername", void 0);
|
|
250
|
+
__decorate([
|
|
251
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
252
|
+
__metadata("design:type", String)
|
|
253
|
+
], RawRoster.prototype, "mimecastId", void 0);
|
|
254
|
+
__decorate([
|
|
255
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
256
|
+
__metadata("design:type", String)
|
|
257
|
+
], RawRoster.prototype, "revoId", void 0);
|
|
258
|
+
__decorate([
|
|
259
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
260
|
+
__metadata("design:type", String)
|
|
261
|
+
], RawRoster.prototype, "phoenixId", void 0);
|
|
262
|
+
__decorate([
|
|
263
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
264
|
+
__metadata("design:type", String)
|
|
265
|
+
], RawRoster.prototype, "five9Id", void 0);
|
|
266
|
+
__decorate([
|
|
267
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
268
|
+
__metadata("design:type", String)
|
|
269
|
+
], RawRoster.prototype, "communityWfmId", void 0);
|
|
270
|
+
__decorate([
|
|
271
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
272
|
+
__metadata("design:type", String)
|
|
273
|
+
], RawRoster.prototype, "division", void 0);
|
|
274
|
+
__decorate([
|
|
275
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
276
|
+
__metadata("design:type", String)
|
|
277
|
+
], RawRoster.prototype, "mainLine", void 0);
|
|
278
|
+
__decorate([
|
|
279
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
280
|
+
__metadata("design:type", String)
|
|
281
|
+
], RawRoster.prototype, "lob", void 0);
|
|
282
|
+
__decorate([
|
|
283
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
284
|
+
__metadata("design:type", String)
|
|
285
|
+
], RawRoster.prototype, "employeeRole", void 0);
|
|
286
|
+
__decorate([
|
|
287
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
288
|
+
__metadata("design:type", String)
|
|
289
|
+
], RawRoster.prototype, "sector", void 0);
|
|
290
|
+
__decorate([
|
|
291
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
292
|
+
__metadata("design:type", String)
|
|
293
|
+
], RawRoster.prototype, "sprinklrId", void 0);
|
|
294
|
+
__decorate([
|
|
295
|
+
(0, typeorm_1.OneToOne)(() => usr_entity_1.Users, (user) => user.rawRoster),
|
|
296
|
+
(0, typeorm_1.JoinColumn)({ name: 'employee_id', referencedColumnName: 'ntgid' }),
|
|
297
|
+
__metadata("design:type", usr_entity_1.Users)
|
|
298
|
+
], RawRoster.prototype, "user", void 0);
|
|
299
|
+
exports.RawRoster = RawRoster = __decorate([
|
|
300
|
+
(0, typeorm_1.Entity)('raw_roster', { schema: 'stm' })
|
|
301
|
+
], RawRoster);
|
|
@@ -1,23 +1,42 @@
|
|
|
1
1
|
export declare class VwUserRoster {
|
|
2
|
-
employeeId:
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
employeeId: string;
|
|
3
|
+
rowIndex: number;
|
|
4
|
+
internalId: number;
|
|
5
|
+
phoneLogin: string;
|
|
6
|
+
verintSkill: string;
|
|
7
|
+
firstLevelId: string;
|
|
5
8
|
firstLevelName: string;
|
|
6
|
-
secondLevelId:
|
|
9
|
+
secondLevelId: string;
|
|
7
10
|
secondLevelName: string;
|
|
8
|
-
thirdLevelId:
|
|
11
|
+
thirdLevelId: string;
|
|
9
12
|
thirdLevelName: string;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
lob: string;
|
|
13
|
-
startDate: Date;
|
|
14
|
-
endDate: Date;
|
|
13
|
+
startDate: string;
|
|
14
|
+
endDate: string;
|
|
15
15
|
jobTitle: string;
|
|
16
|
-
|
|
16
|
+
verintUsername: string;
|
|
17
|
+
tdUser: string;
|
|
18
|
+
lmsClient: string;
|
|
19
|
+
lmsNt: string;
|
|
20
|
+
productionDate: string;
|
|
21
|
+
gcicId: string;
|
|
22
|
+
ern: string;
|
|
23
|
+
trainerId: string;
|
|
17
24
|
trainerName: string;
|
|
18
|
-
|
|
25
|
+
trainingClass: string;
|
|
26
|
+
emailId: string;
|
|
27
|
+
smsId: string;
|
|
28
|
+
lmsId: string;
|
|
29
|
+
p1User: string;
|
|
30
|
+
qaId: string;
|
|
19
31
|
qaName: string;
|
|
32
|
+
rowDate: string;
|
|
20
33
|
employeeStatus: string;
|
|
34
|
+
tapp2: string;
|
|
35
|
+
tapp11: string;
|
|
36
|
+
tapp13: string;
|
|
37
|
+
scoreId: string;
|
|
38
|
+
workLocation: string;
|
|
39
|
+
lastDateOnSite: string;
|
|
21
40
|
sunIn: string;
|
|
22
41
|
sunOut: string;
|
|
23
42
|
monIn: string;
|
|
@@ -32,10 +51,21 @@ export declare class VwUserRoster {
|
|
|
32
51
|
friOut: string;
|
|
33
52
|
satIn: string;
|
|
34
53
|
satOut: string;
|
|
54
|
+
updatedBy: string;
|
|
55
|
+
updatedDate: string;
|
|
56
|
+
schEffectiveDate: string;
|
|
57
|
+
fullName: string;
|
|
58
|
+
company: string;
|
|
59
|
+
teamsUsername: string;
|
|
60
|
+
mimecastId: string;
|
|
61
|
+
revoId: string;
|
|
62
|
+
phoenixId: string;
|
|
63
|
+
five9Id: string;
|
|
64
|
+
communityWfmId: string;
|
|
65
|
+
division: string;
|
|
35
66
|
mainLine: string;
|
|
67
|
+
lob: string;
|
|
36
68
|
employeeRole: string;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
ern: string;
|
|
40
|
-
tapp2: string;
|
|
69
|
+
sector: string;
|
|
70
|
+
sprinklrId: string;
|
|
41
71
|
}
|
|
@@ -15,161 +15,281 @@ let VwUserRoster = class VwUserRoster {
|
|
|
15
15
|
};
|
|
16
16
|
exports.VwUserRoster = VwUserRoster;
|
|
17
17
|
__decorate([
|
|
18
|
-
(0, typeorm_1.
|
|
19
|
-
__metadata("design:type",
|
|
18
|
+
(0, typeorm_1.PrimaryColumn)({ type: 'varchar' }),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
20
|
], VwUserRoster.prototype, "employeeId", void 0);
|
|
21
21
|
__decorate([
|
|
22
|
-
(0, typeorm_1.Column)({
|
|
23
|
-
__metadata("design:type",
|
|
24
|
-
], VwUserRoster.prototype, "
|
|
22
|
+
(0, typeorm_1.Column)({ type: 'integer' }),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], VwUserRoster.prototype, "rowIndex", void 0);
|
|
25
25
|
__decorate([
|
|
26
|
-
(0, typeorm_1.Column)({
|
|
26
|
+
(0, typeorm_1.Column)({ type: 'integer' }),
|
|
27
27
|
__metadata("design:type", Number)
|
|
28
|
+
], VwUserRoster.prototype, "internalId", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], VwUserRoster.prototype, "phoneLogin", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], VwUserRoster.prototype, "verintSkill", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
39
|
+
__metadata("design:type", String)
|
|
28
40
|
], VwUserRoster.prototype, "firstLevelId", void 0);
|
|
29
41
|
__decorate([
|
|
30
|
-
(0, typeorm_1.Column)({
|
|
42
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
31
43
|
__metadata("design:type", String)
|
|
32
44
|
], VwUserRoster.prototype, "firstLevelName", void 0);
|
|
33
45
|
__decorate([
|
|
34
|
-
(0, typeorm_1.Column)({
|
|
35
|
-
__metadata("design:type",
|
|
46
|
+
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
47
|
+
__metadata("design:type", String)
|
|
36
48
|
], VwUserRoster.prototype, "secondLevelId", void 0);
|
|
37
49
|
__decorate([
|
|
38
|
-
(0, typeorm_1.Column)({
|
|
50
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
39
51
|
__metadata("design:type", String)
|
|
40
52
|
], VwUserRoster.prototype, "secondLevelName", void 0);
|
|
41
53
|
__decorate([
|
|
42
|
-
(0, typeorm_1.Column)({
|
|
43
|
-
__metadata("design:type",
|
|
54
|
+
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
55
|
+
__metadata("design:type", String)
|
|
44
56
|
], VwUserRoster.prototype, "thirdLevelId", void 0);
|
|
45
57
|
__decorate([
|
|
46
|
-
(0, typeorm_1.Column)({
|
|
58
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
47
59
|
__metadata("design:type", String)
|
|
48
60
|
], VwUserRoster.prototype, "thirdLevelName", void 0);
|
|
49
61
|
__decorate([
|
|
50
|
-
(0, typeorm_1.Column)({
|
|
62
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
51
63
|
__metadata("design:type", String)
|
|
52
|
-
], VwUserRoster.prototype, "
|
|
64
|
+
], VwUserRoster.prototype, "startDate", void 0);
|
|
53
65
|
__decorate([
|
|
54
|
-
(0, typeorm_1.Column)(),
|
|
66
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
55
67
|
__metadata("design:type", String)
|
|
56
|
-
], VwUserRoster.prototype, "
|
|
68
|
+
], VwUserRoster.prototype, "endDate", void 0);
|
|
57
69
|
__decorate([
|
|
58
|
-
(0, typeorm_1.Column)(),
|
|
70
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
59
71
|
__metadata("design:type", String)
|
|
60
|
-
], VwUserRoster.prototype, "
|
|
72
|
+
], VwUserRoster.prototype, "jobTitle", void 0);
|
|
61
73
|
__decorate([
|
|
62
|
-
(0, typeorm_1.Column)({
|
|
63
|
-
__metadata("design:type",
|
|
64
|
-
], VwUserRoster.prototype, "
|
|
74
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
75
|
+
__metadata("design:type", String)
|
|
76
|
+
], VwUserRoster.prototype, "verintUsername", void 0);
|
|
65
77
|
__decorate([
|
|
66
|
-
(0, typeorm_1.Column)({
|
|
67
|
-
__metadata("design:type",
|
|
68
|
-
], VwUserRoster.prototype, "
|
|
78
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], VwUserRoster.prototype, "tdUser", void 0);
|
|
69
81
|
__decorate([
|
|
70
|
-
(0, typeorm_1.Column)({
|
|
82
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
71
83
|
__metadata("design:type", String)
|
|
72
|
-
], VwUserRoster.prototype, "
|
|
84
|
+
], VwUserRoster.prototype, "lmsClient", void 0);
|
|
73
85
|
__decorate([
|
|
74
|
-
(0, typeorm_1.Column)({
|
|
75
|
-
__metadata("design:type",
|
|
86
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
87
|
+
__metadata("design:type", String)
|
|
88
|
+
], VwUserRoster.prototype, "lmsNt", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
91
|
+
__metadata("design:type", String)
|
|
92
|
+
], VwUserRoster.prototype, "productionDate", void 0);
|
|
93
|
+
__decorate([
|
|
94
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
95
|
+
__metadata("design:type", String)
|
|
96
|
+
], VwUserRoster.prototype, "gcicId", void 0);
|
|
97
|
+
__decorate([
|
|
98
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
99
|
+
__metadata("design:type", String)
|
|
100
|
+
], VwUserRoster.prototype, "ern", void 0);
|
|
101
|
+
__decorate([
|
|
102
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
103
|
+
__metadata("design:type", String)
|
|
76
104
|
], VwUserRoster.prototype, "trainerId", void 0);
|
|
77
105
|
__decorate([
|
|
78
|
-
(0, typeorm_1.Column)({
|
|
106
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
79
107
|
__metadata("design:type", String)
|
|
80
108
|
], VwUserRoster.prototype, "trainerName", void 0);
|
|
81
109
|
__decorate([
|
|
82
|
-
(0, typeorm_1.Column)({
|
|
83
|
-
__metadata("design:type",
|
|
110
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
111
|
+
__metadata("design:type", String)
|
|
112
|
+
], VwUserRoster.prototype, "trainingClass", void 0);
|
|
113
|
+
__decorate([
|
|
114
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
115
|
+
__metadata("design:type", String)
|
|
116
|
+
], VwUserRoster.prototype, "emailId", void 0);
|
|
117
|
+
__decorate([
|
|
118
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
119
|
+
__metadata("design:type", String)
|
|
120
|
+
], VwUserRoster.prototype, "smsId", void 0);
|
|
121
|
+
__decorate([
|
|
122
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
123
|
+
__metadata("design:type", String)
|
|
124
|
+
], VwUserRoster.prototype, "lmsId", void 0);
|
|
125
|
+
__decorate([
|
|
126
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
127
|
+
__metadata("design:type", String)
|
|
128
|
+
], VwUserRoster.prototype, "p1User", void 0);
|
|
129
|
+
__decorate([
|
|
130
|
+
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
131
|
+
__metadata("design:type", String)
|
|
84
132
|
], VwUserRoster.prototype, "qaId", void 0);
|
|
85
133
|
__decorate([
|
|
86
|
-
(0, typeorm_1.Column)({
|
|
134
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
87
135
|
__metadata("design:type", String)
|
|
88
136
|
], VwUserRoster.prototype, "qaName", void 0);
|
|
89
137
|
__decorate([
|
|
90
|
-
(0, typeorm_1.Column)({
|
|
138
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
139
|
+
__metadata("design:type", String)
|
|
140
|
+
], VwUserRoster.prototype, "rowDate", void 0);
|
|
141
|
+
__decorate([
|
|
142
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
91
143
|
__metadata("design:type", String)
|
|
92
144
|
], VwUserRoster.prototype, "employeeStatus", void 0);
|
|
93
145
|
__decorate([
|
|
94
|
-
(0, typeorm_1.Column)({
|
|
146
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
147
|
+
__metadata("design:type", String)
|
|
148
|
+
], VwUserRoster.prototype, "tapp2", void 0);
|
|
149
|
+
__decorate([
|
|
150
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
151
|
+
__metadata("design:type", String)
|
|
152
|
+
], VwUserRoster.prototype, "tapp11", void 0);
|
|
153
|
+
__decorate([
|
|
154
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
155
|
+
__metadata("design:type", String)
|
|
156
|
+
], VwUserRoster.prototype, "tapp13", void 0);
|
|
157
|
+
__decorate([
|
|
158
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
159
|
+
__metadata("design:type", String)
|
|
160
|
+
], VwUserRoster.prototype, "scoreId", void 0);
|
|
161
|
+
__decorate([
|
|
162
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
163
|
+
__metadata("design:type", String)
|
|
164
|
+
], VwUserRoster.prototype, "workLocation", void 0);
|
|
165
|
+
__decorate([
|
|
166
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
167
|
+
__metadata("design:type", String)
|
|
168
|
+
], VwUserRoster.prototype, "lastDateOnSite", void 0);
|
|
169
|
+
__decorate([
|
|
170
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
95
171
|
__metadata("design:type", String)
|
|
96
172
|
], VwUserRoster.prototype, "sunIn", void 0);
|
|
97
173
|
__decorate([
|
|
98
|
-
(0, typeorm_1.Column)({
|
|
174
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
99
175
|
__metadata("design:type", String)
|
|
100
176
|
], VwUserRoster.prototype, "sunOut", void 0);
|
|
101
177
|
__decorate([
|
|
102
|
-
(0, typeorm_1.Column)({
|
|
178
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
103
179
|
__metadata("design:type", String)
|
|
104
180
|
], VwUserRoster.prototype, "monIn", void 0);
|
|
105
181
|
__decorate([
|
|
106
|
-
(0, typeorm_1.Column)({
|
|
182
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
107
183
|
__metadata("design:type", String)
|
|
108
184
|
], VwUserRoster.prototype, "monOut", void 0);
|
|
109
185
|
__decorate([
|
|
110
|
-
(0, typeorm_1.Column)({
|
|
186
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
111
187
|
__metadata("design:type", String)
|
|
112
188
|
], VwUserRoster.prototype, "tueIn", void 0);
|
|
113
189
|
__decorate([
|
|
114
|
-
(0, typeorm_1.Column)({
|
|
190
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
115
191
|
__metadata("design:type", String)
|
|
116
192
|
], VwUserRoster.prototype, "tueOut", void 0);
|
|
117
193
|
__decorate([
|
|
118
|
-
(0, typeorm_1.Column)({
|
|
194
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
119
195
|
__metadata("design:type", String)
|
|
120
196
|
], VwUserRoster.prototype, "wedIn", void 0);
|
|
121
197
|
__decorate([
|
|
122
|
-
(0, typeorm_1.Column)({
|
|
198
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
123
199
|
__metadata("design:type", String)
|
|
124
200
|
], VwUserRoster.prototype, "wedOut", void 0);
|
|
125
201
|
__decorate([
|
|
126
|
-
(0, typeorm_1.Column)({
|
|
202
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
127
203
|
__metadata("design:type", String)
|
|
128
204
|
], VwUserRoster.prototype, "thuIn", void 0);
|
|
129
205
|
__decorate([
|
|
130
|
-
(0, typeorm_1.Column)({
|
|
206
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
131
207
|
__metadata("design:type", String)
|
|
132
208
|
], VwUserRoster.prototype, "thuOut", void 0);
|
|
133
209
|
__decorate([
|
|
134
|
-
(0, typeorm_1.Column)({
|
|
210
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
135
211
|
__metadata("design:type", String)
|
|
136
212
|
], VwUserRoster.prototype, "friIn", void 0);
|
|
137
213
|
__decorate([
|
|
138
|
-
(0, typeorm_1.Column)({
|
|
214
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
139
215
|
__metadata("design:type", String)
|
|
140
216
|
], VwUserRoster.prototype, "friOut", void 0);
|
|
141
217
|
__decorate([
|
|
142
|
-
(0, typeorm_1.Column)({
|
|
218
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
143
219
|
__metadata("design:type", String)
|
|
144
220
|
], VwUserRoster.prototype, "satIn", void 0);
|
|
145
221
|
__decorate([
|
|
146
|
-
(0, typeorm_1.Column)({
|
|
222
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
147
223
|
__metadata("design:type", String)
|
|
148
224
|
], VwUserRoster.prototype, "satOut", void 0);
|
|
149
225
|
__decorate([
|
|
150
|
-
(0, typeorm_1.Column)({
|
|
226
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
151
227
|
__metadata("design:type", String)
|
|
152
|
-
], VwUserRoster.prototype, "
|
|
228
|
+
], VwUserRoster.prototype, "updatedBy", void 0);
|
|
153
229
|
__decorate([
|
|
154
|
-
(0, typeorm_1.Column)({
|
|
230
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
155
231
|
__metadata("design:type", String)
|
|
156
|
-
], VwUserRoster.prototype, "
|
|
232
|
+
], VwUserRoster.prototype, "updatedDate", void 0);
|
|
157
233
|
__decorate([
|
|
158
|
-
(0, typeorm_1.Column)({
|
|
159
|
-
__metadata("design:type",
|
|
160
|
-
], VwUserRoster.prototype, "
|
|
234
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
235
|
+
__metadata("design:type", String)
|
|
236
|
+
], VwUserRoster.prototype, "schEffectiveDate", void 0);
|
|
161
237
|
__decorate([
|
|
162
|
-
(0, typeorm_1.Column)({
|
|
238
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
163
239
|
__metadata("design:type", String)
|
|
164
|
-
], VwUserRoster.prototype, "
|
|
240
|
+
], VwUserRoster.prototype, "fullName", void 0);
|
|
165
241
|
__decorate([
|
|
166
|
-
(0, typeorm_1.Column)(),
|
|
242
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
167
243
|
__metadata("design:type", String)
|
|
168
|
-
], VwUserRoster.prototype, "
|
|
244
|
+
], VwUserRoster.prototype, "company", void 0);
|
|
169
245
|
__decorate([
|
|
170
|
-
(0, typeorm_1.Column)({
|
|
246
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
171
247
|
__metadata("design:type", String)
|
|
172
|
-
], VwUserRoster.prototype, "
|
|
248
|
+
], VwUserRoster.prototype, "teamsUsername", void 0);
|
|
249
|
+
__decorate([
|
|
250
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
251
|
+
__metadata("design:type", String)
|
|
252
|
+
], VwUserRoster.prototype, "mimecastId", void 0);
|
|
253
|
+
__decorate([
|
|
254
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
255
|
+
__metadata("design:type", String)
|
|
256
|
+
], VwUserRoster.prototype, "revoId", void 0);
|
|
257
|
+
__decorate([
|
|
258
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
259
|
+
__metadata("design:type", String)
|
|
260
|
+
], VwUserRoster.prototype, "phoenixId", void 0);
|
|
261
|
+
__decorate([
|
|
262
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
263
|
+
__metadata("design:type", String)
|
|
264
|
+
], VwUserRoster.prototype, "five9Id", void 0);
|
|
265
|
+
__decorate([
|
|
266
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
267
|
+
__metadata("design:type", String)
|
|
268
|
+
], VwUserRoster.prototype, "communityWfmId", void 0);
|
|
269
|
+
__decorate([
|
|
270
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
271
|
+
__metadata("design:type", String)
|
|
272
|
+
], VwUserRoster.prototype, "division", void 0);
|
|
273
|
+
__decorate([
|
|
274
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
275
|
+
__metadata("design:type", String)
|
|
276
|
+
], VwUserRoster.prototype, "mainLine", void 0);
|
|
277
|
+
__decorate([
|
|
278
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
279
|
+
__metadata("design:type", String)
|
|
280
|
+
], VwUserRoster.prototype, "lob", void 0);
|
|
281
|
+
__decorate([
|
|
282
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
283
|
+
__metadata("design:type", String)
|
|
284
|
+
], VwUserRoster.prototype, "employeeRole", void 0);
|
|
285
|
+
__decorate([
|
|
286
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
287
|
+
__metadata("design:type", String)
|
|
288
|
+
], VwUserRoster.prototype, "sector", void 0);
|
|
289
|
+
__decorate([
|
|
290
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
291
|
+
__metadata("design:type", String)
|
|
292
|
+
], VwUserRoster.prototype, "sprinklrId", void 0);
|
|
173
293
|
exports.VwUserRoster = VwUserRoster = __decorate([
|
|
174
294
|
(0, typeorm_1.ViewEntity)('raw_roster', { schema: 'nroster' })
|
|
175
295
|
], VwUserRoster);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Timestamp } from 'typeorm';
|
|
2
2
|
import { UserCampaign } from './user-campaign.entity';
|
|
3
3
|
import { UserRoles } from './user-roles.entity';
|
|
4
|
+
import { RawRoster } from './raw_roster.entity';
|
|
4
5
|
export declare class Users {
|
|
5
6
|
id: number;
|
|
6
7
|
username: string;
|
|
@@ -19,10 +20,10 @@ export declare class Users {
|
|
|
19
20
|
profile: string;
|
|
20
21
|
viewEvaluations: boolean;
|
|
21
22
|
ern: string;
|
|
22
|
-
jobTitle: string;
|
|
23
23
|
userRoles: UserRoles[];
|
|
24
24
|
reportsTo: Users;
|
|
25
25
|
userCampaigns: UserCampaign[];
|
|
26
|
+
rawRoster: RawRoster;
|
|
26
27
|
fullName: string;
|
|
27
28
|
calculateFullName(): void;
|
|
28
29
|
}
|
|
@@ -13,6 +13,7 @@ exports.Users = void 0;
|
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const user_campaign_entity_1 = require("./user-campaign.entity");
|
|
15
15
|
const user_roles_entity_1 = require("./user-roles.entity");
|
|
16
|
+
const raw_roster_entity_1 = require("./raw_roster.entity");
|
|
16
17
|
let Users = class Users {
|
|
17
18
|
calculateFullName() {
|
|
18
19
|
this.fullName = `${this.first_name} ${this.last_name}`;
|
|
@@ -87,10 +88,6 @@ __decorate([
|
|
|
87
88
|
(0, typeorm_1.Column)(),
|
|
88
89
|
__metadata("design:type", String)
|
|
89
90
|
], Users.prototype, "ern", void 0);
|
|
90
|
-
__decorate([
|
|
91
|
-
(0, typeorm_1.Column)({ name: 'job_title' }),
|
|
92
|
-
__metadata("design:type", String)
|
|
93
|
-
], Users.prototype, "jobTitle", void 0);
|
|
94
91
|
__decorate([
|
|
95
92
|
(0, typeorm_1.OneToMany)((type) => user_roles_entity_1.UserRoles, (userRoles) => userRoles.user, {
|
|
96
93
|
cascade: ['insert'],
|
|
@@ -109,6 +106,10 @@ __decorate([
|
|
|
109
106
|
}),
|
|
110
107
|
__metadata("design:type", Array)
|
|
111
108
|
], Users.prototype, "userCampaigns", void 0);
|
|
109
|
+
__decorate([
|
|
110
|
+
(0, typeorm_1.OneToOne)(() => raw_roster_entity_1.RawRoster, (rawRoster) => rawRoster.user),
|
|
111
|
+
__metadata("design:type", raw_roster_entity_1.RawRoster)
|
|
112
|
+
], Users.prototype, "rawRoster", void 0);
|
|
112
113
|
__decorate([
|
|
113
114
|
(0, typeorm_1.AfterLoad)(),
|
|
114
115
|
__metadata("design:type", Function),
|