@felloh-org/lambda-wrapper 1.2.33 → 1.2.35

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 _bookingComponent = _interopRequireDefault(require("../booking-component"));
19
19
 
20
20
  var _paymentLink = _interopRequireDefault(require("../../payment/payment-link"));
21
21
 
22
- var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16;
22
+ var _creditNote = _interopRequireDefault(require("../../payment/credit-note"));
23
+
24
+ var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17;
23
25
 
24
26
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
25
27
 
@@ -44,29 +46,29 @@ let Booking = (_dec = (0, _typeorm.Entity)({
44
46
  }), _dec6 = (0, _typeorm.JoinColumn)({
45
47
  name: 'user_id',
46
48
  referencedColumnName: 'id'
47
- }), _dec7 = (0, _typeorm.OneToMany)(() => _transaction.default, transaction => transaction.booking), _dec8 = (0, _typeorm.OneToMany)(() => _bookingComponent.default, bookingComponent => bookingComponent.booking), _dec9 = (0, _typeorm.ManyToOne)(() => _organisation.default), _dec10 = (0, _typeorm.JoinColumn)({
49
+ }), _dec7 = (0, _typeorm.OneToMany)(() => _transaction.default, transaction => transaction.booking), _dec8 = (0, _typeorm.OneToMany)(() => _creditNote.default, creditNote => creditNote.booking_applied_to), _dec9 = (0, _typeorm.OneToMany)(() => _bookingComponent.default, bookingComponent => bookingComponent.booking), _dec10 = (0, _typeorm.ManyToOne)(() => _organisation.default), _dec11 = (0, _typeorm.JoinColumn)({
48
50
  name: 'organisation_id',
49
51
  referencedColumnName: 'id'
50
- }), _dec11 = (0, _typeorm.Column)({
52
+ }), _dec12 = (0, _typeorm.Column)({
51
53
  type: "varchar",
52
54
  length: "150"
53
- }), _dec12 = (0, _typeorm.Column)({
55
+ }), _dec13 = (0, _typeorm.Column)({
54
56
  type: "varchar",
55
57
  length: "150"
56
- }), _dec13 = (0, _typeorm.Index)(), _dec14 = (0, _typeorm.Column)({
58
+ }), _dec14 = (0, _typeorm.Index)(), _dec15 = (0, _typeorm.Column)({
57
59
  type: "date",
58
60
  nullable: true
59
- }), _dec15 = (0, _typeorm.Column)({
61
+ }), _dec16 = (0, _typeorm.Column)({
60
62
  type: "date",
61
63
  nullable: true
62
- }), _dec16 = (0, _typeorm.CreateDateColumn)({
64
+ }), _dec17 = (0, _typeorm.CreateDateColumn)({
63
65
  type: 'timestamp with time zone'
64
- }), _dec17 = (0, _typeorm.UpdateDateColumn)({
66
+ }), _dec18 = (0, _typeorm.UpdateDateColumn)({
65
67
  type: 'timestamp with time zone'
66
- }), _dec18 = (0, _typeorm.DeleteDateColumn)({
68
+ }), _dec19 = (0, _typeorm.DeleteDateColumn)({
67
69
  type: 'timestamp with time zone',
68
70
  nullable: true
69
- }), _dec19 = (0, _typeorm.OneToMany)(() => _paymentLink.default, paymentLink => paymentLink.booking), _dec20 = (0, _typeorm.Column)({
71
+ }), _dec20 = (0, _typeorm.OneToMany)(() => _paymentLink.default, paymentLink => paymentLink.booking), _dec21 = (0, _typeorm.Column)({
70
72
  type: "boolean",
71
73
  default: false
72
74
  }), _dec(_class = (_class2 = class Booking {
@@ -81,27 +83,29 @@ let Booking = (_dec = (0, _typeorm.Entity)({
81
83
 
82
84
  _initializerDefineProperty(this, "transactions", _descriptor5, this);
83
85
 
84
- _initializerDefineProperty(this, "components", _descriptor6, this);
86
+ _initializerDefineProperty(this, "applied_credit_notes", _descriptor6, this);
85
87
 
86
- _initializerDefineProperty(this, "organisation", _descriptor7, this);
88
+ _initializerDefineProperty(this, "components", _descriptor7, this);
87
89
 
88
- _initializerDefineProperty(this, "customer_name", _descriptor8, this);
90
+ _initializerDefineProperty(this, "organisation", _descriptor8, this);
89
91
 
90
- _initializerDefineProperty(this, "booking_reference", _descriptor9, this);
92
+ _initializerDefineProperty(this, "customer_name", _descriptor9, this);
91
93
 
92
- _initializerDefineProperty(this, "departure_date", _descriptor10, this);
94
+ _initializerDefineProperty(this, "booking_reference", _descriptor10, this);
93
95
 
94
- _initializerDefineProperty(this, "return_date", _descriptor11, this);
96
+ _initializerDefineProperty(this, "departure_date", _descriptor11, this);
95
97
 
96
- _initializerDefineProperty(this, "created_at", _descriptor12, this);
98
+ _initializerDefineProperty(this, "return_date", _descriptor12, this);
97
99
 
98
- _initializerDefineProperty(this, "updated_at", _descriptor13, this);
100
+ _initializerDefineProperty(this, "created_at", _descriptor13, this);
99
101
 
100
- _initializerDefineProperty(this, "deleted_at", _descriptor14, this);
102
+ _initializerDefineProperty(this, "updated_at", _descriptor14, this);
101
103
 
102
- _initializerDefineProperty(this, "payment_links", _descriptor15, this);
104
+ _initializerDefineProperty(this, "deleted_at", _descriptor15, this);
103
105
 
104
- _initializerDefineProperty(this, "is_temporary", _descriptor16, this);
106
+ _initializerDefineProperty(this, "payment_links", _descriptor16, this);
107
+
108
+ _initializerDefineProperty(this, "is_temporary", _descriptor17, this);
105
109
  }
106
110
 
107
111
  /**
@@ -150,6 +154,10 @@ let Booking = (_dec = (0, _typeorm.Entity)({
150
154
  response.organisation = this.organisation.getPublicCompactData();
151
155
  }
152
156
 
157
+ if (typeof this.applied_credit_notes !== 'undefined') {
158
+ response.applied_credit_notes = this.applied_credit_notes.map(creditNote => creditNote.getPublicData());
159
+ }
160
+
153
161
  return response;
154
162
  }
155
163
 
@@ -191,63 +199,68 @@ let Booking = (_dec = (0, _typeorm.Entity)({
191
199
  enumerable: true,
192
200
  writable: true,
193
201
  initializer: null
194
- }), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "components", [_dec8], {
202
+ }), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "applied_credit_notes", [_dec8], {
203
+ configurable: true,
204
+ enumerable: true,
205
+ writable: true,
206
+ initializer: null
207
+ }), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "components", [_dec9], {
195
208
  configurable: true,
196
209
  enumerable: true,
197
210
  writable: true,
198
211
  initializer: null
199
- }), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "organisation", [_dec9, _dec10], {
212
+ }), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "organisation", [_dec10, _dec11], {
200
213
  configurable: true,
201
214
  enumerable: true,
202
215
  writable: true,
203
216
  initializer: function () {
204
217
  return _organisation.default;
205
218
  }
206
- }), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "customer_name", [_dec11], {
219
+ }), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "customer_name", [_dec12], {
207
220
  configurable: true,
208
221
  enumerable: true,
209
222
  writable: true,
210
223
  initializer: function () {
211
224
  return "";
212
225
  }
213
- }), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "booking_reference", [_dec12, _dec13], {
226
+ }), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "booking_reference", [_dec13, _dec14], {
214
227
  configurable: true,
215
228
  enumerable: true,
216
229
  writable: true,
217
230
  initializer: function () {
218
231
  return "";
219
232
  }
220
- }), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, "departure_date", [_dec14], {
233
+ }), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "departure_date", [_dec15], {
221
234
  configurable: true,
222
235
  enumerable: true,
223
236
  writable: true,
224
237
  initializer: null
225
- }), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, "return_date", [_dec15], {
238
+ }), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "return_date", [_dec16], {
226
239
  configurable: true,
227
240
  enumerable: true,
228
241
  writable: true,
229
242
  initializer: null
230
- }), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, "created_at", [_dec16], {
243
+ }), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, "created_at", [_dec17], {
231
244
  configurable: true,
232
245
  enumerable: true,
233
246
  writable: true,
234
247
  initializer: null
235
- }), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, "updated_at", [_dec17], {
248
+ }), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, "updated_at", [_dec18], {
236
249
  configurable: true,
237
250
  enumerable: true,
238
251
  writable: true,
239
252
  initializer: null
240
- }), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, "deleted_at", [_dec18], {
253
+ }), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, "deleted_at", [_dec19], {
241
254
  configurable: true,
242
255
  enumerable: true,
243
256
  writable: true,
244
257
  initializer: null
245
- }), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, "payment_links", [_dec19], {
258
+ }), _descriptor16 = _applyDecoratedDescriptor(_class2.prototype, "payment_links", [_dec20], {
246
259
  configurable: true,
247
260
  enumerable: true,
248
261
  writable: true,
249
262
  initializer: null
250
- }), _descriptor16 = _applyDecoratedDescriptor(_class2.prototype, "is_temporary", [_dec20], {
263
+ }), _descriptor17 = _applyDecoratedDescriptor(_class2.prototype, "is_temporary", [_dec21], {
251
264
  configurable: true,
252
265
  enumerable: true,
253
266
  writable: true,
@@ -0,0 +1,156 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+
8
+ var _typeorm = require("typeorm");
9
+
10
+ var _booking = _interopRequireDefault(require("../../agent-data/booking"));
11
+
12
+ var _organisation = _interopRequireDefault(require("../../user/organisation"));
13
+
14
+ var _currency = require("../../bank/currency");
15
+
16
+ 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;
17
+
18
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19
+
20
+ function _initializerDefineProperty(target, property, descriptor, context) { if (!descriptor) return; Object.defineProperty(target, property, { enumerable: descriptor.enumerable, configurable: descriptor.configurable, writable: descriptor.writable, value: descriptor.initializer ? descriptor.initializer.call(context) : void 0 }); }
21
+
22
+ function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
23
+
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
+
26
+ let CreditNote = (_dec = (0, _typeorm.Entity)({
27
+ name: 'credit_note',
28
+ schema: 'payment'
29
+ }), _dec2 = (0, _typeorm.PrimaryColumn)("varchar"), _dec3 = (0, _typeorm.Column)({
30
+ type: "int"
31
+ }), _dec4 = (0, _typeorm.ManyToOne)(() => _booking.default, {
32
+ nullable: true
33
+ }), _dec5 = (0, _typeorm.JoinColumn)({
34
+ name: 'booking_created_from',
35
+ referencedColumnName: 'id'
36
+ }), _dec6 = (0, _typeorm.ManyToOne)(() => _booking.default, {
37
+ nullable: true
38
+ }), _dec7 = (0, _typeorm.JoinColumn)({
39
+ name: 'booking_applied_to',
40
+ referencedColumnName: 'id'
41
+ }), _dec8 = (0, _typeorm.Column)({
42
+ type: "varchar",
43
+ length: "2048",
44
+ nullable: true
45
+ }), _dec9 = (0, _typeorm.Column)({
46
+ type: "varchar",
47
+ length: "3",
48
+ default: _currency.DEFAULT_CURRENCY
49
+ }), _dec10 = (0, _typeorm.ManyToOne)(() => _organisation.default), _dec11 = (0, _typeorm.JoinColumn)({
50
+ name: 'organisation_id',
51
+ referencedColumnName: 'id'
52
+ }), _dec12 = (0, _typeorm.CreateDateColumn)({
53
+ type: 'timestamp with time zone'
54
+ }), _dec13 = (0, _typeorm.UpdateDateColumn)({
55
+ type: 'timestamp with time zone'
56
+ }), _dec(_class = (_class2 = class CreditNote {
57
+ constructor() {
58
+ _initializerDefineProperty(this, "id", _descriptor, this);
59
+
60
+ _initializerDefineProperty(this, "amount", _descriptor2, this);
61
+
62
+ _initializerDefineProperty(this, "booking_created_from", _descriptor3, this);
63
+
64
+ _initializerDefineProperty(this, "booking_applied_to", _descriptor4, this);
65
+
66
+ _initializerDefineProperty(this, "description", _descriptor5, this);
67
+
68
+ _initializerDefineProperty(this, "currency", _descriptor6, this);
69
+
70
+ _initializerDefineProperty(this, "organisation", _descriptor7, this);
71
+
72
+ _initializerDefineProperty(this, "created_at", _descriptor8, this);
73
+
74
+ _initializerDefineProperty(this, "updated_at", _descriptor9, this);
75
+ }
76
+
77
+ getPublicData() {
78
+ const response = {
79
+ id: this.id,
80
+ amount: this.amount,
81
+ description: this.description,
82
+ currency: this.currency,
83
+ organisation: this.organisation,
84
+ created_at: this.created_at
85
+ };
86
+
87
+ if (this.booking_applied_to && typeof this.booking_applied_to.getPublicData === 'function') {
88
+ response.booking_applied_to = this.booking_applied_to.getPublicData();
89
+ }
90
+
91
+ if (this.booking_created_from && typeof this.booking_created_from.getPublicData === 'function') {
92
+ response.booking_created_from = this.booking_created_from.getPublicData();
93
+ }
94
+
95
+ return response;
96
+ }
97
+
98
+ }, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, "id", [_dec2], {
99
+ configurable: true,
100
+ enumerable: true,
101
+ writable: true,
102
+ initializer: function () {
103
+ return undefined;
104
+ }
105
+ }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, "amount", [_dec3], {
106
+ configurable: true,
107
+ enumerable: true,
108
+ writable: true,
109
+ initializer: null
110
+ }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, "booking_created_from", [_dec4, _dec5], {
111
+ configurable: true,
112
+ enumerable: true,
113
+ writable: true,
114
+ initializer: function () {
115
+ return _booking.default;
116
+ }
117
+ }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, "booking_applied_to", [_dec6, _dec7], {
118
+ configurable: true,
119
+ enumerable: true,
120
+ writable: true,
121
+ initializer: function () {
122
+ return _booking.default;
123
+ }
124
+ }), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, "description", [_dec8], {
125
+ configurable: true,
126
+ enumerable: true,
127
+ writable: true,
128
+ initializer: function () {
129
+ return "";
130
+ }
131
+ }), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, "currency", [_dec9], {
132
+ configurable: true,
133
+ enumerable: true,
134
+ writable: true,
135
+ initializer: function () {
136
+ return _currency.DEFAULT_CURRENCY;
137
+ }
138
+ }), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, "organisation", [_dec10, _dec11], {
139
+ configurable: true,
140
+ enumerable: true,
141
+ writable: true,
142
+ initializer: function () {
143
+ return _organisation.default;
144
+ }
145
+ }), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, "created_at", [_dec12], {
146
+ configurable: true,
147
+ enumerable: true,
148
+ writable: true,
149
+ initializer: null
150
+ }), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, "updated_at", [_dec13], {
151
+ configurable: true,
152
+ enumerable: true,
153
+ writable: true,
154
+ initializer: null
155
+ })), _class2)) || _class);
156
+ exports.default = CreditNote;
@@ -33,8 +33,10 @@ var _paymentProvider = _interopRequireDefault(require("./payment-provider"));
33
33
 
34
34
  var _transactionReason = _interopRequireDefault(require("./transaction-reason"));
35
35
 
36
+ var _creditNote = _interopRequireDefault(require("./credit-note"));
37
+
36
38
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
37
39
 
38
- const ENTITIES = [_chargeback.default, _organisationPaymentProvider.default, _organisationPaymentProviderMethod.default, _paymentLink.default, _paymentProvider.default, _transaction.default, _transactionEvent.default, _transactionEventType.default, _transactionMethod.default, _transactionStatus.default, _transactionSource.default, _transactionType.default, _transactionMetadata.default, _transactionReason.default];
40
+ const ENTITIES = [_chargeback.default, _organisationPaymentProvider.default, _organisationPaymentProviderMethod.default, _paymentLink.default, _paymentProvider.default, _transaction.default, _transactionEvent.default, _transactionEventType.default, _transactionMethod.default, _transactionStatus.default, _transactionSource.default, _transactionType.default, _transactionMetadata.default, _transactionReason.default, _creditNote.default];
39
41
  var _default = ENTITIES;
40
42
  exports.default = _default;
@@ -117,7 +117,7 @@ let Organisation = (_dec = (0, _typeorm.Entity)({
117
117
  image: this.image
118
118
  };
119
119
 
120
- if (this.parent !== null && typeof this.parent.getPublicCompactData === 'function') {
120
+ if (this.parent && typeof this.parent.getPublicCompactData === 'function') {
121
121
  response.parent = this.parent.getPublicCompactData();
122
122
  }
123
123
 
package/dist/index.js CHANGED
@@ -63,6 +63,12 @@ Object.defineProperty(exports, "CountryEntity", {
63
63
  return _country.default;
64
64
  }
65
65
  });
66
+ Object.defineProperty(exports, "CreditNoteEntity", {
67
+ enumerable: true,
68
+ get: function () {
69
+ return _creditNote.default;
70
+ }
71
+ });
66
72
  Object.defineProperty(exports, "CurrencyEntity", {
67
73
  enumerable: true,
68
74
  get: function () {
@@ -560,6 +566,8 @@ var _transactionSource = _interopRequireDefault(require("./entity/payment/transa
560
566
 
561
567
  var _transactionReason = _interopRequireDefault(require("./entity/payment/transaction-reason"));
562
568
 
569
+ var _creditNote = _interopRequireDefault(require("./entity/payment/credit-note"));
570
+
563
571
  var _country = _interopRequireDefault(require("./entity/reference/country"));
564
572
 
565
573
  var _transaction3 = _interopRequireDefault(require("./entity/total-processing/transaction"));
@@ -0,0 +1,19 @@
1
+ const { MigrationInterface, QueryRunner } = require("typeorm");
2
+
3
+ module.exports = class creditNote1666878091167 {
4
+ name = 'creditNote1666878091167'
5
+
6
+ async up(queryRunner) {
7
+ await queryRunner.query(`CREATE TABLE "payment"."credit_note" ("id" character varying NOT NULL, "amount" integer NOT NULL, "description" character varying(2048), "currency" character varying(3) NOT NULL DEFAULT 'GBX', "created_at" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), "updated_at" TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT now(), "booking_created_from" character varying, "booking_applied_to" character varying, "organisation_id" character varying(150), CONSTRAINT "PK_1f08d9f374b8db39fd4c8e789df" PRIMARY KEY ("id"))`);
8
+ await queryRunner.query(`ALTER TABLE "payment"."credit_note" ADD CONSTRAINT "FK_348b0110ac51290a4e0950a6e56" FOREIGN KEY ("booking_created_from") REFERENCES "agent_data"."booking"("id") ON DELETE NO ACTION ON UPDATE NO ACTION`);
9
+ await queryRunner.query(`ALTER TABLE "payment"."credit_note" ADD CONSTRAINT "FK_41e5fc58c14a55da1315f9093a0" FOREIGN KEY ("booking_applied_to") REFERENCES "agent_data"."booking"("id") ON DELETE NO ACTION ON UPDATE NO ACTION`);
10
+ await queryRunner.query(`ALTER TABLE "payment"."credit_note" ADD CONSTRAINT "FK_e02200820570638b36eb2ed01e6" FOREIGN KEY ("organisation_id") REFERENCES "user"."organisation"("id") ON DELETE NO ACTION ON UPDATE NO ACTION`)
11
+ }
12
+
13
+ async down(queryRunner) {
14
+ await queryRunner.query(`ALTER TABLE "payment"."credit_note" DROP CONSTRAINT "FK_e02200820570638b36eb2ed01e6"`);
15
+ await queryRunner.query(`ALTER TABLE "payment"."credit_note" DROP CONSTRAINT "FK_41e5fc58c14a55da1315f9093a0"`);
16
+ await queryRunner.query(`ALTER TABLE "payment"."credit_note" DROP CONSTRAINT "FK_348b0110ac51290a4e0950a6e56"`);
17
+ await queryRunner.query(`DROP TABLE "payment"."credit_note"`);
18
+ }
19
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@felloh-org/lambda-wrapper",
3
- "version": "1.2.33",
3
+ "version": "1.2.35",
4
4
  "description": "Lambda wrapper for all Felloh Serverless Projects",
5
5
  "main": "dist/index.js",
6
6
  "engines": {