@qite/tide-client 1.0.82 → 1.0.84
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/index.js +1 -0
- package/build/index.js.map +1 -1
- package/build/types/offer/booking-v2/request/booking-package-book-request.d.ts +2 -0
- package/build/types/offer/booking-v2/response/booking-package-item.d.ts +2 -0
- package/build/types/offer/booking-v2/response/booking-product-notification.d.ts +1 -0
- package/build/types/offer/booking-v2/shared/booking-package-option.d.ts +39 -0
- package/build/types/offer/booking-v2/shared/booking-package.d.ts +2 -35
- package/package.json +1 -1
- package/src/types/offer/booking-v2/request/booking-package-book-request.ts +2 -0
- package/src/types/offer/booking-v2/response/booking-package-item.ts +2 -0
- package/src/types/offer/booking-v2/response/booking-product-notification.ts +1 -0
- package/src/types/offer/booking-v2/shared/booking-package-option.ts +47 -0
- package/src/types/offer/booking-v2/shared/booking-package.ts +2 -41
- package/src/utils/api.ts +1 -0
|
@@ -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
|
}
|
|
@@ -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 {
|
|
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
|
-
|
|
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,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
|
}
|
|
@@ -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 {
|
|
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
|
-
|
|
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;
|