@uniorganization/uni-lib 1.1.72 → 1.1.73
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 -4
- package/dist/config/db.config.js +28 -28
- package/dist/config/index.d.ts +3 -3
- package/dist/config/index.js +15 -15
- package/dist/config/shared-db.config.d.ts +4 -4
- package/dist/config/shared-db.config.js +28 -28
- package/dist/config/swagger.config.d.ts +1 -1
- package/dist/config/swagger.config.js +14 -14
- package/dist/entities/active-loads.entity.d.ts +18 -18
- package/dist/entities/active-loads.entity.js +84 -84
- package/dist/entities/applications.entity.d.ts +9 -9
- package/dist/entities/applications.entity.js +41 -41
- package/dist/entities/apps-user-id.entity.d.ts +20 -20
- package/dist/entities/apps-user-id.entity.js +91 -91
- package/dist/entities/audit.entity.d.ts +19 -19
- package/dist/entities/audit.entity.js +61 -61
- package/dist/entities/autofail-reasons.entity.d.ts +4 -4
- package/dist/entities/autofail-reasons.entity.js +27 -27
- package/dist/entities/blacklist.entity.d.ts +9 -9
- package/dist/entities/blacklist.entity.js +43 -43
- package/dist/entities/call-driver-data.entity.d.ts +23 -23
- package/dist/entities/call-driver-data.entity.js +97 -97
- package/dist/entities/call-drivers.entity.d.ts +19 -19
- package/dist/entities/call-drivers.entity.js +79 -79
- package/dist/entities/cb-completed-reasons.entity.d.ts +5 -5
- package/dist/entities/cb-completed-reasons.entity.js +31 -31
- package/dist/entities/change-alert.entity.d.ts +11 -11
- package/dist/entities/change-alert.entity.js +51 -51
- package/dist/entities/config.entity.d.ts +5 -5
- package/dist/entities/config.entity.js +31 -31
- package/dist/entities/daily-payment-status.entity.d.ts +27 -27
- package/dist/entities/daily-payment-status.entity.js +120 -120
- package/dist/entities/depreciation-categories.entity.d.ts +6 -6
- package/dist/entities/depreciation-categories.entity.js +32 -32
- package/dist/entities/depreciation-details.entity.d.ts +9 -9
- package/dist/entities/depreciation-details.entity.js +45 -45
- package/dist/entities/detail-type.entity.d.ts +4 -4
- package/dist/entities/detail-type.entity.js +27 -27
- package/dist/entities/dispute-request.entity.d.ts +27 -27
- package/dist/entities/dispute-request.entity.js +110 -110
- package/dist/entities/enr-calculation-log.entity.d.ts +49 -49
- package/dist/entities/enr-calculation-log.entity.js +203 -203
- package/dist/entities/enr-inventory.entity.d.ts +14 -14
- package/dist/entities/enr-inventory.entity.js +67 -67
- package/dist/entities/enr-results.entity.d.ts +5 -5
- package/dist/entities/enr-results.entity.js +31 -31
- package/dist/entities/escalation-category.entity.d.ts +4 -4
- package/dist/entities/escalation-category.entity.js +27 -27
- package/dist/entities/escalation-notes.entity.d.ts +10 -10
- package/dist/entities/escalation-notes.entity.js +43 -43
- package/dist/entities/escalation-outcome.entity.d.ts +4 -4
- package/dist/entities/escalation-outcome.entity.js +27 -27
- package/dist/entities/escalation-status-log.entity.d.ts +8 -8
- package/dist/entities/escalation-status-log.entity.js +37 -37
- package/dist/entities/escalation-status.entity.d.ts +4 -4
- package/dist/entities/escalation-status.entity.js +27 -27
- package/dist/entities/escalation-type.entity.d.ts +5 -5
- package/dist/entities/escalation-type.entity.js +31 -31
- package/dist/entities/escalations.entity.d.ts +39 -39
- package/dist/entities/escalations.entity.js +163 -163
- package/dist/entities/evaluation-autofail-reasons.entity.d.ts +7 -7
- package/dist/entities/evaluation-autofail-reasons.entity.js +35 -35
- package/dist/entities/evaluation-data.entity.d.ts +8 -8
- package/dist/entities/evaluation-data.entity.js +43 -43
- package/dist/entities/evaluation-forms.entity.d.ts +20 -20
- package/dist/entities/evaluation-forms.entity.js +67 -67
- package/dist/entities/evaluation-questions.entity.d.ts +10 -10
- package/dist/entities/evaluation-questions.entity.js +47 -47
- package/dist/entities/evaluations.entity.d.ts +37 -37
- package/dist/entities/evaluations.entity.js +151 -151
- package/dist/entities/file-contents.entity.d.ts +56 -56
- package/dist/entities/file-contents.entity.js +231 -231
- package/dist/entities/file-upload.entity.d.ts +10 -10
- package/dist/entities/file-upload.entity.js +47 -47
- package/dist/entities/form-definition.entity.d.ts +9 -9
- package/dist/entities/form-definition.entity.js +43 -43
- package/dist/entities/form-fields.entity.d.ts +18 -18
- package/dist/entities/form-fields.entity.js +79 -79
- package/dist/entities/form.entity.d.ts +15 -15
- package/dist/entities/form.entity.js +68 -68
- package/dist/entities/incident-notes.entity.d.ts +10 -10
- package/dist/entities/incident-notes.entity.js +43 -43
- package/dist/entities/incident.entity.d.ts +20 -20
- package/dist/entities/incident.entity.js +82 -82
- package/dist/entities/incoterms.entity.d.ts +9 -9
- package/dist/entities/incoterms.entity.js +47 -47
- package/dist/entities/index.d.ts +74 -74
- package/dist/entities/index.js +86 -86
- package/dist/entities/inventory.entity.d.ts +11 -11
- package/dist/entities/inventory.entity.js +55 -55
- package/dist/entities/it-info.entity.d.ts +12 -12
- package/dist/entities/it-info.entity.js +59 -59
- package/dist/entities/lob-assignment.entity.d.ts +6 -6
- package/dist/entities/lob-assignment.entity.js +35 -35
- package/dist/entities/lob-call-drivers.entity.d.ts +5 -5
- package/dist/entities/lob-call-drivers.entity.js +31 -31
- package/dist/entities/location-addresses.entity.d.ts +12 -12
- package/dist/entities/location-addresses.entity.js +59 -59
- package/dist/entities/ltp-history-transactions.entity.d.ts +11 -11
- package/dist/entities/ltp-history-transactions.entity.js +53 -53
- package/dist/entities/ltp-stm-roster.entity.d.ts +11 -11
- package/dist/entities/ltp-stm-roster.entity.js +55 -55
- package/dist/entities/modules-roles.entity.d.ts +13 -13
- package/dist/entities/modules-roles.entity.js +53 -53
- package/dist/entities/offphone-activities.entity.d.ts +5 -5
- package/dist/entities/offphone-activities.entity.js +31 -31
- package/dist/entities/onsite-ordering.entity.d.ts +11 -11
- package/dist/entities/onsite-ordering.entity.js +55 -55
- package/dist/entities/ost.entity.d.ts +6 -6
- package/dist/entities/ost.entity.js +35 -35
- package/dist/entities/otwe-offers.entity.d.ts +5 -5
- package/dist/entities/otwe-offers.entity.js +31 -31
- package/dist/entities/outbound-ticket-history.entity.d.ts +13 -13
- package/dist/entities/outbound-ticket-history.entity.js +53 -53
- package/dist/entities/pending-ticket-history.entity.d.ts +9 -9
- package/dist/entities/pending-ticket-history.entity.js +47 -47
- package/dist/entities/product-codes.entity.d.ts +17 -17
- package/dist/entities/product-codes.entity.js +77 -77
- package/dist/entities/question-group.entity.d.ts +11 -11
- package/dist/entities/question-group.entity.js +50 -50
- package/dist/entities/questions.entity.d.ts +10 -10
- package/dist/entities/questions.entity.js +49 -49
- package/dist/entities/regional-service-mgr.entity.d.ts +4 -4
- package/dist/entities/regional-service-mgr.entity.js +27 -27
- package/dist/entities/role-definition.entity.d.ts +7 -7
- package/dist/entities/role-definition.entity.js +35 -35
- package/dist/entities/role-privileges.entity.d.ts +10 -10
- package/dist/entities/role-privileges.entity.js +44 -44
- package/dist/entities/roster-personnel.entity.d.ts +9 -9
- package/dist/entities/roster-personnel.entity.js +49 -49
- package/dist/entities/roster.entity.d.ts +19 -19
- package/dist/entities/roster.entity.js +80 -80
- package/dist/entities/sap-raw-data.entity.d.ts +132 -132
- package/dist/entities/sap-raw-data.entity.js +539 -539
- package/dist/entities/sap-raw.entity.d.ts +36 -36
- package/dist/entities/sap-raw.entity.js +155 -155
- package/dist/entities/service-type.entity.d.ts +4 -4
- package/dist/entities/service-type.entity.js +27 -27
- package/dist/entities/skipped-ticket.entity.d.ts +13 -13
- package/dist/entities/skipped-ticket.entity.js +63 -63
- package/dist/entities/state.entity.d.ts +8 -8
- package/dist/entities/state.entity.js +43 -43
- package/dist/entities/template.entity.d.ts +10 -10
- package/dist/entities/template.entity.js +51 -51
- package/dist/entities/ticket-queue.entity.d.ts +8 -8
- package/dist/entities/ticket-queue.entity.js +43 -43
- package/dist/entities/transactions.entity.d.ts +32 -32
- package/dist/entities/transactions.entity.js +132 -132
- package/dist/entities/user-campaign.entity.d.ts +11 -10
- package/dist/entities/user-campaign.entity.js +45 -45
- package/dist/entities/user-roles.entity.d.ts +8 -8
- package/dist/entities/user-roles.entity.js +41 -41
- package/dist/entities/user-roster.view.d.ts +38 -38
- package/dist/entities/user-roster.view.js +163 -163
- package/dist/entities/usr.entity.d.ts +24 -24
- package/dist/entities/usr.entity.js +104 -104
- package/dist/entities/vw-escalation-age.d.ts +12 -12
- package/dist/entities/vw-escalation-age.js +62 -62
- package/dist/entities/warranty-category.entity.d.ts +4 -4
- package/dist/entities/warranty-category.entity.js +27 -27
- package/dist/index.d.ts +5 -5
- package/dist/index.js +17 -17
- package/dist/middlewares/index.d.ts +1 -1
- package/dist/middlewares/index.js +13 -13
- package/dist/middlewares/version-checker.middleware.d.ts +2 -2
- package/dist/middlewares/version-checker.middleware.js +28 -28
- package/dist/modules/common/common.module.d.ts +2 -2
- package/dist/modules/common/common.module.js +28 -28
- package/dist/modules/common/index.d.ts +4 -4
- package/dist/modules/common/index.js +16 -16
- package/dist/modules/common/jwt-auth.guard.d.ts +5 -5
- package/dist/modules/common/jwt-auth.guard.js +26 -26
- package/dist/modules/common/jwt.strategy.d.ts +9 -9
- package/dist/modules/common/jwt.strategy.js +43 -43
- package/dist/modules/common/logged-user.decorator.d.ts +1 -1
- package/dist/modules/common/logged-user.decorator.js +9 -9
- package/dist/modules/index.d.ts +1 -1
- package/dist/modules/index.js +13 -13
- package/dist/utils/index.d.ts +2 -2
- package/dist/utils/index.js +14 -14
- package/dist/utils/object.utils.d.ts +2 -2
- package/dist/utils/object.utils.js +19 -19
- package/dist/utils/parse.util.d.ts +3 -3
- package/dist/utils/parse.util.js +32 -32
- package/dist/utils/string.utils.d.ts +5 -5
- package/dist/utils/string.utils.js +118 -118
- package/package.json +75 -75
- package/dist/entities/pending-ticket-history.entity..d.ts +0 -10
- package/dist/entities/pending-ticket-history.entity..js +0 -47
- package/dist/interceptors/audit-user-activity.interceptor.d.ts +0 -12
- package/dist/interceptors/audit-user-activity.interceptor.js +0 -57
- package/dist/interceptors/index.d.ts +0 -1
- package/dist/interceptors/index.js +0 -13
- package/dist/modules/crud/base-service.interface.d.ts +0 -7
- package/dist/modules/crud/base-service.interface.js +0 -2
- package/dist/modules/crud/base.controller.d.ts +0 -11
- package/dist/modules/crud/base.controller.js +0 -92
- package/dist/modules/crud/base.entity.d.ts +0 -3
- package/dist/modules/crud/base.entity.js +0 -20
- package/dist/modules/crud/base.service.d.ts +0 -12
- package/dist/modules/crud/base.service.js +0 -88
- package/dist/modules/crud/index.d.ts +0 -4
- package/dist/modules/crud/index.js +0 -20
- package/dist/services/audit.service.d.ts +0 -8
- package/dist/services/audit.service.js +0 -49
- package/dist/services/index.d.ts +0 -1
- package/dist/services/index.js +0 -13
|
@@ -1,203 +1,203 @@
|
|
|
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.CalculationLog = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const usr_entity_1 = require("./usr.entity");
|
|
15
|
-
let CalculationLog = class CalculationLog {
|
|
16
|
-
};
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
|
|
19
|
-
__metadata("design:type", Number)
|
|
20
|
-
], CalculationLog.prototype, "id", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, typeorm_1.Column)({ name: 'transaction_id' }),
|
|
23
|
-
__metadata("design:type", String)
|
|
24
|
-
], CalculationLog.prototype, "transactionId", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, typeorm_1.Column)({ name: 'product_type' }),
|
|
27
|
-
__metadata("design:type", String)
|
|
28
|
-
], CalculationLog.prototype, "productType", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
(0, typeorm_1.Column)({ name: 'calculation_type' }),
|
|
31
|
-
__metadata("design:type", String)
|
|
32
|
-
], CalculationLog.prototype, "calculationType", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
(0, typeorm_1.Column)({ name: 'refund_offer_date' }),
|
|
35
|
-
__metadata("design:type", Date)
|
|
36
|
-
], CalculationLog.prototype, "refundOfferDate", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, typeorm_1.Column)({ name: 'purchase_date' }),
|
|
39
|
-
__metadata("design:type", Date)
|
|
40
|
-
], CalculationLog.prototype, "purchaseDate", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
(0, typeorm_1.Column)({ name: 'manufacturer_date' }),
|
|
43
|
-
__metadata("design:type", Date)
|
|
44
|
-
], CalculationLog.prototype, "manufacturerDate", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
(0, typeorm_1.Column)({ name: 'product_price' }),
|
|
47
|
-
__metadata("design:type", Number)
|
|
48
|
-
], CalculationLog.prototype, "productPrice", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
(0, typeorm_1.Column)({ name: 'discount_listed' }),
|
|
51
|
-
__metadata("design:type", Number)
|
|
52
|
-
], CalculationLog.prototype, "discountListed", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
(0, typeorm_1.Column)({ name: 'installation_fee' }),
|
|
55
|
-
__metadata("design:type", Number)
|
|
56
|
-
], CalculationLog.prototype, "installationFee", void 0);
|
|
57
|
-
__decorate([
|
|
58
|
-
(0, typeorm_1.Column)({ name: 'warranty_fee' }),
|
|
59
|
-
__metadata("design:type", Number)
|
|
60
|
-
], CalculationLog.prototype, "warrantyFee", void 0);
|
|
61
|
-
__decorate([
|
|
62
|
-
(0, typeorm_1.Column)({ name: 'delivery_fee' }),
|
|
63
|
-
__metadata("design:type", Number)
|
|
64
|
-
], CalculationLog.prototype, "deliveryFee", void 0);
|
|
65
|
-
__decorate([
|
|
66
|
-
(0, typeorm_1.Column)({ name: 'tax_rate' }),
|
|
67
|
-
__metadata("design:type", Number)
|
|
68
|
-
], CalculationLog.prototype, "taxRate", void 0);
|
|
69
|
-
__decorate([
|
|
70
|
-
(0, typeorm_1.Column)({ name: 'tax_amount' }),
|
|
71
|
-
__metadata("design:type", Number)
|
|
72
|
-
], CalculationLog.prototype, "taxAmount", void 0);
|
|
73
|
-
__decorate([
|
|
74
|
-
(0, typeorm_1.Column)({ name: 'subtotal' }),
|
|
75
|
-
__metadata("design:type", Number)
|
|
76
|
-
], CalculationLog.prototype, "subtotal", void 0);
|
|
77
|
-
__decorate([
|
|
78
|
-
(0, typeorm_1.Column)({ name: 'depreciation_rate' }),
|
|
79
|
-
__metadata("design:type", Number)
|
|
80
|
-
], CalculationLog.prototype, "depreciationRate", void 0);
|
|
81
|
-
__decorate([
|
|
82
|
-
(0, typeorm_1.Column)({ name: 'tax_refund' }),
|
|
83
|
-
__metadata("design:type", Number)
|
|
84
|
-
], CalculationLog.prototype, "taxRefund", void 0);
|
|
85
|
-
__decorate([
|
|
86
|
-
(0, typeorm_1.Column)({ name: 'total_refund' }),
|
|
87
|
-
__metadata("design:type", Number)
|
|
88
|
-
], CalculationLog.prototype, "totalRefund", void 0);
|
|
89
|
-
__decorate([
|
|
90
|
-
(0, typeorm_1.Column)({ name: 'e_coupon_incentive' }),
|
|
91
|
-
__metadata("design:type", Number)
|
|
92
|
-
], CalculationLog.prototype, "eCouponIncentive", void 0);
|
|
93
|
-
__decorate([
|
|
94
|
-
(0, typeorm_1.Column)({ name: 'e_coupon_amount' }),
|
|
95
|
-
__metadata("design:type", Number)
|
|
96
|
-
], CalculationLog.prototype, "eCouponAmount", void 0);
|
|
97
|
-
__decorate([
|
|
98
|
-
(0, typeorm_1.Column)('timestamp', { name: 'date_created' }),
|
|
99
|
-
__metadata("design:type", typeorm_1.Timestamp)
|
|
100
|
-
], CalculationLog.prototype, "dateCreated", void 0);
|
|
101
|
-
__decorate([
|
|
102
|
-
(0, typeorm_1.Column)('timestamp', { name: 'date_updated' }),
|
|
103
|
-
__metadata("design:type", typeorm_1.Timestamp)
|
|
104
|
-
], CalculationLog.prototype, "dateUpdated", void 0);
|
|
105
|
-
__decorate([
|
|
106
|
-
(0, typeorm_1.Column)({ name: 'calculation' }),
|
|
107
|
-
__metadata("design:type", String)
|
|
108
|
-
], CalculationLog.prototype, "calculation", void 0);
|
|
109
|
-
__decorate([
|
|
110
|
-
(0, typeorm_1.Column)({ name: 'discount_type' }),
|
|
111
|
-
__metadata("design:type", String)
|
|
112
|
-
], CalculationLog.prototype, "discountType", void 0);
|
|
113
|
-
__decorate([
|
|
114
|
-
(0, typeorm_1.Column)({ name: 'discount_applied_to' }),
|
|
115
|
-
__metadata("design:type", String)
|
|
116
|
-
], CalculationLog.prototype, "discountAppliedTo", void 0);
|
|
117
|
-
__decorate([
|
|
118
|
-
(0, typeorm_1.Column)({ name: 'zip_code' }),
|
|
119
|
-
__metadata("design:type", String)
|
|
120
|
-
], CalculationLog.prototype, "zipCode", void 0);
|
|
121
|
-
__decorate([
|
|
122
|
-
(0, typeorm_1.Column)({ name: 'state_code' }),
|
|
123
|
-
__metadata("design:type", String)
|
|
124
|
-
], CalculationLog.prototype, "stateCode", void 0);
|
|
125
|
-
__decorate([
|
|
126
|
-
(0, typeorm_1.Column)({ name: 'sra_offered', default: () => false }),
|
|
127
|
-
__metadata("design:type", String)
|
|
128
|
-
], CalculationLog.prototype, "sraOffered", void 0);
|
|
129
|
-
__decorate([
|
|
130
|
-
(0, typeorm_1.Column)({ name: 'pricing' }),
|
|
131
|
-
__metadata("design:type", String)
|
|
132
|
-
], CalculationLog.prototype, "pricing", void 0);
|
|
133
|
-
__decorate([
|
|
134
|
-
(0, typeorm_1.Column)({ name: 'current_model' }),
|
|
135
|
-
__metadata("design:type", String)
|
|
136
|
-
], CalculationLog.prototype, "currentModel", void 0);
|
|
137
|
-
__decorate([
|
|
138
|
-
(0, typeorm_1.Column)({ name: 'exchange_model' }),
|
|
139
|
-
__metadata("design:type", String)
|
|
140
|
-
], CalculationLog.prototype, "exchangeModel", void 0);
|
|
141
|
-
__decorate([
|
|
142
|
-
(0, typeorm_1.Column)({ name: 'exchange_model_price', precision: 12, scale: 2 }),
|
|
143
|
-
__metadata("design:type", Number)
|
|
144
|
-
], CalculationLog.prototype, "exchangeModelPrice", void 0);
|
|
145
|
-
__decorate([
|
|
146
|
-
(0, typeorm_1.Column)({ name: 'exchange_fee', precision: 12, scale: 2 }),
|
|
147
|
-
__metadata("design:type", Number)
|
|
148
|
-
], CalculationLog.prototype, "exchangeFee", void 0);
|
|
149
|
-
__decorate([
|
|
150
|
-
(0, typeorm_1.Column)({ name: 'exchange_reason' }),
|
|
151
|
-
__metadata("design:type", String)
|
|
152
|
-
], CalculationLog.prototype, "exchangeReason", void 0);
|
|
153
|
-
__decorate([
|
|
154
|
-
(0, typeorm_1.Column)({ name: 'exchange_type' }),
|
|
155
|
-
__metadata("design:type", String)
|
|
156
|
-
], CalculationLog.prototype, "exchangeType", void 0);
|
|
157
|
-
__decorate([
|
|
158
|
-
(0, typeorm_1.Column)({ name: 'shipper' }),
|
|
159
|
-
__metadata("design:type", String)
|
|
160
|
-
], CalculationLog.prototype, "shipper", void 0);
|
|
161
|
-
__decorate([
|
|
162
|
-
(0, typeorm_1.Column)({ name: 'plant_type' }),
|
|
163
|
-
__metadata("design:type", String)
|
|
164
|
-
], CalculationLog.prototype, "plantType", void 0);
|
|
165
|
-
__decorate([
|
|
166
|
-
(0, typeorm_1.Column)({ name: 'plant' }),
|
|
167
|
-
__metadata("design:type", String)
|
|
168
|
-
], CalculationLog.prototype, "plant", void 0);
|
|
169
|
-
__decorate([
|
|
170
|
-
(0, typeorm_1.Column)({ name: 'storage_location' }),
|
|
171
|
-
__metadata("design:type", String)
|
|
172
|
-
], CalculationLog.prototype, "storageLocation", void 0);
|
|
173
|
-
__decorate([
|
|
174
|
-
(0, typeorm_1.Column)({ name: 'incoterms' }),
|
|
175
|
-
__metadata("design:type", String)
|
|
176
|
-
], CalculationLog.prototype, "incoterms", void 0);
|
|
177
|
-
__decorate([
|
|
178
|
-
(0, typeorm_1.Column)({ name: 'shipping_instructions' }),
|
|
179
|
-
__metadata("design:type", String)
|
|
180
|
-
], CalculationLog.prototype, "shippingInstructions", void 0);
|
|
181
|
-
__decorate([
|
|
182
|
-
(0, typeorm_1.Column)({ name: 'ship_to_location' }),
|
|
183
|
-
__metadata("design:type", String)
|
|
184
|
-
], CalculationLog.prototype, "shipToLocation", void 0);
|
|
185
|
-
__decorate([
|
|
186
|
-
(0, typeorm_1.OneToOne)((type) => usr_entity_1.Users),
|
|
187
|
-
(0, typeorm_1.JoinColumn)({ name: 'agent_id' }),
|
|
188
|
-
__metadata("design:type", usr_entity_1.Users)
|
|
189
|
-
], CalculationLog.prototype, "agent", void 0);
|
|
190
|
-
__decorate([
|
|
191
|
-
(0, typeorm_1.OneToOne)((type) => usr_entity_1.Users),
|
|
192
|
-
(0, typeorm_1.JoinColumn)({ name: 'supervisor_id' }),
|
|
193
|
-
__metadata("design:type", usr_entity_1.Users)
|
|
194
|
-
], CalculationLog.prototype, "supervisor", void 0);
|
|
195
|
-
__decorate([
|
|
196
|
-
(0, typeorm_1.OneToOne)((type) => usr_entity_1.Users),
|
|
197
|
-
(0, typeorm_1.JoinColumn)({ name: 'approved_by' }),
|
|
198
|
-
__metadata("design:type", usr_entity_1.Users)
|
|
199
|
-
], CalculationLog.prototype, "approvedBy", void 0);
|
|
200
|
-
CalculationLog = __decorate([
|
|
201
|
-
(0, typeorm_1.Entity)('calculation_log', { schema: 'enr' })
|
|
202
|
-
], CalculationLog);
|
|
203
|
-
exports.CalculationLog = CalculationLog;
|
|
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.CalculationLog = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const usr_entity_1 = require("./usr.entity");
|
|
15
|
+
let CalculationLog = class CalculationLog {
|
|
16
|
+
};
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
|
|
19
|
+
__metadata("design:type", Number)
|
|
20
|
+
], CalculationLog.prototype, "id", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, typeorm_1.Column)({ name: 'transaction_id' }),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], CalculationLog.prototype, "transactionId", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)({ name: 'product_type' }),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], CalculationLog.prototype, "productType", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({ name: 'calculation_type' }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], CalculationLog.prototype, "calculationType", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ name: 'refund_offer_date' }),
|
|
35
|
+
__metadata("design:type", Date)
|
|
36
|
+
], CalculationLog.prototype, "refundOfferDate", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ name: 'purchase_date' }),
|
|
39
|
+
__metadata("design:type", Date)
|
|
40
|
+
], CalculationLog.prototype, "purchaseDate", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ name: 'manufacturer_date' }),
|
|
43
|
+
__metadata("design:type", Date)
|
|
44
|
+
], CalculationLog.prototype, "manufacturerDate", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ name: 'product_price' }),
|
|
47
|
+
__metadata("design:type", Number)
|
|
48
|
+
], CalculationLog.prototype, "productPrice", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ name: 'discount_listed' }),
|
|
51
|
+
__metadata("design:type", Number)
|
|
52
|
+
], CalculationLog.prototype, "discountListed", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.Column)({ name: 'installation_fee' }),
|
|
55
|
+
__metadata("design:type", Number)
|
|
56
|
+
], CalculationLog.prototype, "installationFee", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, typeorm_1.Column)({ name: 'warranty_fee' }),
|
|
59
|
+
__metadata("design:type", Number)
|
|
60
|
+
], CalculationLog.prototype, "warrantyFee", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, typeorm_1.Column)({ name: 'delivery_fee' }),
|
|
63
|
+
__metadata("design:type", Number)
|
|
64
|
+
], CalculationLog.prototype, "deliveryFee", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, typeorm_1.Column)({ name: 'tax_rate' }),
|
|
67
|
+
__metadata("design:type", Number)
|
|
68
|
+
], CalculationLog.prototype, "taxRate", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, typeorm_1.Column)({ name: 'tax_amount' }),
|
|
71
|
+
__metadata("design:type", Number)
|
|
72
|
+
], CalculationLog.prototype, "taxAmount", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, typeorm_1.Column)({ name: 'subtotal' }),
|
|
75
|
+
__metadata("design:type", Number)
|
|
76
|
+
], CalculationLog.prototype, "subtotal", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, typeorm_1.Column)({ name: 'depreciation_rate' }),
|
|
79
|
+
__metadata("design:type", Number)
|
|
80
|
+
], CalculationLog.prototype, "depreciationRate", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, typeorm_1.Column)({ name: 'tax_refund' }),
|
|
83
|
+
__metadata("design:type", Number)
|
|
84
|
+
], CalculationLog.prototype, "taxRefund", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, typeorm_1.Column)({ name: 'total_refund' }),
|
|
87
|
+
__metadata("design:type", Number)
|
|
88
|
+
], CalculationLog.prototype, "totalRefund", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, typeorm_1.Column)({ name: 'e_coupon_incentive' }),
|
|
91
|
+
__metadata("design:type", Number)
|
|
92
|
+
], CalculationLog.prototype, "eCouponIncentive", void 0);
|
|
93
|
+
__decorate([
|
|
94
|
+
(0, typeorm_1.Column)({ name: 'e_coupon_amount' }),
|
|
95
|
+
__metadata("design:type", Number)
|
|
96
|
+
], CalculationLog.prototype, "eCouponAmount", void 0);
|
|
97
|
+
__decorate([
|
|
98
|
+
(0, typeorm_1.Column)('timestamp', { name: 'date_created' }),
|
|
99
|
+
__metadata("design:type", typeorm_1.Timestamp)
|
|
100
|
+
], CalculationLog.prototype, "dateCreated", void 0);
|
|
101
|
+
__decorate([
|
|
102
|
+
(0, typeorm_1.Column)('timestamp', { name: 'date_updated' }),
|
|
103
|
+
__metadata("design:type", typeorm_1.Timestamp)
|
|
104
|
+
], CalculationLog.prototype, "dateUpdated", void 0);
|
|
105
|
+
__decorate([
|
|
106
|
+
(0, typeorm_1.Column)({ name: 'calculation' }),
|
|
107
|
+
__metadata("design:type", String)
|
|
108
|
+
], CalculationLog.prototype, "calculation", void 0);
|
|
109
|
+
__decorate([
|
|
110
|
+
(0, typeorm_1.Column)({ name: 'discount_type' }),
|
|
111
|
+
__metadata("design:type", String)
|
|
112
|
+
], CalculationLog.prototype, "discountType", void 0);
|
|
113
|
+
__decorate([
|
|
114
|
+
(0, typeorm_1.Column)({ name: 'discount_applied_to' }),
|
|
115
|
+
__metadata("design:type", String)
|
|
116
|
+
], CalculationLog.prototype, "discountAppliedTo", void 0);
|
|
117
|
+
__decorate([
|
|
118
|
+
(0, typeorm_1.Column)({ name: 'zip_code' }),
|
|
119
|
+
__metadata("design:type", String)
|
|
120
|
+
], CalculationLog.prototype, "zipCode", void 0);
|
|
121
|
+
__decorate([
|
|
122
|
+
(0, typeorm_1.Column)({ name: 'state_code' }),
|
|
123
|
+
__metadata("design:type", String)
|
|
124
|
+
], CalculationLog.prototype, "stateCode", void 0);
|
|
125
|
+
__decorate([
|
|
126
|
+
(0, typeorm_1.Column)({ name: 'sra_offered', default: () => false }),
|
|
127
|
+
__metadata("design:type", String)
|
|
128
|
+
], CalculationLog.prototype, "sraOffered", void 0);
|
|
129
|
+
__decorate([
|
|
130
|
+
(0, typeorm_1.Column)({ name: 'pricing' }),
|
|
131
|
+
__metadata("design:type", String)
|
|
132
|
+
], CalculationLog.prototype, "pricing", void 0);
|
|
133
|
+
__decorate([
|
|
134
|
+
(0, typeorm_1.Column)({ name: 'current_model' }),
|
|
135
|
+
__metadata("design:type", String)
|
|
136
|
+
], CalculationLog.prototype, "currentModel", void 0);
|
|
137
|
+
__decorate([
|
|
138
|
+
(0, typeorm_1.Column)({ name: 'exchange_model' }),
|
|
139
|
+
__metadata("design:type", String)
|
|
140
|
+
], CalculationLog.prototype, "exchangeModel", void 0);
|
|
141
|
+
__decorate([
|
|
142
|
+
(0, typeorm_1.Column)({ name: 'exchange_model_price', precision: 12, scale: 2 }),
|
|
143
|
+
__metadata("design:type", Number)
|
|
144
|
+
], CalculationLog.prototype, "exchangeModelPrice", void 0);
|
|
145
|
+
__decorate([
|
|
146
|
+
(0, typeorm_1.Column)({ name: 'exchange_fee', precision: 12, scale: 2 }),
|
|
147
|
+
__metadata("design:type", Number)
|
|
148
|
+
], CalculationLog.prototype, "exchangeFee", void 0);
|
|
149
|
+
__decorate([
|
|
150
|
+
(0, typeorm_1.Column)({ name: 'exchange_reason' }),
|
|
151
|
+
__metadata("design:type", String)
|
|
152
|
+
], CalculationLog.prototype, "exchangeReason", void 0);
|
|
153
|
+
__decorate([
|
|
154
|
+
(0, typeorm_1.Column)({ name: 'exchange_type' }),
|
|
155
|
+
__metadata("design:type", String)
|
|
156
|
+
], CalculationLog.prototype, "exchangeType", void 0);
|
|
157
|
+
__decorate([
|
|
158
|
+
(0, typeorm_1.Column)({ name: 'shipper' }),
|
|
159
|
+
__metadata("design:type", String)
|
|
160
|
+
], CalculationLog.prototype, "shipper", void 0);
|
|
161
|
+
__decorate([
|
|
162
|
+
(0, typeorm_1.Column)({ name: 'plant_type' }),
|
|
163
|
+
__metadata("design:type", String)
|
|
164
|
+
], CalculationLog.prototype, "plantType", void 0);
|
|
165
|
+
__decorate([
|
|
166
|
+
(0, typeorm_1.Column)({ name: 'plant' }),
|
|
167
|
+
__metadata("design:type", String)
|
|
168
|
+
], CalculationLog.prototype, "plant", void 0);
|
|
169
|
+
__decorate([
|
|
170
|
+
(0, typeorm_1.Column)({ name: 'storage_location' }),
|
|
171
|
+
__metadata("design:type", String)
|
|
172
|
+
], CalculationLog.prototype, "storageLocation", void 0);
|
|
173
|
+
__decorate([
|
|
174
|
+
(0, typeorm_1.Column)({ name: 'incoterms' }),
|
|
175
|
+
__metadata("design:type", String)
|
|
176
|
+
], CalculationLog.prototype, "incoterms", void 0);
|
|
177
|
+
__decorate([
|
|
178
|
+
(0, typeorm_1.Column)({ name: 'shipping_instructions' }),
|
|
179
|
+
__metadata("design:type", String)
|
|
180
|
+
], CalculationLog.prototype, "shippingInstructions", void 0);
|
|
181
|
+
__decorate([
|
|
182
|
+
(0, typeorm_1.Column)({ name: 'ship_to_location' }),
|
|
183
|
+
__metadata("design:type", String)
|
|
184
|
+
], CalculationLog.prototype, "shipToLocation", void 0);
|
|
185
|
+
__decorate([
|
|
186
|
+
(0, typeorm_1.OneToOne)((type) => usr_entity_1.Users),
|
|
187
|
+
(0, typeorm_1.JoinColumn)({ name: 'agent_id' }),
|
|
188
|
+
__metadata("design:type", usr_entity_1.Users)
|
|
189
|
+
], CalculationLog.prototype, "agent", void 0);
|
|
190
|
+
__decorate([
|
|
191
|
+
(0, typeorm_1.OneToOne)((type) => usr_entity_1.Users),
|
|
192
|
+
(0, typeorm_1.JoinColumn)({ name: 'supervisor_id' }),
|
|
193
|
+
__metadata("design:type", usr_entity_1.Users)
|
|
194
|
+
], CalculationLog.prototype, "supervisor", void 0);
|
|
195
|
+
__decorate([
|
|
196
|
+
(0, typeorm_1.OneToOne)((type) => usr_entity_1.Users),
|
|
197
|
+
(0, typeorm_1.JoinColumn)({ name: 'approved_by' }),
|
|
198
|
+
__metadata("design:type", usr_entity_1.Users)
|
|
199
|
+
], CalculationLog.prototype, "approvedBy", void 0);
|
|
200
|
+
CalculationLog = __decorate([
|
|
201
|
+
(0, typeorm_1.Entity)('calculation_log', { schema: 'enr' })
|
|
202
|
+
], CalculationLog);
|
|
203
|
+
exports.CalculationLog = CalculationLog;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export declare class EnrInventory {
|
|
2
|
-
id: number;
|
|
3
|
-
company: string;
|
|
4
|
-
plant: string;
|
|
5
|
-
division: string;
|
|
6
|
-
lob: string;
|
|
7
|
-
material: string;
|
|
8
|
-
storageLocation: string;
|
|
9
|
-
stockType: string;
|
|
10
|
-
available: string;
|
|
11
|
-
materialGroup: string;
|
|
12
|
-
materialType: string;
|
|
13
|
-
materialName: string;
|
|
14
|
-
}
|
|
1
|
+
export declare class EnrInventory {
|
|
2
|
+
id: number;
|
|
3
|
+
company: string;
|
|
4
|
+
plant: string;
|
|
5
|
+
division: string;
|
|
6
|
+
lob: string;
|
|
7
|
+
material: string;
|
|
8
|
+
storageLocation: string;
|
|
9
|
+
stockType: string;
|
|
10
|
+
available: string;
|
|
11
|
+
materialGroup: string;
|
|
12
|
+
materialType: string;
|
|
13
|
+
materialName: string;
|
|
14
|
+
}
|
|
@@ -1,67 +1,67 @@
|
|
|
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.EnrInventory = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
let EnrInventory = class EnrInventory {
|
|
15
|
-
};
|
|
16
|
-
__decorate([
|
|
17
|
-
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
18
|
-
__metadata("design:type", Number)
|
|
19
|
-
], EnrInventory.prototype, "id", void 0);
|
|
20
|
-
__decorate([
|
|
21
|
-
(0, typeorm_1.Column)(),
|
|
22
|
-
__metadata("design:type", String)
|
|
23
|
-
], EnrInventory.prototype, "company", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, typeorm_1.Column)(),
|
|
26
|
-
__metadata("design:type", String)
|
|
27
|
-
], EnrInventory.prototype, "plant", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, typeorm_1.Column)(),
|
|
30
|
-
__metadata("design:type", String)
|
|
31
|
-
], EnrInventory.prototype, "division", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, typeorm_1.Column)(),
|
|
34
|
-
__metadata("design:type", String)
|
|
35
|
-
], EnrInventory.prototype, "lob", void 0);
|
|
36
|
-
__decorate([
|
|
37
|
-
(0, typeorm_1.Column)(),
|
|
38
|
-
__metadata("design:type", String)
|
|
39
|
-
], EnrInventory.prototype, "material", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, typeorm_1.Column)({ name: 'storage_location' }),
|
|
42
|
-
__metadata("design:type", String)
|
|
43
|
-
], EnrInventory.prototype, "storageLocation", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, typeorm_1.Column)({ name: 'stock_type' }),
|
|
46
|
-
__metadata("design:type", String)
|
|
47
|
-
], EnrInventory.prototype, "stockType", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
(0, typeorm_1.Column)(),
|
|
50
|
-
__metadata("design:type", String)
|
|
51
|
-
], EnrInventory.prototype, "available", void 0);
|
|
52
|
-
__decorate([
|
|
53
|
-
(0, typeorm_1.Column)({ name: 'material_group' }),
|
|
54
|
-
__metadata("design:type", String)
|
|
55
|
-
], EnrInventory.prototype, "materialGroup", void 0);
|
|
56
|
-
__decorate([
|
|
57
|
-
(0, typeorm_1.Column)({ name: 'material_type' }),
|
|
58
|
-
__metadata("design:type", String)
|
|
59
|
-
], EnrInventory.prototype, "materialType", void 0);
|
|
60
|
-
__decorate([
|
|
61
|
-
(0, typeorm_1.Column)({ name: 'material_name' }),
|
|
62
|
-
__metadata("design:type", String)
|
|
63
|
-
], EnrInventory.prototype, "materialName", void 0);
|
|
64
|
-
EnrInventory = __decorate([
|
|
65
|
-
(0, typeorm_1.Entity)('enr_inventory', { schema: 'enr' })
|
|
66
|
-
], EnrInventory);
|
|
67
|
-
exports.EnrInventory = EnrInventory;
|
|
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.EnrInventory = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
let EnrInventory = class EnrInventory {
|
|
15
|
+
};
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, typeorm_1.PrimaryGeneratedColumn)(),
|
|
18
|
+
__metadata("design:type", Number)
|
|
19
|
+
], EnrInventory.prototype, "id", void 0);
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, typeorm_1.Column)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], EnrInventory.prototype, "company", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], EnrInventory.prototype, "plant", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, typeorm_1.Column)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], EnrInventory.prototype, "division", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], EnrInventory.prototype, "lob", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, typeorm_1.Column)(),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], EnrInventory.prototype, "material", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.Column)({ name: 'storage_location' }),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], EnrInventory.prototype, "storageLocation", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, typeorm_1.Column)({ name: 'stock_type' }),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], EnrInventory.prototype, "stockType", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.Column)(),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], EnrInventory.prototype, "available", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, typeorm_1.Column)({ name: 'material_group' }),
|
|
54
|
+
__metadata("design:type", String)
|
|
55
|
+
], EnrInventory.prototype, "materialGroup", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, typeorm_1.Column)({ name: 'material_type' }),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], EnrInventory.prototype, "materialType", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, typeorm_1.Column)({ name: 'material_name' }),
|
|
62
|
+
__metadata("design:type", String)
|
|
63
|
+
], EnrInventory.prototype, "materialName", void 0);
|
|
64
|
+
EnrInventory = __decorate([
|
|
65
|
+
(0, typeorm_1.Entity)('enr_inventory', { schema: 'enr' })
|
|
66
|
+
], EnrInventory);
|
|
67
|
+
exports.EnrInventory = EnrInventory;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare class EnrResults {
|
|
2
|
-
id: number;
|
|
3
|
-
result: string;
|
|
4
|
-
lob: string;
|
|
5
|
-
}
|
|
1
|
+
export declare class EnrResults {
|
|
2
|
+
id: number;
|
|
3
|
+
result: string;
|
|
4
|
+
lob: string;
|
|
5
|
+
}
|
|
@@ -1,31 +1,31 @@
|
|
|
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.EnrResults = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
let EnrResults = class EnrResults {
|
|
15
|
-
};
|
|
16
|
-
__decorate([
|
|
17
|
-
(0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
|
|
18
|
-
__metadata("design:type", Number)
|
|
19
|
-
], EnrResults.prototype, "id", void 0);
|
|
20
|
-
__decorate([
|
|
21
|
-
(0, typeorm_1.Column)({ name: 'result' }),
|
|
22
|
-
__metadata("design:type", String)
|
|
23
|
-
], EnrResults.prototype, "result", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, typeorm_1.Column)({ name: 'lob' }),
|
|
26
|
-
__metadata("design:type", String)
|
|
27
|
-
], EnrResults.prototype, "lob", void 0);
|
|
28
|
-
EnrResults = __decorate([
|
|
29
|
-
(0, typeorm_1.Entity)('enr_result', { schema: 'tracking' })
|
|
30
|
-
], EnrResults);
|
|
31
|
-
exports.EnrResults = EnrResults;
|
|
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.EnrResults = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
let EnrResults = class EnrResults {
|
|
15
|
+
};
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
|
|
18
|
+
__metadata("design:type", Number)
|
|
19
|
+
], EnrResults.prototype, "id", void 0);
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, typeorm_1.Column)({ name: 'result' }),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], EnrResults.prototype, "result", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)({ name: 'lob' }),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], EnrResults.prototype, "lob", void 0);
|
|
28
|
+
EnrResults = __decorate([
|
|
29
|
+
(0, typeorm_1.Entity)('enr_result', { schema: 'tracking' })
|
|
30
|
+
], EnrResults);
|
|
31
|
+
exports.EnrResults = EnrResults;
|