@uniorganization/uni-lib 1.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/config/db.config.d.ts +4 -0
- package/dist/config/db.config.js +24 -0
- package/dist/config/index.d.ts +1 -0
- package/dist/config/index.js +13 -0
- package/dist/entities/applications.entity.d.ts +9 -0
- package/dist/entities/applications.entity.js +41 -0
- package/dist/entities/apps-user-id.entity.d.ts +20 -0
- package/dist/entities/apps-user-id.entity.js +91 -0
- package/dist/entities/blacklist.entity.d.ts +9 -0
- package/dist/entities/blacklist.entity.js +43 -0
- package/dist/entities/call-driver-data.entity.d.ts +18 -0
- package/dist/entities/call-driver-data.entity.js +77 -0
- package/dist/entities/call-drivers.entity.d.ts +19 -0
- package/dist/entities/call-drivers.entity.js +79 -0
- package/dist/entities/cb-completed-reasons.entity.d.ts +5 -0
- package/dist/entities/cb-completed-reasons.entity.js +31 -0
- package/dist/entities/change-alert.entity.d.ts +11 -0
- package/dist/entities/change-alert.entity.js +51 -0
- package/dist/entities/config.entity.d.ts +5 -0
- package/dist/entities/config.entity.js +31 -0
- package/dist/entities/depreciation-categories.entity.d.ts +6 -0
- package/dist/entities/depreciation-categories.entity.js +32 -0
- package/dist/entities/depreciation-details.entity.d.ts +9 -0
- package/dist/entities/depreciation-details.entity.js +45 -0
- package/dist/entities/detail-type.entity.d.ts +4 -0
- package/dist/entities/detail-type.entity.js +27 -0
- package/dist/entities/enr-calculation-log.entity.d.ts +49 -0
- package/dist/entities/enr-calculation-log.entity.js +203 -0
- package/dist/entities/enr-results.entity.d.ts +5 -0
- package/dist/entities/enr-results.entity.js +31 -0
- package/dist/entities/escalation-category.entity.d.ts +4 -0
- package/dist/entities/escalation-category.entity.js +27 -0
- package/dist/entities/escalation-notes.entity.d.ts +10 -0
- package/dist/entities/escalation-notes.entity.js +43 -0
- package/dist/entities/escalation-outcome.entity.d.ts +4 -0
- package/dist/entities/escalation-outcome.entity.js +27 -0
- package/dist/entities/escalation-status.entity.d.ts +4 -0
- package/dist/entities/escalation-status.entity.js +27 -0
- package/dist/entities/escalation-type.entity.d.ts +5 -0
- package/dist/entities/escalation-type.entity.js +31 -0
- package/dist/entities/escalations.entity.d.ts +32 -0
- package/dist/entities/escalations.entity.js +134 -0
- package/dist/entities/evaluation-data.entity.d.ts +8 -0
- package/dist/entities/evaluation-data.entity.js +43 -0
- package/dist/entities/evaluation-questions.entity.d.ts +10 -0
- package/dist/entities/evaluation-questions.entity.js +47 -0
- package/dist/entities/evaluations.entity.d.ts +25 -0
- package/dist/entities/evaluations.entity.js +102 -0
- package/dist/entities/file-contents.entity.d.ts +56 -0
- package/dist/entities/file-contents.entity.js +231 -0
- package/dist/entities/file-upload.entity.d.ts +10 -0
- package/dist/entities/file-upload.entity.js +47 -0
- package/dist/entities/form-definition.entity.d.ts +9 -0
- package/dist/entities/form-definition.entity.js +43 -0
- package/dist/entities/form-fields.entity.d.ts +18 -0
- package/dist/entities/form-fields.entity.js +79 -0
- package/dist/entities/form.entity.d.ts +15 -0
- package/dist/entities/form.entity.js +64 -0
- package/dist/entities/incident-notes.entity.d.ts +10 -0
- package/dist/entities/incident-notes.entity.js +43 -0
- package/dist/entities/incident.entity.d.ts +20 -0
- package/dist/entities/incident.entity.js +82 -0
- package/dist/entities/incoterms.entity.d.ts +9 -0
- package/dist/entities/incoterms.entity.js +47 -0
- package/dist/entities/index.d.ts +6 -0
- package/dist/entities/index.js +18 -0
- package/dist/entities/inventory.entity.d.ts +11 -0
- package/dist/entities/inventory.entity.js +55 -0
- package/dist/entities/it-info.entity.d.ts +12 -0
- package/dist/entities/it-info.entity.js +59 -0
- package/dist/entities/lob-assignment.entity.d.ts +6 -0
- package/dist/entities/lob-assignment.entity.js +35 -0
- package/dist/entities/lob-call-drivers.entity.d.ts +5 -0
- package/dist/entities/lob-call-drivers.entity.js +31 -0
- package/dist/entities/location-addresses.entity.d.ts +12 -0
- package/dist/entities/location-addresses.entity.js +59 -0
- package/dist/entities/ltp-history-transactions.entity.d.ts +11 -0
- package/dist/entities/ltp-history-transactions.entity.js +53 -0
- package/dist/entities/ltp-stm-roster.entity.d.ts +11 -0
- package/dist/entities/ltp-stm-roster.entity.js +55 -0
- package/dist/entities/modules-roles.entity.d.ts +13 -0
- package/dist/entities/modules-roles.entity.js +53 -0
- package/dist/entities/offphone-activities.entity.d.ts +5 -0
- package/dist/entities/offphone-activities.entity.js +31 -0
- package/dist/entities/onsite-ordering.entity.d.ts +11 -0
- package/dist/entities/onsite-ordering.entity.js +55 -0
- package/dist/entities/ost.entity.d.ts +6 -0
- package/dist/entities/ost.entity.js +35 -0
- package/dist/entities/otwe-offers.entity.d.ts +5 -0
- package/dist/entities/otwe-offers.entity.js +31 -0
- package/dist/entities/product-codes.entity.d.ts +17 -0
- package/dist/entities/product-codes.entity.js +77 -0
- package/dist/entities/question-group.entity.d.ts +9 -0
- package/dist/entities/question-group.entity.js +44 -0
- package/dist/entities/questions.entity.d.ts +10 -0
- package/dist/entities/questions.entity.js +49 -0
- package/dist/entities/regional-service-mgr.entity.d.ts +4 -0
- package/dist/entities/regional-service-mgr.entity.js +27 -0
- package/dist/entities/role-definition.entity.d.ts +7 -0
- package/dist/entities/role-definition.entity.js +35 -0
- package/dist/entities/role-privileges.entity.d.ts +10 -0
- package/dist/entities/role-privileges.entity.js +44 -0
- package/dist/entities/roster-personnel.entity.d.ts +9 -0
- package/dist/entities/roster-personnel.entity.js +49 -0
- package/dist/entities/roster.entity.d.ts +19 -0
- package/dist/entities/roster.entity.js +80 -0
- package/dist/entities/sap-raw-data.entity.d.ts +132 -0
- package/dist/entities/sap-raw-data.entity.js +539 -0
- package/dist/entities/service-type.entity.d.ts +4 -0
- package/dist/entities/service-type.entity.js +27 -0
- package/dist/entities/state.entity.d.ts +8 -0
- package/dist/entities/state.entity.js +43 -0
- package/dist/entities/template.entity.d.ts +10 -0
- package/dist/entities/template.entity.js +51 -0
- package/dist/entities/transactions.entity.d.ts +28 -0
- package/dist/entities/transactions.entity.js +118 -0
- package/dist/entities/user-roles.entity.d.ts +8 -0
- package/dist/entities/user-roles.entity.js +41 -0
- package/dist/entities/usr.entity.d.ts +21 -0
- package/dist/entities/usr.entity.js +93 -0
- package/dist/entities/warranty-category.entity.d.ts +4 -0
- package/dist/entities/warranty-category.entity.js +27 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +14 -0
- package/dist/test.d.ts +1 -0
- package/dist/test.js +7 -0
- package/package.json +64 -0
|
@@ -0,0 +1,47 @@
|
|
|
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.FileUpload = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
let FileUpload = class FileUpload {
|
|
15
|
+
};
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, typeorm_1.PrimaryGeneratedColumn)({ name: 'FILE_ID' }),
|
|
18
|
+
__metadata("design:type", Number)
|
|
19
|
+
], FileUpload.prototype, "fileId", void 0);
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, typeorm_1.Column)('timestamp', { name: 'UPLOAD_DATE' }),
|
|
22
|
+
__metadata("design:type", typeorm_1.Timestamp)
|
|
23
|
+
], FileUpload.prototype, "uploadDate", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)({ name: 'FILE_NAME' }),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], FileUpload.prototype, "fileName", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)({ name: 'FILE_PATH' }),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], FileUpload.prototype, "filePath", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)({ name: 'UPLOADED_BY' }),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], FileUpload.prototype, "uploadedBy", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)({ name: 'FILE_STATUS' }),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], FileUpload.prototype, "fileStatus", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.Column)({ name: 'FILE_TYPE' }),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], FileUpload.prototype, "fileType", void 0);
|
|
44
|
+
FileUpload = __decorate([
|
|
45
|
+
(0, typeorm_1.Entity)('FILE_UPLOAD')
|
|
46
|
+
], FileUpload);
|
|
47
|
+
exports.FileUpload = FileUpload;
|
|
@@ -0,0 +1,43 @@
|
|
|
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.FormDefinition = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const form_fields_entity_1 = require("./form-fields.entity");
|
|
15
|
+
const form_entity_1 = require("./form.entity");
|
|
16
|
+
let FormDefinition = class FormDefinition {
|
|
17
|
+
};
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
|
|
20
|
+
__metadata("design:type", Number)
|
|
21
|
+
], FormDefinition.prototype, "id", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, typeorm_1.ManyToOne)((type) => form_entity_1.Form),
|
|
24
|
+
(0, typeorm_1.JoinColumn)({ name: 'form_id' }),
|
|
25
|
+
__metadata("design:type", form_entity_1.Form)
|
|
26
|
+
], FormDefinition.prototype, "form", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.ManyToOne)((type) => form_fields_entity_1.FormFields),
|
|
29
|
+
(0, typeorm_1.JoinColumn)({ name: 'field_id' }),
|
|
30
|
+
__metadata("design:type", form_fields_entity_1.FormFields)
|
|
31
|
+
], FormDefinition.prototype, "field", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)({ name: 'index' }),
|
|
34
|
+
__metadata("design:type", Number)
|
|
35
|
+
], FormDefinition.prototype, "index", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)({ name: 'is_active', default: () => true }),
|
|
38
|
+
__metadata("design:type", Boolean)
|
|
39
|
+
], FormDefinition.prototype, "isActive", void 0);
|
|
40
|
+
FormDefinition = __decorate([
|
|
41
|
+
(0, typeorm_1.Entity)('form_definition', { schema: 'tracking' })
|
|
42
|
+
], FormDefinition);
|
|
43
|
+
exports.FormDefinition = FormDefinition;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Timestamp } from 'typeorm';
|
|
2
|
+
export declare class FormFields {
|
|
3
|
+
id: number;
|
|
4
|
+
division: string;
|
|
5
|
+
lob: string;
|
|
6
|
+
fieldLabel: string;
|
|
7
|
+
tooltip: string;
|
|
8
|
+
fieldName: string;
|
|
9
|
+
dataType: string;
|
|
10
|
+
fieldOptions: String;
|
|
11
|
+
isRequired: Boolean;
|
|
12
|
+
isActive: Boolean;
|
|
13
|
+
createdBy: String;
|
|
14
|
+
dateCreated: Timestamp;
|
|
15
|
+
updatedBy: String;
|
|
16
|
+
dateUpdated: Timestamp;
|
|
17
|
+
usage: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
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.FormFields = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
let FormFields = class FormFields {
|
|
15
|
+
};
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
18
|
+
__metadata("design:type", Number)
|
|
19
|
+
], FormFields.prototype, "id", void 0);
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, typeorm_1.Column)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], FormFields.prototype, "division", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], FormFields.prototype, "lob", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)({ name: 'field_label' }),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], FormFields.prototype, "fieldLabel", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)({ default: null }),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], FormFields.prototype, "tooltip", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)({ name: 'field_name' }),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], FormFields.prototype, "fieldName", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.Column)({ name: 'data_type' }),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], FormFields.prototype, "dataType", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, typeorm_1.Column)({ name: 'field_options' }),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], FormFields.prototype, "fieldOptions", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.Column)({ name: 'is_required', default: () => true }),
|
|
50
|
+
__metadata("design:type", Boolean)
|
|
51
|
+
], FormFields.prototype, "isRequired", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, typeorm_1.Column)({ name: 'is_active', default: () => true }),
|
|
54
|
+
__metadata("design:type", Boolean)
|
|
55
|
+
], FormFields.prototype, "isActive", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, typeorm_1.Column)({ name: 'created_by' }),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], FormFields.prototype, "createdBy", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, typeorm_1.Column)('timestamp', { name: 'date_created', default: new Date() }),
|
|
62
|
+
__metadata("design:type", typeorm_1.Timestamp)
|
|
63
|
+
], FormFields.prototype, "dateCreated", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, typeorm_1.Column)({ name: 'updated_by' }),
|
|
66
|
+
__metadata("design:type", String)
|
|
67
|
+
], FormFields.prototype, "updatedBy", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, typeorm_1.Column)('timestamp', { name: 'date_updated' }),
|
|
70
|
+
__metadata("design:type", typeorm_1.Timestamp)
|
|
71
|
+
], FormFields.prototype, "dateUpdated", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, typeorm_1.Column)(),
|
|
74
|
+
__metadata("design:type", String)
|
|
75
|
+
], FormFields.prototype, "usage", void 0);
|
|
76
|
+
FormFields = __decorate([
|
|
77
|
+
(0, typeorm_1.Entity)('form_fields', { schema: 'tracking' })
|
|
78
|
+
], FormFields);
|
|
79
|
+
exports.FormFields = FormFields;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Timestamp } from 'typeorm';
|
|
2
|
+
import { FormDefinition } from './form-definition.entity';
|
|
3
|
+
export declare class Form {
|
|
4
|
+
id: number;
|
|
5
|
+
division: string;
|
|
6
|
+
lob: string;
|
|
7
|
+
formType: string;
|
|
8
|
+
formName: string;
|
|
9
|
+
status: string;
|
|
10
|
+
createdBy: string;
|
|
11
|
+
dateCreated: Timestamp;
|
|
12
|
+
updatedBy: string;
|
|
13
|
+
dateUpdated: Timestamp;
|
|
14
|
+
fieldList: FormDefinition[];
|
|
15
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
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.Form = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const form_definition_entity_1 = require("./form-definition.entity");
|
|
15
|
+
let Form = class Form {
|
|
16
|
+
};
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
|
|
19
|
+
__metadata("design:type", Number)
|
|
20
|
+
], Form.prototype, "id", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, typeorm_1.Column)({ name: 'division' }),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], Form.prototype, "division", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)({ name: 'lob' }),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], Form.prototype, "lob", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({ name: 'form_type' }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], Form.prototype, "formType", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ name: 'form_name' }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], Form.prototype, "formName", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ name: 'status' }),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], Form.prototype, "status", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ name: 'created_by' }),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], Form.prototype, "createdBy", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)('timestamp', { name: 'date_created', default: new Date() }),
|
|
47
|
+
__metadata("design:type", typeorm_1.Timestamp)
|
|
48
|
+
], Form.prototype, "dateCreated", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ name: 'updated_by' }),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], Form.prototype, "updatedBy", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.Column)('timestamp', { name: 'date_updated' }),
|
|
55
|
+
__metadata("design:type", typeorm_1.Timestamp)
|
|
56
|
+
], Form.prototype, "dateUpdated", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, typeorm_1.OneToMany)(() => form_definition_entity_1.FormDefinition, (formDefinition) => formDefinition.form, { cascade: ['insert', 'update', 'remove'] }),
|
|
59
|
+
__metadata("design:type", Array)
|
|
60
|
+
], Form.prototype, "fieldList", void 0);
|
|
61
|
+
Form = __decorate([
|
|
62
|
+
(0, typeorm_1.Entity)('forms', { schema: 'tracking' })
|
|
63
|
+
], Form);
|
|
64
|
+
exports.Form = Form;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Timestamp } from 'typeorm';
|
|
2
|
+
import { Incident } from './incident.entity';
|
|
3
|
+
import { Users } from './usr.entity';
|
|
4
|
+
export declare class IncidentNotes {
|
|
5
|
+
id: number;
|
|
6
|
+
incident: Incident;
|
|
7
|
+
addedBy: Users;
|
|
8
|
+
notes: String;
|
|
9
|
+
dateAdded: Timestamp;
|
|
10
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.IncidentNotes = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const incident_entity_1 = require("./incident.entity");
|
|
15
|
+
const usr_entity_1 = require("./usr.entity");
|
|
16
|
+
let IncidentNotes = class IncidentNotes {
|
|
17
|
+
};
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
|
|
20
|
+
__metadata("design:type", Number)
|
|
21
|
+
], IncidentNotes.prototype, "id", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, typeorm_1.ManyToOne)((type) => incident_entity_1.Incident),
|
|
24
|
+
(0, typeorm_1.JoinColumn)({ name: 'incident_id' }),
|
|
25
|
+
__metadata("design:type", incident_entity_1.Incident)
|
|
26
|
+
], IncidentNotes.prototype, "incident", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.ManyToOne)((type) => usr_entity_1.Users),
|
|
29
|
+
(0, typeorm_1.JoinColumn)({ name: 'added_by' }),
|
|
30
|
+
__metadata("design:type", usr_entity_1.Users)
|
|
31
|
+
], IncidentNotes.prototype, "addedBy", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)({ name: 'notes' }),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], IncidentNotes.prototype, "notes", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)('timestamp', { name: 'date_added', default: new Date() }),
|
|
38
|
+
__metadata("design:type", typeorm_1.Timestamp)
|
|
39
|
+
], IncidentNotes.prototype, "dateAdded", void 0);
|
|
40
|
+
IncidentNotes = __decorate([
|
|
41
|
+
(0, typeorm_1.Entity)('incident_notes', { schema: 'public' })
|
|
42
|
+
], IncidentNotes);
|
|
43
|
+
exports.IncidentNotes = IncidentNotes;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Timestamp } from 'typeorm';
|
|
2
|
+
import { Roster } from './roster.entity';
|
|
3
|
+
import { Users } from './usr.entity';
|
|
4
|
+
import { IncidentNotes } from './incident-notes.entity';
|
|
5
|
+
export declare class Incident {
|
|
6
|
+
id: number;
|
|
7
|
+
ticketNumber: string;
|
|
8
|
+
createdBy: Users;
|
|
9
|
+
assignedTo: Users;
|
|
10
|
+
issueType: string;
|
|
11
|
+
issueDetail: string;
|
|
12
|
+
additionalDetails: string;
|
|
13
|
+
status: string;
|
|
14
|
+
dateCreated: Timestamp;
|
|
15
|
+
dateCompleted: Timestamp;
|
|
16
|
+
reportedBy: Roster;
|
|
17
|
+
resolution: string;
|
|
18
|
+
resolutionDetail: string;
|
|
19
|
+
notes: IncidentNotes[];
|
|
20
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
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.Incident = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const roster_entity_1 = require("./roster.entity");
|
|
15
|
+
const usr_entity_1 = require("./usr.entity");
|
|
16
|
+
const incident_notes_entity_1 = require("./incident-notes.entity");
|
|
17
|
+
let Incident = class Incident {
|
|
18
|
+
};
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
|
|
21
|
+
__metadata("design:type", Number)
|
|
22
|
+
], Incident.prototype, "id", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, typeorm_1.Column)({ name: 'ticket_number' }),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], Incident.prototype, "ticketNumber", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.OneToOne)((type) => usr_entity_1.Users),
|
|
29
|
+
(0, typeorm_1.JoinColumn)({ name: 'created_by' }),
|
|
30
|
+
__metadata("design:type", usr_entity_1.Users)
|
|
31
|
+
], Incident.prototype, "createdBy", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.OneToOne)((type) => usr_entity_1.Users),
|
|
34
|
+
(0, typeorm_1.JoinColumn)({ name: 'assigned_to' }),
|
|
35
|
+
__metadata("design:type", usr_entity_1.Users)
|
|
36
|
+
], Incident.prototype, "assignedTo", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ name: 'issue_type' }),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], Incident.prototype, "issueType", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ name: 'issue_detail' }),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], Incident.prototype, "issueDetail", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ name: 'additional_details' }),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], Incident.prototype, "additionalDetails", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ name: 'status' }),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], Incident.prototype, "status", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.Column)('timestamp', { name: 'date_created' }),
|
|
55
|
+
__metadata("design:type", typeorm_1.Timestamp)
|
|
56
|
+
], Incident.prototype, "dateCreated", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, typeorm_1.Column)('timestamp', { name: 'date_completed' }),
|
|
59
|
+
__metadata("design:type", typeorm_1.Timestamp)
|
|
60
|
+
], Incident.prototype, "dateCompleted", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, typeorm_1.OneToOne)((type) => roster_entity_1.Roster),
|
|
63
|
+
(0, typeorm_1.JoinColumn)({ name: 'reported_by' }),
|
|
64
|
+
__metadata("design:type", roster_entity_1.Roster)
|
|
65
|
+
], Incident.prototype, "reportedBy", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, typeorm_1.Column)({ name: 'resolution' }),
|
|
68
|
+
__metadata("design:type", String)
|
|
69
|
+
], Incident.prototype, "resolution", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, typeorm_1.Column)({ name: 'resolution_details' }),
|
|
72
|
+
__metadata("design:type", String)
|
|
73
|
+
], Incident.prototype, "resolutionDetail", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, typeorm_1.OneToMany)((type) => incident_notes_entity_1.IncidentNotes, (incidentNotes) => incidentNotes.incident, { cascade: ['insert'] }),
|
|
76
|
+
(0, typeorm_1.JoinColumn)({ name: 'incident_id' }),
|
|
77
|
+
__metadata("design:type", Array)
|
|
78
|
+
], Incident.prototype, "notes", void 0);
|
|
79
|
+
Incident = __decorate([
|
|
80
|
+
(0, typeorm_1.Entity)('incident', { schema: 'public' })
|
|
81
|
+
], Incident);
|
|
82
|
+
exports.Incident = Incident;
|
|
@@ -0,0 +1,47 @@
|
|
|
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.Incoterms = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
let Incoterms = class Incoterms {
|
|
15
|
+
};
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
|
|
18
|
+
__metadata("design:type", Number)
|
|
19
|
+
], Incoterms.prototype, "id", void 0);
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, typeorm_1.Column)({ name: 'hub_name' }),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], Incoterms.prototype, "hubName", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)({ name: 'plant_type' }),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], Incoterms.prototype, "plantType", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)({ name: 'incoterms' }),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], Incoterms.prototype, "incoterms", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)({ name: 'shipper' }),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], Incoterms.prototype, "shipper", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)({ name: 'shipping_instructions' }),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], Incoterms.prototype, "shippingInstructions", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.Column)({ name: 'ship_to_address' }),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], Incoterms.prototype, "shipToAddress", void 0);
|
|
44
|
+
Incoterms = __decorate([
|
|
45
|
+
(0, typeorm_1.Entity)('incoterms', { schema: 'enr' })
|
|
46
|
+
], Incoterms);
|
|
47
|
+
exports.Incoterms = Incoterms;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./applications.entity"), exports);
|
|
14
|
+
__exportStar(require("./modules-roles.entity"), exports);
|
|
15
|
+
__exportStar(require("./role-definition.entity"), exports);
|
|
16
|
+
__exportStar(require("./role-privileges.entity"), exports);
|
|
17
|
+
__exportStar(require("./user-roles.entity"), exports);
|
|
18
|
+
__exportStar(require("./usr.entity"), exports);
|
|
@@ -0,0 +1,55 @@
|
|
|
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.Inventory = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
let Inventory = class Inventory {
|
|
15
|
+
};
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
|
|
18
|
+
__metadata("design:type", Number)
|
|
19
|
+
], Inventory.prototype, "id", void 0);
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, typeorm_1.Column)({ name: 'plant' }),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], Inventory.prototype, "plant", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)({ name: 'division' }),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], Inventory.prototype, "division", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)({ name: 'material' }),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], Inventory.prototype, "material", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)({ name: 'material_description' }),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], Inventory.prototype, "materialDescription", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)({ name: 'storage' }),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], Inventory.prototype, "storage", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.Column)({ name: 'batch' }),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], Inventory.prototype, "batch", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, typeorm_1.Column)({ name: 'unit' }),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], Inventory.prototype, "unit", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.Column)({ name: 'available_qty' }),
|
|
50
|
+
__metadata("design:type", Number)
|
|
51
|
+
], Inventory.prototype, "availableQty", void 0);
|
|
52
|
+
Inventory = __decorate([
|
|
53
|
+
(0, typeorm_1.Entity)('inventory', { schema: 'enr' })
|
|
54
|
+
], Inventory);
|
|
55
|
+
exports.Inventory = Inventory;
|