@uniorganization/uni-lib 1.1.71 → 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 -18
- package/dist/entities/evaluation-forms.entity.js +67 -59
- 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,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.Config = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
let Config = class Config {
|
|
15
|
-
};
|
|
16
|
-
__decorate([
|
|
17
|
-
(0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
|
|
18
|
-
__metadata("design:type", Number)
|
|
19
|
-
], Config.prototype, "id", void 0);
|
|
20
|
-
__decorate([
|
|
21
|
-
(0, typeorm_1.Column)({ name: 'key' }),
|
|
22
|
-
__metadata("design:type", String)
|
|
23
|
-
], Config.prototype, "key", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, typeorm_1.Column)({ name: 'value' }),
|
|
26
|
-
__metadata("design:type", String)
|
|
27
|
-
], Config.prototype, "value", void 0);
|
|
28
|
-
Config = __decorate([
|
|
29
|
-
(0, typeorm_1.Entity)('config', { schema: 'stm' })
|
|
30
|
-
], Config);
|
|
31
|
-
exports.Config = Config;
|
|
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.Config = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
let Config = class Config {
|
|
15
|
+
};
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
|
|
18
|
+
__metadata("design:type", Number)
|
|
19
|
+
], Config.prototype, "id", void 0);
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, typeorm_1.Column)({ name: 'key' }),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], Config.prototype, "key", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)({ name: 'value' }),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], Config.prototype, "value", void 0);
|
|
28
|
+
Config = __decorate([
|
|
29
|
+
(0, typeorm_1.Entity)('config', { schema: 'stm' })
|
|
30
|
+
], Config);
|
|
31
|
+
exports.Config = Config;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { Transactions } from './transactions.entity';
|
|
2
|
-
export declare class DailyPaymentStatus {
|
|
3
|
-
id: number;
|
|
4
|
-
paymentReference: string;
|
|
5
|
-
paymentType: string;
|
|
6
|
-
amount: string;
|
|
7
|
-
paymentStatus: string;
|
|
8
|
-
processedDate: Date;
|
|
9
|
-
receivedDate: Date;
|
|
10
|
-
payeeId: number;
|
|
11
|
-
payeeName: string;
|
|
12
|
-
traceNumber: number;
|
|
13
|
-
notes: string;
|
|
14
|
-
checkNumber: number;
|
|
15
|
-
checkCashedOutDate: Date;
|
|
16
|
-
checkAddressOne: string;
|
|
17
|
-
checkAddressTwo: string;
|
|
18
|
-
checkState: string;
|
|
19
|
-
checkCity: string;
|
|
20
|
-
checkZipCode: string;
|
|
21
|
-
zelleBankName: string;
|
|
22
|
-
zellePaymentReference: string;
|
|
23
|
-
rejectionCorrectionSystem: string;
|
|
24
|
-
rejectionCorrectionReasonCode: string;
|
|
25
|
-
rejectionCorrectionReasonDescription: string;
|
|
26
|
-
transaction: Transactions;
|
|
27
|
-
}
|
|
1
|
+
import { Transactions } from './transactions.entity';
|
|
2
|
+
export declare class DailyPaymentStatus {
|
|
3
|
+
id: number;
|
|
4
|
+
paymentReference: string;
|
|
5
|
+
paymentType: string;
|
|
6
|
+
amount: string;
|
|
7
|
+
paymentStatus: string;
|
|
8
|
+
processedDate: Date;
|
|
9
|
+
receivedDate: Date;
|
|
10
|
+
payeeId: number;
|
|
11
|
+
payeeName: string;
|
|
12
|
+
traceNumber: number;
|
|
13
|
+
notes: string;
|
|
14
|
+
checkNumber: number;
|
|
15
|
+
checkCashedOutDate: Date;
|
|
16
|
+
checkAddressOne: string;
|
|
17
|
+
checkAddressTwo: string;
|
|
18
|
+
checkState: string;
|
|
19
|
+
checkCity: string;
|
|
20
|
+
checkZipCode: string;
|
|
21
|
+
zelleBankName: string;
|
|
22
|
+
zellePaymentReference: string;
|
|
23
|
+
rejectionCorrectionSystem: string;
|
|
24
|
+
rejectionCorrectionReasonCode: string;
|
|
25
|
+
rejectionCorrectionReasonDescription: string;
|
|
26
|
+
transaction: Transactions;
|
|
27
|
+
}
|
|
@@ -1,120 +1,120 @@
|
|
|
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.DailyPaymentStatus = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const transactions_entity_1 = require("./transactions.entity");
|
|
15
|
-
let DailyPaymentStatus = class DailyPaymentStatus {
|
|
16
|
-
};
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
|
|
19
|
-
__metadata("design:type", Number)
|
|
20
|
-
], DailyPaymentStatus.prototype, "id", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, typeorm_1.Column)({ name: 'payment_reference' }),
|
|
23
|
-
__metadata("design:type", String)
|
|
24
|
-
], DailyPaymentStatus.prototype, "paymentReference", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, typeorm_1.Column)({ name: 'payment_type' }),
|
|
27
|
-
__metadata("design:type", String)
|
|
28
|
-
], DailyPaymentStatus.prototype, "paymentType", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
(0, typeorm_1.Column)(),
|
|
31
|
-
__metadata("design:type", String)
|
|
32
|
-
], DailyPaymentStatus.prototype, "amount", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
(0, typeorm_1.Column)({ name: 'payment_status' }),
|
|
35
|
-
__metadata("design:type", String)
|
|
36
|
-
], DailyPaymentStatus.prototype, "paymentStatus", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, typeorm_1.Column)({ name: 'processed_date' }),
|
|
39
|
-
__metadata("design:type", Date)
|
|
40
|
-
], DailyPaymentStatus.prototype, "processedDate", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
(0, typeorm_1.Column)({ name: 'received_date' }),
|
|
43
|
-
__metadata("design:type", Date)
|
|
44
|
-
], DailyPaymentStatus.prototype, "receivedDate", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
(0, typeorm_1.Column)({ name: 'payee_id' }),
|
|
47
|
-
__metadata("design:type", Number)
|
|
48
|
-
], DailyPaymentStatus.prototype, "payeeId", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
(0, typeorm_1.Column)({ name: 'payee_name' }),
|
|
51
|
-
__metadata("design:type", String)
|
|
52
|
-
], DailyPaymentStatus.prototype, "payeeName", void 0);
|
|
53
|
-
__decorate([
|
|
54
|
-
(0, typeorm_1.Column)({ name: 'trace_number' }),
|
|
55
|
-
__metadata("design:type", Number)
|
|
56
|
-
], DailyPaymentStatus.prototype, "traceNumber", void 0);
|
|
57
|
-
__decorate([
|
|
58
|
-
(0, typeorm_1.Column)(),
|
|
59
|
-
__metadata("design:type", String)
|
|
60
|
-
], DailyPaymentStatus.prototype, "notes", void 0);
|
|
61
|
-
__decorate([
|
|
62
|
-
(0, typeorm_1.Column)({ name: 'check_number' }),
|
|
63
|
-
__metadata("design:type", Number)
|
|
64
|
-
], DailyPaymentStatus.prototype, "checkNumber", void 0);
|
|
65
|
-
__decorate([
|
|
66
|
-
(0, typeorm_1.Column)({ name: 'check_cashed_out_date' }),
|
|
67
|
-
__metadata("design:type", Date)
|
|
68
|
-
], DailyPaymentStatus.prototype, "checkCashedOutDate", void 0);
|
|
69
|
-
__decorate([
|
|
70
|
-
(0, typeorm_1.Column)({ name: 'check_address1' }),
|
|
71
|
-
__metadata("design:type", String)
|
|
72
|
-
], DailyPaymentStatus.prototype, "checkAddressOne", void 0);
|
|
73
|
-
__decorate([
|
|
74
|
-
(0, typeorm_1.Column)({ name: 'check_address2' }),
|
|
75
|
-
__metadata("design:type", String)
|
|
76
|
-
], DailyPaymentStatus.prototype, "checkAddressTwo", void 0);
|
|
77
|
-
__decorate([
|
|
78
|
-
(0, typeorm_1.Column)({ name: 'check_state' }),
|
|
79
|
-
__metadata("design:type", String)
|
|
80
|
-
], DailyPaymentStatus.prototype, "checkState", void 0);
|
|
81
|
-
__decorate([
|
|
82
|
-
(0, typeorm_1.Column)({ name: 'check_city' }),
|
|
83
|
-
__metadata("design:type", String)
|
|
84
|
-
], DailyPaymentStatus.prototype, "checkCity", void 0);
|
|
85
|
-
__decorate([
|
|
86
|
-
(0, typeorm_1.Column)({ name: 'check_zip_code' }),
|
|
87
|
-
__metadata("design:type", String)
|
|
88
|
-
], DailyPaymentStatus.prototype, "checkZipCode", void 0);
|
|
89
|
-
__decorate([
|
|
90
|
-
(0, typeorm_1.Column)({ name: 'zelle_bank_name' }),
|
|
91
|
-
__metadata("design:type", String)
|
|
92
|
-
], DailyPaymentStatus.prototype, "zelleBankName", void 0);
|
|
93
|
-
__decorate([
|
|
94
|
-
(0, typeorm_1.Column)({ name: 'zelle_payment_reference' }),
|
|
95
|
-
__metadata("design:type", String)
|
|
96
|
-
], DailyPaymentStatus.prototype, "zellePaymentReference", void 0);
|
|
97
|
-
__decorate([
|
|
98
|
-
(0, typeorm_1.Column)({ name: 'rejection_correction_system' }),
|
|
99
|
-
__metadata("design:type", String)
|
|
100
|
-
], DailyPaymentStatus.prototype, "rejectionCorrectionSystem", void 0);
|
|
101
|
-
__decorate([
|
|
102
|
-
(0, typeorm_1.Column)({ name: 'rejection_correction_reason_code' }),
|
|
103
|
-
__metadata("design:type", String)
|
|
104
|
-
], DailyPaymentStatus.prototype, "rejectionCorrectionReasonCode", void 0);
|
|
105
|
-
__decorate([
|
|
106
|
-
(0, typeorm_1.Column)({ name: 'rejection_correction_reason_description' }),
|
|
107
|
-
__metadata("design:type", String)
|
|
108
|
-
], DailyPaymentStatus.prototype, "rejectionCorrectionReasonDescription", void 0);
|
|
109
|
-
__decorate([
|
|
110
|
-
(0, typeorm_1.ManyToOne)(() => transactions_entity_1.Transactions),
|
|
111
|
-
(0, typeorm_1.JoinColumn)({
|
|
112
|
-
name: 'payment_reference',
|
|
113
|
-
referencedColumnName: 'transactionId',
|
|
114
|
-
}),
|
|
115
|
-
__metadata("design:type", transactions_entity_1.Transactions)
|
|
116
|
-
], DailyPaymentStatus.prototype, "transaction", void 0);
|
|
117
|
-
DailyPaymentStatus = __decorate([
|
|
118
|
-
(0, typeorm_1.Entity)('daily_payment_status', { schema: 'enr' })
|
|
119
|
-
], DailyPaymentStatus);
|
|
120
|
-
exports.DailyPaymentStatus = DailyPaymentStatus;
|
|
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.DailyPaymentStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const transactions_entity_1 = require("./transactions.entity");
|
|
15
|
+
let DailyPaymentStatus = class DailyPaymentStatus {
|
|
16
|
+
};
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
|
|
19
|
+
__metadata("design:type", Number)
|
|
20
|
+
], DailyPaymentStatus.prototype, "id", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, typeorm_1.Column)({ name: 'payment_reference' }),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], DailyPaymentStatus.prototype, "paymentReference", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)({ name: 'payment_type' }),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], DailyPaymentStatus.prototype, "paymentType", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], DailyPaymentStatus.prototype, "amount", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ name: 'payment_status' }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], DailyPaymentStatus.prototype, "paymentStatus", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ name: 'processed_date' }),
|
|
39
|
+
__metadata("design:type", Date)
|
|
40
|
+
], DailyPaymentStatus.prototype, "processedDate", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ name: 'received_date' }),
|
|
43
|
+
__metadata("design:type", Date)
|
|
44
|
+
], DailyPaymentStatus.prototype, "receivedDate", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ name: 'payee_id' }),
|
|
47
|
+
__metadata("design:type", Number)
|
|
48
|
+
], DailyPaymentStatus.prototype, "payeeId", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ name: 'payee_name' }),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], DailyPaymentStatus.prototype, "payeeName", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.Column)({ name: 'trace_number' }),
|
|
55
|
+
__metadata("design:type", Number)
|
|
56
|
+
], DailyPaymentStatus.prototype, "traceNumber", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, typeorm_1.Column)(),
|
|
59
|
+
__metadata("design:type", String)
|
|
60
|
+
], DailyPaymentStatus.prototype, "notes", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, typeorm_1.Column)({ name: 'check_number' }),
|
|
63
|
+
__metadata("design:type", Number)
|
|
64
|
+
], DailyPaymentStatus.prototype, "checkNumber", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, typeorm_1.Column)({ name: 'check_cashed_out_date' }),
|
|
67
|
+
__metadata("design:type", Date)
|
|
68
|
+
], DailyPaymentStatus.prototype, "checkCashedOutDate", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, typeorm_1.Column)({ name: 'check_address1' }),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], DailyPaymentStatus.prototype, "checkAddressOne", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, typeorm_1.Column)({ name: 'check_address2' }),
|
|
75
|
+
__metadata("design:type", String)
|
|
76
|
+
], DailyPaymentStatus.prototype, "checkAddressTwo", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, typeorm_1.Column)({ name: 'check_state' }),
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], DailyPaymentStatus.prototype, "checkState", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, typeorm_1.Column)({ name: 'check_city' }),
|
|
83
|
+
__metadata("design:type", String)
|
|
84
|
+
], DailyPaymentStatus.prototype, "checkCity", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, typeorm_1.Column)({ name: 'check_zip_code' }),
|
|
87
|
+
__metadata("design:type", String)
|
|
88
|
+
], DailyPaymentStatus.prototype, "checkZipCode", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, typeorm_1.Column)({ name: 'zelle_bank_name' }),
|
|
91
|
+
__metadata("design:type", String)
|
|
92
|
+
], DailyPaymentStatus.prototype, "zelleBankName", void 0);
|
|
93
|
+
__decorate([
|
|
94
|
+
(0, typeorm_1.Column)({ name: 'zelle_payment_reference' }),
|
|
95
|
+
__metadata("design:type", String)
|
|
96
|
+
], DailyPaymentStatus.prototype, "zellePaymentReference", void 0);
|
|
97
|
+
__decorate([
|
|
98
|
+
(0, typeorm_1.Column)({ name: 'rejection_correction_system' }),
|
|
99
|
+
__metadata("design:type", String)
|
|
100
|
+
], DailyPaymentStatus.prototype, "rejectionCorrectionSystem", void 0);
|
|
101
|
+
__decorate([
|
|
102
|
+
(0, typeorm_1.Column)({ name: 'rejection_correction_reason_code' }),
|
|
103
|
+
__metadata("design:type", String)
|
|
104
|
+
], DailyPaymentStatus.prototype, "rejectionCorrectionReasonCode", void 0);
|
|
105
|
+
__decorate([
|
|
106
|
+
(0, typeorm_1.Column)({ name: 'rejection_correction_reason_description' }),
|
|
107
|
+
__metadata("design:type", String)
|
|
108
|
+
], DailyPaymentStatus.prototype, "rejectionCorrectionReasonDescription", void 0);
|
|
109
|
+
__decorate([
|
|
110
|
+
(0, typeorm_1.ManyToOne)(() => transactions_entity_1.Transactions),
|
|
111
|
+
(0, typeorm_1.JoinColumn)({
|
|
112
|
+
name: 'payment_reference',
|
|
113
|
+
referencedColumnName: 'transactionId',
|
|
114
|
+
}),
|
|
115
|
+
__metadata("design:type", transactions_entity_1.Transactions)
|
|
116
|
+
], DailyPaymentStatus.prototype, "transaction", void 0);
|
|
117
|
+
DailyPaymentStatus = __decorate([
|
|
118
|
+
(0, typeorm_1.Entity)('daily_payment_status', { schema: 'enr' })
|
|
119
|
+
], DailyPaymentStatus);
|
|
120
|
+
exports.DailyPaymentStatus = DailyPaymentStatus;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DepreciationDetails } from './depreciation-details.entity';
|
|
2
|
-
export declare class DepreciationCategories {
|
|
3
|
-
id: number;
|
|
4
|
-
categoryName: string;
|
|
5
|
-
depreciationDetails: DepreciationDetails[];
|
|
6
|
-
}
|
|
1
|
+
import { DepreciationDetails } from './depreciation-details.entity';
|
|
2
|
+
export declare class DepreciationCategories {
|
|
3
|
+
id: number;
|
|
4
|
+
categoryName: string;
|
|
5
|
+
depreciationDetails: DepreciationDetails[];
|
|
6
|
+
}
|
|
@@ -1,32 +1,32 @@
|
|
|
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.DepreciationCategories = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const depreciation_details_entity_1 = require("./depreciation-details.entity");
|
|
15
|
-
let DepreciationCategories = class DepreciationCategories {
|
|
16
|
-
};
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
|
|
19
|
-
__metadata("design:type", Number)
|
|
20
|
-
], DepreciationCategories.prototype, "id", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, typeorm_1.Column)({ name: 'category_name' }),
|
|
23
|
-
__metadata("design:type", String)
|
|
24
|
-
], DepreciationCategories.prototype, "categoryName", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, typeorm_1.OneToMany)(type => depreciation_details_entity_1.DepreciationDetails, depreciationDetails => depreciationDetails.depreciationCategory),
|
|
27
|
-
__metadata("design:type", Array)
|
|
28
|
-
], DepreciationCategories.prototype, "depreciationDetails", void 0);
|
|
29
|
-
DepreciationCategories = __decorate([
|
|
30
|
-
(0, typeorm_1.Entity)('depreciation_categories', { schema: 'enr' })
|
|
31
|
-
], DepreciationCategories);
|
|
32
|
-
exports.DepreciationCategories = DepreciationCategories;
|
|
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.DepreciationCategories = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const depreciation_details_entity_1 = require("./depreciation-details.entity");
|
|
15
|
+
let DepreciationCategories = class DepreciationCategories {
|
|
16
|
+
};
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
|
|
19
|
+
__metadata("design:type", Number)
|
|
20
|
+
], DepreciationCategories.prototype, "id", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, typeorm_1.Column)({ name: 'category_name' }),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], DepreciationCategories.prototype, "categoryName", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.OneToMany)(type => depreciation_details_entity_1.DepreciationDetails, depreciationDetails => depreciationDetails.depreciationCategory),
|
|
27
|
+
__metadata("design:type", Array)
|
|
28
|
+
], DepreciationCategories.prototype, "depreciationDetails", void 0);
|
|
29
|
+
DepreciationCategories = __decorate([
|
|
30
|
+
(0, typeorm_1.Entity)('depreciation_categories', { schema: 'enr' })
|
|
31
|
+
], DepreciationCategories);
|
|
32
|
+
exports.DepreciationCategories = DepreciationCategories;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { DepreciationCategories } from './depreciation-categories.entity';
|
|
2
|
-
export declare class DepreciationDetails {
|
|
3
|
-
id: number;
|
|
4
|
-
yearsOfOwnershipFrom: number;
|
|
5
|
-
yearsOfOwnershipTo: number;
|
|
6
|
-
depreciationRate: number;
|
|
7
|
-
refundRate: number;
|
|
8
|
-
depreciationCategory: DepreciationCategories;
|
|
9
|
-
}
|
|
1
|
+
import { DepreciationCategories } from './depreciation-categories.entity';
|
|
2
|
+
export declare class DepreciationDetails {
|
|
3
|
+
id: number;
|
|
4
|
+
yearsOfOwnershipFrom: number;
|
|
5
|
+
yearsOfOwnershipTo: number;
|
|
6
|
+
depreciationRate: number;
|
|
7
|
+
refundRate: number;
|
|
8
|
+
depreciationCategory: DepreciationCategories;
|
|
9
|
+
}
|
|
@@ -1,45 +1,45 @@
|
|
|
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.DepreciationDetails = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const depreciation_categories_entity_1 = require("./depreciation-categories.entity");
|
|
15
|
-
let DepreciationDetails = class DepreciationDetails {
|
|
16
|
-
};
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
|
|
19
|
-
__metadata("design:type", Number)
|
|
20
|
-
], DepreciationDetails.prototype, "id", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, typeorm_1.Column)({ name: 'years_of_ownership_from' }),
|
|
23
|
-
__metadata("design:type", Number)
|
|
24
|
-
], DepreciationDetails.prototype, "yearsOfOwnershipFrom", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, typeorm_1.Column)({ name: 'years_of_ownership_to' }),
|
|
27
|
-
__metadata("design:type", Number)
|
|
28
|
-
], DepreciationDetails.prototype, "yearsOfOwnershipTo", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
(0, typeorm_1.Column)({ name: 'depreciation_rate' }),
|
|
31
|
-
__metadata("design:type", Number)
|
|
32
|
-
], DepreciationDetails.prototype, "depreciationRate", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
(0, typeorm_1.Column)({ name: 'refund_rate' }),
|
|
35
|
-
__metadata("design:type", Number)
|
|
36
|
-
], DepreciationDetails.prototype, "refundRate", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, typeorm_1.ManyToOne)(type => depreciation_categories_entity_1.DepreciationCategories, depreciationCategories => depreciationCategories.depreciationDetails),
|
|
39
|
-
(0, typeorm_1.JoinColumn)({ name: 'depreciation_category_id' }),
|
|
40
|
-
__metadata("design:type", depreciation_categories_entity_1.DepreciationCategories)
|
|
41
|
-
], DepreciationDetails.prototype, "depreciationCategory", void 0);
|
|
42
|
-
DepreciationDetails = __decorate([
|
|
43
|
-
(0, typeorm_1.Entity)('depreciation_details', { schema: 'enr' })
|
|
44
|
-
], DepreciationDetails);
|
|
45
|
-
exports.DepreciationDetails = DepreciationDetails;
|
|
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.DepreciationDetails = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const depreciation_categories_entity_1 = require("./depreciation-categories.entity");
|
|
15
|
+
let DepreciationDetails = class DepreciationDetails {
|
|
16
|
+
};
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
|
|
19
|
+
__metadata("design:type", Number)
|
|
20
|
+
], DepreciationDetails.prototype, "id", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, typeorm_1.Column)({ name: 'years_of_ownership_from' }),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], DepreciationDetails.prototype, "yearsOfOwnershipFrom", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)({ name: 'years_of_ownership_to' }),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], DepreciationDetails.prototype, "yearsOfOwnershipTo", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({ name: 'depreciation_rate' }),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], DepreciationDetails.prototype, "depreciationRate", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ name: 'refund_rate' }),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], DepreciationDetails.prototype, "refundRate", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.ManyToOne)(type => depreciation_categories_entity_1.DepreciationCategories, depreciationCategories => depreciationCategories.depreciationDetails),
|
|
39
|
+
(0, typeorm_1.JoinColumn)({ name: 'depreciation_category_id' }),
|
|
40
|
+
__metadata("design:type", depreciation_categories_entity_1.DepreciationCategories)
|
|
41
|
+
], DepreciationDetails.prototype, "depreciationCategory", void 0);
|
|
42
|
+
DepreciationDetails = __decorate([
|
|
43
|
+
(0, typeorm_1.Entity)('depreciation_details', { schema: 'enr' })
|
|
44
|
+
], DepreciationDetails);
|
|
45
|
+
exports.DepreciationDetails = DepreciationDetails;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare class DetailType {
|
|
2
|
-
id: number;
|
|
3
|
-
detail: string;
|
|
4
|
-
}
|
|
1
|
+
export declare class DetailType {
|
|
2
|
+
id: number;
|
|
3
|
+
detail: string;
|
|
4
|
+
}
|
|
@@ -1,27 +1,27 @@
|
|
|
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.DetailType = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
let DetailType = class DetailType {
|
|
15
|
-
};
|
|
16
|
-
__decorate([
|
|
17
|
-
(0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
|
|
18
|
-
__metadata("design:type", Number)
|
|
19
|
-
], DetailType.prototype, "id", void 0);
|
|
20
|
-
__decorate([
|
|
21
|
-
(0, typeorm_1.Column)({ name: 'detail' }),
|
|
22
|
-
__metadata("design:type", String)
|
|
23
|
-
], DetailType.prototype, "detail", void 0);
|
|
24
|
-
DetailType = __decorate([
|
|
25
|
-
(0, typeorm_1.Entity)('detail_type', { schema: 'tracking' })
|
|
26
|
-
], DetailType);
|
|
27
|
-
exports.DetailType = DetailType;
|
|
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.DetailType = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
let DetailType = class DetailType {
|
|
15
|
+
};
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
|
|
18
|
+
__metadata("design:type", Number)
|
|
19
|
+
], DetailType.prototype, "id", void 0);
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, typeorm_1.Column)({ name: 'detail' }),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], DetailType.prototype, "detail", void 0);
|
|
24
|
+
DetailType = __decorate([
|
|
25
|
+
(0, typeorm_1.Entity)('detail_type', { schema: 'tracking' })
|
|
26
|
+
], DetailType);
|
|
27
|
+
exports.DetailType = DetailType;
|