@felloh-org/lambda-wrapper 1.11.61 → 1.11.62
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 _disbursal = _interopRequireDefault(require("../../bank/disbursal"));
|
|
|
15
15
|
|
|
16
16
|
var _bookingBankTransaction = _interopRequireDefault(require("../../agent-data/booking-bank-transaction"));
|
|
17
17
|
|
|
18
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19;
|
|
18
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _dec27, _dec28, _dec29, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25;
|
|
19
19
|
|
|
20
20
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
21
21
|
|
|
@@ -86,7 +86,31 @@ let Transaction = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
|
86
86
|
name: 'disbursal_id',
|
|
87
87
|
referencedColumnName: 'id',
|
|
88
88
|
nullable: true
|
|
89
|
-
}), _dec23 = (0, _typeorm.OneToMany)(() => _bookingBankTransaction.default, bankTransaction => bankTransaction.transaction),
|
|
89
|
+
}), _dec23 = (0, _typeorm.OneToMany)(() => _bookingBankTransaction.default, bankTransaction => bankTransaction.transaction), _dec24 = (0, _typeorm.Column)({
|
|
90
|
+
type: "varchar",
|
|
91
|
+
length: "32",
|
|
92
|
+
nullable: true
|
|
93
|
+
}), _dec25 = (0, _typeorm.Column)({
|
|
94
|
+
type: "varchar",
|
|
95
|
+
length: "100",
|
|
96
|
+
nullable: true
|
|
97
|
+
}), _dec26 = (0, _typeorm.Column)({
|
|
98
|
+
type: "varchar",
|
|
99
|
+
length: "100",
|
|
100
|
+
nullable: true
|
|
101
|
+
}), _dec27 = (0, _typeorm.Column)({
|
|
102
|
+
type: "varchar",
|
|
103
|
+
length: "100",
|
|
104
|
+
nullable: true
|
|
105
|
+
}), _dec28 = (0, _typeorm.Column)({
|
|
106
|
+
type: "varchar",
|
|
107
|
+
length: "100",
|
|
108
|
+
nullable: true
|
|
109
|
+
}), _dec29 = (0, _typeorm.Column)({
|
|
110
|
+
type: "varchar",
|
|
111
|
+
length: "100",
|
|
112
|
+
nullable: true
|
|
113
|
+
}), _dec(_class = (_class2 = class Transaction {
|
|
90
114
|
constructor() {
|
|
91
115
|
_initializerDefineProperty(this, "id", _descriptor, this);
|
|
92
116
|
|
|
@@ -125,6 +149,18 @@ let Transaction = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
|
125
149
|
_initializerDefineProperty(this, "disbursal", _descriptor18, this);
|
|
126
150
|
|
|
127
151
|
_initializerDefineProperty(this, "bank_transactions", _descriptor19, this);
|
|
152
|
+
|
|
153
|
+
_initializerDefineProperty(this, "hash", _descriptor20, this);
|
|
154
|
+
|
|
155
|
+
_initializerDefineProperty(this, "ai_firstname", _descriptor21, this);
|
|
156
|
+
|
|
157
|
+
_initializerDefineProperty(this, "ai_lastname", _descriptor22, this);
|
|
158
|
+
|
|
159
|
+
_initializerDefineProperty(this, "ai_company_name", _descriptor23, this);
|
|
160
|
+
|
|
161
|
+
_initializerDefineProperty(this, "ai_reference", _descriptor24, this);
|
|
162
|
+
|
|
163
|
+
_initializerDefineProperty(this, "ai_transaction_id", _descriptor25, this);
|
|
128
164
|
}
|
|
129
165
|
|
|
130
166
|
}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "id", [_dec2], {
|
|
@@ -246,4 +282,46 @@ let Transaction = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
|
246
282
|
enumerable: true,
|
|
247
283
|
writable: true,
|
|
248
284
|
initializer: null
|
|
285
|
+
}), _descriptor20 = _applyDecoratedDescriptor(_class2.prototype, "hash", [_dec24], {
|
|
286
|
+
configurable: true,
|
|
287
|
+
enumerable: true,
|
|
288
|
+
writable: true,
|
|
289
|
+
initializer: function () {
|
|
290
|
+
return "";
|
|
291
|
+
}
|
|
292
|
+
}), _descriptor21 = _applyDecoratedDescriptor(_class2.prototype, "ai_firstname", [_dec25], {
|
|
293
|
+
configurable: true,
|
|
294
|
+
enumerable: true,
|
|
295
|
+
writable: true,
|
|
296
|
+
initializer: function () {
|
|
297
|
+
return "";
|
|
298
|
+
}
|
|
299
|
+
}), _descriptor22 = _applyDecoratedDescriptor(_class2.prototype, "ai_lastname", [_dec26], {
|
|
300
|
+
configurable: true,
|
|
301
|
+
enumerable: true,
|
|
302
|
+
writable: true,
|
|
303
|
+
initializer: function () {
|
|
304
|
+
return "";
|
|
305
|
+
}
|
|
306
|
+
}), _descriptor23 = _applyDecoratedDescriptor(_class2.prototype, "ai_company_name", [_dec27], {
|
|
307
|
+
configurable: true,
|
|
308
|
+
enumerable: true,
|
|
309
|
+
writable: true,
|
|
310
|
+
initializer: function () {
|
|
311
|
+
return "";
|
|
312
|
+
}
|
|
313
|
+
}), _descriptor24 = _applyDecoratedDescriptor(_class2.prototype, "ai_reference", [_dec28], {
|
|
314
|
+
configurable: true,
|
|
315
|
+
enumerable: true,
|
|
316
|
+
writable: true,
|
|
317
|
+
initializer: function () {
|
|
318
|
+
return "";
|
|
319
|
+
}
|
|
320
|
+
}), _descriptor25 = _applyDecoratedDescriptor(_class2.prototype, "ai_transaction_id", [_dec29], {
|
|
321
|
+
configurable: true,
|
|
322
|
+
enumerable: true,
|
|
323
|
+
writable: true,
|
|
324
|
+
initializer: function () {
|
|
325
|
+
return "";
|
|
326
|
+
}
|
|
249
327
|
})), _class2)) || _class);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const { MigrationInterface, QueryRunner } = require("typeorm");
|
|
2
|
+
|
|
3
|
+
module.exports = class aiFields1699281692894 {
|
|
4
|
+
name = 'aiFields1699281692894'
|
|
5
|
+
|
|
6
|
+
async up(queryRunner) {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE "saltedge"."transaction" ADD "hash" character varying(32)`);
|
|
8
|
+
await queryRunner.query(`ALTER TABLE "saltedge"."transaction" ADD "ai_firstname" character varying(100)`);
|
|
9
|
+
await queryRunner.query(`ALTER TABLE "saltedge"."transaction" ADD "ai_lastname" character varying(100)`);
|
|
10
|
+
await queryRunner.query(`ALTER TABLE "saltedge"."transaction" ADD "ai_company_name" character varying(100)`);
|
|
11
|
+
await queryRunner.query(`ALTER TABLE "saltedge"."transaction" ADD "ai_reference" character varying(100)`);
|
|
12
|
+
await queryRunner.query(`ALTER TABLE "saltedge"."transaction" ADD "ai_transaction_id" character varying(100)`);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
async down(queryRunner) {
|
|
16
|
+
await queryRunner.query(`ALTER TABLE "saltedge"."transaction" DROP COLUMN "ai_transaction_id"`);
|
|
17
|
+
await queryRunner.query(`ALTER TABLE "saltedge"."transaction" DROP COLUMN "ai_reference"`);
|
|
18
|
+
await queryRunner.query(`ALTER TABLE "saltedge"."transaction" DROP COLUMN "ai_company_name"`);
|
|
19
|
+
await queryRunner.query(`ALTER TABLE "saltedge"."transaction" DROP COLUMN "ai_lastname"`);
|
|
20
|
+
await queryRunner.query(`ALTER TABLE "saltedge"."transaction" DROP COLUMN "ai_firstname"`);
|
|
21
|
+
await queryRunner.query(`ALTER TABLE "saltedge"."transaction" DROP COLUMN "hash"`);
|
|
22
|
+
}
|
|
23
|
+
}
|