@felloh-org/lambda-wrapper 1.10.11 → 1.10.13
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, _dec18, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15;
|
|
15
15
|
|
|
16
16
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
17
|
|
|
@@ -53,9 +53,16 @@ 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)({
|
|
59
|
+
type: "varchar",
|
|
60
|
+
length: "5",
|
|
61
|
+
nullable: true
|
|
62
|
+
}), _dec17 = (0, _typeorm.Column)({
|
|
56
63
|
type: "varchar",
|
|
57
64
|
length: 40
|
|
58
|
-
}),
|
|
65
|
+
}), _dec18 = (0, _typeorm.Column)({
|
|
59
66
|
type: "varchar",
|
|
60
67
|
length: 30,
|
|
61
68
|
nullable: true
|
|
@@ -83,9 +90,13 @@ let Transaction = (_dec = (0, _typeorm.Entity)({
|
|
|
83
90
|
|
|
84
91
|
_initializerDefineProperty(this, "amount", _descriptor11, this);
|
|
85
92
|
|
|
86
|
-
_initializerDefineProperty(this, "
|
|
93
|
+
_initializerDefineProperty(this, "settlement_amount", _descriptor12, this);
|
|
94
|
+
|
|
95
|
+
_initializerDefineProperty(this, "settlement_currency", _descriptor13, this);
|
|
87
96
|
|
|
88
|
-
_initializerDefineProperty(this, "
|
|
97
|
+
_initializerDefineProperty(this, "merchant_reference", _descriptor14, this);
|
|
98
|
+
|
|
99
|
+
_initializerDefineProperty(this, "batch_number", _descriptor15, this);
|
|
89
100
|
}
|
|
90
101
|
|
|
91
102
|
}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "id", [_dec2], {
|
|
@@ -149,12 +160,22 @@ let Transaction = (_dec = (0, _typeorm.Entity)({
|
|
|
149
160
|
enumerable: true,
|
|
150
161
|
writable: true,
|
|
151
162
|
initializer: null
|
|
152
|
-
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
163
|
+
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "settlement_amount", [_dec15], {
|
|
164
|
+
configurable: true,
|
|
165
|
+
enumerable: true,
|
|
166
|
+
writable: true,
|
|
167
|
+
initializer: null
|
|
168
|
+
}), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, "settlement_currency", [_dec16], {
|
|
169
|
+
configurable: true,
|
|
170
|
+
enumerable: true,
|
|
171
|
+
writable: true,
|
|
172
|
+
initializer: null
|
|
173
|
+
}), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, "merchant_reference", [_dec17], {
|
|
153
174
|
configurable: true,
|
|
154
175
|
enumerable: true,
|
|
155
176
|
writable: true,
|
|
156
177
|
initializer: null
|
|
157
|
-
}),
|
|
178
|
+
}), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, "batch_number", [_dec18], {
|
|
158
179
|
configurable: true,
|
|
159
180
|
enumerable: true,
|
|
160
181
|
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
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const { MigrationInterface, QueryRunner } = require("typeorm");
|
|
2
|
+
|
|
3
|
+
module.exports = class trustSettlementCurrency1686303440691 {
|
|
4
|
+
name = 'trustSettlementCurrency1686303440691'
|
|
5
|
+
|
|
6
|
+
async up(queryRunner) {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE "trust_payments"."transaction" ADD "settlement_currency" character varying(5)`);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
async down(queryRunner) {
|
|
11
|
+
await queryRunner.query(`ALTER TABLE "trust_payments"."transaction" DROP COLUMN "settlement_currency"`);
|
|
12
|
+
}
|
|
13
|
+
}
|