@qite/tide-client 1.1.147 → 1.1.149
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.d.ts +1 -0
- package/build/index.js +76 -65
- package/build/index.js.map +1 -1
- package/build/types/booking-v2/request/index.d.ts +1 -0
- package/build/types/booking-v2/request/packaging/packaging-accommodation-request.d.ts +34 -0
- package/build/types/booking-v2/response/index.d.ts +1 -0
- package/build/types/booking-v2/response/packaging/packaging-accommodation-response.d.ts +38 -0
- package/build/types/web/agent-dossier-flight-meta-data-line.d.ts +1 -0
- package/build/utils/packaging-client.d.ts +10 -0
- package/package.json +1 -1
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export interface PackagingAccommodationRequest {
|
|
2
|
+
agentId?: number | null;
|
|
3
|
+
officeId: number;
|
|
4
|
+
catalogueId: number;
|
|
5
|
+
searchConfigurationId: number;
|
|
6
|
+
vendorConfigurationId?: number | null;
|
|
7
|
+
language: string;
|
|
8
|
+
serviceType?: number | null;
|
|
9
|
+
fromDate: string;
|
|
10
|
+
toDate: string;
|
|
11
|
+
productCode: string;
|
|
12
|
+
destination: PackagingDestination;
|
|
13
|
+
rooms: PackagingRoom[];
|
|
14
|
+
tagIds: number[];
|
|
15
|
+
}
|
|
16
|
+
export interface PackagingRoom {
|
|
17
|
+
travellers: PackagingTraveller[];
|
|
18
|
+
}
|
|
19
|
+
export interface PackagingTraveller {
|
|
20
|
+
id: number;
|
|
21
|
+
age?: number | null;
|
|
22
|
+
dateOfBirth?: string | null;
|
|
23
|
+
}
|
|
24
|
+
export interface PackagingDestination {
|
|
25
|
+
id: number;
|
|
26
|
+
code: string;
|
|
27
|
+
isCountry: boolean;
|
|
28
|
+
isRegion: boolean;
|
|
29
|
+
isOord: boolean;
|
|
30
|
+
isLocation: boolean;
|
|
31
|
+
isAirport: boolean;
|
|
32
|
+
latitude?: number | null;
|
|
33
|
+
longitude?: number | null;
|
|
34
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export interface PackagingAccommodationResponse {
|
|
2
|
+
code: string;
|
|
3
|
+
name: string;
|
|
4
|
+
serviceType: number;
|
|
5
|
+
vendorType?: number | null;
|
|
6
|
+
countryId?: number | null;
|
|
7
|
+
countryName: string;
|
|
8
|
+
regionId?: number | null;
|
|
9
|
+
regionName: string;
|
|
10
|
+
oordId?: number | null;
|
|
11
|
+
oordName: string;
|
|
12
|
+
locationId?: number | null;
|
|
13
|
+
locationName: string;
|
|
14
|
+
latitude?: number | null;
|
|
15
|
+
longitude?: number | null;
|
|
16
|
+
price: number;
|
|
17
|
+
averagePricePerPerson: number;
|
|
18
|
+
originalPrice: number;
|
|
19
|
+
originalAveragePricePerPerson: number;
|
|
20
|
+
currencyCode: string;
|
|
21
|
+
fromDate: string;
|
|
22
|
+
toDate: string;
|
|
23
|
+
rooms: PackageMainRoom[];
|
|
24
|
+
contents: string;
|
|
25
|
+
}
|
|
26
|
+
export interface PackageMainRoom {
|
|
27
|
+
options: PackageMainOption[];
|
|
28
|
+
}
|
|
29
|
+
export interface PackageMainOption {
|
|
30
|
+
price: number;
|
|
31
|
+
originalPrice: number;
|
|
32
|
+
accommodationCode: string;
|
|
33
|
+
accommodationName: string;
|
|
34
|
+
regimeCode: string;
|
|
35
|
+
regimeName: string;
|
|
36
|
+
isSelected: boolean;
|
|
37
|
+
guid: string;
|
|
38
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TideClientConfig } from "..";
|
|
2
|
+
import {
|
|
3
|
+
PackagingAccommodationRequest,
|
|
4
|
+
PackagingAccommodationResponse,
|
|
5
|
+
} from "../types";
|
|
6
|
+
export declare const searchPackagingAccommodations: (
|
|
7
|
+
config: TideClientConfig,
|
|
8
|
+
request: PackagingAccommodationRequest,
|
|
9
|
+
signal?: AbortSignal | undefined
|
|
10
|
+
) => Promise<PackagingAccommodationResponse[]>;
|