@felloh-org/lambda-wrapper 1.11.5 → 1.11.6

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.
@@ -7,7 +7,7 @@ exports.default = void 0;
7
7
 
8
8
  var _typeorm = require("typeorm");
9
9
 
10
- var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7;
10
+ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;
11
11
 
12
12
  function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }
13
13
 
@@ -34,9 +34,15 @@ let Merchant = (_dec = (0, _typeorm.Entity)({
34
34
  type: "boolean",
35
35
  default: false
36
36
  }), _dec7 = (0, _typeorm.Column)({
37
+ type: "boolean",
38
+ default: false
39
+ }), _dec8 = (0, _typeorm.Column)({
40
+ type: "boolean",
41
+ default: false
42
+ }), _dec9 = (0, _typeorm.Column)({
37
43
  type: "int",
38
44
  nullable: true
39
- }), _dec8 = (0, _typeorm.CreateDateColumn)(), _dec(_class = (_class2 = class Merchant {
45
+ }), _dec10 = (0, _typeorm.CreateDateColumn)(), _dec(_class = (_class2 = class Merchant {
40
46
  constructor() {
41
47
  _initializerDefineProperty(this, "merchant_number", _descriptor, this);
42
48
 
@@ -48,9 +54,13 @@ let Merchant = (_dec = (0, _typeorm.Entity)({
48
54
 
49
55
  _initializerDefineProperty(this, "in_omnipay", _descriptor5, this);
50
56
 
51
- _initializerDefineProperty(this, "rolling_reserve", _descriptor6, this);
57
+ _initializerDefineProperty(this, "always_scrape", _descriptor6, this);
52
58
 
53
- _initializerDefineProperty(this, "created_at", _descriptor7, this);
59
+ _initializerDefineProperty(this, "import_transactions", _descriptor7, this);
60
+
61
+ _initializerDefineProperty(this, "rolling_reserve", _descriptor8, this);
62
+
63
+ _initializerDefineProperty(this, "created_at", _descriptor9, this);
54
64
  }
55
65
 
56
66
  }, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "merchant_number", [_dec2], {
@@ -86,14 +96,24 @@ let Merchant = (_dec = (0, _typeorm.Entity)({
86
96
  enumerable: true,
87
97
  writable: true,
88
98
  initializer: null
89
- }), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "rolling_reserve", [_dec7], {
99
+ }), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "always_scrape", [_dec7], {
100
+ configurable: true,
101
+ enumerable: true,
102
+ writable: true,
103
+ initializer: null
104
+ }), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "import_transactions", [_dec8], {
105
+ configurable: true,
106
+ enumerable: true,
107
+ writable: true,
108
+ initializer: null
109
+ }), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "rolling_reserve", [_dec9], {
90
110
  configurable: true,
91
111
  enumerable: true,
92
112
  writable: true,
93
113
  initializer: function () {
94
114
  return "";
95
115
  }
96
- }), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "created_at", [_dec8], {
116
+ }), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "created_at", [_dec10], {
97
117
  configurable: true,
98
118
  enumerable: true,
99
119
  writable: true,
@@ -0,0 +1,13 @@
1
+ const { MigrationInterface, QueryRunner } = require("typeorm");
2
+
3
+ module.exports = class trustAlwaysScrape1688382475027 {
4
+ name = 'trustAlwaysScrape1688382475027'
5
+
6
+ async up(queryRunner) {;
7
+ await queryRunner.query(`ALTER TABLE "trust_payments"."merchant" ADD "always_scrape" boolean NOT NULL DEFAULT false`);
8
+ }
9
+
10
+ async down(queryRunner) {
11
+ await queryRunner.query(`ALTER TABLE "trust_payments"."merchant" DROP COLUMN "always_scrape"`);
12
+ }
13
+ }
@@ -0,0 +1,13 @@
1
+ const { MigrationInterface, QueryRunner } = require("typeorm");
2
+
3
+ module.exports = class trustImportTransactions1688382817741 {
4
+ name = 'trustImportTransactions1688382817741'
5
+
6
+ async up(queryRunner) {
7
+ await queryRunner.query(`ALTER TABLE "trust_payments"."merchant" ADD "import_transactions" boolean NOT NULL DEFAULT false`);
8
+ }
9
+
10
+ async down(queryRunner) {
11
+ await queryRunner.query(`ALTER TABLE "trust_payments"."merchant" DROP COLUMN "import_transactions"`);
12
+ }
13
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@felloh-org/lambda-wrapper",
3
- "version": "1.11.5",
3
+ "version": "1.11.6",
4
4
  "description": "Lambda wrapper for all Felloh Serverless Projects",
5
5
  "main": "dist/index.js",
6
6
  "engines": {