@felloh-org/lambda-wrapper 1.1.31 → 1.1.32
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.
|
@@ -15,7 +15,7 @@ var _paymentProvider = _interopRequireDefault(require("../payment-provider"));
|
|
|
15
15
|
|
|
16
16
|
var _transactionMethod = _interopRequireDefault(require("../transaction-method"));
|
|
17
17
|
|
|
18
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8;
|
|
18
|
+
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;
|
|
19
19
|
|
|
20
20
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
21
21
|
|
|
@@ -51,12 +51,15 @@ let OrganisationPaymentProvider = (_dec = (0, _typeorm.Entity)({
|
|
|
51
51
|
type: "varchar",
|
|
52
52
|
length: "150"
|
|
53
53
|
}), _dec10 = (0, _typeorm.Column)({
|
|
54
|
+
type: "json",
|
|
55
|
+
nullable: true
|
|
56
|
+
}), _dec11 = (0, _typeorm.Column)({
|
|
54
57
|
type: "varchar",
|
|
55
58
|
length: "512"
|
|
56
|
-
}),
|
|
59
|
+
}), _dec12 = (0, _typeorm.Column)({
|
|
57
60
|
type: "varchar",
|
|
58
61
|
length: "4"
|
|
59
|
-
}),
|
|
62
|
+
}), _dec13 = (0, _typeorm.CreateDateColumn)(), _dec(_class = (_class2 = class OrganisationPaymentProvider {
|
|
60
63
|
constructor() {
|
|
61
64
|
_initializerDefineProperty(this, "id", _descriptor, this);
|
|
62
65
|
|
|
@@ -68,11 +71,13 @@ let OrganisationPaymentProvider = (_dec = (0, _typeorm.Entity)({
|
|
|
68
71
|
|
|
69
72
|
_initializerDefineProperty(this, "public_key", _descriptor5, this);
|
|
70
73
|
|
|
71
|
-
_initializerDefineProperty(this, "
|
|
74
|
+
_initializerDefineProperty(this, "public_creds", _descriptor6, this);
|
|
72
75
|
|
|
73
|
-
_initializerDefineProperty(this, "
|
|
76
|
+
_initializerDefineProperty(this, "secret_key", _descriptor7, this);
|
|
74
77
|
|
|
75
|
-
_initializerDefineProperty(this, "
|
|
78
|
+
_initializerDefineProperty(this, "secret_key_last_four", _descriptor8, this);
|
|
79
|
+
|
|
80
|
+
_initializerDefineProperty(this, "created_at", _descriptor9, this);
|
|
76
81
|
}
|
|
77
82
|
|
|
78
83
|
}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "id", [_dec2], {
|
|
@@ -108,21 +113,26 @@ let OrganisationPaymentProvider = (_dec = (0, _typeorm.Entity)({
|
|
|
108
113
|
initializer: function () {
|
|
109
114
|
return "";
|
|
110
115
|
}
|
|
111
|
-
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
116
|
+
}), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "public_creds", [_dec10], {
|
|
117
|
+
configurable: true,
|
|
118
|
+
enumerable: true,
|
|
119
|
+
writable: true,
|
|
120
|
+
initializer: null
|
|
121
|
+
}), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "secret_key", [_dec11], {
|
|
112
122
|
configurable: true,
|
|
113
123
|
enumerable: true,
|
|
114
124
|
writable: true,
|
|
115
125
|
initializer: function () {
|
|
116
126
|
return "";
|
|
117
127
|
}
|
|
118
|
-
}),
|
|
128
|
+
}), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "secret_key_last_four", [_dec12], {
|
|
119
129
|
configurable: true,
|
|
120
130
|
enumerable: true,
|
|
121
131
|
writable: true,
|
|
122
132
|
initializer: function () {
|
|
123
133
|
return "";
|
|
124
134
|
}
|
|
125
|
-
}),
|
|
135
|
+
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "created_at", [_dec13], {
|
|
126
136
|
configurable: true,
|
|
127
137
|
enumerable: true,
|
|
128
138
|
writable: true,
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const { MigrationInterface, QueryRunner } = require("typeorm");
|
|
2
|
+
|
|
3
|
+
module.exports = class paymentProviderPublicCreds1657616863683 {
|
|
4
|
+
name = 'paymentProviderPublicCreds1657616863683'
|
|
5
|
+
|
|
6
|
+
async up(queryRunner) {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE "payment"."organisation_payment_provider" ADD "public_creds" json`);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
async down(queryRunner) {
|
|
11
|
+
await queryRunner.query(`ALTER TABLE "user"."user_organisation" DROP CONSTRAINT "FK_81c4608739c8cf71fa1f96e11ae"`);
|
|
12
|
+
}
|
|
13
|
+
}
|