@felloh-org/lambda-wrapper 1.11.41 → 1.11.43
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.
- package/babel.config.js +2 -1
- package/dist/config/dependencies.js +5 -7
- package/dist/entity/acquirer/adjustment/index.js +2 -3
- package/dist/entity/acquirer/batch/index.js +2 -3
- package/dist/entity/acquirer/bin/index.js +2 -3
- package/dist/entity/acquirer/bin-rules/index.js +2 -3
- package/dist/entity/acquirer/index.js +2 -2
- package/dist/entity/acquirer/transaction-settlement/index.js +2 -3
- package/dist/entity/agent-data/booking/index.js +2 -3
- package/dist/entity/agent-data/booking-bank-transaction/index.js +2 -3
- package/dist/entity/agent-data/booking-component/index.js +2 -3
- package/dist/entity/agent-data/booking-component-type/index.js +2 -3
- package/dist/entity/agent-data/booking-package-type/index.js +2 -3
- package/dist/entity/agent-data/index.js +2 -2
- package/dist/entity/agent-data/supplier/index.js +2 -3
- package/dist/entity/agent-data/supplier-type/index.js +2 -3
- package/dist/entity/bank/account/index.js +2 -3
- package/dist/entity/bank/adjustment/index.js +2 -3
- package/dist/entity/bank/amendment/index.js +2 -3
- package/dist/entity/bank/beneficiary/index.js +2 -3
- package/dist/entity/bank/currency/index.js +3 -5
- package/dist/entity/bank/disbursal/index.js +2 -3
- package/dist/entity/bank/index.js +2 -2
- package/dist/entity/bank/ledger/index.js +2 -3
- package/dist/entity/bank/settled-transaction/index.js +2 -3
- package/dist/entity/bank/transaction-batch/index.js +2 -3
- package/dist/entity/bank/vendor/index.js +2 -3
- package/dist/entity/index.js +2 -2
- package/dist/entity/nuapay/account/index.js +2 -3
- package/dist/entity/nuapay/balance/index.js +2 -3
- package/dist/entity/nuapay/beneficiary/index.js +2 -3
- package/dist/entity/nuapay/index.js +2 -2
- package/dist/entity/nuapay/transaction/index.js +2 -3
- package/dist/entity/nuvei/batch/index.js +2 -3
- package/dist/entity/nuvei/index.js +2 -2
- package/dist/entity/nuvei/merchant/index.js +2 -3
- package/dist/entity/nuvei/transaction/index.js +2 -3
- package/dist/entity/nuvei/transaction-metadata/index.js +2 -3
- package/dist/entity/operations/fingerprint-exclusion/index.js +2 -3
- package/dist/entity/operations/index.js +2 -2
- package/dist/entity/operations/ip-exclusion/index.js +2 -3
- package/dist/entity/payment/chargeback/index.js +2 -3
- package/dist/entity/payment/credit-note/index.js +2 -3
- package/dist/entity/payment/customer/index.js +2 -3
- package/dist/entity/payment/ecommerce/index.js +2 -3
- package/dist/entity/payment/index.js +2 -2
- package/dist/entity/payment/organisation-payment-provider/index.js +2 -3
- package/dist/entity/payment/organisation-payment-provider-method/index.js +2 -3
- package/dist/entity/payment/payment-link/index.js +2 -3
- package/dist/entity/payment/payment-link-type/index.js +2 -3
- package/dist/entity/payment/payment-provider/index.js +3 -5
- package/dist/entity/payment/refund/index.js +2 -3
- package/dist/entity/payment/refund-status/index.js +2 -3
- package/dist/entity/payment/tokenisation-provider/index.js +2 -3
- package/dist/entity/payment/transaction/index.js +2 -3
- package/dist/entity/payment/transaction-event/index.js +2 -3
- package/dist/entity/payment/transaction-event-type/index.js +2 -3
- package/dist/entity/payment/transaction-metadata/index.js +2 -3
- package/dist/entity/payment/transaction-method/index.js +2 -3
- package/dist/entity/payment/transaction-reason/index.js +2 -3
- package/dist/entity/payment/transaction-source/index.js +2 -3
- package/dist/entity/payment/transaction-status/index.js +2 -3
- package/dist/entity/payment/transaction-type/index.js +2 -3
- package/dist/entity/reference/country/index.js +2 -3
- package/dist/entity/reference/index.js +2 -2
- package/dist/entity/saltedge/account/index.js +2 -3
- package/dist/entity/saltedge/connection/index.js +2 -3
- package/dist/entity/saltedge/customer/index.js +2 -3
- package/dist/entity/saltedge/index.js +2 -2
- package/dist/entity/saltedge/lead/index.js +2 -3
- package/dist/entity/saltedge/transaction/index.js +2 -3
- package/dist/entity/scratch/abta-members/index.js +2 -3
- package/dist/entity/scratch/index.js +2 -2
- package/dist/entity/token/index.js +2 -2
- package/dist/entity/token/token/index.js +2 -3
- package/dist/entity/total-processing/index.js +2 -2
- package/dist/entity/total-processing/transaction/index.js +2 -3
- package/dist/entity/total-processing/transaction-metadata/index.js +2 -3
- package/dist/entity/trust-payments/account-fees/index.js +2 -3
- package/dist/entity/trust-payments/adjustment/index.js +2 -3
- package/dist/entity/trust-payments/batch/index.js +2 -3
- package/dist/entity/trust-payments/chargeback/index.js +2 -3
- package/dist/entity/trust-payments/index.js +2 -2
- package/dist/entity/trust-payments/ingested-data/index.js +2 -3
- package/dist/entity/trust-payments/merchant/index.js +2 -3
- package/dist/entity/trust-payments/transaction/index.js +2 -3
- package/dist/entity/trust-payments/transaction-charges/index.js +2 -3
- package/dist/entity/user/feature/index.js +2 -3
- package/dist/entity/user/index.js +2 -2
- package/dist/entity/user/login-link/index.js +3 -5
- package/dist/entity/user/organisation/index.js +2 -3
- package/dist/entity/user/organisation-feature/index.js +2 -3
- package/dist/entity/user/organisation-partner/index.js +2 -3
- package/dist/entity/user/organisation-payout-config/index.js +2 -3
- package/dist/entity/user/organisation-type/index.js +2 -3
- package/dist/entity/user/organisation-webhook/index.js +2 -3
- package/dist/entity/user/role/index.js +2 -3
- package/dist/entity/user/user/index.js +3 -5
- package/dist/entity/user/user-activity/index.js +2 -3
- package/dist/entity/user/user-role/index.js +2 -3
- package/dist/entity/user/webhook-types/index.js +2 -3
- package/dist/enums/payment-initation-types/index.js +3 -3
- package/dist/event/base-event/index.js +1 -2
- package/dist/event/csv/email/index.js +1 -2
- package/dist/event/posc/request/index.js +1 -2
- package/dist/event/transaction/complete/email/index.js +1 -2
- package/dist/event/transaction/complete/index.js +1 -2
- package/dist/event/transaction/refund-request/index.js +1 -2
- package/dist/event/user/password/changed/index.js +1 -2
- package/dist/event/user/password/reset/index.js +1 -2
- package/dist/event/user/registration/index.js +1 -2
- package/dist/event/user/sandbox-registration/index.js +1 -2
- package/dist/model/response/index.js +1 -3
- package/dist/model/response/status-codes.js +2 -2
- package/dist/model/status/index.js +1 -3
- package/dist/service/http.js +1 -3
- package/dist/service/request.js +3 -7
- package/dist/wrapper/index.js +2 -9
- package/package.json +2 -6
package/babel.config.js
CHANGED
|
@@ -10,13 +10,14 @@ module.exports = {
|
|
|
10
10
|
],
|
|
11
11
|
],
|
|
12
12
|
plugins: [
|
|
13
|
+
"@babel/plugin-transform-modules-commonjs",
|
|
13
14
|
"@babel/plugin-syntax-flow",
|
|
14
15
|
"@babel/plugin-transform-flow-strip-types",
|
|
15
16
|
"@babel/plugin-proposal-optional-chaining",
|
|
16
17
|
[
|
|
17
18
|
"@babel/plugin-proposal-decorators",
|
|
18
19
|
{
|
|
19
|
-
"legacy": true
|
|
20
|
+
"legacy": true,
|
|
20
21
|
}
|
|
21
22
|
],
|
|
22
23
|
"transform-class-properties",
|
|
@@ -25,7 +25,7 @@ var _warehouse = _interopRequireDefault(require("../service/warehouse"));
|
|
|
25
25
|
|
|
26
26
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
27
27
|
|
|
28
|
-
const DEFINITIONS = {
|
|
28
|
+
const DEFINITIONS = exports.DEFINITIONS = {
|
|
29
29
|
AUDIT_LOGGER: 'AUDIT_LOGGER',
|
|
30
30
|
AUTHENTICATION: 'AUTHENTICATION',
|
|
31
31
|
EVENT_BRIDGE: 'EVENT_BRIDGE',
|
|
@@ -36,8 +36,7 @@ const DEFINITIONS = {
|
|
|
36
36
|
USER: 'USER',
|
|
37
37
|
WAREHOUSE: 'WAREHOUSE'
|
|
38
38
|
};
|
|
39
|
-
exports.
|
|
40
|
-
const Dependencies = {
|
|
39
|
+
const Dependencies = exports.Dependencies = {
|
|
41
40
|
[DEFINITIONS.AUDIT_LOGGER]: _auditLogger.default,
|
|
42
41
|
[DEFINITIONS.EVENT_BRIDGE]: _eventBridge.default,
|
|
43
42
|
[DEFINITIONS.HTTP]: _http.default,
|
|
@@ -48,9 +47,8 @@ const Dependencies = {
|
|
|
48
47
|
[DEFINITIONS.AUTHENTICATION]: _authentication.default,
|
|
49
48
|
[DEFINITIONS.USER]: _user.default
|
|
50
49
|
};
|
|
51
|
-
|
|
52
|
-
var _default = {
|
|
50
|
+
|
|
51
|
+
var _default = exports.default = {
|
|
53
52
|
DEFINITIONS,
|
|
54
53
|
DEPENDENCIES: Dependencies
|
|
55
|
-
};
|
|
56
|
-
exports.default = _default;
|
|
54
|
+
};
|
|
@@ -25,7 +25,7 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
25
25
|
|
|
26
26
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
|
|
27
27
|
|
|
28
|
-
let Adjustment = (_dec = (0, _typeorm.Entity)({
|
|
28
|
+
let Adjustment = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
29
29
|
name: 'adjustment',
|
|
30
30
|
schema: 'acquirer'
|
|
31
31
|
}), _dec2 = (0, _typeorm.PrimaryColumn)("varchar"), _dec3 = (0, _typeorm.ManyToOne)(() => _batch.default), _dec4 = (0, _typeorm.JoinColumn)({
|
|
@@ -125,5 +125,4 @@ let Adjustment = (_dec = (0, _typeorm.Entity)({
|
|
|
125
125
|
enumerable: true,
|
|
126
126
|
writable: true,
|
|
127
127
|
initializer: null
|
|
128
|
-
})), _class2)) || _class);
|
|
129
|
-
exports.default = Adjustment;
|
|
128
|
+
})), _class2)) || _class);
|
|
@@ -25,7 +25,7 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
25
25
|
|
|
26
26
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
|
|
27
27
|
|
|
28
|
-
let Batch = (_dec = (0, _typeorm.Entity)({
|
|
28
|
+
let Batch = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
29
29
|
name: 'batch',
|
|
30
30
|
schema: 'acquirer'
|
|
31
31
|
}), _dec2 = (0, _typeorm.PrimaryColumn)("varchar"), _dec3 = (0, _typeorm.Column)({
|
|
@@ -152,5 +152,4 @@ let Batch = (_dec = (0, _typeorm.Entity)({
|
|
|
152
152
|
enumerable: true,
|
|
153
153
|
writable: true,
|
|
154
154
|
initializer: null
|
|
155
|
-
})), _class2)) || _class);
|
|
156
|
-
exports.default = Batch;
|
|
155
|
+
})), _class2)) || _class);
|
|
@@ -15,7 +15,7 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
15
15
|
|
|
16
16
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
|
|
17
17
|
|
|
18
|
-
let Bin = (_dec = (0, _typeorm.Entity)({
|
|
18
|
+
let Bin = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
19
19
|
name: 'bin',
|
|
20
20
|
schema: 'acquirer'
|
|
21
21
|
}), _dec2 = (0, _typeorm.PrimaryGeneratedColumn)("uuid"), _dec3 = (0, _typeorm.Column)({
|
|
@@ -139,5 +139,4 @@ let Bin = (_dec = (0, _typeorm.Entity)({
|
|
|
139
139
|
enumerable: true,
|
|
140
140
|
writable: true,
|
|
141
141
|
initializer: null
|
|
142
|
-
})), _class2)) || _class);
|
|
143
|
-
exports.default = Bin;
|
|
142
|
+
})), _class2)) || _class);
|
|
@@ -19,7 +19,7 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
19
19
|
|
|
20
20
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
|
|
21
21
|
|
|
22
|
-
let BinRules = (_dec = (0, _typeorm.Entity)({
|
|
22
|
+
let BinRules = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
23
23
|
name: 'bin_rules',
|
|
24
24
|
schema: 'acquirer'
|
|
25
25
|
}), _dec2 = (0, _typeorm.PrimaryGeneratedColumn)("uuid"), _dec3 = (0, _typeorm.ManyToOne)(() => _organisation.default), _dec4 = (0, _typeorm.JoinColumn)({
|
|
@@ -202,5 +202,4 @@ let BinRules = (_dec = (0, _typeorm.Entity)({
|
|
|
202
202
|
enumerable: true,
|
|
203
203
|
writable: true,
|
|
204
204
|
initializer: null
|
|
205
|
-
})), _class2)) || _class);
|
|
206
|
-
exports.default = BinRules;
|
|
205
|
+
})), _class2)) || _class);
|
|
@@ -18,5 +18,5 @@ var _binRules = _interopRequireDefault(require("./bin-rules"));
|
|
|
18
18
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19
19
|
|
|
20
20
|
const ENTITIES = [_adjustment.default, _batch.default, _bin.default, _binRules.default, _transactionSettlement.default];
|
|
21
|
-
|
|
22
|
-
exports.default =
|
|
21
|
+
|
|
22
|
+
var _default = exports.default = ENTITIES;
|
|
@@ -25,7 +25,7 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
25
25
|
|
|
26
26
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
|
|
27
27
|
|
|
28
|
-
let TransactionSettlement = (_dec = (0, _typeorm.Entity)({
|
|
28
|
+
let TransactionSettlement = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
29
29
|
name: 'transaction_settlement',
|
|
30
30
|
schema: 'acquirer'
|
|
31
31
|
}), _dec2 = (0, _typeorm.ManyToOne)(() => _transaction.default, {
|
|
@@ -120,5 +120,4 @@ let TransactionSettlement = (_dec = (0, _typeorm.Entity)({
|
|
|
120
120
|
enumerable: true,
|
|
121
121
|
writable: true,
|
|
122
122
|
initializer: null
|
|
123
|
-
})), _class2)) || _class);
|
|
124
|
-
exports.default = TransactionSettlement;
|
|
123
|
+
})), _class2)) || _class);
|
|
@@ -37,7 +37,7 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
37
37
|
|
|
38
38
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
|
|
39
39
|
|
|
40
|
-
let Booking = (_dec = (0, _typeorm.Entity)({
|
|
40
|
+
let Booking = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
41
41
|
name: 'booking',
|
|
42
42
|
schema: 'agent_data'
|
|
43
43
|
}), _dec2 = (0, _typeorm.PrimaryColumn)("varchar"), _dec3 = (0, _typeorm.Column)({
|
|
@@ -323,5 +323,4 @@ let Booking = (_dec = (0, _typeorm.Entity)({
|
|
|
323
323
|
enumerable: true,
|
|
324
324
|
writable: true,
|
|
325
325
|
initializer: null
|
|
326
|
-
})), _class2)) || _class);
|
|
327
|
-
exports.default = Booking;
|
|
326
|
+
})), _class2)) || _class);
|
|
@@ -21,7 +21,7 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
21
21
|
|
|
22
22
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
|
|
23
23
|
|
|
24
|
-
let BookingBankTransaction = (_dec = (0, _typeorm.Entity)({
|
|
24
|
+
let BookingBankTransaction = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
25
25
|
name: 'booking_bank_transaction',
|
|
26
26
|
schema: 'agent_data'
|
|
27
27
|
}), _dec2 = (0, _typeorm.PrimaryGeneratedColumn)("uuid"), _dec3 = (0, _typeorm.ManyToOne)(() => _booking.default), _dec4 = (0, _typeorm.JoinColumn)({
|
|
@@ -65,5 +65,4 @@ let BookingBankTransaction = (_dec = (0, _typeorm.Entity)({
|
|
|
65
65
|
enumerable: true,
|
|
66
66
|
writable: true,
|
|
67
67
|
initializer: null
|
|
68
|
-
})), _class2)) || _class);
|
|
69
|
-
exports.default = BookingBankTransaction;
|
|
68
|
+
})), _class2)) || _class);
|
|
@@ -25,7 +25,7 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
25
25
|
|
|
26
26
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
|
|
27
27
|
|
|
28
|
-
let BookingComponent = (_dec = (0, _typeorm.Entity)({
|
|
28
|
+
let BookingComponent = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
29
29
|
name: 'booking_component',
|
|
30
30
|
schema: 'agent_data'
|
|
31
31
|
}), _dec2 = (0, _typeorm.PrimaryColumn)("varchar"), _dec3 = (0, _typeorm.ManyToOne)(() => _booking.default), _dec4 = (0, _typeorm.JoinColumn)({
|
|
@@ -150,5 +150,4 @@ let BookingComponent = (_dec = (0, _typeorm.Entity)({
|
|
|
150
150
|
enumerable: true,
|
|
151
151
|
writable: true,
|
|
152
152
|
initializer: null
|
|
153
|
-
})), _class2)) || _class);
|
|
154
|
-
exports.default = BookingComponent;
|
|
153
|
+
})), _class2)) || _class);
|
|
@@ -17,7 +17,7 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
17
17
|
|
|
18
18
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
|
|
19
19
|
|
|
20
|
-
let BookingComponentType = (_dec = (0, _typeorm.Entity)({
|
|
20
|
+
let BookingComponentType = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
21
21
|
name: 'booking_component_type',
|
|
22
22
|
schema: 'agent_data'
|
|
23
23
|
}), _dec2 = (0, _typeorm.PrimaryColumn)("varchar"), _dec3 = (0, _typeorm.CreateDateColumn)(), _dec(_class = (_class2 = class BookingComponentType {
|
|
@@ -39,5 +39,4 @@ let BookingComponentType = (_dec = (0, _typeorm.Entity)({
|
|
|
39
39
|
enumerable: true,
|
|
40
40
|
writable: true,
|
|
41
41
|
initializer: null
|
|
42
|
-
})), _class2)) || _class);
|
|
43
|
-
exports.default = BookingComponentType;
|
|
42
|
+
})), _class2)) || _class);
|
|
@@ -15,7 +15,7 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
15
15
|
|
|
16
16
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
|
|
17
17
|
|
|
18
|
-
let BookingPackageType = (_dec = (0, _typeorm.Entity)({
|
|
18
|
+
let BookingPackageType = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
19
19
|
name: 'booking_package_type',
|
|
20
20
|
schema: 'agent_data'
|
|
21
21
|
}), _dec2 = (0, _typeorm.PrimaryColumn)("varchar"), _dec3 = (0, _typeorm.CreateDateColumn)(), _dec(_class = (_class2 = class BookingPackageType {
|
|
@@ -35,5 +35,4 @@ let BookingPackageType = (_dec = (0, _typeorm.Entity)({
|
|
|
35
35
|
enumerable: true,
|
|
36
36
|
writable: true,
|
|
37
37
|
initializer: null
|
|
38
|
-
})), _class2)) || _class);
|
|
39
|
-
exports.default = BookingPackageType;
|
|
38
|
+
})), _class2)) || _class);
|
|
@@ -24,5 +24,5 @@ var _bookingBankTransaction = _interopRequireDefault(require("./booking-bank-tra
|
|
|
24
24
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
25
25
|
|
|
26
26
|
const ENTITIES = [_booking.default, _bookingComponent.default, _bookingComponentType.default, _bookingPackageType.default, _supplier.default, _supplierType.default, _transactionEvent.default, _bookingBankTransaction.default];
|
|
27
|
-
|
|
28
|
-
exports.default =
|
|
27
|
+
|
|
28
|
+
var _default = exports.default = ENTITIES;
|
|
@@ -23,7 +23,7 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
23
23
|
|
|
24
24
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
|
|
25
25
|
|
|
26
|
-
let Supplier = (_dec = (0, _typeorm.Entity)({
|
|
26
|
+
let Supplier = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
27
27
|
name: 'supplier',
|
|
28
28
|
schema: 'agent_data'
|
|
29
29
|
}), _dec2 = (0, _typeorm.PrimaryColumn)("varchar"), _dec3 = (0, _typeorm.ManyToOne)(() => _organisation.default), _dec4 = (0, _typeorm.JoinColumn)({
|
|
@@ -84,5 +84,4 @@ let Supplier = (_dec = (0, _typeorm.Entity)({
|
|
|
84
84
|
enumerable: true,
|
|
85
85
|
writable: true,
|
|
86
86
|
initializer: null
|
|
87
|
-
})), _class2)) || _class);
|
|
88
|
-
exports.default = Supplier;
|
|
87
|
+
})), _class2)) || _class);
|
|
@@ -17,7 +17,7 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
17
17
|
|
|
18
18
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
|
|
19
19
|
|
|
20
|
-
let SupplierType = (_dec = (0, _typeorm.Entity)({
|
|
20
|
+
let SupplierType = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
21
21
|
name: 'supplier_type',
|
|
22
22
|
schema: 'agent_data'
|
|
23
23
|
}), _dec2 = (0, _typeorm.PrimaryColumn)("varchar"), _dec3 = (0, _typeorm.CreateDateColumn)(), _dec(_class = (_class2 = class SupplierType {
|
|
@@ -39,5 +39,4 @@ let SupplierType = (_dec = (0, _typeorm.Entity)({
|
|
|
39
39
|
enumerable: true,
|
|
40
40
|
writable: true,
|
|
41
41
|
initializer: null
|
|
42
|
-
})), _class2)) || _class);
|
|
43
|
-
exports.default = SupplierType;
|
|
42
|
+
})), _class2)) || _class);
|
|
@@ -15,7 +15,7 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
15
15
|
|
|
16
16
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
|
|
17
17
|
|
|
18
|
-
let Account = (_dec = (0, _typeorm.Entity)({
|
|
18
|
+
let Account = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
19
19
|
name: 'account',
|
|
20
20
|
schema: 'bank'
|
|
21
21
|
}), _dec2 = (0, _typeorm.PrimaryColumn)({
|
|
@@ -93,5 +93,4 @@ let Account = (_dec = (0, _typeorm.Entity)({
|
|
|
93
93
|
enumerable: true,
|
|
94
94
|
writable: true,
|
|
95
95
|
initializer: null
|
|
96
|
-
})), _class2)) || _class);
|
|
97
|
-
exports.default = Account;
|
|
96
|
+
})), _class2)) || _class);
|
|
@@ -23,7 +23,7 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
23
23
|
|
|
24
24
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
|
|
25
25
|
|
|
26
|
-
let Adjustment = (_dec = (0, _typeorm.Entity)({
|
|
26
|
+
let Adjustment = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
27
27
|
name: 'adjustment',
|
|
28
28
|
schema: 'bank'
|
|
29
29
|
}), _dec2 = (0, _typeorm.PrimaryColumn)("varchar"), _dec3 = (0, _typeorm.Column)({
|
|
@@ -153,5 +153,4 @@ let Adjustment = (_dec = (0, _typeorm.Entity)({
|
|
|
153
153
|
initializer: function () {
|
|
154
154
|
return _currency.DEFAULT_CURRENCY;
|
|
155
155
|
}
|
|
156
|
-
})), _class2)) || _class);
|
|
157
|
-
exports.default = Adjustment;
|
|
156
|
+
})), _class2)) || _class);
|
|
@@ -23,7 +23,7 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
23
23
|
|
|
24
24
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
|
|
25
25
|
|
|
26
|
-
let Amendment = (_dec = (0, _typeorm.Entity)({
|
|
26
|
+
let Amendment = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
27
27
|
name: 'amendment',
|
|
28
28
|
schema: 'bank'
|
|
29
29
|
}), _dec2 = (0, _typeorm.PrimaryColumn)("varchar"), _dec3 = (0, _typeorm.Column)({
|
|
@@ -158,5 +158,4 @@ let Amendment = (_dec = (0, _typeorm.Entity)({
|
|
|
158
158
|
initializer: function () {
|
|
159
159
|
return _currency.DEFAULT_CURRENCY;
|
|
160
160
|
}
|
|
161
|
-
})), _class2)) || _class);
|
|
162
|
-
exports.default = Amendment;
|
|
161
|
+
})), _class2)) || _class);
|
|
@@ -21,7 +21,7 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
21
21
|
|
|
22
22
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
|
|
23
23
|
|
|
24
|
-
let Beneficiary = (_dec = (0, _typeorm.Entity)({
|
|
24
|
+
let Beneficiary = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
25
25
|
name: 'beneficiary',
|
|
26
26
|
schema: 'bank'
|
|
27
27
|
}), _dec2 = (0, _typeorm.PrimaryColumn)("varchar", {
|
|
@@ -122,5 +122,4 @@ let Beneficiary = (_dec = (0, _typeorm.Entity)({
|
|
|
122
122
|
initializer: function () {
|
|
123
123
|
return false;
|
|
124
124
|
}
|
|
125
|
-
})), _class2)) || _class);
|
|
126
|
-
exports.default = Beneficiary;
|
|
125
|
+
})), _class2)) || _class);
|
|
@@ -15,9 +15,8 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
15
15
|
|
|
16
16
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
|
|
17
17
|
|
|
18
|
-
const DEFAULT_CURRENCY = "GBX";
|
|
19
|
-
exports.
|
|
20
|
-
let Currency = (_dec = (0, _typeorm.Entity)({
|
|
18
|
+
const DEFAULT_CURRENCY = exports.DEFAULT_CURRENCY = "GBX";
|
|
19
|
+
let Currency = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
21
20
|
name: 'currency',
|
|
22
21
|
schema: 'bank'
|
|
23
22
|
}), _dec2 = (0, _typeorm.PrimaryColumn)({
|
|
@@ -64,5 +63,4 @@ let Currency = (_dec = (0, _typeorm.Entity)({
|
|
|
64
63
|
enumerable: true,
|
|
65
64
|
writable: true,
|
|
66
65
|
initializer: null
|
|
67
|
-
})), _class2)) || _class);
|
|
68
|
-
exports.default = Currency;
|
|
66
|
+
})), _class2)) || _class);
|
|
@@ -27,7 +27,7 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
27
27
|
|
|
28
28
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
|
|
29
29
|
|
|
30
|
-
let Disbursal = (_dec = (0, _typeorm.Entity)({
|
|
30
|
+
let Disbursal = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
31
31
|
name: 'disbursal',
|
|
32
32
|
schema: 'bank'
|
|
33
33
|
}), _dec2 = (0, _typeorm.PrimaryColumn)("varchar", {
|
|
@@ -194,5 +194,4 @@ let Disbursal = (_dec = (0, _typeorm.Entity)({
|
|
|
194
194
|
initializer: function () {
|
|
195
195
|
return _transaction.default;
|
|
196
196
|
}
|
|
197
|
-
})), _class2)) || _class);
|
|
198
|
-
exports.default = Disbursal;
|
|
197
|
+
})), _class2)) || _class);
|
|
@@ -28,5 +28,5 @@ var _vendor = _interopRequireDefault(require("./vendor"));
|
|
|
28
28
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
29
29
|
|
|
30
30
|
const ENTITIES = [_account.default, _adjustment.default, _amendment.default, _beneficiary.default, _currency.default, _disbursal.default, _ledger.default, _settledTransaction.default, _transactionBatch.default, _vendor.default];
|
|
31
|
-
|
|
32
|
-
exports.default =
|
|
31
|
+
|
|
32
|
+
var _default = exports.default = ENTITIES;
|
|
@@ -29,7 +29,7 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
29
29
|
|
|
30
30
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
|
|
31
31
|
|
|
32
|
-
let Ledger = (_dec = (0, _typeorm.Entity)({
|
|
32
|
+
let Ledger = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
33
33
|
name: 'ledger',
|
|
34
34
|
schema: 'bank'
|
|
35
35
|
}), _dec2 = (0, _typeorm.PrimaryColumn)({
|
|
@@ -209,5 +209,4 @@ let Ledger = (_dec = (0, _typeorm.Entity)({
|
|
|
209
209
|
enumerable: true,
|
|
210
210
|
writable: true,
|
|
211
211
|
initializer: null
|
|
212
|
-
})), _class2)) || _class);
|
|
213
|
-
exports.default = Ledger;
|
|
212
|
+
})), _class2)) || _class);
|
|
@@ -21,7 +21,7 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
21
21
|
|
|
22
22
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
|
|
23
23
|
|
|
24
|
-
let SettledTransaction = (_dec = (0, _typeorm.Entity)({
|
|
24
|
+
let SettledTransaction = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
25
25
|
name: 'settled_transaction',
|
|
26
26
|
schema: 'bank'
|
|
27
27
|
}), _dec2 = (0, _typeorm.ManyToOne)(() => _transaction.default, {
|
|
@@ -114,5 +114,4 @@ let SettledTransaction = (_dec = (0, _typeorm.Entity)({
|
|
|
114
114
|
enumerable: true,
|
|
115
115
|
writable: true,
|
|
116
116
|
initializer: null
|
|
117
|
-
})), _class2)) || _class);
|
|
118
|
-
exports.default = SettledTransaction;
|
|
117
|
+
})), _class2)) || _class);
|
|
@@ -21,7 +21,7 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
21
21
|
|
|
22
22
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
|
|
23
23
|
|
|
24
|
-
let TransactionBatch = (_dec = (0, _typeorm.Entity)({
|
|
24
|
+
let TransactionBatch = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
25
25
|
name: 'transaction_batch',
|
|
26
26
|
schema: 'bank'
|
|
27
27
|
}), _dec2 = (0, _typeorm.ManyToOne)(() => _transaction.default, {
|
|
@@ -90,5 +90,4 @@ let TransactionBatch = (_dec = (0, _typeorm.Entity)({
|
|
|
90
90
|
enumerable: true,
|
|
91
91
|
writable: true,
|
|
92
92
|
initializer: null
|
|
93
|
-
})), _class2)) || _class);
|
|
94
|
-
exports.default = TransactionBatch;
|
|
93
|
+
})), _class2)) || _class);
|
|
@@ -15,7 +15,7 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
15
15
|
|
|
16
16
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
|
|
17
17
|
|
|
18
|
-
let Vendor = (_dec = (0, _typeorm.Entity)({
|
|
18
|
+
let Vendor = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
19
19
|
name: 'vendor',
|
|
20
20
|
schema: 'bank'
|
|
21
21
|
}), _dec2 = (0, _typeorm.PrimaryColumn)({
|
|
@@ -53,5 +53,4 @@ let Vendor = (_dec = (0, _typeorm.Entity)({
|
|
|
53
53
|
enumerable: true,
|
|
54
54
|
writable: true,
|
|
55
55
|
initializer: null
|
|
56
|
-
})), _class2)) || _class);
|
|
57
|
-
exports.default = Vendor;
|
|
56
|
+
})), _class2)) || _class);
|
package/dist/entity/index.js
CHANGED
|
@@ -34,5 +34,5 @@ var _saltedge = _interopRequireDefault(require("./saltedge"));
|
|
|
34
34
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
35
35
|
|
|
36
36
|
const ENTITIES = [..._scratch.default, ..._acquirer.default, ..._agentData.default, ..._bank.default, ..._nuapay.default, ..._payment.default, ..._token.default, ..._totalProcessing.default, ..._trustPayments.default, ..._user.default, ..._nuvei.default, ..._reference.default, ..._saltedge.default];
|
|
37
|
-
|
|
38
|
-
exports.default =
|
|
37
|
+
|
|
38
|
+
var _default = exports.default = ENTITIES;
|
|
@@ -19,7 +19,7 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
19
19
|
|
|
20
20
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
|
|
21
21
|
|
|
22
|
-
let NuapayAccount = (_dec = (0, _typeorm.Entity)({
|
|
22
|
+
let NuapayAccount = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
23
23
|
name: 'account',
|
|
24
24
|
schema: 'nuapay'
|
|
25
25
|
}), _dec2 = (0, _typeorm.PrimaryColumn)({
|
|
@@ -92,5 +92,4 @@ let NuapayAccount = (_dec = (0, _typeorm.Entity)({
|
|
|
92
92
|
enumerable: true,
|
|
93
93
|
writable: true,
|
|
94
94
|
initializer: null
|
|
95
|
-
})), _class2)) || _class);
|
|
96
|
-
exports.default = NuapayAccount;
|
|
95
|
+
})), _class2)) || _class);
|
|
@@ -19,7 +19,7 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
19
19
|
|
|
20
20
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
|
|
21
21
|
|
|
22
|
-
let Balance = (_dec = (0, _typeorm.Entity)({
|
|
22
|
+
let Balance = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
23
23
|
name: 'balance',
|
|
24
24
|
schema: 'nuapay'
|
|
25
25
|
}), _dec2 = (0, _typeorm.PrimaryGeneratedColumn)("uuid"), _dec3 = (0, _typeorm.ManyToOne)(() => _account.default), _dec4 = (0, _typeorm.JoinColumn)({
|
|
@@ -60,5 +60,4 @@ let Balance = (_dec = (0, _typeorm.Entity)({
|
|
|
60
60
|
enumerable: true,
|
|
61
61
|
writable: true,
|
|
62
62
|
initializer: null
|
|
63
|
-
})), _class2)) || _class);
|
|
64
|
-
exports.default = Balance;
|
|
63
|
+
})), _class2)) || _class);
|
|
@@ -19,7 +19,7 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
19
19
|
|
|
20
20
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
|
|
21
21
|
|
|
22
|
-
let Beneficiary = (_dec = (0, _typeorm.Entity)({
|
|
22
|
+
let Beneficiary = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
23
23
|
name: 'beneficiary',
|
|
24
24
|
schema: 'nuapay'
|
|
25
25
|
}), _dec2 = (0, _typeorm.PrimaryColumn)({
|
|
@@ -56,5 +56,4 @@ let Beneficiary = (_dec = (0, _typeorm.Entity)({
|
|
|
56
56
|
enumerable: true,
|
|
57
57
|
writable: true,
|
|
58
58
|
initializer: null
|
|
59
|
-
})), _class2)) || _class);
|
|
60
|
-
exports.default = Beneficiary;
|
|
59
|
+
})), _class2)) || _class);
|
|
@@ -16,5 +16,5 @@ var _transaction = _interopRequireDefault(require("./transaction"));
|
|
|
16
16
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
17
|
|
|
18
18
|
const ENTITIES = [_account.default, _balance.default, _beneficiary.default, _transaction.default];
|
|
19
|
-
|
|
20
|
-
exports.default =
|
|
19
|
+
|
|
20
|
+
var _default = exports.default = ENTITIES;
|
|
@@ -21,7 +21,7 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
21
21
|
|
|
22
22
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
|
|
23
23
|
|
|
24
|
-
let Balance = (_dec = (0, _typeorm.Entity)({
|
|
24
|
+
let Balance = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
25
25
|
name: 'transaction',
|
|
26
26
|
schema: 'nuapay'
|
|
27
27
|
}), _dec2 = (0, _typeorm.PrimaryColumn)({
|
|
@@ -116,5 +116,4 @@ let Balance = (_dec = (0, _typeorm.Entity)({
|
|
|
116
116
|
enumerable: true,
|
|
117
117
|
writable: true,
|
|
118
118
|
initializer: null
|
|
119
|
-
})), _class2)) || _class);
|
|
120
|
-
exports.default = Balance;
|
|
119
|
+
})), _class2)) || _class);
|
|
@@ -19,7 +19,7 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
19
19
|
|
|
20
20
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
|
|
21
21
|
|
|
22
|
-
let Batch = (_dec = (0, _typeorm.Entity)({
|
|
22
|
+
let Batch = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
23
23
|
name: 'batch',
|
|
24
24
|
schema: 'nuvei'
|
|
25
25
|
}), _dec2 = (0, _typeorm.PrimaryColumn)("varchar"), _dec3 = (0, _typeorm.ManyToOne)(() => _merchant.default), _dec4 = (0, _typeorm.JoinColumn)({
|
|
@@ -81,5 +81,4 @@ let Batch = (_dec = (0, _typeorm.Entity)({
|
|
|
81
81
|
enumerable: true,
|
|
82
82
|
writable: true,
|
|
83
83
|
initializer: null
|
|
84
|
-
})), _class2)) || _class);
|
|
85
|
-
exports.default = Batch;
|
|
84
|
+
})), _class2)) || _class);
|
|
@@ -16,5 +16,5 @@ var _transactionMetadata = _interopRequireDefault(require("./transaction-metadat
|
|
|
16
16
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
17
|
|
|
18
18
|
const ENTITIES = [_batch.default, _merchant.default, _transaction.default, _transactionMetadata.default];
|
|
19
|
-
|
|
20
|
-
exports.default =
|
|
19
|
+
|
|
20
|
+
var _default = exports.default = ENTITIES;
|
|
@@ -15,7 +15,7 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
15
15
|
|
|
16
16
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
|
|
17
17
|
|
|
18
|
-
let Merchant = (_dec = (0, _typeorm.Entity)({
|
|
18
|
+
let Merchant = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
19
19
|
name: 'merchant',
|
|
20
20
|
schema: 'nuvei'
|
|
21
21
|
}), _dec2 = (0, _typeorm.PrimaryColumn)({
|
|
@@ -52,5 +52,4 @@ let Merchant = (_dec = (0, _typeorm.Entity)({
|
|
|
52
52
|
enumerable: true,
|
|
53
53
|
writable: true,
|
|
54
54
|
initializer: null
|
|
55
|
-
})), _class2)) || _class);
|
|
56
|
-
exports.default = Merchant;
|
|
55
|
+
})), _class2)) || _class);
|
|
@@ -15,7 +15,7 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
15
15
|
|
|
16
16
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
|
|
17
17
|
|
|
18
|
-
let Transaction = (_dec = (0, _typeorm.Entity)({
|
|
18
|
+
let Transaction = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
19
19
|
name: 'transaction',
|
|
20
20
|
schema: 'nuvei'
|
|
21
21
|
}), _dec2 = (0, _typeorm.PrimaryColumn)("varchar"), _dec3 = (0, _typeorm.Column)({
|
|
@@ -226,5 +226,4 @@ let Transaction = (_dec = (0, _typeorm.Entity)({
|
|
|
226
226
|
enumerable: true,
|
|
227
227
|
writable: true,
|
|
228
228
|
initializer: null
|
|
229
|
-
})), _class2)) || _class);
|
|
230
|
-
exports.default = Transaction;
|
|
229
|
+
})), _class2)) || _class);
|
|
@@ -15,7 +15,7 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
15
15
|
|
|
16
16
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
|
|
17
17
|
|
|
18
|
-
let TransactionMetadata = (_dec = (0, _typeorm.Entity)({
|
|
18
|
+
let TransactionMetadata = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
19
19
|
name: 'transaction_metadata',
|
|
20
20
|
schema: 'nuvei'
|
|
21
21
|
}), _dec2 = (0, _typeorm.PrimaryColumn)("varchar"), _dec3 = (0, _typeorm.Column)({
|
|
@@ -280,5 +280,4 @@ let TransactionMetadata = (_dec = (0, _typeorm.Entity)({
|
|
|
280
280
|
enumerable: true,
|
|
281
281
|
writable: true,
|
|
282
282
|
initializer: null
|
|
283
|
-
})), _class2)) || _class);
|
|
284
|
-
exports.default = TransactionMetadata;
|
|
283
|
+
})), _class2)) || _class);
|
|
@@ -15,7 +15,7 @@ function _applyDecoratedDescriptor(target, property, decorators, descriptor, con
|
|
|
15
15
|
|
|
16
16
|
function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.'); }
|
|
17
17
|
|
|
18
|
-
let IpExclusion = (_dec = (0, _typeorm.Entity)({
|
|
18
|
+
let IpExclusion = exports.default = (_dec = (0, _typeorm.Entity)({
|
|
19
19
|
name: 'fingerprint_exclusion',
|
|
20
20
|
schema: 'operations'
|
|
21
21
|
}), _dec2 = (0, _typeorm.PrimaryColumn)("varchar"), _dec3 = (0, _typeorm.CreateDateColumn)(), _dec(_class = (_class2 = class IpExclusion {
|
|
@@ -35,5 +35,4 @@ let IpExclusion = (_dec = (0, _typeorm.Entity)({
|
|
|
35
35
|
enumerable: true,
|
|
36
36
|
writable: true,
|
|
37
37
|
initializer: null
|
|
38
|
-
})), _class2)) || _class);
|
|
39
|
-
exports.default = IpExclusion;
|
|
38
|
+
})), _class2)) || _class);
|
|
@@ -10,5 +10,5 @@ var _ipExclusion = _interopRequireDefault(require("./ip-exclusion"));
|
|
|
10
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
11
|
|
|
12
12
|
const ENTITIES = [_ipExclusion.default];
|
|
13
|
-
|
|
14
|
-
exports.default =
|
|
13
|
+
|
|
14
|
+
var _default = exports.default = ENTITIES;
|