@felloh-org/lambda-wrapper 1.11.85 → 1.11.86

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