@qite/tide-client 1.0.78 → 1.0.79

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,24 +1,24 @@
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: string;
12
- toDate: string;
13
- productTagIds?: number[];
14
- includeFlights?: boolean;
15
- useExactDates: boolean;
16
- minPrice?: number;
17
- maxPrice?: number;
18
- allotmentName?: string;
19
- tourCode?: string;
20
- allotmentTagIds?: number[];
21
- includeClosedAllotments?: boolean;
22
- includeFullyBookedAllotments?: boolean;
23
- onlyCachedResults?: boolean;
24
- }
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: string;
12
+ toDate: string;
13
+ productTagIds?: number[];
14
+ includeFlights?: boolean;
15
+ useExactDates: boolean;
16
+ minPrice?: number;
17
+ maxPrice?: number;
18
+ allotmentName?: string;
19
+ tourCode?: string;
20
+ allotmentTagIds?: number[];
21
+ includeClosedAllotments?: boolean;
22
+ includeFullyBookedAllotments?: boolean;
23
+ onlyCachedResults?: boolean;
24
+ }
@@ -1,7 +1,9 @@
1
1
  import { BookingPriceDetail } from "./booking-price-detail";
2
+ import { BookingProductNotification } from "./booking-product-notification";
2
3
  import { ChangedLine } from "./changed-line";
3
4
  export interface BookingPriceDetails {
4
5
  details: BookingPriceDetail[];
5
6
  changedLines: ChangedLine[];
7
+ notifications: BookingProductNotification[];
6
8
  deposit?: number;
7
9
  }
@@ -0,0 +1,6 @@
1
+ export interface BookingProductNotification {
2
+ id: number;
3
+ title: string;
4
+ description: string;
5
+ hasToBeConfirmed: boolean;
6
+ }
@@ -9,3 +9,4 @@ export * from "./changed-line";
9
9
  export * from "./booking-package-flight-pool";
10
10
  export * from "./booking-package-hotel-pool";
11
11
  export * from "./tide-response";
12
+ export * from "./booking-product-notification";
package/package.json CHANGED
@@ -1,56 +1,56 @@
1
- {
2
- "name": "@qite/tide-client",
3
- "version": "1.0.78",
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
- "@types/moment": "^2.13.0",
28
- "dotenv": "^9.0.2",
29
- "jest": "^26.6.3",
30
- "jest-fetch-mock": "^3.0.3",
31
- "momentjs": "^2.0.0",
32
- "prettier": "^2.3.0",
33
- "rollup": "^2.48.0",
34
- "rollup-plugin-typescript2": "^0.30.0",
35
- "ts-jest": "^26.5.6",
36
- "tslib": "^2.2.0",
37
- "typescript": "^4.2.4"
38
- },
39
- "jest": {
40
- "moduleFileExtensions": [
41
- "ts",
42
- "js"
43
- ],
44
- "transform": {
45
- "^.+\\.ts$": "ts-jest"
46
- },
47
- "globals": {
48
- "ts-jest": {
49
- "tsconfig": "tsconfig.json"
50
- }
51
- },
52
- "testMatch": [
53
- "**/tests/**/*.test.ts"
54
- ]
55
- }
56
- }
1
+ {
2
+ "name": "@qite/tide-client",
3
+ "version": "1.0.79",
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
+ "@types/moment": "^2.13.0",
28
+ "dotenv": "^9.0.2",
29
+ "jest": "^26.6.3",
30
+ "jest-fetch-mock": "^3.0.3",
31
+ "momentjs": "^2.0.0",
32
+ "prettier": "^2.3.0",
33
+ "rollup": "^2.48.0",
34
+ "rollup-plugin-typescript2": "^0.30.0",
35
+ "ts-jest": "^26.5.6",
36
+ "tslib": "^2.2.0",
37
+ "typescript": "^4.2.4"
38
+ },
39
+ "jest": {
40
+ "moduleFileExtensions": [
41
+ "ts",
42
+ "js"
43
+ ],
44
+ "transform": {
45
+ "^.+\\.ts$": "ts-jest"
46
+ },
47
+ "globals": {
48
+ "ts-jest": {
49
+ "tsconfig": "tsconfig.json"
50
+ }
51
+ },
52
+ "testMatch": [
53
+ "**/tests/**/*.test.ts"
54
+ ]
55
+ }
56
+ }
@@ -1,27 +1,27 @@
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: string;
13
- toDate: string;
14
- productTagIds?: number[];
15
- includeFlights?: boolean;
16
- useExactDates: boolean;
17
-
18
- minPrice?: number;
19
- maxPrice?: number;
20
-
21
- allotmentName?: string;
22
- tourCode?: string;
23
- allotmentTagIds?: number[];
24
- includeClosedAllotments?: boolean;
25
- includeFullyBookedAllotments?: boolean;
26
- onlyCachedResults?: boolean;
27
- }
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: string;
13
+ toDate: string;
14
+ productTagIds?: number[];
15
+ includeFlights?: boolean;
16
+ useExactDates: boolean;
17
+
18
+ minPrice?: number;
19
+ maxPrice?: number;
20
+
21
+ allotmentName?: string;
22
+ tourCode?: string;
23
+ allotmentTagIds?: number[];
24
+ includeClosedAllotments?: boolean;
25
+ includeFullyBookedAllotments?: boolean;
26
+ onlyCachedResults?: boolean;
27
+ }
@@ -1,8 +1,10 @@
1
1
  import { BookingPriceDetail } from "./booking-price-detail";
2
+ import { BookingProductNotification } from "./booking-product-notification";
2
3
  import { ChangedLine } from "./changed-line";
3
4
 
4
5
  export interface BookingPriceDetails {
5
6
  details: BookingPriceDetail[];
6
7
  changedLines: ChangedLine[];
8
+ notifications: BookingProductNotification[];
7
9
  deposit?: number;
8
10
  }
@@ -0,0 +1,6 @@
1
+ export interface BookingProductNotification {
2
+ id: number;
3
+ title: string;
4
+ description: string;
5
+ hasToBeConfirmed: boolean;
6
+ }
@@ -9,3 +9,4 @@ export * from "./changed-line";
9
9
  export * from "./booking-package-flight-pool";
10
10
  export * from "./booking-package-hotel-pool";
11
11
  export * from "./tide-response";
12
+ export * from "./booking-product-notification";