@felloh-org/lambda-wrapper 1.11.69 → 1.11.70

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 _customer = _interopRequireDefault(require("../../payment/customer"));
11
11
 
12
- var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7;
12
+ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;
13
13
 
14
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
15
 
@@ -37,11 +37,19 @@ let Token = exports.default = (_dec = (0, _typeorm.Entity)({
37
37
  }), _dec6 = (0, _typeorm.Column)({
38
38
  type: "boolean",
39
39
  default: false
40
- }), _dec7 = (0, _typeorm.CreateDateColumn)({
40
+ }), _dec7 = (0, _typeorm.Column)({
41
+ type: "varchar",
42
+ length: "10",
43
+ nullable: true
44
+ }), _dec8 = (0, _typeorm.Column)({
45
+ type: "varchar",
46
+ length: "20",
47
+ nullable: true
48
+ }), _dec9 = (0, _typeorm.CreateDateColumn)({
41
49
  type: 'timestamp with time zone'
42
- }), _dec8 = (0, _typeorm.UpdateDateColumn)({
50
+ }), _dec10 = (0, _typeorm.UpdateDateColumn)({
43
51
  type: 'timestamp with time zone'
44
- }), _dec9 = (0, _typeorm.DeleteDateColumn)({
52
+ }), _dec11 = (0, _typeorm.DeleteDateColumn)({
45
53
  type: 'timestamp with time zone',
46
54
  nullable: true
47
55
  }), _dec(_class = (_class2 = class Token {
@@ -54,11 +62,15 @@ let Token = exports.default = (_dec = (0, _typeorm.Entity)({
54
62
 
55
63
  _initializerDefineProperty(this, "store_token", _descriptor4, this);
56
64
 
57
- _initializerDefineProperty(this, "created_at", _descriptor5, this);
65
+ _initializerDefineProperty(this, "bin", _descriptor5, this);
66
+
67
+ _initializerDefineProperty(this, "card_brand", _descriptor6, this);
58
68
 
59
- _initializerDefineProperty(this, "updated_at", _descriptor6, this);
69
+ _initializerDefineProperty(this, "created_at", _descriptor7, this);
60
70
 
61
- _initializerDefineProperty(this, "deleted_at", _descriptor7, this);
71
+ _initializerDefineProperty(this, "updated_at", _descriptor8, this);
72
+
73
+ _initializerDefineProperty(this, "deleted_at", _descriptor9, this);
62
74
  }
63
75
 
64
76
  }, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "id", [_dec2], {
@@ -89,17 +101,31 @@ let Token = exports.default = (_dec = (0, _typeorm.Entity)({
89
101
  initializer: function () {
90
102
  return false;
91
103
  }
92
- }), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "created_at", [_dec7], {
104
+ }), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "bin", [_dec7], {
105
+ configurable: true,
106
+ enumerable: true,
107
+ writable: true,
108
+ initializer: function () {
109
+ return "";
110
+ }
111
+ }), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "card_brand", [_dec8], {
112
+ configurable: true,
113
+ enumerable: true,
114
+ writable: true,
115
+ initializer: function () {
116
+ return "";
117
+ }
118
+ }), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "created_at", [_dec9], {
93
119
  configurable: true,
94
120
  enumerable: true,
95
121
  writable: true,
96
122
  initializer: null
97
- }), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "updated_at", [_dec8], {
123
+ }), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "updated_at", [_dec10], {
98
124
  configurable: true,
99
125
  enumerable: true,
100
126
  writable: true,
101
127
  initializer: null
102
- }), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "deleted_at", [_dec9], {
128
+ }), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "deleted_at", [_dec11], {
103
129
  configurable: true,
104
130
  enumerable: true,
105
131
  writable: true,
@@ -0,0 +1,15 @@
1
+ const { MigrationInterface, QueryRunner } = require("typeorm");
2
+
3
+ module.exports = class basisTheoryTokenBinBrand1705330136016 {
4
+ name = 'basisTheoryTokenBinBrand1705330136016'
5
+
6
+ async up(queryRunner) {
7
+ await queryRunner.query(`ALTER TABLE "basis_theory"."token" ADD "bin" character varying(10)`);
8
+ await queryRunner.query(`ALTER TABLE "basis_theory"."token" ADD "card_brand" character varying(20)`);
9
+ }
10
+
11
+ async down(queryRunner) {
12
+ await queryRunner.query(`ALTER TABLE "basis_theory"."token" DROP COLUMN "card_brand"`);
13
+ await queryRunner.query(`ALTER TABLE "basis_theory"."token" DROP COLUMN "bin"`);
14
+ }
15
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@felloh-org/lambda-wrapper",
3
- "version": "1.11.69",
3
+ "version": "1.11.70",
4
4
  "description": "Lambda wrapper for all Felloh Serverless Projects",
5
5
  "main": "dist/index.js",
6
6
  "engines": {