@qite/tide-client 1.0.30 → 1.0.31

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.
@@ -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,22 +1,22 @@
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
+ 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";
@@ -4,6 +4,7 @@ export interface BookingPackageItem {
4
4
  code: string;
5
5
  name: string;
6
6
  price: number;
7
+ averagePricePerPerson: number;
7
8
  type: number;
8
9
  fromDate: Date;
9
10
  toDate: Date;
@@ -1,17 +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
- travelDurationToVenue: string;
16
- travelDurationToCenter: string;
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
+ travelDurationToVenue: string;
16
+ travelDurationToCenter: string;
17
+ }
@@ -1,12 +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
- startDate: Date;
11
- endDate: Date;
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
+ startDate: Date;
11
+ endDate: Date;
12
+ }
package/package.json CHANGED
@@ -1,54 +1,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
+ {
2
+ "name": "@qite/tide-client",
3
+ "version": "1.0.31",
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,25 +1,25 @@
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
+ 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";
@@ -5,6 +5,7 @@ export interface BookingPackageItem {
5
5
  code: string;
6
6
  name: string;
7
7
  price: number;
8
+ averagePricePerPerson: number;
8
9
  type: number;
9
10
  fromDate: Date;
10
11
  toDate: Date;
@@ -1,22 +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
-
20
- travelDurationToVenue: string;
21
- travelDurationToCenter: string;
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
+
20
+ travelDurationToVenue: string;
21
+ travelDurationToCenter: string;
22
+ }
@@ -1,12 +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
- startDate: Date;
11
- endDate: Date;
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
+ startDate: Date;
11
+ endDate: Date;
12
+ }