@uniorganization/uni-lib 1.1.40 → 1.1.42

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.
@@ -108,7 +108,10 @@ __decorate([
108
108
  ], DailyPaymentStatus.prototype, "rejectionCorrectionReasonDescription", void 0);
109
109
  __decorate([
110
110
  (0, typeorm_1.ManyToOne)((type) => transactions_entity_1.Transactions),
111
- (0, typeorm_1.JoinColumn)({ name: 'payment_reference' }),
111
+ (0, typeorm_1.JoinColumn)({
112
+ name: 'payment_reference',
113
+ referencedColumnName: 'transaction_id',
114
+ }),
112
115
  __metadata("design:type", transactions_entity_1.Transactions)
113
116
  ], DailyPaymentStatus.prototype, "transaction", void 0);
114
117
  DailyPaymentStatus = __decorate([
@@ -27,6 +27,6 @@ export declare class Transactions {
27
27
  callbackSchedule: Timestamp;
28
28
  callbackstatus: string;
29
29
  callDrivers: CallDriverData[];
30
- dailyPaymentStatus: DailyPaymentStatus;
30
+ dailyPaymentStatus: DailyPaymentStatus[];
31
31
  activeLoad: ActiveLoad;
32
32
  }
@@ -118,7 +118,7 @@ __decorate([
118
118
  (0, typeorm_1.OneToMany)(() => daily_payment_status_entity_1.DailyPaymentStatus, (cdd) => cdd.transaction, {
119
119
  cascade: ['insert', 'update', 'remove'],
120
120
  }),
121
- __metadata("design:type", daily_payment_status_entity_1.DailyPaymentStatus)
121
+ __metadata("design:type", Array)
122
122
  ], Transactions.prototype, "dailyPaymentStatus", void 0);
123
123
  __decorate([
124
124
  (0, typeorm_1.OneToOne)(() => active_loads_entity_1.ActiveLoad, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniorganization/uni-lib",
3
- "version": "1.1.40",
3
+ "version": "1.1.42",
4
4
  "description": "UNI Library",
5
5
  "author": "Jhomiguel",
6
6
  "main": "dist/index.js",