@qite/tide-client 1.0.76 → 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,5 +1,6 @@
1
1
  import { BookingPackageRequestRoom } from "../shared/booking-package-request-room";
2
2
  import { SelectedFlight } from "./selected-flight";
3
+ import { SelectedHotel } from "./selected-hotel";
3
4
  export interface BookingPackageDetailsRequest {
4
5
  catalogueId?: number;
5
6
  rooms: BookingPackageRequestRoom[];
@@ -13,7 +14,7 @@ export interface BookingPackageDetailsRequest {
13
14
  postNights?: number;
14
15
  includeFlights?: boolean;
15
16
  checkExternalAvailability?: boolean;
16
- hotelCode?: string;
17
+ hotel?: SelectedHotel;
17
18
  outwardFlight?: SelectedFlight;
18
19
  returnFlight?: SelectedFlight;
19
20
  }
@@ -12,6 +12,7 @@ export interface BookingPackageSearchRequest {
12
12
  toDate: string;
13
13
  productTagIds?: number[];
14
14
  includeFlights?: boolean;
15
+ useExactDates: boolean;
15
16
  minPrice?: number;
16
17
  maxPrice?: number;
17
18
  allotmentName?: string;
@@ -5,3 +5,4 @@ export * from "./booking-package-details-request";
5
5
  export * from "./booking-package-request";
6
6
  export * from "./booking-package-search-request";
7
7
  export * from "./selected-flight";
8
+ export * from "./selected-hotel";
@@ -1,4 +1,6 @@
1
1
  export interface SelectedFlight {
2
2
  flightCode: string;
3
3
  flightNumbers: string[];
4
+ startDateTime: string;
5
+ endDateTime: string;
4
6
  }
@@ -0,0 +1,5 @@
1
+ export interface SelectedHotel {
2
+ code: string;
3
+ fromDate: string;
4
+ toDate: string;
5
+ }
@@ -14,10 +14,12 @@ export interface BookingPackageItem {
14
14
  outwardFlightCode?: string;
15
15
  outwardFlightNumbers?: string[];
16
16
  outwardFlightStartDate?: string;
17
+ outwardFlightEndDate?: string;
17
18
  price: number;
18
19
  regimeCode?: string;
19
20
  returnFlightCode?: string;
20
21
  returnFlightNumbers?: string[];
22
+ returnFlightStartDate?: string;
21
23
  returnFlightEndDate?: string;
22
24
  flightDescription?: string;
23
25
  tagIds: number[];
@@ -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,6 +1,6 @@
1
1
  {
2
2
  "name": "@qite/tide-client",
3
- "version": "1.0.76",
3
+ "version": "1.0.79",
4
4
  "description": "Frontend client for Tide",
5
5
  "main": "build/index.js",
6
6
  "scripts": {
@@ -1,5 +1,6 @@
1
1
  import { BookingPackageRequestRoom } from "../shared/booking-package-request-room";
2
2
  import { SelectedFlight } from "./selected-flight";
3
+ import { SelectedHotel } from "./selected-hotel";
3
4
 
4
5
  export interface BookingPackageDetailsRequest {
5
6
  catalogueId?: number;
@@ -16,7 +17,7 @@ export interface BookingPackageDetailsRequest {
16
17
  checkExternalAvailability?: boolean;
17
18
 
18
19
  // lazy loading
19
- hotelCode?: string;
20
+ hotel?: SelectedHotel;
20
21
  outwardFlight?: SelectedFlight;
21
22
  returnFlight?: SelectedFlight;
22
23
  }
@@ -13,6 +13,7 @@ export interface BookingPackageSearchRequest {
13
13
  toDate: string;
14
14
  productTagIds?: number[];
15
15
  includeFlights?: boolean;
16
+ useExactDates: boolean;
16
17
 
17
18
  minPrice?: number;
18
19
  maxPrice?: number;
@@ -5,3 +5,4 @@ export * from "./booking-package-details-request";
5
5
  export * from "./booking-package-request";
6
6
  export * from "./booking-package-search-request";
7
7
  export * from "./selected-flight";
8
+ export * from "./selected-hotel";
@@ -1,4 +1,6 @@
1
1
  export interface SelectedFlight {
2
2
  flightCode: string;
3
3
  flightNumbers: string[];
4
+ startDateTime: string;
5
+ endDateTime: string;
4
6
  }
@@ -0,0 +1,5 @@
1
+ export interface SelectedHotel {
2
+ code: string;
3
+ fromDate: string;
4
+ toDate: string;
5
+ }
@@ -15,10 +15,12 @@ export interface BookingPackageItem {
15
15
  outwardFlightCode?: string;
16
16
  outwardFlightNumbers?: string[];
17
17
  outwardFlightStartDate?: string;
18
+ outwardFlightEndDate?: string;
18
19
  price: number;
19
20
  regimeCode?: string;
20
21
  returnFlightCode?: string;
21
22
  returnFlightNumbers?: string[];
23
+ returnFlightStartDate?: string;
22
24
  returnFlightEndDate?: string;
23
25
  flightDescription?: string;
24
26
  tagIds: number[];
@@ -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";