@qite/tide-client 1.0.81 → 1.0.83

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,3 +1,4 @@
1
+ import { BookingProductNotification } from "../response";
1
2
  import { BookingPackage } from "../shared";
2
3
  import { BookingPackagePax } from "../shared/booking-package-pax";
3
4
  import { BookingPackageAddress } from "./booking-package-address";
@@ -13,4 +14,5 @@ export interface BookingPackageBookRequest {
13
14
  address?: BookingPackageAddress;
14
15
  pax: BookingPackagePax[];
15
16
  nonTravelPax: BookingPackagePax[];
17
+ notifications: BookingProductNotification[];
16
18
  }
@@ -16,6 +16,7 @@ export interface BookingPackageItem {
16
16
  outwardFlightStartDate?: string;
17
17
  outwardFlightEndDate?: string;
18
18
  price: number;
19
+ deposit?: number;
19
20
  regimeCode?: string;
20
21
  returnFlightCode?: string;
21
22
  returnFlightNumbers?: string[];
@@ -30,4 +31,6 @@ export interface BookingPackageItem {
30
31
  hotelStars?: string;
31
32
  countryName?: string;
32
33
  locationName?: string;
34
+ stayFromDate: Date;
35
+ stayToDate: Date;
33
36
  }
@@ -3,4 +3,5 @@ export interface BookingProductNotification {
3
3
  title: string;
4
4
  description: string;
5
5
  hasToBeConfirmed: boolean;
6
+ isConfirmed: boolean;
6
7
  }
@@ -0,0 +1,39 @@
1
+ import { BookingOptionGroup } from "./booking-option-group";
2
+ import { BookingOptionPax } from "./booking-option-pax";
3
+ import { BookingOptionUnit } from "./booking-option-unit";
4
+ import { BookingPackageAvailability } from "./booking-package-availability";
5
+ import { BookingPackageHotel } from "./booking-package-hotel";
6
+ import { BookingPackageRequestRoom } from "./booking-package-request-room";
7
+ import { BookingPackageRoom } from "./booking-package-room";
8
+ import { PerBookingPackageOption } from "./per-booking-package-option";
9
+ export interface BookingPackageOption {
10
+ id: string;
11
+ isSelected: boolean;
12
+ catalogueId: number;
13
+ code: string;
14
+ name: string;
15
+ price: number;
16
+ serviceType: number;
17
+ tagIds: number[];
18
+ includedServiceTypes: number[];
19
+ countryName: string;
20
+ regionName: string;
21
+ oordName: string;
22
+ locationName: string;
23
+ unitCount: number;
24
+ requestRooms: BookingPackageRequestRoom[];
25
+ fromDate: string;
26
+ toDate: string;
27
+ startTime: string;
28
+ endTime: string;
29
+ hotels: BookingPackageHotel[];
30
+ allotmentTourCode: string;
31
+ allotmentName: string;
32
+ customAllotmentStatus: string;
33
+ allotmentTagIds: number[];
34
+ availabilities: BookingPackageAvailability[];
35
+ rooms: BookingPackageRoom[];
36
+ groups: BookingOptionGroup<PerBookingPackageOption>[];
37
+ optionUnits: BookingOptionUnit[];
38
+ optionPax: BookingOptionPax[];
39
+ }
@@ -1,42 +1,9 @@
1
- import { BookingOptionGroup } from "./booking-option-group";
2
- import { BookingOptionPax } from "./booking-option-pax";
3
- import { BookingOptionUnit } from "./booking-option-unit";
4
- import { BookingPackageAvailability } from "./booking-package-availability";
5
1
  import { BookingPackageFlight } from "./booking-package-flight";
6
- import { BookingPackageHotel } from "./booking-package-hotel";
7
- import { BookingPackageRequestRoom } from "./booking-package-request-room";
8
- import { BookingPackageRoom } from "./booking-package-room";
9
- import { PerBookingPackageOption } from "./per-booking-package-option";
2
+ import { BookingPackageOption } from "./booking-package-option";
10
3
  export interface BookingPackage {
11
- catalogueId: number;
12
- code: string;
13
- name: string;
14
- price: number;
15
- serviceType: number;
16
- tagIds: number[];
17
- includedServiceTypes: number[];
18
- countryName: string;
19
- regionName: string;
20
- oordName: string;
21
- locationName: string;
22
- unitCount: number;
23
- requestRooms: BookingPackageRequestRoom[];
24
- fromDate: string;
25
- toDate: string;
26
- startTime: string;
27
- endTime: string;
28
4
  outwardFlights: BookingPackageFlight[];
29
5
  returnFlights: BookingPackageFlight[];
30
- hotels: BookingPackageHotel[];
31
- allotmentTourCode: string;
32
- allotmentName: string;
33
- customAllotmentStatus: string;
34
- allotmentTagIds: number[];
35
- availabilities: BookingPackageAvailability[];
36
- rooms: BookingPackageRoom[];
37
- groups: BookingOptionGroup<PerBookingPackageOption>[];
38
- optionUnits: BookingOptionUnit[];
39
- optionPax: BookingOptionPax[];
6
+ options: BookingPackageOption[];
40
7
  transactionId: string;
41
8
  transactionExpiration: string;
42
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qite/tide-client",
3
- "version": "1.0.81",
3
+ "version": "1.0.83",
4
4
  "description": "Frontend client for Tide",
5
5
  "main": "build/index.js",
6
6
  "scripts": {
@@ -1,3 +1,4 @@
1
+ import { BookingProductNotification } from "../response";
1
2
  import { BookingPackage } from "../shared";
2
3
  import { BookingPackagePax } from "../shared/booking-package-pax";
3
4
  import { BookingPackageAddress } from "./booking-package-address";
@@ -15,4 +16,5 @@ export interface BookingPackageBookRequest {
15
16
  address?: BookingPackageAddress;
16
17
  pax: BookingPackagePax[];
17
18
  nonTravelPax: BookingPackagePax[];
19
+ notifications: BookingProductNotification[];
18
20
  }
@@ -17,6 +17,7 @@ export interface BookingPackageItem {
17
17
  outwardFlightStartDate?: string;
18
18
  outwardFlightEndDate?: string;
19
19
  price: number;
20
+ deposit?: number;
20
21
  regimeCode?: string;
21
22
  returnFlightCode?: string;
22
23
  returnFlightNumbers?: string[];
@@ -31,4 +32,6 @@ export interface BookingPackageItem {
31
32
  hotelStars?: string;
32
33
  countryName?: string;
33
34
  locationName?: string;
35
+ stayFromDate: Date;
36
+ stayToDate: Date;
34
37
  }
@@ -3,4 +3,5 @@ export interface BookingProductNotification {
3
3
  title: string;
4
4
  description: string;
5
5
  hasToBeConfirmed: boolean;
6
+ isConfirmed: boolean;
6
7
  }
@@ -0,0 +1,47 @@
1
+ import { BookingOptionGroup } from "./booking-option-group";
2
+ import { BookingOptionPax } from "./booking-option-pax";
3
+ import { BookingOptionUnit } from "./booking-option-unit";
4
+ import { BookingPackageAvailability } from "./booking-package-availability";
5
+ import { BookingPackageHotel } from "./booking-package-hotel";
6
+ import { BookingPackageRequestRoom } from "./booking-package-request-room";
7
+ import { BookingPackageRoom } from "./booking-package-room";
8
+ import { PerBookingPackageOption } from "./per-booking-package-option";
9
+
10
+ export interface BookingPackageOption {
11
+ id: string;
12
+ isSelected: boolean;
13
+
14
+ catalogueId: number;
15
+ code: string;
16
+ name: string;
17
+ price: number;
18
+ serviceType: number;
19
+ tagIds: number[];
20
+ includedServiceTypes: number[];
21
+
22
+ countryName: string;
23
+ regionName: string;
24
+ oordName: string;
25
+ locationName: string;
26
+
27
+ unitCount: number;
28
+ requestRooms: BookingPackageRequestRoom[];
29
+
30
+ fromDate: string;
31
+ toDate: string;
32
+ startTime: string;
33
+ endTime: string;
34
+
35
+ hotels: BookingPackageHotel[];
36
+
37
+ allotmentTourCode: string;
38
+ allotmentName: string;
39
+ customAllotmentStatus: string;
40
+ allotmentTagIds: number[];
41
+
42
+ availabilities: BookingPackageAvailability[];
43
+ rooms: BookingPackageRoom[];
44
+ groups: BookingOptionGroup<PerBookingPackageOption>[];
45
+ optionUnits: BookingOptionUnit[];
46
+ optionPax: BookingOptionPax[];
47
+ }
@@ -1,49 +1,10 @@
1
- import { BookingOptionGroup } from "./booking-option-group";
2
- import { BookingOptionPax } from "./booking-option-pax";
3
- import { BookingOptionUnit } from "./booking-option-unit";
4
- import { BookingPackageAvailability } from "./booking-package-availability";
5
1
  import { BookingPackageFlight } from "./booking-package-flight";
6
- import { BookingPackageHotel } from "./booking-package-hotel";
7
- import { BookingPackageRequestRoom } from "./booking-package-request-room";
8
- import { BookingPackageRoom } from "./booking-package-room";
9
- import { PerBookingPackageOption } from "./per-booking-package-option";
2
+ import { BookingPackageOption } from "./booking-package-option";
10
3
 
11
4
  export interface BookingPackage {
12
- catalogueId: number;
13
- code: string;
14
- name: string;
15
- price: number;
16
- serviceType: number;
17
- tagIds: number[];
18
- includedServiceTypes: number[];
19
-
20
- countryName: string;
21
- regionName: string;
22
- oordName: string;
23
- locationName: string;
24
-
25
- unitCount: number;
26
- requestRooms: BookingPackageRequestRoom[];
27
-
28
- fromDate: string;
29
- toDate: string;
30
- startTime: string;
31
- endTime: string;
32
-
33
5
  outwardFlights: BookingPackageFlight[];
34
6
  returnFlights: BookingPackageFlight[];
35
- hotels: BookingPackageHotel[];
36
-
37
- allotmentTourCode: string;
38
- allotmentName: string;
39
- customAllotmentStatus: string;
40
- allotmentTagIds: number[];
41
-
42
- availabilities: BookingPackageAvailability[];
43
- rooms: BookingPackageRoom[];
44
- groups: BookingOptionGroup<PerBookingPackageOption>[];
45
- optionUnits: BookingOptionUnit[];
46
- optionPax: BookingOptionPax[];
7
+ options: BookingPackageOption[];
47
8
 
48
9
  transactionId: string;
49
10
  transactionExpiration: string;