@qite/tide-client 2.0.21-preview.0 → 2.0.21
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.map +1 -1
- package/build/types/booking-v2/request/price-list-request.d.ts +3 -0
- package/build/types/booking-v2/response/packaging/packaging-entry.d.ts +8 -3
- package/build/types/booking-v2/shared/booking-package-hotel-option.d.ts +1 -0
- package/build/types/booking-v2/shared/booking-package-pax-custom-field.d.ts +0 -3
- package/build/types/booking-v2/shared/booking-package-pax.d.ts +0 -17
- package/build/types/booking-v2/shared/booking-package.d.ts +0 -5
- package/build/types/booking-v2/shared/index.d.ts +0 -1
- package/build/types/enums/custom-field-data-type.d.ts +0 -2
- package/build/types/web/website-configuration.d.ts +0 -1
- package/package.json +1 -1
- package/build/types/booking-v2/shared/booking-package-pax-field-config.d.ts +0 -9
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EntryStatus } from "../../../enums";
|
|
2
|
-
import { BookingPackagePax, BookingPackagePaxFieldConfig } from "../../shared";
|
|
3
2
|
export interface PackagingEntry {
|
|
4
3
|
language?: string;
|
|
5
4
|
transactionId: string;
|
|
@@ -10,7 +9,6 @@ export interface PackagingEntry {
|
|
|
10
9
|
depositAmount: number;
|
|
11
10
|
pax: PackagingEntryPax[];
|
|
12
11
|
rooms: PackagingEntryRoom[];
|
|
13
|
-
paxFields: BookingPackagePaxFieldConfig[];
|
|
14
12
|
lines: PackagingEntryLine[];
|
|
15
13
|
address: PackagingEntryAddress;
|
|
16
14
|
status: EntryStatus;
|
|
@@ -19,7 +17,14 @@ export interface PackagingEntry {
|
|
|
19
17
|
returnPaymentUrl?: boolean;
|
|
20
18
|
remarks?: string;
|
|
21
19
|
}
|
|
22
|
-
export interface PackagingEntryPax
|
|
20
|
+
export interface PackagingEntryPax {
|
|
21
|
+
id: number;
|
|
22
|
+
lastName: string;
|
|
23
|
+
firstName: string;
|
|
24
|
+
dateOfBirth?: string | null;
|
|
25
|
+
age?: number | null;
|
|
26
|
+
isMainBooker: boolean;
|
|
27
|
+
}
|
|
23
28
|
export interface PackagingEntryRoom {
|
|
24
29
|
id: number;
|
|
25
30
|
paxIds: number[];
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { BookingPackageAddress } from "../request/booking-package-address";
|
|
2
1
|
import { BookingPackageCustomField } from "./booking-package-custom-field";
|
|
3
2
|
export interface BookingPackagePax {
|
|
4
3
|
id: number;
|
|
@@ -8,7 +7,6 @@ export interface BookingPackagePax {
|
|
|
8
7
|
countryOfBirthId?: number;
|
|
9
8
|
firstName: string;
|
|
10
9
|
lastName: string;
|
|
11
|
-
nickname?: string;
|
|
12
10
|
salutationId?: number;
|
|
13
11
|
preferredLanguageId?: number;
|
|
14
12
|
gender?: number;
|
|
@@ -17,24 +15,9 @@ export interface BookingPackagePax {
|
|
|
17
15
|
email: string;
|
|
18
16
|
phone?: string;
|
|
19
17
|
mobilePhone?: string;
|
|
20
|
-
emergencyNumber?: string;
|
|
21
18
|
weight: number | null;
|
|
22
19
|
weightType: number;
|
|
23
20
|
height: number | null;
|
|
24
21
|
heightType: number;
|
|
25
|
-
birthplace?: string;
|
|
26
|
-
nationality?: string;
|
|
27
|
-
hasInsurance?: boolean;
|
|
28
|
-
insuranceName?: string;
|
|
29
|
-
info?: string;
|
|
30
|
-
passportNumber?: string;
|
|
31
|
-
passportIssueDate?: string;
|
|
32
|
-
passportIssuedLocation?: string;
|
|
33
|
-
passportExpiryDate?: string;
|
|
34
|
-
/**
|
|
35
|
-
* On the main booker, this is the booking's canonical address — the top-level
|
|
36
|
-
* `address`/`travellerAddressName` request fields are ignored for them, so don't set both.
|
|
37
|
-
*/
|
|
38
|
-
address?: BookingPackageAddress;
|
|
39
22
|
customFields: BookingPackageCustomField[];
|
|
40
23
|
}
|
|
@@ -2,18 +2,13 @@ import { BookingPackageFlightInfo } from "../response/booking-package-flight-inf
|
|
|
2
2
|
import { BookingPackageFlight } from "./booking-package-flight";
|
|
3
3
|
import { BookingPackageOption } from "./booking-package-option";
|
|
4
4
|
import { BookingPackagePaxCustomField } from "./booking-package-pax-custom-field";
|
|
5
|
-
import { BookingPackagePaxFieldConfig } from "./booking-package-pax-field-config";
|
|
6
5
|
import { BookingPackageTag } from "./booking-package-tag";
|
|
7
6
|
export interface BookingPackage {
|
|
8
7
|
outwardFlights: BookingPackageFlight[];
|
|
9
8
|
returnFlights: BookingPackageFlight[];
|
|
10
9
|
options: BookingPackageOption[];
|
|
11
10
|
tags: BookingPackageTag[];
|
|
12
|
-
/**
|
|
13
|
-
* @deprecated use `paxFields` instead — kept for backward compatibility
|
|
14
|
-
*/
|
|
15
11
|
paxCustomFields: BookingPackagePaxCustomField[];
|
|
16
|
-
paxFields: BookingPackagePaxFieldConfig[];
|
|
17
12
|
flightInfo: BookingPackageFlightInfo;
|
|
18
13
|
currencyCode: string;
|
|
19
14
|
transactionId: string;
|
|
@@ -18,7 +18,6 @@ export * from "./booking-package-hotel-room";
|
|
|
18
18
|
export * from "./booking-package-line";
|
|
19
19
|
export * from "./booking-package-option";
|
|
20
20
|
export * from "./booking-package-pax-custom-field";
|
|
21
|
-
export * from "./booking-package-pax-field-config";
|
|
22
21
|
export * from "./booking-package-pax";
|
|
23
22
|
export * from "./booking-package-request-room";
|
|
24
23
|
export * from "./booking-package-room";
|
|
@@ -13,7 +13,6 @@ export interface WebsiteConfiguration {
|
|
|
13
13
|
hideShowMoreResults: boolean;
|
|
14
14
|
loadDayActivitiesOnDemand: boolean;
|
|
15
15
|
showNonPreferredHotels: boolean;
|
|
16
|
-
allowBookedEntryChanges: boolean;
|
|
17
16
|
}
|
|
18
17
|
export interface WebsiteConfigurationSearchConfiguration {
|
|
19
18
|
id: number;
|
package/package.json
CHANGED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { CustomFieldDataType } from "../../enums/custom-field-data-type";
|
|
2
|
-
export interface BookingPackagePaxFieldConfig {
|
|
3
|
-
customFieldConfigurationId?: number | null;
|
|
4
|
-
fieldName: string;
|
|
5
|
-
dataType?: CustomFieldDataType | null;
|
|
6
|
-
isRequired: boolean;
|
|
7
|
-
col: number;
|
|
8
|
-
group: string;
|
|
9
|
-
}
|