@felloh-org/lambda-wrapper 1.10.10 → 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.
- package/dist/entity/saltedge/account/index.js +26 -13
- package/dist/entity/trust-payments/transaction/index.js +16 -6
- package/dist/migration/saltedge/1686218317938-saltedge_account_nickname.js +13 -0
- package/dist/migration/trust-payments/1686301976291-trust_settlement_amount.js +13 -0
- package/package.json +1 -1
|
@@ -15,7 +15,7 @@ var _account = _interopRequireDefault(require("../../bank/account"));
|
|
|
15
15
|
|
|
16
16
|
var _lead = _interopRequireDefault(require("../lead"));
|
|
17
17
|
|
|
18
|
-
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;
|
|
18
|
+
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;
|
|
19
19
|
|
|
20
20
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
21
21
|
|
|
@@ -61,14 +61,18 @@ let Account = (_dec = (0, _typeorm.Entity)({
|
|
|
61
61
|
type: "varchar",
|
|
62
62
|
length: "150",
|
|
63
63
|
nullable: true
|
|
64
|
-
}), _dec14 = (0, _typeorm.
|
|
64
|
+
}), _dec14 = (0, _typeorm.Column)({
|
|
65
|
+
type: "varchar",
|
|
66
|
+
length: "250",
|
|
67
|
+
nullable: true
|
|
68
|
+
}), _dec15 = (0, _typeorm.CreateDateColumn)({
|
|
65
69
|
type: 'timestamp with time zone'
|
|
66
|
-
}),
|
|
70
|
+
}), _dec16 = (0, _typeorm.UpdateDateColumn)({
|
|
67
71
|
type: 'timestamp with time zone'
|
|
68
|
-
}),
|
|
72
|
+
}), _dec17 = (0, _typeorm.Column)({
|
|
69
73
|
type: "int",
|
|
70
74
|
nullable: true
|
|
71
|
-
}),
|
|
75
|
+
}), _dec18 = (0, _typeorm.Column)({
|
|
72
76
|
type: "varchar",
|
|
73
77
|
length: "5",
|
|
74
78
|
nullable: true
|
|
@@ -88,13 +92,15 @@ let Account = (_dec = (0, _typeorm.Entity)({
|
|
|
88
92
|
|
|
89
93
|
_initializerDefineProperty(this, "name", _descriptor7, this);
|
|
90
94
|
|
|
91
|
-
_initializerDefineProperty(this, "
|
|
95
|
+
_initializerDefineProperty(this, "nickname", _descriptor8, this);
|
|
96
|
+
|
|
97
|
+
_initializerDefineProperty(this, "created_at", _descriptor9, this);
|
|
92
98
|
|
|
93
|
-
_initializerDefineProperty(this, "updated_at",
|
|
99
|
+
_initializerDefineProperty(this, "updated_at", _descriptor10, this);
|
|
94
100
|
|
|
95
|
-
_initializerDefineProperty(this, "balance",
|
|
101
|
+
_initializerDefineProperty(this, "balance", _descriptor11, this);
|
|
96
102
|
|
|
97
|
-
_initializerDefineProperty(this, "currency",
|
|
103
|
+
_initializerDefineProperty(this, "currency", _descriptor12, this);
|
|
98
104
|
}
|
|
99
105
|
|
|
100
106
|
}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "id", [_dec2], {
|
|
@@ -144,22 +150,29 @@ let Account = (_dec = (0, _typeorm.Entity)({
|
|
|
144
150
|
initializer: function () {
|
|
145
151
|
return "";
|
|
146
152
|
}
|
|
147
|
-
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
153
|
+
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "nickname", [_dec14], {
|
|
154
|
+
configurable: true,
|
|
155
|
+
enumerable: true,
|
|
156
|
+
writable: true,
|
|
157
|
+
initializer: function () {
|
|
158
|
+
return "";
|
|
159
|
+
}
|
|
160
|
+
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "created_at", [_dec15], {
|
|
148
161
|
configurable: true,
|
|
149
162
|
enumerable: true,
|
|
150
163
|
writable: true,
|
|
151
164
|
initializer: null
|
|
152
|
-
}),
|
|
165
|
+
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "updated_at", [_dec16], {
|
|
153
166
|
configurable: true,
|
|
154
167
|
enumerable: true,
|
|
155
168
|
writable: true,
|
|
156
169
|
initializer: null
|
|
157
|
-
}),
|
|
170
|
+
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "balance", [_dec17], {
|
|
158
171
|
configurable: true,
|
|
159
172
|
enumerable: true,
|
|
160
173
|
writable: true,
|
|
161
174
|
initializer: null
|
|
162
|
-
}),
|
|
175
|
+
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "currency", [_dec18], {
|
|
163
176
|
configurable: true,
|
|
164
177
|
enumerable: true,
|
|
165
178
|
writable: true,
|
|
@@ -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 saltedgeAccountNickname1686218317938 {
|
|
4
|
+
name = 'saltedgeAccountNickname1686218317938'
|
|
5
|
+
|
|
6
|
+
async up(queryRunner) {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE "saltedge"."account" ADD "nickname" character varying(250)`);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
async down(queryRunner) {
|
|
11
|
+
await queryRunner.query(`ALTER TABLE "saltedge"."account" DROP COLUMN "nickname"`);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -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
|
+
}
|