@felloh-org/lambda-wrapper 1.0.6 → 1.0.7
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.
|
@@ -19,7 +19,9 @@ var _transactionStatus = _interopRequireDefault(require("../transaction-status")
|
|
|
19
19
|
|
|
20
20
|
var _paymentLink = _interopRequireDefault(require("../payment-link"));
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _transactionMetadata = _interopRequireDefault(require("../transaction-metadata"));
|
|
23
|
+
|
|
24
|
+
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11;
|
|
23
25
|
|
|
24
26
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
25
27
|
|
|
@@ -56,10 +58,10 @@ let Transaction = (_dec = (0, _typeorm.Entity)({
|
|
|
56
58
|
}), _dec15 = (0, _typeorm.JoinColumn)({
|
|
57
59
|
name: 'payment_link_id',
|
|
58
60
|
referencedColumnName: 'id'
|
|
59
|
-
}), _dec16 = (0, _typeorm.Column)({
|
|
61
|
+
}), _dec16 = (0, _typeorm.OneToOne)(() => _transactionMetadata.default, transactionMetadata => transactionMetadata.transaction), _dec17 = (0, _typeorm.Column)({
|
|
60
62
|
type: "timestamp with time zone",
|
|
61
63
|
nullable: true
|
|
62
|
-
}),
|
|
64
|
+
}), _dec18 = (0, _typeorm.CreateDateColumn)(), _dec(_class = (_class2 = class Transaction {
|
|
63
65
|
constructor() {
|
|
64
66
|
_initializerDefineProperty(this, "id", _descriptor, this);
|
|
65
67
|
|
|
@@ -77,9 +79,11 @@ let Transaction = (_dec = (0, _typeorm.Entity)({
|
|
|
77
79
|
|
|
78
80
|
_initializerDefineProperty(this, "payment_link", _descriptor8, this);
|
|
79
81
|
|
|
80
|
-
_initializerDefineProperty(this, "
|
|
82
|
+
_initializerDefineProperty(this, "metadata", _descriptor9, this);
|
|
83
|
+
|
|
84
|
+
_initializerDefineProperty(this, "completed_at", _descriptor10, this);
|
|
81
85
|
|
|
82
|
-
_initializerDefineProperty(this, "created_at",
|
|
86
|
+
_initializerDefineProperty(this, "created_at", _descriptor11, this);
|
|
83
87
|
}
|
|
84
88
|
|
|
85
89
|
}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "id", [_dec2], {
|
|
@@ -136,12 +140,17 @@ let Transaction = (_dec = (0, _typeorm.Entity)({
|
|
|
136
140
|
initializer: function () {
|
|
137
141
|
return _paymentLink.default;
|
|
138
142
|
}
|
|
139
|
-
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "
|
|
143
|
+
}), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "metadata", [_dec16], {
|
|
144
|
+
configurable: true,
|
|
145
|
+
enumerable: true,
|
|
146
|
+
writable: true,
|
|
147
|
+
initializer: null
|
|
148
|
+
}), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "completed_at", [_dec17], {
|
|
140
149
|
configurable: true,
|
|
141
150
|
enumerable: true,
|
|
142
151
|
writable: true,
|
|
143
152
|
initializer: null
|
|
144
|
-
}),
|
|
153
|
+
}), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "created_at", [_dec18], {
|
|
145
154
|
configurable: true,
|
|
146
155
|
enumerable: true,
|
|
147
156
|
writable: true,
|
|
@@ -7,8 +7,6 @@ exports.default = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _typeorm = require("typeorm");
|
|
9
9
|
|
|
10
|
-
var _booking = _interopRequireDefault(require("../../agent-data/booking"));
|
|
11
|
-
|
|
12
10
|
var _transaction = _interopRequireDefault(require("../transaction"));
|
|
13
11
|
|
|
14
12
|
var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10;
|
|
@@ -89,7 +87,7 @@ let TransactionMetadata = (_dec = (0, _typeorm.Entity)({
|
|
|
89
87
|
enumerable: true,
|
|
90
88
|
writable: true,
|
|
91
89
|
initializer: function () {
|
|
92
|
-
return
|
|
90
|
+
return _transaction.default;
|
|
93
91
|
}
|
|
94
92
|
}), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, "card_type", [_dec4], {
|
|
95
93
|
configurable: true,
|