whitelabel-db 1.1.82 → 1.1.84
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/dist/libs/liteapiv3.d.ts
CHANGED
|
@@ -109,6 +109,8 @@ export interface PrebookRateRequestV3 {
|
|
|
109
109
|
usePaymentSdk?: boolean;
|
|
110
110
|
payment: {
|
|
111
111
|
descriptorSuffix?: string;
|
|
112
|
+
gateway?: string;
|
|
113
|
+
useOwnSecretKey?: boolean;
|
|
112
114
|
};
|
|
113
115
|
trackingId?: string;
|
|
114
116
|
voucherCode?: string;
|
|
@@ -158,6 +160,8 @@ export interface PrebookRateV3 {
|
|
|
158
160
|
remainingCredit: number;
|
|
159
161
|
currency: string;
|
|
160
162
|
};
|
|
163
|
+
secretKey?: string;
|
|
164
|
+
publishableKey?: string;
|
|
161
165
|
}
|
|
162
166
|
export interface GuestInfoV3 {
|
|
163
167
|
guestFirstName: string;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.down = exports.up = void 0;
|
|
13
|
+
const sequelize_1 = require("sequelize");
|
|
14
|
+
function up(queryInterface) {
|
|
15
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16
|
+
yield queryInterface.addColumn('static_hotels', 'placeId', {
|
|
17
|
+
type: sequelize_1.DataTypes.STRING,
|
|
18
|
+
allowNull: true,
|
|
19
|
+
comment: 'Google Place ID for the hotel',
|
|
20
|
+
});
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
exports.up = up;
|
|
24
|
+
function down(queryInterface) {
|
|
25
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
26
|
+
yield queryInterface.removeColumn('static_hotels', 'placeId');
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
exports.down = down;
|
package/dist/models/Hotel.d.ts
CHANGED
package/dist/models/Hotel.js
CHANGED
|
@@ -317,6 +317,14 @@ __decorate([
|
|
|
317
317
|
}),
|
|
318
318
|
__metadata("design:type", Number)
|
|
319
319
|
], Hotel.prototype, "thirdPartyId", void 0);
|
|
320
|
+
__decorate([
|
|
321
|
+
(0, sequelize_typescript_1.Column)({
|
|
322
|
+
type: sequelize_typescript_1.DataType.STRING,
|
|
323
|
+
allowNull: true,
|
|
324
|
+
comment: 'Google Place ID for the hotel',
|
|
325
|
+
}),
|
|
326
|
+
__metadata("design:type", String)
|
|
327
|
+
], Hotel.prototype, "placeId", void 0);
|
|
320
328
|
__decorate([
|
|
321
329
|
(0, sequelize_typescript_1.Column)({
|
|
322
330
|
type: sequelize_typescript_1.DataType.JSONB,
|