whitelabel-db 1.1.19 → 1.1.21
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
|
@@ -98,6 +98,13 @@ export interface PrebookRateRequestV3 {
|
|
|
98
98
|
usePaymentSdk?: boolean;
|
|
99
99
|
trackingId?: string;
|
|
100
100
|
voucherCode?: string;
|
|
101
|
+
ancillaryVouchers?: {
|
|
102
|
+
ancillary: string;
|
|
103
|
+
value: number;
|
|
104
|
+
currency: string;
|
|
105
|
+
convertedValue: number;
|
|
106
|
+
convertedCurrency: string;
|
|
107
|
+
}[];
|
|
101
108
|
}
|
|
102
109
|
export interface PrebookRateV3 {
|
|
103
110
|
prebookId: string;
|
|
@@ -120,6 +127,14 @@ export interface PrebookRateV3 {
|
|
|
120
127
|
voucherCode: string;
|
|
121
128
|
voucherTotalAmount: number;
|
|
122
129
|
isPackageRate: boolean;
|
|
130
|
+
ancillaryVouchersRequest?: {
|
|
131
|
+
ancillary: string;
|
|
132
|
+
value: number;
|
|
133
|
+
currency: string;
|
|
134
|
+
convertedValue: number;
|
|
135
|
+
convertedCurrency: string;
|
|
136
|
+
}[];
|
|
137
|
+
ancillariesTotalAmount?: number;
|
|
123
138
|
}
|
|
124
139
|
export interface GuestInfoV3 {
|
|
125
140
|
guestFirstName: string;
|
|
@@ -189,6 +204,9 @@ export interface BookingInfoV3 {
|
|
|
189
204
|
};
|
|
190
205
|
holder: UserV3;
|
|
191
206
|
guestId: number;
|
|
207
|
+
uberVoucherCode: string;
|
|
208
|
+
uberVoucherCurrency: string;
|
|
209
|
+
uberVoucherExpiryDate: string;
|
|
192
210
|
}
|
|
193
211
|
export interface BookingConfirmationV3 {
|
|
194
212
|
prebookId: string;
|
|
@@ -9,53 +9,38 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.UserRole = void 0;
|
|
13
|
+
const sequelize_1 = require("sequelize");
|
|
13
14
|
const sequelize_typescript_1 = require("sequelize-typescript");
|
|
14
|
-
let
|
|
15
|
+
let UserRole = class UserRole extends sequelize_typescript_1.Model {
|
|
15
16
|
};
|
|
16
|
-
exports.
|
|
17
|
+
exports.UserRole = UserRole;
|
|
17
18
|
__decorate([
|
|
18
19
|
sequelize_typescript_1.PrimaryKey,
|
|
19
|
-
sequelize_typescript_1.Index,
|
|
20
20
|
(0, sequelize_typescript_1.Column)({
|
|
21
|
-
type:
|
|
22
|
-
}),
|
|
23
|
-
__metadata("design:type", String)
|
|
24
|
-
], Search.prototype, "id", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, sequelize_typescript_1.Column)({
|
|
27
|
-
type: sequelize_typescript_1.DataType.INTEGER,
|
|
21
|
+
type: sequelize_1.NUMBER,
|
|
28
22
|
allowNull: false,
|
|
29
|
-
|
|
23
|
+
autoIncrement: true,
|
|
30
24
|
}),
|
|
31
|
-
__metadata("design:type",
|
|
32
|
-
],
|
|
33
|
-
__decorate([
|
|
34
|
-
sequelize_typescript_1.Unique,
|
|
35
|
-
sequelize_typescript_1.Index,
|
|
36
|
-
(0, sequelize_typescript_1.Column)({
|
|
37
|
-
type: sequelize_typescript_1.DataType.DATE,
|
|
38
|
-
}),
|
|
39
|
-
__metadata("design:type", Date)
|
|
40
|
-
], Search.prototype, "cacheUpdatedAt", void 0);
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], UserRole.prototype, "id", void 0);
|
|
41
27
|
__decorate([
|
|
42
28
|
sequelize_typescript_1.Unique,
|
|
43
|
-
sequelize_typescript_1.Index,
|
|
44
29
|
(0, sequelize_typescript_1.Column)({
|
|
45
|
-
type: sequelize_typescript_1.DataType.
|
|
30
|
+
type: sequelize_typescript_1.DataType.STRING,
|
|
31
|
+
allowNull: false,
|
|
46
32
|
}),
|
|
47
|
-
__metadata("design:type",
|
|
48
|
-
],
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], UserRole.prototype, "name", void 0);
|
|
49
35
|
__decorate([
|
|
50
36
|
(0, sequelize_typescript_1.Column)({
|
|
51
|
-
type: sequelize_typescript_1.DataType.
|
|
52
|
-
allowNull:
|
|
53
|
-
defaultValue: {},
|
|
37
|
+
type: sequelize_typescript_1.DataType.STRING,
|
|
38
|
+
allowNull: true,
|
|
54
39
|
}),
|
|
55
|
-
__metadata("design:type",
|
|
56
|
-
],
|
|
57
|
-
exports.
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], UserRole.prototype, "description", void 0);
|
|
42
|
+
exports.UserRole = UserRole = __decorate([
|
|
58
43
|
(0, sequelize_typescript_1.Table)({
|
|
59
|
-
tableName: '
|
|
44
|
+
tableName: 'user_roles',
|
|
60
45
|
})
|
|
61
|
-
],
|
|
46
|
+
], UserRole);
|
package/package.json
CHANGED