@felloh-org/lambda-wrapper 1.11.84 → 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 _gocardlessRequisition = _interopRequireDefault(require("../gocardless-requi
|
|
|
13
13
|
|
|
14
14
|
var _organisation = _interopRequireDefault(require("../../user/organisation"));
|
|
15
15
|
|
|
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;
|
|
16
|
+
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;
|
|
17
17
|
|
|
18
18
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19
19
|
|
|
@@ -52,7 +52,11 @@ let GoCardlessAccount = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
|
52
52
|
type: "varchar",
|
|
53
53
|
length: "5",
|
|
54
54
|
nullable: true
|
|
55
|
-
}), _dec13 = (0, _typeorm.
|
|
55
|
+
}), _dec13 = (0, _typeorm.Column)({
|
|
56
|
+
type: "varchar",
|
|
57
|
+
nullable: true,
|
|
58
|
+
length: 50
|
|
59
|
+
}), _dec14 = (0, _typeorm.CreateDateColumn)(), _dec(_class = (_class2 = class GoCardlessAccount {
|
|
56
60
|
constructor() {
|
|
57
61
|
_initializerDefineProperty(this, "id", _descriptor, this);
|
|
58
62
|
|
|
@@ -70,7 +74,9 @@ let GoCardlessAccount = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
|
70
74
|
|
|
71
75
|
_initializerDefineProperty(this, "currency", _descriptor8, this);
|
|
72
76
|
|
|
73
|
-
_initializerDefineProperty(this, "
|
|
77
|
+
_initializerDefineProperty(this, "nickname", _descriptor9, this);
|
|
78
|
+
|
|
79
|
+
_initializerDefineProperty(this, "created_at", _descriptor10, this);
|
|
74
80
|
}
|
|
75
81
|
|
|
76
82
|
}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "id", [_dec2], {
|
|
@@ -123,7 +129,12 @@ let GoCardlessAccount = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
|
123
129
|
initializer: function () {
|
|
124
130
|
return "";
|
|
125
131
|
}
|
|
126
|
-
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
132
|
+
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "nickname", [_dec13], {
|
|
133
|
+
configurable: true,
|
|
134
|
+
enumerable: true,
|
|
135
|
+
writable: true,
|
|
136
|
+
initializer: null
|
|
137
|
+
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "created_at", [_dec14], {
|
|
127
138
|
configurable: true,
|
|
128
139
|
enumerable: true,
|
|
129
140
|
writable: true,
|
|
@@ -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
|
-
}),
|
|
48
|
+
}), _dec11 = (0, _typeorm.Column)({
|
|
45
49
|
type: "timestamp with time zone",
|
|
46
50
|
nullable: true
|
|
47
|
-
}),
|
|
51
|
+
}), _dec12 = (0, _typeorm.Column)({
|
|
48
52
|
type: "timestamp with time zone",
|
|
49
53
|
nullable: true
|
|
50
|
-
}),
|
|
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, "
|
|
64
|
+
_initializerDefineProperty(this, "institution_name", _descriptor5, this);
|
|
61
65
|
|
|
62
|
-
_initializerDefineProperty(this, "
|
|
66
|
+
_initializerDefineProperty(this, "is_complete", _descriptor6, this);
|
|
63
67
|
|
|
64
|
-
_initializerDefineProperty(this, "
|
|
68
|
+
_initializerDefineProperty(this, "initial_scrape_commenced_at", _descriptor7, this);
|
|
65
69
|
|
|
66
|
-
_initializerDefineProperty(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, "
|
|
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
|
-
}),
|
|
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
|
-
}),
|
|
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
|
-
}),
|
|
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 addNickname1710371316539 {
|
|
4
|
+
name = 'addNickname1710371316539'
|
|
5
|
+
|
|
6
|
+
async up(queryRunner) {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE "aisp"."gocardless_account" ADD "nickname" character varying(50)`);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
async down(queryRunner) {
|
|
11
|
+
await queryRunner.query(`ALTER TABLE "aisp"."gocardless_account" DROP COLUMN "nickname"`);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -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
|
+
}
|