@felloh-org/lambda-wrapper 1.2.11 → 1.2.13

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, _dec9, _dec10, _dec11, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10;
10
+ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12;
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
 
@@ -41,8 +41,16 @@ let Transaction = (_dec = (0, _typeorm.Entity)({
41
41
  type: "int",
42
42
  nullable: true
43
43
  }), _dec10 = (0, _typeorm.Column)({
44
- type: "timestamp without time zone"
44
+ type: "varchar",
45
+ length: 50,
46
+ nullable: true
45
47
  }), _dec11 = (0, _typeorm.Column)({
48
+ type: "varchar",
49
+ length: 512,
50
+ nullable: true
51
+ }), _dec12 = (0, _typeorm.Column)({
52
+ type: "timestamp without time zone"
53
+ }), _dec13 = (0, _typeorm.Column)({
46
54
  type: "varchar",
47
55
  length: 1500
48
56
  }), _dec(_class = (_class2 = class Transaction {
@@ -63,9 +71,13 @@ let Transaction = (_dec = (0, _typeorm.Entity)({
63
71
 
64
72
  _initializerDefineProperty(this, "status", _descriptor8, this);
65
73
 
66
- _initializerDefineProperty(this, "processing_time", _descriptor9, this);
74
+ _initializerDefineProperty(this, "code", _descriptor9, this);
75
+
76
+ _initializerDefineProperty(this, "message", _descriptor10, this);
77
+
78
+ _initializerDefineProperty(this, "processing_time", _descriptor11, this);
67
79
 
68
- _initializerDefineProperty(this, "merchant_name", _descriptor10, this);
80
+ _initializerDefineProperty(this, "merchant_name", _descriptor12, this);
69
81
  }
70
82
 
71
83
  }, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "ndc", [_dec2], {
@@ -110,14 +122,24 @@ let Transaction = (_dec = (0, _typeorm.Entity)({
110
122
  enumerable: true,
111
123
  writable: true,
112
124
  initializer: null
113
- }), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "processing_time", [_dec10], {
125
+ }), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "code", [_dec10], {
126
+ configurable: true,
127
+ enumerable: true,
128
+ writable: true,
129
+ initializer: null
130
+ }), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "message", [_dec11], {
131
+ configurable: true,
132
+ enumerable: true,
133
+ writable: true,
134
+ initializer: null
135
+ }), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "processing_time", [_dec12], {
114
136
  configurable: true,
115
137
  enumerable: true,
116
138
  writable: true,
117
139
  initializer: function () {
118
140
  return null;
119
141
  }
120
- }), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "merchant_name", [_dec11], {
142
+ }), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "merchant_name", [_dec13], {
121
143
  configurable: true,
122
144
  enumerable: true,
123
145
  writable: true,
@@ -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, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;
10
+ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7;
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
 
@@ -33,7 +33,10 @@ let Merchant = (_dec = (0, _typeorm.Entity)({
33
33
  }), _dec6 = (0, _typeorm.Column)({
34
34
  type: "boolean",
35
35
  default: false
36
- }), _dec7 = (0, _typeorm.CreateDateColumn)(), _dec(_class = (_class2 = class Merchant {
36
+ }), _dec7 = (0, _typeorm.Column)({
37
+ type: "int",
38
+ nullable: true
39
+ }), _dec8 = (0, _typeorm.CreateDateColumn)(), _dec(_class = (_class2 = class Merchant {
37
40
  constructor() {
38
41
  _initializerDefineProperty(this, "merchant_number", _descriptor, this);
39
42
 
@@ -45,7 +48,9 @@ let Merchant = (_dec = (0, _typeorm.Entity)({
45
48
 
46
49
  _initializerDefineProperty(this, "in_omnipay", _descriptor5, this);
47
50
 
48
- _initializerDefineProperty(this, "created_at", _descriptor6, this);
51
+ _initializerDefineProperty(this, "rolling_reserve", _descriptor6, this);
52
+
53
+ _initializerDefineProperty(this, "created_at", _descriptor7, this);
49
54
  }
50
55
 
51
56
  }, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "merchant_number", [_dec2], {
@@ -81,7 +86,14 @@ let Merchant = (_dec = (0, _typeorm.Entity)({
81
86
  enumerable: true,
82
87
  writable: true,
83
88
  initializer: null
84
- }), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "created_at", [_dec7], {
89
+ }), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "rolling_reserve", [_dec7], {
90
+ configurable: true,
91
+ enumerable: true,
92
+ writable: true,
93
+ initializer: function () {
94
+ return "";
95
+ }
96
+ }), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "created_at", [_dec8], {
85
97
  configurable: true,
86
98
  enumerable: true,
87
99
  writable: true,
@@ -0,0 +1,15 @@
1
+ const { MigrationInterface, QueryRunner } = require("typeorm");
2
+
3
+ module.exports = class tpmessagecode1663945952356 {
4
+ name = 'tpmessagecode1663945952356'
5
+
6
+ async up(queryRunner) {
7
+ await queryRunner.query(`ALTER TABLE "total_processing"."transaction" ADD "code" character varying(50)`);
8
+ await queryRunner.query(`ALTER TABLE "total_processing"."transaction" ADD "message" character varying(512)`);
9
+ }
10
+
11
+ async down(queryRunner) {
12
+ await queryRunner.query(`ALTER TABLE "total_processing"."transaction" DROP COLUMN "message"`);
13
+ await queryRunner.query(`ALTER TABLE "total_processing"."transaction" DROP COLUMN "code"`);
14
+ }
15
+ }
@@ -0,0 +1,13 @@
1
+ const { MigrationInterface, QueryRunner } = require("typeorm");
2
+
3
+ module.exports = class trustRollingReserve1663666433231 {
4
+ name = 'trustRollingReserve1663666433231'
5
+
6
+ async up(queryRunner) {
7
+ await queryRunner.query(`ALTER TABLE "trust_payments"."merchant" ADD "rolling_reserve" integer`);
8
+ }
9
+
10
+ async down(queryRunner) {
11
+ await queryRunner.query(`ALTER TABLE "trust_payments"."merchant" DROP COLUMN "rolling_reserve"`);
12
+ }
13
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@felloh-org/lambda-wrapper",
3
- "version": "1.2.11",
3
+ "version": "1.2.13",
4
4
  "description": "Lambda wrapper for all Felloh Serverless Projects",
5
5
  "main": "dist/index.js",
6
6
  "engines": {