@uniorganization/uni-lib 1.1.30 → 1.1.32

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.
@@ -0,0 +1,15 @@
1
+ export declare class ActiveLoad {
2
+ targetDeliveryRange: string;
3
+ customerRepresentative: string;
4
+ raNumber: number;
5
+ originCity: string;
6
+ status: string;
7
+ orderNumber: string;
8
+ destinationName: string;
9
+ destinationAddressOne: string;
10
+ destinationCity: string;
11
+ destinationState: string;
12
+ destinationZip: string;
13
+ createDate: Date;
14
+ updateDate: Date;
15
+ }
@@ -0,0 +1,71 @@
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.ActiveLoad = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ let ActiveLoad = class ActiveLoad {
15
+ };
16
+ __decorate([
17
+ (0, typeorm_1.Column)({ name: 'target_delivery_range' }),
18
+ __metadata("design:type", String)
19
+ ], ActiveLoad.prototype, "targetDeliveryRange", void 0);
20
+ __decorate([
21
+ (0, typeorm_1.Column)({ name: 'customer_representative' }),
22
+ __metadata("design:type", String)
23
+ ], ActiveLoad.prototype, "customerRepresentative", void 0);
24
+ __decorate([
25
+ (0, typeorm_1.Column)({ name: 'ra_number' }),
26
+ __metadata("design:type", Number)
27
+ ], ActiveLoad.prototype, "raNumber", void 0);
28
+ __decorate([
29
+ (0, typeorm_1.Column)({ name: 'origin_city' }),
30
+ __metadata("design:type", String)
31
+ ], ActiveLoad.prototype, "originCity", void 0);
32
+ __decorate([
33
+ (0, typeorm_1.Column)(),
34
+ __metadata("design:type", String)
35
+ ], ActiveLoad.prototype, "status", void 0);
36
+ __decorate([
37
+ (0, typeorm_1.Column)({ name: 'order_number' }),
38
+ __metadata("design:type", String)
39
+ ], ActiveLoad.prototype, "orderNumber", void 0);
40
+ __decorate([
41
+ (0, typeorm_1.Column)({ name: 'dest_name' }),
42
+ __metadata("design:type", String)
43
+ ], ActiveLoad.prototype, "destinationName", void 0);
44
+ __decorate([
45
+ (0, typeorm_1.Column)({ name: 'dest_addr1' }),
46
+ __metadata("design:type", String)
47
+ ], ActiveLoad.prototype, "destinationAddressOne", void 0);
48
+ __decorate([
49
+ (0, typeorm_1.Column)({ name: 'dest_city' }),
50
+ __metadata("design:type", String)
51
+ ], ActiveLoad.prototype, "destinationCity", void 0);
52
+ __decorate([
53
+ (0, typeorm_1.Column)({ name: 'dest_state' }),
54
+ __metadata("design:type", String)
55
+ ], ActiveLoad.prototype, "destinationState", void 0);
56
+ __decorate([
57
+ (0, typeorm_1.Column)({ name: 'dest_zip' }),
58
+ __metadata("design:type", String)
59
+ ], ActiveLoad.prototype, "destinationZip", void 0);
60
+ __decorate([
61
+ (0, typeorm_1.Column)({ name: 'create_date' }),
62
+ __metadata("design:type", Date)
63
+ ], ActiveLoad.prototype, "createDate", void 0);
64
+ __decorate([
65
+ (0, typeorm_1.Column)({ name: 'update_date' }),
66
+ __metadata("design:type", Date)
67
+ ], ActiveLoad.prototype, "updateDate", void 0);
68
+ ActiveLoad = __decorate([
69
+ (0, typeorm_1.Entity)('active_loads', { schema: 'enr' })
70
+ ], ActiveLoad);
71
+ exports.ActiveLoad = ActiveLoad;
@@ -0,0 +1,24 @@
1
+ export declare class DailyPaymentStatus {
2
+ paymentReference: string;
3
+ paymentType: string;
4
+ amount: string;
5
+ paymentStatus: string;
6
+ processedDate: Date;
7
+ receivedDate: Date;
8
+ payeeId: number;
9
+ payeeName: string;
10
+ traceNumber: number;
11
+ notes: string;
12
+ checkNumber: number;
13
+ checkCashedOutDate: Date;
14
+ checkAddressOne: string;
15
+ checkAddressTwo: string;
16
+ checkState: string;
17
+ checkCity: string;
18
+ checkZipCode: string;
19
+ zelleBankName: string;
20
+ zellePaymentReference: string;
21
+ rejectionCorrectionSystem: string;
22
+ rejectionCorrectionReasonCode: string;
23
+ rejectionCorrectionReasonDescription: string;
24
+ }
@@ -0,0 +1,107 @@
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
+ let DailyPaymentStatus = class DailyPaymentStatus {
15
+ };
16
+ __decorate([
17
+ (0, typeorm_1.Column)({ name: 'payment_reference' }),
18
+ __metadata("design:type", String)
19
+ ], DailyPaymentStatus.prototype, "paymentReference", void 0);
20
+ __decorate([
21
+ (0, typeorm_1.Column)({ name: 'payment_type' }),
22
+ __metadata("design:type", String)
23
+ ], DailyPaymentStatus.prototype, "paymentType", void 0);
24
+ __decorate([
25
+ (0, typeorm_1.Column)(),
26
+ __metadata("design:type", String)
27
+ ], DailyPaymentStatus.prototype, "amount", void 0);
28
+ __decorate([
29
+ (0, typeorm_1.Column)({ name: 'payment_status' }),
30
+ __metadata("design:type", String)
31
+ ], DailyPaymentStatus.prototype, "paymentStatus", void 0);
32
+ __decorate([
33
+ (0, typeorm_1.Column)({ name: 'processed_date' }),
34
+ __metadata("design:type", Date)
35
+ ], DailyPaymentStatus.prototype, "processedDate", void 0);
36
+ __decorate([
37
+ (0, typeorm_1.Column)({ name: 'received_date' }),
38
+ __metadata("design:type", Date)
39
+ ], DailyPaymentStatus.prototype, "receivedDate", void 0);
40
+ __decorate([
41
+ (0, typeorm_1.Column)({ name: 'payee_id' }),
42
+ __metadata("design:type", Number)
43
+ ], DailyPaymentStatus.prototype, "payeeId", void 0);
44
+ __decorate([
45
+ (0, typeorm_1.Column)({ name: 'payee_name' }),
46
+ __metadata("design:type", String)
47
+ ], DailyPaymentStatus.prototype, "payeeName", void 0);
48
+ __decorate([
49
+ (0, typeorm_1.Column)({ name: 'trace_number' }),
50
+ __metadata("design:type", Number)
51
+ ], DailyPaymentStatus.prototype, "traceNumber", void 0);
52
+ __decorate([
53
+ (0, typeorm_1.Column)(),
54
+ __metadata("design:type", String)
55
+ ], DailyPaymentStatus.prototype, "notes", void 0);
56
+ __decorate([
57
+ (0, typeorm_1.Column)({ name: 'check_number' }),
58
+ __metadata("design:type", Number)
59
+ ], DailyPaymentStatus.prototype, "checkNumber", void 0);
60
+ __decorate([
61
+ (0, typeorm_1.Column)({ name: 'check_cashed_out_date' }),
62
+ __metadata("design:type", Date)
63
+ ], DailyPaymentStatus.prototype, "checkCashedOutDate", void 0);
64
+ __decorate([
65
+ (0, typeorm_1.Column)({ name: 'check_address1' }),
66
+ __metadata("design:type", String)
67
+ ], DailyPaymentStatus.prototype, "checkAddressOne", void 0);
68
+ __decorate([
69
+ (0, typeorm_1.Column)({ name: 'check_address2' }),
70
+ __metadata("design:type", String)
71
+ ], DailyPaymentStatus.prototype, "checkAddressTwo", void 0);
72
+ __decorate([
73
+ (0, typeorm_1.Column)({ name: 'check_state' }),
74
+ __metadata("design:type", String)
75
+ ], DailyPaymentStatus.prototype, "checkState", void 0);
76
+ __decorate([
77
+ (0, typeorm_1.Column)({ name: 'check_city' }),
78
+ __metadata("design:type", String)
79
+ ], DailyPaymentStatus.prototype, "checkCity", void 0);
80
+ __decorate([
81
+ (0, typeorm_1.Column)({ name: 'check_zip_code' }),
82
+ __metadata("design:type", String)
83
+ ], DailyPaymentStatus.prototype, "checkZipCode", void 0);
84
+ __decorate([
85
+ (0, typeorm_1.Column)({ name: 'zelle_bank_name' }),
86
+ __metadata("design:type", String)
87
+ ], DailyPaymentStatus.prototype, "zelleBankName", void 0);
88
+ __decorate([
89
+ (0, typeorm_1.Column)({ name: 'zelle_payment_reference' }),
90
+ __metadata("design:type", String)
91
+ ], DailyPaymentStatus.prototype, "zellePaymentReference", void 0);
92
+ __decorate([
93
+ (0, typeorm_1.Column)({ name: 'rejection_correction_system' }),
94
+ __metadata("design:type", String)
95
+ ], DailyPaymentStatus.prototype, "rejectionCorrectionSystem", void 0);
96
+ __decorate([
97
+ (0, typeorm_1.Column)({ name: 'rejection_correction_reason_code' }),
98
+ __metadata("design:type", String)
99
+ ], DailyPaymentStatus.prototype, "rejectionCorrectionReasonCode", void 0);
100
+ __decorate([
101
+ (0, typeorm_1.Column)({ name: 'rejection_correction_reason_description' }),
102
+ __metadata("design:type", String)
103
+ ], DailyPaymentStatus.prototype, "rejectionCorrectionReasonDescription", void 0);
104
+ DailyPaymentStatus = __decorate([
105
+ (0, typeorm_1.Entity)('daily_payment_status', { schema: 'enr' })
106
+ ], DailyPaymentStatus);
107
+ exports.DailyPaymentStatus = DailyPaymentStatus;
@@ -67,3 +67,5 @@ export * from './ticket-queue.entity';
67
67
  export * from './pending-ticket-history.entity';
68
68
  export * from './dispute-request.entity';
69
69
  export * from './sap-raw.entity';
70
+ export * from './active-loads.entity';
71
+ export * from './daily-payment-status.entity';
@@ -83,3 +83,5 @@ __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);
@@ -0,0 +1 @@
1
+ export declare const LoggedUser: (...dataOrPipes: unknown[]) => ParameterDecorator;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LoggedUser = void 0;
4
+ const common_1 = require("@nestjs/common");
5
+ exports.LoggedUser = (0, common_1.createParamDecorator)((data, ctx) => {
6
+ var _a, _b;
7
+ const request = ctx.switchToHttp().getRequest();
8
+ return (_b = (_a = request === null || request === void 0 ? void 0 : request.user) === null || _a === void 0 ? void 0 : _a.payload) === null || _b === void 0 ? void 0 : _b.user;
9
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniorganization/uni-lib",
3
- "version": "1.1.30",
3
+ "version": "1.1.32",
4
4
  "description": "UNI Library",
5
5
  "author": "Jhomiguel",
6
6
  "main": "dist/index.js",