@felloh-org/lambda-wrapper 1.11.67 → 1.11.68

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, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4;
10
+ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;
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
 
@@ -21,22 +21,33 @@ let Token = exports.default = (_dec = (0, _typeorm.Entity)({
21
21
  }), _dec2 = (0, _typeorm.PrimaryColumn)({
22
22
  type: "varchar",
23
23
  length: "36"
24
- }), _dec3 = (0, _typeorm.CreateDateColumn)({
24
+ }), _dec3 = (0, _typeorm.Column)({
25
+ type: "varchar",
26
+ length: "250",
27
+ nullable: true
28
+ }), _dec4 = (0, _typeorm.Column)({
29
+ type: "boolean",
30
+ default: false
31
+ }), _dec5 = (0, _typeorm.CreateDateColumn)({
25
32
  type: 'timestamp with time zone'
26
- }), _dec4 = (0, _typeorm.UpdateDateColumn)({
33
+ }), _dec6 = (0, _typeorm.UpdateDateColumn)({
27
34
  type: 'timestamp with time zone'
28
- }), _dec5 = (0, _typeorm.DeleteDateColumn)({
35
+ }), _dec7 = (0, _typeorm.DeleteDateColumn)({
29
36
  type: 'timestamp with time zone',
30
37
  nullable: true
31
38
  }), _dec(_class = (_class2 = class Token {
32
39
  constructor() {
33
40
  _initializerDefineProperty(this, "id", _descriptor, this);
34
41
 
35
- _initializerDefineProperty(this, "created_at", _descriptor2, this);
42
+ _initializerDefineProperty(this, "customer_name", _descriptor2, this);
43
+
44
+ _initializerDefineProperty(this, "store_token", _descriptor3, this);
45
+
46
+ _initializerDefineProperty(this, "created_at", _descriptor4, this);
36
47
 
37
- _initializerDefineProperty(this, "updated_at", _descriptor3, this);
48
+ _initializerDefineProperty(this, "updated_at", _descriptor5, this);
38
49
 
39
- _initializerDefineProperty(this, "deleted_at", _descriptor4, this);
50
+ _initializerDefineProperty(this, "deleted_at", _descriptor6, this);
40
51
  }
41
52
 
42
53
  }, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "id", [_dec2], {
@@ -46,17 +57,31 @@ let Token = exports.default = (_dec = (0, _typeorm.Entity)({
46
57
  initializer: function () {
47
58
  return undefined;
48
59
  }
49
- }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, "created_at", [_dec3], {
60
+ }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, "customer_name", [_dec3], {
61
+ configurable: true,
62
+ enumerable: true,
63
+ writable: true,
64
+ initializer: function () {
65
+ return "";
66
+ }
67
+ }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, "store_token", [_dec4], {
68
+ configurable: true,
69
+ enumerable: true,
70
+ writable: true,
71
+ initializer: function () {
72
+ return false;
73
+ }
74
+ }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "created_at", [_dec5], {
50
75
  configurable: true,
51
76
  enumerable: true,
52
77
  writable: true,
53
78
  initializer: null
54
- }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, "updated_at", [_dec4], {
79
+ }), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "updated_at", [_dec6], {
55
80
  configurable: true,
56
81
  enumerable: true,
57
82
  writable: true,
58
83
  initializer: null
59
- }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "deleted_at", [_dec5], {
84
+ }), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "deleted_at", [_dec7], {
60
85
  configurable: true,
61
86
  enumerable: true,
62
87
  writable: true,
@@ -0,0 +1,15 @@
1
+ const { MigrationInterface, QueryRunner } = require("typeorm");
2
+
3
+ module.exports = class basisTheoryTokenStore1705322282519 {
4
+ name = 'basisTheoryTokenStore1705322282519'
5
+
6
+ async up(queryRunner) {
7
+ await queryRunner.query(`ALTER TABLE "basis_theory"."token" ADD "customer_name" character varying(250)`);
8
+ await queryRunner.query(`ALTER TABLE "basis_theory"."token" ADD "store_token" boolean NOT NULL DEFAULT false`);
9
+ }
10
+
11
+ async down(queryRunner) {
12
+ await queryRunner.query(`ALTER TABLE "basis_theory"."token" DROP COLUMN "store_token"`);
13
+ await queryRunner.query(`ALTER TABLE "basis_theory"."token" DROP COLUMN "customer_name"`);
14
+ }
15
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@felloh-org/lambda-wrapper",
3
- "version": "1.11.67",
3
+ "version": "1.11.68",
4
4
  "description": "Lambda wrapper for all Felloh Serverless Projects",
5
5
  "main": "dist/index.js",
6
6
  "engines": {