@felloh-org/lambda-wrapper 1.2.3 → 1.2.6
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.
|
@@ -17,7 +17,7 @@ var _transactionMethod = _interopRequireDefault(require("../transaction-method")
|
|
|
17
17
|
|
|
18
18
|
var _organisationPaymentProviderMethod = _interopRequireDefault(require("../organisation-payment-provider-method"));
|
|
19
19
|
|
|
20
|
-
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16,
|
|
20
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13;
|
|
21
21
|
|
|
22
22
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
23
23
|
|
|
@@ -58,9 +58,7 @@ let OrganisationPaymentProvider = (_dec = (0, _typeorm.Entity)({
|
|
|
58
58
|
}), _dec13 = (0, _typeorm.Column)({
|
|
59
59
|
type: "boolean",
|
|
60
60
|
default: false
|
|
61
|
-
}), _dec14 = (0, _typeorm.
|
|
62
|
-
type: "int"
|
|
63
|
-
}), _dec15 = (0, _typeorm.CreateDateColumn)(), _dec16 = (0, _typeorm.UpdateDateColumn)(), _dec17 = (0, _typeorm.DeleteDateColumn)(), _dec(_class = (_class2 = class OrganisationPaymentProvider {
|
|
61
|
+
}), _dec14 = (0, _typeorm.CreateDateColumn)(), _dec15 = (0, _typeorm.UpdateDateColumn)(), _dec16 = (0, _typeorm.DeleteDateColumn)(), _dec(_class = (_class2 = class OrganisationPaymentProvider {
|
|
64
62
|
constructor() {
|
|
65
63
|
_initializerDefineProperty(this, "id", _descriptor, this);
|
|
66
64
|
|
|
@@ -82,13 +80,11 @@ let OrganisationPaymentProvider = (_dec = (0, _typeorm.Entity)({
|
|
|
82
80
|
|
|
83
81
|
_initializerDefineProperty(this, "is_active", _descriptor10, this);
|
|
84
82
|
|
|
85
|
-
_initializerDefineProperty(this, "
|
|
83
|
+
_initializerDefineProperty(this, "created_at", _descriptor11, this);
|
|
86
84
|
|
|
87
|
-
_initializerDefineProperty(this, "
|
|
85
|
+
_initializerDefineProperty(this, "updated_at", _descriptor12, this);
|
|
88
86
|
|
|
89
|
-
_initializerDefineProperty(this, "
|
|
90
|
-
|
|
91
|
-
_initializerDefineProperty(this, "deleted_at", _descriptor14, this);
|
|
87
|
+
_initializerDefineProperty(this, "deleted_at", _descriptor13, this);
|
|
92
88
|
}
|
|
93
89
|
|
|
94
90
|
}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "id", [_dec2], {
|
|
@@ -157,22 +153,17 @@ let OrganisationPaymentProvider = (_dec = (0, _typeorm.Entity)({
|
|
|
157
153
|
initializer: function () {
|
|
158
154
|
return false;
|
|
159
155
|
}
|
|
160
|
-
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
161
|
-
configurable: true,
|
|
162
|
-
enumerable: true,
|
|
163
|
-
writable: true,
|
|
164
|
-
initializer: null
|
|
165
|
-
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "created_at", [_dec15], {
|
|
156
|
+
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "created_at", [_dec14], {
|
|
166
157
|
configurable: true,
|
|
167
158
|
enumerable: true,
|
|
168
159
|
writable: true,
|
|
169
160
|
initializer: null
|
|
170
|
-
}),
|
|
161
|
+
}), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "updated_at", [_dec15], {
|
|
171
162
|
configurable: true,
|
|
172
163
|
enumerable: true,
|
|
173
164
|
writable: true,
|
|
174
165
|
initializer: null
|
|
175
|
-
}),
|
|
166
|
+
}), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, "deleted_at", [_dec16], {
|
|
176
167
|
configurable: true,
|
|
177
168
|
enumerable: true,
|
|
178
169
|
writable: true,
|
|
@@ -55,13 +55,16 @@ let PaymentLink = (_dec = (0, _typeorm.Entity)({
|
|
|
55
55
|
nullable: true
|
|
56
56
|
}), _dec13 = (0, _typeorm.Column)({
|
|
57
57
|
type: "varchar",
|
|
58
|
-
length: "200"
|
|
58
|
+
length: "200",
|
|
59
|
+
nullable: true
|
|
59
60
|
}), _dec14 = (0, _typeorm.Column)({
|
|
60
61
|
type: "varchar",
|
|
61
|
-
length: "200"
|
|
62
|
+
length: "200",
|
|
63
|
+
nullable: true
|
|
62
64
|
}), _dec15 = (0, _typeorm.Column)({
|
|
63
65
|
type: "varchar",
|
|
64
|
-
length: "200"
|
|
66
|
+
length: "200",
|
|
67
|
+
nullable: true
|
|
65
68
|
}), _dec16 = (0, _typeorm.OneToMany)(() => _transaction.default, transaction => transaction.payment_link), _dec17 = (0, _typeorm.Column)({
|
|
66
69
|
type: "boolean",
|
|
67
70
|
default: true
|
package/dist/index.js
CHANGED
|
@@ -189,6 +189,12 @@ Object.defineProperty(exports, "OrganisationPaymentProviderEntity", {
|
|
|
189
189
|
return _organisationPaymentProvider.default;
|
|
190
190
|
}
|
|
191
191
|
});
|
|
192
|
+
Object.defineProperty(exports, "OrganisationPaymentProviderMethodEntity", {
|
|
193
|
+
enumerable: true,
|
|
194
|
+
get: function () {
|
|
195
|
+
return _organisationPaymentProviderMethod.default;
|
|
196
|
+
}
|
|
197
|
+
});
|
|
192
198
|
Object.defineProperty(exports, "OrganisationWebhookEntity", {
|
|
193
199
|
enumerable: true,
|
|
194
200
|
get: function () {
|
|
@@ -492,6 +498,8 @@ var _transaction = _interopRequireDefault(require("./entity/nuapay/transaction")
|
|
|
492
498
|
|
|
493
499
|
var _chargeback = _interopRequireDefault(require("./entity/payment/chargeback"));
|
|
494
500
|
|
|
501
|
+
var _organisationPaymentProviderMethod = _interopRequireDefault(require("./entity/payment/organisation-payment-provider-method"));
|
|
502
|
+
|
|
495
503
|
var _paymentLink = _interopRequireDefault(require("./entity/payment/payment-link"));
|
|
496
504
|
|
|
497
505
|
var _paymentProvider = _interopRequireDefault(require("./entity/payment/payment-provider"));
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const { MigrationInterface, QueryRunner } = require("typeorm");
|
|
2
|
+
|
|
3
|
+
module.exports = class nullablePaymentLinkUrls1662027037400 {
|
|
4
|
+
name = 'nullablePaymentLinkUrls1662027037400'
|
|
5
|
+
|
|
6
|
+
async up(queryRunner) {
|
|
7
|
+
await queryRunner.query(`ALTER TABLE "payment"."payment_Link" ALTER COLUMN "success_url" DROP NOT NULL`);
|
|
8
|
+
await queryRunner.query(`ALTER TABLE "payment"."payment_Link" ALTER COLUMN "failure_url" DROP NOT NULL`);
|
|
9
|
+
await queryRunner.query(`ALTER TABLE "payment"."payment_Link" ALTER COLUMN "cancel_url" DROP NOT NULL`);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
async down(queryRunner) {
|
|
13
|
+
await queryRunner.query(`ALTER TABLE "payment"."payment_Link" ALTER COLUMN "cancel_url" SET NOT NULL`);
|
|
14
|
+
await queryRunner.query(`ALTER TABLE "payment"."payment_Link" ALTER COLUMN "failure_url" SET NOT NULL`);
|
|
15
|
+
await queryRunner.query(`ALTER TABLE "payment"."payment_Link" ALTER COLUMN "success_url" SET NOT NULL`);
|
|
16
|
+
}
|
|
17
|
+
}
|