@felloh-org/lambda-wrapper 1.11.70 → 1.11.71

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.
@@ -9,7 +9,7 @@ var _typeorm = require("typeorm");
9
9
 
10
10
  var _organisation = _interopRequireDefault(require("../../user/organisation"));
11
11
 
12
- 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, _descriptor15;
12
+ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17;
13
13
 
14
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
15
 
@@ -51,28 +51,36 @@ let BinRules = exports.default = (_dec = (0, _typeorm.Entity)({
51
51
  nullable: true
52
52
  }), _dec11 = (0, _typeorm.Column)({
53
53
  type: "varchar",
54
- length: "5",
54
+ length: "128",
55
55
  nullable: true
56
56
  }), _dec12 = (0, _typeorm.Column)({
57
57
  type: "varchar",
58
- length: "5",
58
+ length: "128",
59
59
  nullable: true
60
60
  }), _dec13 = (0, _typeorm.Column)({
61
61
  type: "varchar",
62
- length: "512",
62
+ length: "128",
63
63
  nullable: true
64
64
  }), _dec14 = (0, _typeorm.Column)({
65
+ type: "varchar",
66
+ length: "128",
67
+ nullable: true
68
+ }), _dec15 = (0, _typeorm.Column)({
69
+ type: "varchar",
70
+ length: "512",
71
+ nullable: true
72
+ }), _dec16 = (0, _typeorm.Column)({
65
73
  type: "varchar",
66
74
  length: "10",
67
75
  nullable: true
68
- }), _dec15 = (0, _typeorm.Column)('decimal', {
76
+ }), _dec17 = (0, _typeorm.Column)('decimal', {
69
77
  precision: 6,
70
78
  scale: 2,
71
79
  nullable: true
72
- }), _dec16 = (0, _typeorm.Column)({
80
+ }), _dec18 = (0, _typeorm.Column)({
73
81
  type: "int",
74
82
  nullable: true
75
- }), _dec17 = (0, _typeorm.CreateDateColumn)(), _dec(_class = (_class2 = class BinRules {
83
+ }), _dec19 = (0, _typeorm.CreateDateColumn)(), _dec(_class = (_class2 = class BinRules {
76
84
  constructor() {
77
85
  _initializerDefineProperty(this, "id", _descriptor, this);
78
86
 
@@ -94,15 +102,19 @@ let BinRules = exports.default = (_dec = (0, _typeorm.Entity)({
94
102
 
95
103
  _initializerDefineProperty(this, "currencyExclude", _descriptor10, this);
96
104
 
97
- _initializerDefineProperty(this, "message", _descriptor11, this);
105
+ _initializerDefineProperty(this, "countryInclude", _descriptor11, this);
106
+
107
+ _initializerDefineProperty(this, "countryExclude", _descriptor12, this);
98
108
 
99
- _initializerDefineProperty(this, "modifierType", _descriptor12, this);
109
+ _initializerDefineProperty(this, "message", _descriptor13, this);
100
110
 
101
- _initializerDefineProperty(this, "percentage", _descriptor13, this);
111
+ _initializerDefineProperty(this, "modifierType", _descriptor14, this);
102
112
 
103
- _initializerDefineProperty(this, "amount", _descriptor14, this);
113
+ _initializerDefineProperty(this, "percentage", _descriptor15, this);
104
114
 
105
- _initializerDefineProperty(this, "created_at", _descriptor15, this);
115
+ _initializerDefineProperty(this, "amount", _descriptor16, this);
116
+
117
+ _initializerDefineProperty(this, "created_at", _descriptor17, this);
106
118
  }
107
119
 
108
120
  }, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "id", [_dec2], {
@@ -173,31 +185,45 @@ let BinRules = exports.default = (_dec = (0, _typeorm.Entity)({
173
185
  initializer: function () {
174
186
  return "";
175
187
  }
176
- }), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "message", [_dec13], {
188
+ }), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "countryInclude", [_dec13], {
189
+ configurable: true,
190
+ enumerable: true,
191
+ writable: true,
192
+ initializer: function () {
193
+ return "";
194
+ }
195
+ }), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "countryExclude", [_dec14], {
196
+ configurable: true,
197
+ enumerable: true,
198
+ writable: true,
199
+ initializer: function () {
200
+ return "";
201
+ }
202
+ }), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, "message", [_dec15], {
177
203
  configurable: true,
178
204
  enumerable: true,
179
205
  writable: true,
180
206
  initializer: function () {
181
207
  return "";
182
208
  }
183
- }), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "modifierType", [_dec14], {
209
+ }), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, "modifierType", [_dec16], {
184
210
  configurable: true,
185
211
  enumerable: true,
186
212
  writable: true,
187
213
  initializer: function () {
188
214
  return "";
189
215
  }
190
- }), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, "percentage", [_dec15], {
216
+ }), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, "percentage", [_dec17], {
191
217
  configurable: true,
192
218
  enumerable: true,
193
219
  writable: true,
194
220
  initializer: null
195
- }), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, "amount", [_dec16], {
221
+ }), _descriptor16 = _applyDecoratedDescriptor(_class2.prototype, "amount", [_dec18], {
196
222
  configurable: true,
197
223
  enumerable: true,
198
224
  writable: true,
199
225
  initializer: null
200
- }), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, "created_at", [_dec17], {
226
+ }), _descriptor17 = _applyDecoratedDescriptor(_class2.prototype, "created_at", [_dec19], {
201
227
  configurable: true,
202
228
  enumerable: true,
203
229
  writable: true,
@@ -0,0 +1,19 @@
1
+ const { MigrationInterface, QueryRunner } = require("typeorm");
2
+
3
+ module.exports = class binRulesCountry1705493819447 {
4
+ name = 'binRulesCountry1705493819447'
5
+
6
+ async up(queryRunner) {
7
+ await queryRunner.query(`ALTER TABLE "acquirer"."bin_rules" ADD "countryInclude" character varying(128)`);
8
+ await queryRunner.query(`ALTER TABLE "acquirer"."bin_rules" ADD "countryExclude" character varying(128)`);
9
+ await queryRunner.query(`ALTER TABLE "acquirer"."bin_rules" ALTER COLUMN "currencyInclude" TYPE varchar(128)`);
10
+ await queryRunner.query(`ALTER TABLE "acquirer"."bin_rules" ALTER COLUMN "currencyExclude" TYPE varchar(128)`);
11
+ }
12
+
13
+ async down(queryRunner) {
14
+ await queryRunner.query(`ALTER TABLE "acquirer"."bin_rules" DROP COLUMN "countryInclude"`);
15
+ await queryRunner.query(`ALTER TABLE "acquirer"."bin_rules" DROP COLUMN "countryExclude"`);
16
+ await queryRunner.query(`ALTER TABLE "acquirer"."bin_rules" ALTER COLUMN "currencyInclude" TYPE varchar(5)`);
17
+ await queryRunner.query(`ALTER TABLE "acquirer"."bin_rules" ALTER COLUMN "currencyExclude" TYPE varchar(5)`);
18
+ }
19
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@felloh-org/lambda-wrapper",
3
- "version": "1.11.70",
3
+ "version": "1.11.71",
4
4
  "description": "Lambda wrapper for all Felloh Serverless Projects",
5
5
  "main": "dist/index.js",
6
6
  "engines": {