@uniorganization/uni-lib 1.1.34 → 1.1.36
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.
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Transactions } from './transactions.entity';
|
|
2
1
|
export declare class DailyPaymentStatus {
|
|
3
2
|
id: number;
|
|
4
3
|
paymentReference: string;
|
|
@@ -23,5 +22,4 @@ export declare class DailyPaymentStatus {
|
|
|
23
22
|
rejectionCorrectionSystem: string;
|
|
24
23
|
rejectionCorrectionReasonCode: string;
|
|
25
24
|
rejectionCorrectionReasonDescription: string;
|
|
26
|
-
transaction: Transactions;
|
|
27
25
|
}
|
|
@@ -11,15 +11,14 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.DailyPaymentStatus = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
|
-
const transactions_entity_1 = require("./transactions.entity");
|
|
15
14
|
let DailyPaymentStatus = class DailyPaymentStatus {
|
|
16
15
|
};
|
|
17
16
|
__decorate([
|
|
18
|
-
(0, typeorm_1.
|
|
17
|
+
(0, typeorm_1.Column)({ name: 'id' }),
|
|
19
18
|
__metadata("design:type", Number)
|
|
20
19
|
], DailyPaymentStatus.prototype, "id", void 0);
|
|
21
20
|
__decorate([
|
|
22
|
-
(0, typeorm_1.
|
|
21
|
+
(0, typeorm_1.PrimaryColumn)({ name: 'payment_reference' }),
|
|
23
22
|
__metadata("design:type", String)
|
|
24
23
|
], DailyPaymentStatus.prototype, "paymentReference", void 0);
|
|
25
24
|
__decorate([
|
|
@@ -106,11 +105,6 @@ __decorate([
|
|
|
106
105
|
(0, typeorm_1.Column)({ name: 'rejection_correction_reason_description' }),
|
|
107
106
|
__metadata("design:type", String)
|
|
108
107
|
], DailyPaymentStatus.prototype, "rejectionCorrectionReasonDescription", void 0);
|
|
109
|
-
__decorate([
|
|
110
|
-
(0, typeorm_1.ManyToOne)(() => transactions_entity_1.Transactions),
|
|
111
|
-
(0, typeorm_1.JoinColumn)({ name: 'transaction_id' }),
|
|
112
|
-
__metadata("design:type", transactions_entity_1.Transactions)
|
|
113
|
-
], DailyPaymentStatus.prototype, "transaction", void 0);
|
|
114
108
|
DailyPaymentStatus = __decorate([
|
|
115
109
|
(0, typeorm_1.Entity)('daily_payment_status', { schema: 'enr' })
|
|
116
110
|
], DailyPaymentStatus);
|
|
@@ -27,6 +27,6 @@ export declare class Transactions {
|
|
|
27
27
|
callbackSchedule: Timestamp;
|
|
28
28
|
callbackstatus: string;
|
|
29
29
|
callDrivers: CallDriverData[];
|
|
30
|
-
dailyPaymentStatus: DailyPaymentStatus
|
|
31
|
-
|
|
30
|
+
dailyPaymentStatus: DailyPaymentStatus;
|
|
31
|
+
activeLoad: ActiveLoad;
|
|
32
32
|
}
|
|
@@ -115,19 +115,19 @@ __decorate([
|
|
|
115
115
|
__metadata("design:type", Array)
|
|
116
116
|
], Transactions.prototype, "callDrivers", void 0);
|
|
117
117
|
__decorate([
|
|
118
|
-
(0, typeorm_1.
|
|
118
|
+
(0, typeorm_1.OneToOne)(() => daily_payment_status_entity_1.DailyPaymentStatus, {
|
|
119
119
|
cascade: ['insert', 'update', 'remove'],
|
|
120
120
|
}),
|
|
121
|
-
|
|
121
|
+
(0, typeorm_1.JoinColumn)({ name: 'transaction_id' }),
|
|
122
|
+
__metadata("design:type", daily_payment_status_entity_1.DailyPaymentStatus)
|
|
122
123
|
], Transactions.prototype, "dailyPaymentStatus", void 0);
|
|
123
124
|
__decorate([
|
|
124
|
-
(0, typeorm_1.OneToOne)((
|
|
125
|
-
eager: true,
|
|
125
|
+
(0, typeorm_1.OneToOne)(() => active_loads_entity_1.ActiveLoad, {
|
|
126
126
|
cascade: ['insert', 'update', 'remove'],
|
|
127
127
|
}),
|
|
128
128
|
(0, typeorm_1.JoinColumn)({ name: 'transaction_id' }),
|
|
129
129
|
__metadata("design:type", active_loads_entity_1.ActiveLoad)
|
|
130
|
-
], Transactions.prototype, "
|
|
130
|
+
], Transactions.prototype, "activeLoad", void 0);
|
|
131
131
|
Transactions = __decorate([
|
|
132
132
|
(0, typeorm_1.Entity)('transactions', { schema: 'tracking' })
|
|
133
133
|
], Transactions);
|