@felloh-org/lambda-wrapper 1.10.11 → 1.10.12
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.
|
@@ -11,7 +11,7 @@ var _batch = _interopRequireDefault(require("../batch"));
|
|
|
11
11
|
|
|
12
12
|
var _merchant = _interopRequireDefault(require("../merchant"));
|
|
13
13
|
|
|
14
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13;
|
|
14
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14;
|
|
15
15
|
|
|
16
16
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
17
|
|
|
@@ -53,9 +53,12 @@ let Transaction = (_dec = (0, _typeorm.Entity)({
|
|
|
53
53
|
}), _dec14 = (0, _typeorm.Column)({
|
|
54
54
|
type: "int"
|
|
55
55
|
}), _dec15 = (0, _typeorm.Column)({
|
|
56
|
+
type: "int",
|
|
57
|
+
nullable: true
|
|
58
|
+
}), _dec16 = (0, _typeorm.Column)({
|
|
56
59
|
type: "varchar",
|
|
57
60
|
length: 40
|
|
58
|
-
}),
|
|
61
|
+
}), _dec17 = (0, _typeorm.Column)({
|
|
59
62
|
type: "varchar",
|
|
60
63
|
length: 30,
|
|
61
64
|
nullable: true
|
|
@@ -83,9 +86,11 @@ let Transaction = (_dec = (0, _typeorm.Entity)({
|
|
|
83
86
|
|
|
84
87
|
_initializerDefineProperty(this, "amount", _descriptor11, this);
|
|
85
88
|
|
|
86
|
-
_initializerDefineProperty(this, "
|
|
89
|
+
_initializerDefineProperty(this, "settlement_amount", _descriptor12, this);
|
|
90
|
+
|
|
91
|
+
_initializerDefineProperty(this, "merchant_reference", _descriptor13, this);
|
|
87
92
|
|
|
88
|
-
_initializerDefineProperty(this, "batch_number",
|
|
93
|
+
_initializerDefineProperty(this, "batch_number", _descriptor14, this);
|
|
89
94
|
}
|
|
90
95
|
|
|
91
96
|
}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "id", [_dec2], {
|
|
@@ -149,12 +154,17 @@ let Transaction = (_dec = (0, _typeorm.Entity)({
|
|
|
149
154
|
enumerable: true,
|
|
150
155
|
writable: true,
|
|
151
156
|
initializer: null
|
|
152
|
-
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
157
|
+
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "settlement_amount", [_dec15], {
|
|
158
|
+
configurable: true,
|
|
159
|
+
enumerable: true,
|
|
160
|
+
writable: true,
|
|
161
|
+
initializer: null
|
|
162
|
+
}), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, "merchant_reference", [_dec16], {
|
|
153
163
|
configurable: true,
|
|
154
164
|
enumerable: true,
|
|
155
165
|
writable: true,
|
|
156
166
|
initializer: null
|
|
157
|
-
}),
|
|
167
|
+
}), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, "batch_number", [_dec17], {
|
|
158
168
|
configurable: true,
|
|
159
169
|
enumerable: true,
|
|
160
170
|
writable: true,
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const { MigrationInterface, QueryRunner } = require("typeorm");
|
|
2
|
+
|
|
3
|
+
module.exports = class trustSettlementAmount1686301976291 {
|
|
4
|
+
name = 'trustSettlementAmount1686301976291'
|
|
5
|
+
|
|
6
|
+
async up(queryRunner) {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE "trust_payments"."transaction" ADD "settlement_amount" integer`);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
async down(queryRunner) {
|
|
11
|
+
await queryRunner.query(`ALTER TABLE "trust_payments"."transaction" DROP COLUMN "settlement_amount"`);
|
|
12
|
+
}
|
|
13
|
+
}
|