@qite/tide-client 1.0.27 → 1.0.30
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/build/types/offer/booking-v2/request/booking-package-destination.d.ts +9 -9
- package/build/types/offer/booking-v2/request/booking-package-search-request.d.ts +22 -20
- package/build/types/offer/booking-v2/request/index.d.ts +6 -6
- package/build/types/offer/booking-v2/shared/booking-package-hotel.d.ts +17 -15
- package/build/types/offer/booking-v2/shared/booking-package-line.d.ts +12 -10
- package/package.json +54 -54
- package/src/types/offer/booking-v2/request/booking-package-destination.ts +9 -9
- package/src/types/offer/booking-v2/request/booking-package-search-request.ts +25 -23
- package/src/types/offer/booking-v2/request/index.ts +6 -6
- package/src/types/offer/booking-v2/shared/booking-package-hotel.ts +22 -19
- package/src/types/offer/booking-v2/shared/booking-package-line.ts +12 -10
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export interface BookingPackageDestination {
|
|
2
|
-
id: number;
|
|
3
|
-
code: string;
|
|
4
|
-
name: string;
|
|
5
|
-
isCountry: boolean;
|
|
6
|
-
isRegion: boolean;
|
|
7
|
-
isOord: boolean;
|
|
8
|
-
isLocation: boolean;
|
|
9
|
-
}
|
|
1
|
+
export interface BookingPackageDestination {
|
|
2
|
+
id: number;
|
|
3
|
+
code: string;
|
|
4
|
+
name: string;
|
|
5
|
+
isCountry: boolean;
|
|
6
|
+
isRegion: boolean;
|
|
7
|
+
isOord: boolean;
|
|
8
|
+
isLocation: boolean;
|
|
9
|
+
}
|
|
@@ -1,20 +1,22 @@
|
|
|
1
|
-
import { BookingPackageRequestRoom } from "../shared/booking-package-request-room";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
import { BookingPackageRequestRoom } from "../shared/booking-package-request-room";
|
|
2
|
+
import { BookingPackageDestination } from "./booking-package-destination";
|
|
3
|
+
export interface BookingPackageSearchRequest {
|
|
4
|
+
catalogueIds: number[];
|
|
5
|
+
rooms: BookingPackageRequestRoom[];
|
|
6
|
+
serviceType?: number;
|
|
7
|
+
searchType?: number;
|
|
8
|
+
destination: BookingPackageDestination;
|
|
9
|
+
productIds: number[];
|
|
10
|
+
productCodes: string[];
|
|
11
|
+
fromDate: Date;
|
|
12
|
+
toDate: Date;
|
|
13
|
+
productTagIds: number[];
|
|
14
|
+
includeFlights: boolean;
|
|
15
|
+
minPrice?: number;
|
|
16
|
+
maxPrice?: number;
|
|
17
|
+
allotmentName: string;
|
|
18
|
+
tourCode: string;
|
|
19
|
+
allotmentTagIds: number[];
|
|
20
|
+
includeClosedAllotments: boolean;
|
|
21
|
+
includeFullyBookedAllotments: boolean;
|
|
22
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from "./booking-package-address";
|
|
2
|
-
export * from "./booking-package-book-request";
|
|
3
|
-
export * from "./booking-package-destination";
|
|
4
|
-
export * from "./booking-package-details-request";
|
|
5
|
-
export * from "./booking-package-request";
|
|
6
|
-
export * from "./booking-package-search-request";
|
|
1
|
+
export * from "./booking-package-address";
|
|
2
|
+
export * from "./booking-package-book-request";
|
|
3
|
+
export * from "./booking-package-destination";
|
|
4
|
+
export * from "./booking-package-details-request";
|
|
5
|
+
export * from "./booking-package-request";
|
|
6
|
+
export * from "./booking-package-search-request";
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import { BookingPackageHotelRoom } from "./booking-package-hotel-room";
|
|
2
|
-
export interface BookingPackageHotel {
|
|
3
|
-
name: string;
|
|
4
|
-
isSelected: boolean;
|
|
5
|
-
cheapestPrice: number;
|
|
6
|
-
latitude: number;
|
|
7
|
-
longitude: number;
|
|
8
|
-
rooms: BookingPackageHotelRoom[];
|
|
9
|
-
combinations: string[][];
|
|
10
|
-
stars: string;
|
|
11
|
-
rating: string;
|
|
12
|
-
description: string;
|
|
13
|
-
imageUrl: string;
|
|
14
|
-
facilities: string;
|
|
15
|
-
|
|
1
|
+
import { BookingPackageHotelRoom } from "./booking-package-hotel-room";
|
|
2
|
+
export interface BookingPackageHotel {
|
|
3
|
+
name: string;
|
|
4
|
+
isSelected: boolean;
|
|
5
|
+
cheapestPrice: number;
|
|
6
|
+
latitude: number;
|
|
7
|
+
longitude: number;
|
|
8
|
+
rooms: BookingPackageHotelRoom[];
|
|
9
|
+
combinations: string[][];
|
|
10
|
+
stars: string;
|
|
11
|
+
rating: string;
|
|
12
|
+
description: string;
|
|
13
|
+
imageUrl: string;
|
|
14
|
+
facilities: string;
|
|
15
|
+
travelDurationToVenue: string;
|
|
16
|
+
travelDurationToCenter: string;
|
|
17
|
+
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
export interface BookingPackageLine {
|
|
2
|
-
entryLineGuid: string;
|
|
3
|
-
productCode: string;
|
|
4
|
-
productName: string;
|
|
5
|
-
accommodationCode: string;
|
|
6
|
-
accommodationName: string;
|
|
7
|
-
regimeCode: string;
|
|
8
|
-
regimeName: string;
|
|
9
|
-
price: number;
|
|
10
|
-
|
|
1
|
+
export interface BookingPackageLine {
|
|
2
|
+
entryLineGuid: string;
|
|
3
|
+
productCode: string;
|
|
4
|
+
productName: string;
|
|
5
|
+
accommodationCode: string;
|
|
6
|
+
accommodationName: string;
|
|
7
|
+
regimeCode: string;
|
|
8
|
+
regimeName: string;
|
|
9
|
+
price: number;
|
|
10
|
+
startDate: Date;
|
|
11
|
+
endDate: Date;
|
|
12
|
+
}
|
package/package.json
CHANGED
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@qite/tide-client",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Frontend client for Tide",
|
|
5
|
-
"main": "build/index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"build": "rollup -c",
|
|
8
|
-
"tsc": "tsc --noEmit",
|
|
9
|
-
"format": "prettier --write .",
|
|
10
|
-
"test": "jest"
|
|
11
|
-
},
|
|
12
|
-
"repository": {
|
|
13
|
-
"type": "git",
|
|
14
|
-
"url": "git+ssh://git@bitbucket.org/qitegeneral/tide-client.git"
|
|
15
|
-
},
|
|
16
|
-
"keywords": [
|
|
17
|
-
"tide",
|
|
18
|
-
"client"
|
|
19
|
-
],
|
|
20
|
-
"author": "Kristof Colpaert <kristof.colpaert@qite.be>",
|
|
21
|
-
"license": "OBSD",
|
|
22
|
-
"homepage": "https://bitbucket.org/qitegeneral/tide-client#readme",
|
|
23
|
-
"devDependencies": {
|
|
24
|
-
"@rollup/plugin-commonjs": "^19.0.0",
|
|
25
|
-
"@rollup/plugin-node-resolve": "^13.0.0",
|
|
26
|
-
"@types/jest": "^26.0.23",
|
|
27
|
-
"dotenv": "^9.0.2",
|
|
28
|
-
"jest": "^26.6.3",
|
|
29
|
-
"jest-fetch-mock": "^3.0.3",
|
|
30
|
-
"prettier": "^2.3.0",
|
|
31
|
-
"rollup": "^2.48.0",
|
|
32
|
-
"rollup-plugin-typescript2": "^0.30.0",
|
|
33
|
-
"ts-jest": "^26.5.6",
|
|
34
|
-
"tslib": "^2.2.0",
|
|
35
|
-
"typescript": "^4.2.4"
|
|
36
|
-
},
|
|
37
|
-
"jest": {
|
|
38
|
-
"moduleFileExtensions": [
|
|
39
|
-
"ts",
|
|
40
|
-
"js"
|
|
41
|
-
],
|
|
42
|
-
"transform": {
|
|
43
|
-
"^.+\\.ts$": "ts-jest"
|
|
44
|
-
},
|
|
45
|
-
"globals": {
|
|
46
|
-
"ts-jest": {
|
|
47
|
-
"tsconfig": "tsconfig.json"
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"testMatch": [
|
|
51
|
-
"**/tests/**/*.test.ts"
|
|
52
|
-
]
|
|
53
|
-
}
|
|
54
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@qite/tide-client",
|
|
3
|
+
"version": "1.0.30",
|
|
4
|
+
"description": "Frontend client for Tide",
|
|
5
|
+
"main": "build/index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"build": "rollup -c",
|
|
8
|
+
"tsc": "tsc --noEmit",
|
|
9
|
+
"format": "prettier --write .",
|
|
10
|
+
"test": "jest"
|
|
11
|
+
},
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git+ssh://git@bitbucket.org/qitegeneral/tide-client.git"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"tide",
|
|
18
|
+
"client"
|
|
19
|
+
],
|
|
20
|
+
"author": "Kristof Colpaert <kristof.colpaert@qite.be>",
|
|
21
|
+
"license": "OBSD",
|
|
22
|
+
"homepage": "https://bitbucket.org/qitegeneral/tide-client#readme",
|
|
23
|
+
"devDependencies": {
|
|
24
|
+
"@rollup/plugin-commonjs": "^19.0.0",
|
|
25
|
+
"@rollup/plugin-node-resolve": "^13.0.0",
|
|
26
|
+
"@types/jest": "^26.0.23",
|
|
27
|
+
"dotenv": "^9.0.2",
|
|
28
|
+
"jest": "^26.6.3",
|
|
29
|
+
"jest-fetch-mock": "^3.0.3",
|
|
30
|
+
"prettier": "^2.3.0",
|
|
31
|
+
"rollup": "^2.48.0",
|
|
32
|
+
"rollup-plugin-typescript2": "^0.30.0",
|
|
33
|
+
"ts-jest": "^26.5.6",
|
|
34
|
+
"tslib": "^2.2.0",
|
|
35
|
+
"typescript": "^4.2.4"
|
|
36
|
+
},
|
|
37
|
+
"jest": {
|
|
38
|
+
"moduleFileExtensions": [
|
|
39
|
+
"ts",
|
|
40
|
+
"js"
|
|
41
|
+
],
|
|
42
|
+
"transform": {
|
|
43
|
+
"^.+\\.ts$": "ts-jest"
|
|
44
|
+
},
|
|
45
|
+
"globals": {
|
|
46
|
+
"ts-jest": {
|
|
47
|
+
"tsconfig": "tsconfig.json"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"testMatch": [
|
|
51
|
+
"**/tests/**/*.test.ts"
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export interface BookingPackageDestination {
|
|
2
|
-
id: number;
|
|
3
|
-
code: string;
|
|
4
|
-
name: string;
|
|
5
|
-
isCountry: boolean;
|
|
6
|
-
isRegion: boolean;
|
|
7
|
-
isOord: boolean;
|
|
8
|
-
isLocation: boolean;
|
|
9
|
-
}
|
|
1
|
+
export interface BookingPackageDestination {
|
|
2
|
+
id: number;
|
|
3
|
+
code: string;
|
|
4
|
+
name: string;
|
|
5
|
+
isCountry: boolean;
|
|
6
|
+
isRegion: boolean;
|
|
7
|
+
isOord: boolean;
|
|
8
|
+
isLocation: boolean;
|
|
9
|
+
}
|
|
@@ -1,23 +1,25 @@
|
|
|
1
|
-
import { BookingPackageRequestRoom } from "../shared/booking-package-request-room";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
1
|
+
import { BookingPackageRequestRoom } from "../shared/booking-package-request-room";
|
|
2
|
+
import { BookingPackageDestination } from "./booking-package-destination";
|
|
3
|
+
|
|
4
|
+
export interface BookingPackageSearchRequest {
|
|
5
|
+
catalogueIds: number[];
|
|
6
|
+
rooms: BookingPackageRequestRoom[];
|
|
7
|
+
serviceType?: number;
|
|
8
|
+
searchType?: number;
|
|
9
|
+
destination: BookingPackageDestination;
|
|
10
|
+
productIds: number[];
|
|
11
|
+
productCodes: string[];
|
|
12
|
+
fromDate: Date;
|
|
13
|
+
toDate: Date;
|
|
14
|
+
productTagIds: number[];
|
|
15
|
+
includeFlights: boolean;
|
|
16
|
+
|
|
17
|
+
minPrice?: number;
|
|
18
|
+
maxPrice?: number;
|
|
19
|
+
|
|
20
|
+
allotmentName: string;
|
|
21
|
+
tourCode: string;
|
|
22
|
+
allotmentTagIds: number[];
|
|
23
|
+
includeClosedAllotments: boolean;
|
|
24
|
+
includeFullyBookedAllotments: boolean;
|
|
25
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from "./booking-package-address";
|
|
2
|
-
export * from "./booking-package-book-request";
|
|
3
|
-
export * from "./booking-package-destination";
|
|
4
|
-
export * from "./booking-package-details-request";
|
|
5
|
-
export * from "./booking-package-request";
|
|
6
|
-
export * from "./booking-package-search-request";
|
|
1
|
+
export * from "./booking-package-address";
|
|
2
|
+
export * from "./booking-package-book-request";
|
|
3
|
+
export * from "./booking-package-destination";
|
|
4
|
+
export * from "./booking-package-details-request";
|
|
5
|
+
export * from "./booking-package-request";
|
|
6
|
+
export * from "./booking-package-search-request";
|
|
@@ -1,19 +1,22 @@
|
|
|
1
|
-
import { BookingPackageHotelRoom } from "./booking-package-hotel-room";
|
|
2
|
-
|
|
3
|
-
export interface BookingPackageHotel {
|
|
4
|
-
name: string;
|
|
5
|
-
isSelected: boolean;
|
|
6
|
-
cheapestPrice: number;
|
|
7
|
-
|
|
8
|
-
latitude: number;
|
|
9
|
-
longitude: number;
|
|
10
|
-
|
|
11
|
-
rooms: BookingPackageHotelRoom[];
|
|
12
|
-
combinations: string[][];
|
|
13
|
-
|
|
14
|
-
stars: string;
|
|
15
|
-
rating: string;
|
|
16
|
-
description: string;
|
|
17
|
-
imageUrl: string;
|
|
18
|
-
facilities: string;
|
|
19
|
-
|
|
1
|
+
import { BookingPackageHotelRoom } from "./booking-package-hotel-room";
|
|
2
|
+
|
|
3
|
+
export interface BookingPackageHotel {
|
|
4
|
+
name: string;
|
|
5
|
+
isSelected: boolean;
|
|
6
|
+
cheapestPrice: number;
|
|
7
|
+
|
|
8
|
+
latitude: number;
|
|
9
|
+
longitude: number;
|
|
10
|
+
|
|
11
|
+
rooms: BookingPackageHotelRoom[];
|
|
12
|
+
combinations: string[][];
|
|
13
|
+
|
|
14
|
+
stars: string;
|
|
15
|
+
rating: string;
|
|
16
|
+
description: string;
|
|
17
|
+
imageUrl: string;
|
|
18
|
+
facilities: string;
|
|
19
|
+
|
|
20
|
+
travelDurationToVenue: string;
|
|
21
|
+
travelDurationToCenter: string;
|
|
22
|
+
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
export interface BookingPackageLine {
|
|
2
|
-
entryLineGuid: string;
|
|
3
|
-
productCode: string;
|
|
4
|
-
productName: string;
|
|
5
|
-
accommodationCode: string;
|
|
6
|
-
accommodationName: string;
|
|
7
|
-
regimeCode: string;
|
|
8
|
-
regimeName: string;
|
|
9
|
-
price: number;
|
|
10
|
-
|
|
1
|
+
export interface BookingPackageLine {
|
|
2
|
+
entryLineGuid: string;
|
|
3
|
+
productCode: string;
|
|
4
|
+
productName: string;
|
|
5
|
+
accommodationCode: string;
|
|
6
|
+
accommodationName: string;
|
|
7
|
+
regimeCode: string;
|
|
8
|
+
regimeName: string;
|
|
9
|
+
price: number;
|
|
10
|
+
startDate: Date;
|
|
11
|
+
endDate: Date;
|
|
12
|
+
}
|