@felloh-org/lambda-wrapper 1.11.81 → 1.11.82
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 _account = _interopRequireDefault(require("../../bank/account"));
|
|
|
11
11
|
|
|
12
12
|
var _gocardlessRequisition = _interopRequireDefault(require("../gocardless-requisition"));
|
|
13
13
|
|
|
14
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;
|
|
14
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8;
|
|
15
15
|
|
|
16
16
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
17
|
|
|
@@ -37,7 +37,17 @@ let GoCardlessAccount = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
|
37
37
|
type: "varchar",
|
|
38
38
|
nullable: true,
|
|
39
39
|
length: 50
|
|
40
|
-
}), _dec8 = (0, _typeorm.
|
|
40
|
+
}), _dec8 = (0, _typeorm.Column)({
|
|
41
|
+
type: "timestamp with time zone",
|
|
42
|
+
nullable: true
|
|
43
|
+
}), _dec9 = (0, _typeorm.Column)({
|
|
44
|
+
type: "int",
|
|
45
|
+
nullable: true
|
|
46
|
+
}), _dec10 = (0, _typeorm.Column)({
|
|
47
|
+
type: "varchar",
|
|
48
|
+
length: "5",
|
|
49
|
+
nullable: true
|
|
50
|
+
}), _dec11 = (0, _typeorm.CreateDateColumn)(), _dec(_class = (_class2 = class GoCardlessAccount {
|
|
41
51
|
constructor() {
|
|
42
52
|
_initializerDefineProperty(this, "id", _descriptor, this);
|
|
43
53
|
|
|
@@ -47,7 +57,13 @@ let GoCardlessAccount = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
|
47
57
|
|
|
48
58
|
_initializerDefineProperty(this, "status", _descriptor4, this);
|
|
49
59
|
|
|
50
|
-
_initializerDefineProperty(this, "
|
|
60
|
+
_initializerDefineProperty(this, "last_sync", _descriptor5, this);
|
|
61
|
+
|
|
62
|
+
_initializerDefineProperty(this, "balance", _descriptor6, this);
|
|
63
|
+
|
|
64
|
+
_initializerDefineProperty(this, "currency", _descriptor7, this);
|
|
65
|
+
|
|
66
|
+
_initializerDefineProperty(this, "created_at", _descriptor8, this);
|
|
51
67
|
}
|
|
52
68
|
|
|
53
69
|
}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "id", [_dec2], {
|
|
@@ -76,7 +92,24 @@ let GoCardlessAccount = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
|
76
92
|
enumerable: true,
|
|
77
93
|
writable: true,
|
|
78
94
|
initializer: null
|
|
79
|
-
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
95
|
+
}), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "last_sync", [_dec8], {
|
|
96
|
+
configurable: true,
|
|
97
|
+
enumerable: true,
|
|
98
|
+
writable: true,
|
|
99
|
+
initializer: null
|
|
100
|
+
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "balance", [_dec9], {
|
|
101
|
+
configurable: true,
|
|
102
|
+
enumerable: true,
|
|
103
|
+
writable: true,
|
|
104
|
+
initializer: null
|
|
105
|
+
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "currency", [_dec10], {
|
|
106
|
+
configurable: true,
|
|
107
|
+
enumerable: true,
|
|
108
|
+
writable: true,
|
|
109
|
+
initializer: function () {
|
|
110
|
+
return "";
|
|
111
|
+
}
|
|
112
|
+
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "created_at", [_dec11], {
|
|
80
113
|
configurable: true,
|
|
81
114
|
enumerable: true,
|
|
82
115
|
writable: true,
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const { MigrationInterface, QueryRunner } = require("typeorm");
|
|
2
|
+
|
|
3
|
+
module.exports = class balancesandcurrencies1710350514324 {
|
|
4
|
+
name = 'balancesandcurrencies1710350514324'
|
|
5
|
+
|
|
6
|
+
async up(queryRunner) {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE "aisp"."gocardless_account" ADD "last_sync" TIMESTAMP WITH TIME ZONE`);
|
|
8
|
+
await queryRunner.query(`ALTER TABLE "aisp"."gocardless_account" ADD "balance" integer`);
|
|
9
|
+
await queryRunner.query(`ALTER TABLE "aisp"."gocardless_account" ADD "currency" character varying(5)`);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
async down(queryRunner) {
|
|
13
|
+
await queryRunner.query(`ALTER TABLE "aisp"."gocardless_account" DROP COLUMN "currency"`);
|
|
14
|
+
await queryRunner.query(`ALTER TABLE "aisp"."gocardless_account" DROP COLUMN "balance"`);
|
|
15
|
+
await queryRunner.query(`ALTER TABLE "aisp"."gocardless_account" DROP COLUMN "last_sync"`);
|
|
16
|
+
}
|
|
17
|
+
}
|