@felloh-org/lambda-wrapper 1.6.3 → 1.6.5

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.
@@ -48,7 +48,8 @@ let Transaction = (_dec = (0, _typeorm.Entity)({
48
48
  nullable: true
49
49
  }), _dec12 = (0, _typeorm.Column)({
50
50
  type: "varchar",
51
- length: 36
51
+ length: 36,
52
+ nullable: true
52
53
  }), _dec13 = (0, _typeorm.Column)({
53
54
  type: "varchar",
54
55
  length: 6
@@ -68,10 +69,12 @@ let Transaction = (_dec = (0, _typeorm.Entity)({
68
69
  type: "timestamp without time zone"
69
70
  }), _dec19 = (0, _typeorm.Column)({
70
71
  type: "varchar",
71
- length: 50
72
+ length: 50,
73
+ nullable: true
72
74
  }), _dec20 = (0, _typeorm.Column)({
73
75
  type: "varchar",
74
- length: 1500
76
+ length: 1500,
77
+ nullable: true
75
78
  }), _dec21 = (0, _typeorm.Column)({
76
79
  type: "varchar",
77
80
  length: 50,
@@ -50,7 +50,8 @@ let TransactionMetadata = (_dec = (0, _typeorm.Entity)({
50
50
  length: 30
51
51
  }), _dec12 = (0, _typeorm.Column)({
52
52
  type: "varchar",
53
- length: 20
53
+ length: 20,
54
+ nullable: true
54
55
  }), _dec13 = (0, _typeorm.Column)({
55
56
  type: "varchar",
56
57
  length: 150
@@ -0,0 +1,13 @@
1
+ const { MigrationInterface, QueryRunner } = require("typeorm");
2
+
3
+ module.exports = class nuveiTransactionMetadataMakeCardTypeNullable1673432057176 {
4
+ name = 'nuveiTransactionMetadataMakeCardTypeNullable1673432057176'
5
+
6
+ async up(queryRunner) {
7
+ await queryRunner.query(`ALTER TABLE "nuvei"."transaction_metadata" ALTER COLUMN "card_type" DROP NOT NULL`);
8
+ }
9
+
10
+ async down(queryRunner) {
11
+ await queryRunner.query(`ALTER TABLE "nuvei"."transaction_metadata" ALTER COLUMN "card_type" SET NOT NULL`);
12
+ }
13
+ }
@@ -0,0 +1,17 @@
1
+ const { MigrationInterface, QueryRunner } = require("typeorm");
2
+
3
+ module.exports = class makeMerchantColumnsAndSessionTokenNullableNuveiTrnsaction1673532192232 {
4
+ name = 'makeMerchantColumnsAndSessionTokenNullableNuveiTrnsaction1673532192232'
5
+
6
+ async up(queryRunner) {
7
+ await queryRunner.query(`ALTER TABLE "nuvei"."transaction" ALTER COLUMN "session_token" DROP NOT NULL`);
8
+ await queryRunner.query(`ALTER TABLE "nuvei"."transaction" ALTER COLUMN "merchant_account_id" DROP NOT NULL`);
9
+ await queryRunner.query(`ALTER TABLE "nuvei"."transaction" ALTER COLUMN "merchant_name" DROP NOT NULL`);
10
+ }
11
+
12
+ async down(queryRunner) {
13
+ await queryRunner.query(`ALTER TABLE "nuvei"."transaction" ALTER COLUMN "merchant_name" SET NOT NULL`);
14
+ await queryRunner.query(`ALTER TABLE "nuvei"."transaction" ALTER COLUMN "merchant_account_id" SET NOT NULL`);
15
+ await queryRunner.query(`ALTER TABLE "nuvei"."transaction" ALTER COLUMN "session_token" SET NOT NULL`);
16
+ }
17
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@felloh-org/lambda-wrapper",
3
- "version": "1.6.3",
3
+ "version": "1.6.5",
4
4
  "description": "Lambda wrapper for all Felloh Serverless Projects",
5
5
  "main": "dist/index.js",
6
6
  "engines": {