@felloh-org/lambda-wrapper 1.11.7 → 1.11.9

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, _dec12, _dec13, _dec14, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13;
10
+ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14;
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
 
@@ -36,7 +36,8 @@ let Transaction = (_dec = (0, _typeorm.Entity)({
36
36
  nullable: true
37
37
  }), _dec8 = (0, _typeorm.Column)({
38
38
  type: "varchar",
39
- length: 50
39
+ length: 50,
40
+ nullable: true
40
41
  }), _dec9 = (0, _typeorm.Column)({
41
42
  type: "int",
42
43
  nullable: true
@@ -57,6 +58,10 @@ let Transaction = (_dec = (0, _typeorm.Entity)({
57
58
  type: "varchar",
58
59
  length: 36,
59
60
  nullable: true
61
+ }), _dec15 = (0, _typeorm.Column)({
62
+ type: "varchar",
63
+ length: 36,
64
+ nullable: true
60
65
  }), _dec(_class = (_class2 = class Transaction {
61
66
  constructor() {
62
67
  _initializerDefineProperty(this, "ndc", _descriptor, this);
@@ -84,6 +89,8 @@ let Transaction = (_dec = (0, _typeorm.Entity)({
84
89
  _initializerDefineProperty(this, "merchant_name", _descriptor12, this);
85
90
 
86
91
  _initializerDefineProperty(this, "transaction_id", _descriptor13, this);
92
+
93
+ _initializerDefineProperty(this, "uuid", _descriptor14, this);
87
94
  }
88
95
 
89
96
  }, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "ndc", [_dec2], {
@@ -157,5 +164,12 @@ let Transaction = (_dec = (0, _typeorm.Entity)({
157
164
  initializer: function () {
158
165
  return undefined;
159
166
  }
167
+ }), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, "uuid", [_dec15], {
168
+ configurable: true,
169
+ enumerable: true,
170
+ writable: true,
171
+ initializer: function () {
172
+ return undefined;
173
+ }
160
174
  })), _class2)) || _class);
161
175
  exports.default = Transaction;
@@ -0,0 +1,13 @@
1
+ const { MigrationInterface, QueryRunner } = require("typeorm");
2
+
3
+ module.exports = class totalUuid1689160105601 {
4
+ name = 'totalUuid1689160105601'
5
+
6
+ async up(queryRunner) {
7
+ await queryRunner.query(`ALTER TABLE "total_processing"."transaction" ADD "uuid" character varying(36)`);
8
+ }
9
+
10
+ async down(queryRunner) {
11
+ await queryRunner.query(`ALTER TABLE "total_processing"."transaction" DROP COLUMN "uuid"`);
12
+ }
13
+ }
@@ -0,0 +1,12 @@
1
+ const { MigrationInterface, QueryRunner } = require("typeorm");
2
+
3
+ module.exports = class totalNullableMerchantAccountNumber1689161863334 {
4
+ name = 'totalNullableMerchantAccountNumber1689161863334'
5
+
6
+ async up(queryRunner) {
7
+ await queryRunner.query(`ALTER TABLE "total_processing"."transaction" ALTER COLUMN "merchant_account_id" DROP NOT NULL`);}
8
+
9
+ async down(queryRunner) {
10
+ await queryRunner.query(`ALTER TABLE "total_processing"."transaction" ALTER COLUMN "merchant_account_id" SET NOT NULL`);
11
+ }
12
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@felloh-org/lambda-wrapper",
3
- "version": "1.11.7",
3
+ "version": "1.11.9",
4
4
  "description": "Lambda wrapper for all Felloh Serverless Projects",
5
5
  "main": "dist/index.js",
6
6
  "engines": {