@felloh-org/lambda-wrapper 1.11.91 → 1.11.92
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.
|
@@ -15,7 +15,7 @@ var _transactionSettlement = _interopRequireDefault(require("../transaction-sett
|
|
|
15
15
|
|
|
16
16
|
var _adjustment = _interopRequireDefault(require("../adjustment"));
|
|
17
17
|
|
|
18
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11;
|
|
18
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12;
|
|
19
19
|
|
|
20
20
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
21
21
|
|
|
@@ -46,9 +46,12 @@ let Batch = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
|
46
46
|
}), _dec9 = (0, _typeorm.OneToMany)(() => _adjustment.default, adjustment => adjustment.batch), _dec10 = (0, _typeorm.OneToMany)(() => _transactionSettlement.default, transactionSettlement => transactionSettlement.batch), _dec11 = (0, _typeorm.Column)({
|
|
47
47
|
type: "boolean",
|
|
48
48
|
default: false
|
|
49
|
-
}), _dec12 = (0, _typeorm.
|
|
49
|
+
}), _dec12 = (0, _typeorm.Column)({
|
|
50
|
+
type: "boolean",
|
|
51
|
+
default: false
|
|
52
|
+
}), _dec13 = (0, _typeorm.CreateDateColumn)({
|
|
50
53
|
type: 'timestamp with time zone'
|
|
51
|
-
}),
|
|
54
|
+
}), _dec14 = (0, _typeorm.UpdateDateColumn)({
|
|
52
55
|
type: 'timestamp with time zone'
|
|
53
56
|
}), _dec(_class = (_class2 = class Batch {
|
|
54
57
|
constructor() {
|
|
@@ -70,9 +73,11 @@ let Batch = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
|
70
73
|
|
|
71
74
|
_initializerDefineProperty(this, "found_in_felloh_managed_trust", _descriptor9, this);
|
|
72
75
|
|
|
73
|
-
_initializerDefineProperty(this, "
|
|
76
|
+
_initializerDefineProperty(this, "found_in_customer_account", _descriptor10, this);
|
|
77
|
+
|
|
78
|
+
_initializerDefineProperty(this, "created_at", _descriptor11, this);
|
|
74
79
|
|
|
75
|
-
_initializerDefineProperty(this, "updated_at",
|
|
80
|
+
_initializerDefineProperty(this, "updated_at", _descriptor12, this);
|
|
76
81
|
}
|
|
77
82
|
|
|
78
83
|
getPublicData() {
|
|
@@ -142,12 +147,19 @@ let Batch = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
|
142
147
|
initializer: function () {
|
|
143
148
|
return false;
|
|
144
149
|
}
|
|
145
|
-
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
150
|
+
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "found_in_customer_account", [_dec12], {
|
|
151
|
+
configurable: true,
|
|
152
|
+
enumerable: true,
|
|
153
|
+
writable: true,
|
|
154
|
+
initializer: function () {
|
|
155
|
+
return false;
|
|
156
|
+
}
|
|
157
|
+
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "created_at", [_dec13], {
|
|
146
158
|
configurable: true,
|
|
147
159
|
enumerable: true,
|
|
148
160
|
writable: true,
|
|
149
161
|
initializer: null
|
|
150
|
-
}),
|
|
162
|
+
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "updated_at", [_dec14], {
|
|
151
163
|
configurable: true,
|
|
152
164
|
enumerable: true,
|
|
153
165
|
writable: true,
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const { MigrationInterface, QueryRunner } = require("typeorm");
|
|
2
|
+
|
|
3
|
+
module.exports = class foundCustomerAccount1713365208792 {
|
|
4
|
+
name = 'foundCustomerAccount1713365208792'
|
|
5
|
+
|
|
6
|
+
async up(queryRunner) {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE "acquirer"."batch" ADD "found_in_customer_account" boolean NOT NULL DEFAULT false`);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
async down(queryRunner) {
|
|
11
|
+
await queryRunner.query(`ALTER TABLE "acquirer"."batch" DROP COLUMN "found_in_customer_account"`);
|
|
12
|
+
}
|
|
13
|
+
}
|