@uniorganization/uni-lib 1.1.43 → 1.1.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/entities/active-loads.entity.d.ts +2 -0
- package/dist/entities/active-loads.entity.js +11 -2
- package/dist/entities/daily-payment-status.entity.js +3 -3
- package/dist/entities/form.entity.d.ts +0 -1
- package/dist/entities/form.entity.js +0 -4
- package/dist/entities/index.d.ts +0 -2
- package/dist/entities/index.js +0 -2
- package/dist/entities/sap-raw.entity.d.ts +2 -12
- package/dist/entities/sap-raw.entity.js +5 -45
- package/dist/entities/transactions.entity.d.ts +0 -4
- package/dist/entities/transactions.entity.js +1 -16
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Transactions } from './transactions.entity';
|
|
1
2
|
export declare class ActiveLoad {
|
|
2
3
|
id: number;
|
|
3
4
|
orderNumber: string;
|
|
@@ -13,4 +14,5 @@ export declare class ActiveLoad {
|
|
|
13
14
|
destinationZip: string;
|
|
14
15
|
createDate: Date;
|
|
15
16
|
updateDate: Date;
|
|
17
|
+
transaction: Transactions;
|
|
16
18
|
}
|
|
@@ -11,14 +11,15 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.ActiveLoad = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
|
+
const transactions_entity_1 = require("./transactions.entity");
|
|
14
15
|
let ActiveLoad = class ActiveLoad {
|
|
15
16
|
};
|
|
16
17
|
__decorate([
|
|
17
|
-
(0, typeorm_1.
|
|
18
|
+
(0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
|
|
18
19
|
__metadata("design:type", Number)
|
|
19
20
|
], ActiveLoad.prototype, "id", void 0);
|
|
20
21
|
__decorate([
|
|
21
|
-
(0, typeorm_1.
|
|
22
|
+
(0, typeorm_1.Column)({ name: 'order_number' }),
|
|
22
23
|
__metadata("design:type", String)
|
|
23
24
|
], ActiveLoad.prototype, "orderNumber", void 0);
|
|
24
25
|
__decorate([
|
|
@@ -69,6 +70,14 @@ __decorate([
|
|
|
69
70
|
(0, typeorm_1.Column)({ name: 'update_date' }),
|
|
70
71
|
__metadata("design:type", Date)
|
|
71
72
|
], ActiveLoad.prototype, "updateDate", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, typeorm_1.ManyToOne)(() => transactions_entity_1.Transactions),
|
|
75
|
+
(0, typeorm_1.JoinColumn)({
|
|
76
|
+
name: 'order_number',
|
|
77
|
+
referencedColumnName: 'transactionId',
|
|
78
|
+
}),
|
|
79
|
+
__metadata("design:type", transactions_entity_1.Transactions)
|
|
80
|
+
], ActiveLoad.prototype, "transaction", void 0);
|
|
72
81
|
ActiveLoad = __decorate([
|
|
73
82
|
(0, typeorm_1.Entity)('active_loads', { schema: 'enr' })
|
|
74
83
|
], ActiveLoad);
|
|
@@ -15,11 +15,11 @@ const transactions_entity_1 = require("./transactions.entity");
|
|
|
15
15
|
let DailyPaymentStatus = class DailyPaymentStatus {
|
|
16
16
|
};
|
|
17
17
|
__decorate([
|
|
18
|
-
(0, typeorm_1.
|
|
18
|
+
(0, typeorm_1.PrimaryGeneratedColumn)({ name: 'id' }),
|
|
19
19
|
__metadata("design:type", Number)
|
|
20
20
|
], DailyPaymentStatus.prototype, "id", void 0);
|
|
21
21
|
__decorate([
|
|
22
|
-
(0, typeorm_1.
|
|
22
|
+
(0, typeorm_1.Column)({ name: 'payment_reference' }),
|
|
23
23
|
__metadata("design:type", String)
|
|
24
24
|
], DailyPaymentStatus.prototype, "paymentReference", void 0);
|
|
25
25
|
__decorate([
|
|
@@ -107,7 +107,7 @@ __decorate([
|
|
|
107
107
|
__metadata("design:type", String)
|
|
108
108
|
], DailyPaymentStatus.prototype, "rejectionCorrectionReasonDescription", void 0);
|
|
109
109
|
__decorate([
|
|
110
|
-
(0, typeorm_1.ManyToOne)((
|
|
110
|
+
(0, typeorm_1.ManyToOne)(() => transactions_entity_1.Transactions),
|
|
111
111
|
(0, typeorm_1.JoinColumn)({
|
|
112
112
|
name: 'payment_reference',
|
|
113
113
|
referencedColumnName: 'transactionId',
|
|
@@ -54,10 +54,6 @@ __decorate([
|
|
|
54
54
|
(0, typeorm_1.Column)('timestamp', { name: 'date_updated' }),
|
|
55
55
|
__metadata("design:type", Date)
|
|
56
56
|
], Form.prototype, "dateUpdated", void 0);
|
|
57
|
-
__decorate([
|
|
58
|
-
(0, typeorm_1.Column)({ name: 'is_enabled', default: true }),
|
|
59
|
-
__metadata("design:type", Boolean)
|
|
60
|
-
], Form.prototype, "isEnabled", void 0);
|
|
61
57
|
__decorate([
|
|
62
58
|
(0, typeorm_1.OneToMany)(() => form_definition_entity_1.FormDefinition, (formDefinition) => formDefinition.form, { cascade: ['insert', 'update', 'remove'] }),
|
|
63
59
|
__metadata("design:type", Array)
|
package/dist/entities/index.d.ts
CHANGED
package/dist/entities/index.js
CHANGED
|
@@ -83,5 +83,3 @@ __exportStar(require("./ticket-queue.entity"), exports);
|
|
|
83
83
|
__exportStar(require("./pending-ticket-history.entity"), exports);
|
|
84
84
|
__exportStar(require("./dispute-request.entity"), exports);
|
|
85
85
|
__exportStar(require("./sap-raw.entity"), exports);
|
|
86
|
-
__exportStar(require("./active-loads.entity"), exports);
|
|
87
|
-
__exportStar(require("./daily-payment-status.entity"), exports);
|
|
@@ -11,7 +11,8 @@ export declare class SapRaw {
|
|
|
11
11
|
serialNo: string;
|
|
12
12
|
imei: string;
|
|
13
13
|
createDate: Date;
|
|
14
|
-
unitReceivedDate:
|
|
14
|
+
unitReceivedDate: Date;
|
|
15
|
+
category1Description: string;
|
|
15
16
|
category2Description: string;
|
|
16
17
|
category3Description: string;
|
|
17
18
|
consumer: Number;
|
|
@@ -27,18 +28,7 @@ export declare class SapRaw {
|
|
|
27
28
|
bucketGroup: string;
|
|
28
29
|
postingDateAging: string;
|
|
29
30
|
unitReceivedAging: string;
|
|
30
|
-
detlType: string;
|
|
31
|
-
category1Description: string;
|
|
32
31
|
index: Number;
|
|
33
|
-
bpName: string;
|
|
34
|
-
bpTel: string;
|
|
35
|
-
bpTelHome: string;
|
|
36
|
-
bpTelMobile: string;
|
|
37
|
-
bpTelOffice: string;
|
|
38
|
-
bpAddress: string;
|
|
39
|
-
bpCity: string;
|
|
40
|
-
bpZip: Number;
|
|
41
|
-
bpEmail: string;
|
|
42
32
|
returnReasonDescription: string;
|
|
43
33
|
fileName: string;
|
|
44
34
|
dacorFlag: string;
|
|
@@ -63,8 +63,12 @@ __decorate([
|
|
|
63
63
|
], SapRaw.prototype, "createDate", void 0);
|
|
64
64
|
__decorate([
|
|
65
65
|
(0, typeorm_1.Column)({ name: 'unit_received_date' }),
|
|
66
|
-
__metadata("design:type",
|
|
66
|
+
__metadata("design:type", Date)
|
|
67
67
|
], SapRaw.prototype, "unitReceivedDate", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, typeorm_1.Column)({ name: 'category1_description' }),
|
|
70
|
+
__metadata("design:type", String)
|
|
71
|
+
], SapRaw.prototype, "category1Description", void 0);
|
|
68
72
|
__decorate([
|
|
69
73
|
(0, typeorm_1.Column)({ name: 'category2_description' }),
|
|
70
74
|
__metadata("design:type", String)
|
|
@@ -125,54 +129,10 @@ __decorate([
|
|
|
125
129
|
(0, typeorm_1.Column)({ name: 'unit_received_aging' }),
|
|
126
130
|
__metadata("design:type", String)
|
|
127
131
|
], SapRaw.prototype, "unitReceivedAging", void 0);
|
|
128
|
-
__decorate([
|
|
129
|
-
(0, typeorm_1.Column)({ name: 'det_type' }),
|
|
130
|
-
__metadata("design:type", String)
|
|
131
|
-
], SapRaw.prototype, "detlType", void 0);
|
|
132
|
-
__decorate([
|
|
133
|
-
(0, typeorm_1.Column)({ name: 'category1_description' }),
|
|
134
|
-
__metadata("design:type", String)
|
|
135
|
-
], SapRaw.prototype, "category1Description", void 0);
|
|
136
132
|
__decorate([
|
|
137
133
|
(0, typeorm_1.Column)({ name: 'index' }),
|
|
138
134
|
__metadata("design:type", Number)
|
|
139
135
|
], SapRaw.prototype, "index", void 0);
|
|
140
|
-
__decorate([
|
|
141
|
-
(0, typeorm_1.Column)({ name: 'bp_name' }),
|
|
142
|
-
__metadata("design:type", String)
|
|
143
|
-
], SapRaw.prototype, "bpName", void 0);
|
|
144
|
-
__decorate([
|
|
145
|
-
(0, typeorm_1.Column)({ name: 'bp_tel' }),
|
|
146
|
-
__metadata("design:type", String)
|
|
147
|
-
], SapRaw.prototype, "bpTel", void 0);
|
|
148
|
-
__decorate([
|
|
149
|
-
(0, typeorm_1.Column)({ name: 'bp_tel_home' }),
|
|
150
|
-
__metadata("design:type", String)
|
|
151
|
-
], SapRaw.prototype, "bpTelHome", void 0);
|
|
152
|
-
__decorate([
|
|
153
|
-
(0, typeorm_1.Column)({ name: 'bp_tel_mobile' }),
|
|
154
|
-
__metadata("design:type", String)
|
|
155
|
-
], SapRaw.prototype, "bpTelMobile", void 0);
|
|
156
|
-
__decorate([
|
|
157
|
-
(0, typeorm_1.Column)({ name: 'bp_tel_office' }),
|
|
158
|
-
__metadata("design:type", String)
|
|
159
|
-
], SapRaw.prototype, "bpTelOffice", void 0);
|
|
160
|
-
__decorate([
|
|
161
|
-
(0, typeorm_1.Column)({ name: 'bp_address' }),
|
|
162
|
-
__metadata("design:type", String)
|
|
163
|
-
], SapRaw.prototype, "bpAddress", void 0);
|
|
164
|
-
__decorate([
|
|
165
|
-
(0, typeorm_1.Column)({ name: 'bp_city' }),
|
|
166
|
-
__metadata("design:type", String)
|
|
167
|
-
], SapRaw.prototype, "bpCity", void 0);
|
|
168
|
-
__decorate([
|
|
169
|
-
(0, typeorm_1.Column)({ name: 'bp_zip' }),
|
|
170
|
-
__metadata("design:type", Number)
|
|
171
|
-
], SapRaw.prototype, "bpZip", void 0);
|
|
172
|
-
__decorate([
|
|
173
|
-
(0, typeorm_1.Column)({ name: 'bp_email' }),
|
|
174
|
-
__metadata("design:type", String)
|
|
175
|
-
], SapRaw.prototype, "bpEmail", void 0);
|
|
176
136
|
__decorate([
|
|
177
137
|
(0, typeorm_1.Column)({ name: 'return_reason_description' }),
|
|
178
138
|
__metadata("design:type", String)
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { Timestamp } from 'typeorm';
|
|
2
2
|
import { CallDriverData } from './call-driver-data.entity';
|
|
3
|
-
import { ActiveLoad } from './active-loads.entity';
|
|
4
|
-
import { DailyPaymentStatus } from './daily-payment-status.entity';
|
|
5
3
|
export declare class Transactions {
|
|
6
4
|
id: number;
|
|
7
5
|
transactionId: string;
|
|
@@ -27,6 +25,4 @@ export declare class Transactions {
|
|
|
27
25
|
callbackSchedule: Timestamp;
|
|
28
26
|
callbackstatus: string;
|
|
29
27
|
callDrivers: CallDriverData[];
|
|
30
|
-
dailyPaymentStatus: DailyPaymentStatus[];
|
|
31
|
-
activeLoad: ActiveLoad;
|
|
32
28
|
}
|
|
@@ -12,8 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.Transactions = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const call_driver_data_entity_1 = require("./call-driver-data.entity");
|
|
15
|
-
const active_loads_entity_1 = require("./active-loads.entity");
|
|
16
|
-
const daily_payment_status_entity_1 = require("./daily-payment-status.entity");
|
|
17
15
|
let Transactions = class Transactions {
|
|
18
16
|
};
|
|
19
17
|
__decorate([
|
|
@@ -109,24 +107,11 @@ __decorate([
|
|
|
109
107
|
__metadata("design:type", String)
|
|
110
108
|
], Transactions.prototype, "callbackstatus", void 0);
|
|
111
109
|
__decorate([
|
|
112
|
-
(0, typeorm_1.OneToMany)(() => call_driver_data_entity_1.CallDriverData, (cdd) => cdd.transaction, {
|
|
110
|
+
(0, typeorm_1.OneToMany)((type) => call_driver_data_entity_1.CallDriverData, (cdd) => cdd.transaction, {
|
|
113
111
|
cascade: ['insert', 'update', 'remove'],
|
|
114
112
|
}),
|
|
115
113
|
__metadata("design:type", Array)
|
|
116
114
|
], Transactions.prototype, "callDrivers", void 0);
|
|
117
|
-
__decorate([
|
|
118
|
-
(0, typeorm_1.OneToMany)(() => daily_payment_status_entity_1.DailyPaymentStatus, (cdd) => cdd.transaction, {
|
|
119
|
-
cascade: ['insert', 'update', 'remove'],
|
|
120
|
-
}),
|
|
121
|
-
__metadata("design:type", Array)
|
|
122
|
-
], Transactions.prototype, "dailyPaymentStatus", void 0);
|
|
123
|
-
__decorate([
|
|
124
|
-
(0, typeorm_1.OneToOne)(() => active_loads_entity_1.ActiveLoad, {
|
|
125
|
-
cascade: ['insert', 'update', 'remove'],
|
|
126
|
-
}),
|
|
127
|
-
(0, typeorm_1.JoinColumn)({ name: 'transaction_id' }),
|
|
128
|
-
__metadata("design:type", active_loads_entity_1.ActiveLoad)
|
|
129
|
-
], Transactions.prototype, "activeLoad", void 0);
|
|
130
115
|
Transactions = __decorate([
|
|
131
116
|
(0, typeorm_1.Entity)('transactions', { schema: 'tracking' })
|
|
132
117
|
], Transactions);
|