@felloh-org/lambda-wrapper 1.1.69 → 1.1.70
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.
|
@@ -112,7 +112,12 @@ let Booking = (_dec = (0, _typeorm.Entity)({
|
|
|
112
112
|
departure_date: this.departure_date,
|
|
113
113
|
return_date: this.return_date,
|
|
114
114
|
email: this.email,
|
|
115
|
-
gross_amount: this.gross_amount
|
|
115
|
+
gross_amount: this.gross_amount,
|
|
116
|
+
transactions: [],
|
|
117
|
+
components: [],
|
|
118
|
+
payment_links: [],
|
|
119
|
+
user: null,
|
|
120
|
+
organisation: null
|
|
116
121
|
};
|
|
117
122
|
|
|
118
123
|
if (typeof this.transactions !== 'undefined') {
|
|
@@ -108,7 +108,11 @@ let Ledger = (_dec = (0, _typeorm.Entity)({
|
|
|
108
108
|
amount: this.amount,
|
|
109
109
|
source: this.getSource(),
|
|
110
110
|
created_at: this.created_at,
|
|
111
|
-
currency: this.currency
|
|
111
|
+
currency: this.currency,
|
|
112
|
+
disbursal: null,
|
|
113
|
+
amendment: null,
|
|
114
|
+
adjustment: null,
|
|
115
|
+
transaction: null
|
|
112
116
|
};
|
|
113
117
|
|
|
114
118
|
if (typeof this.disbursal !== 'undefined' && this.disbursal !== null) {
|
|
@@ -150,7 +150,11 @@ let PaymentLink = (_dec = (0, _typeorm.Entity)({
|
|
|
150
150
|
methods: {
|
|
151
151
|
open_banking: this.open_banking_enabled,
|
|
152
152
|
card: this.card_enabled
|
|
153
|
-
}
|
|
153
|
+
},
|
|
154
|
+
booking: null,
|
|
155
|
+
transactions: {},
|
|
156
|
+
user: null,
|
|
157
|
+
organisation: null
|
|
154
158
|
};
|
|
155
159
|
|
|
156
160
|
if (this.booking !== null && typeof this.booking.id !== 'undefined') {
|
|
@@ -153,7 +153,11 @@ let Transaction = (_dec = (0, _typeorm.Entity)({
|
|
|
153
153
|
created_at: this.created_at,
|
|
154
154
|
completed_at: this.completed_at,
|
|
155
155
|
currency: this.currency,
|
|
156
|
-
provider_reference: this.provider_reference
|
|
156
|
+
provider_reference: this.provider_reference,
|
|
157
|
+
booking: null,
|
|
158
|
+
payment_link: null,
|
|
159
|
+
metadata: null,
|
|
160
|
+
organisation: null
|
|
157
161
|
};
|
|
158
162
|
|
|
159
163
|
if (this.booking !== null && typeof this.booking.id !== 'undefined') {
|
|
@@ -184,7 +188,8 @@ let Transaction = (_dec = (0, _typeorm.Entity)({
|
|
|
184
188
|
type: this.type.id,
|
|
185
189
|
created_at: this.created_at,
|
|
186
190
|
completed_at: this.completed_at,
|
|
187
|
-
currency: this.currency
|
|
191
|
+
currency: this.currency,
|
|
192
|
+
organisation: null
|
|
188
193
|
};
|
|
189
194
|
|
|
190
195
|
if (this.organisation !== null && typeof this.organisation.id !== 'undefined') {
|