@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.
@@ -17,3 +17,4 @@ export * from "./selected-hotel";
17
17
  export * from "./tour-codes.request";
18
18
  export * from "./transport-dates-request";
19
19
  export * from "./flight-lines-request";
20
+ export * from "./packaging/packaging-accommodation-request";
@@ -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
+ }
@@ -29,3 +29,4 @@ export * from "./tour-codes-response";
29
29
  export * from "./transport-dates-response";
30
30
  export * from "./booking-package-entryline-flight-meta-data";
31
31
  export * from "./flight-lines-by-allotment";
32
+ export * from "./packaging/packaging-accommodation-response";
@@ -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
+ }
@@ -9,5 +9,6 @@ export interface AgentDossierFlightMetaDataLine {
9
9
  departureAirport: string;
10
10
  arrivalAirport: string;
11
11
  travelClass: string;
12
+ durationInTicks?: number;
12
13
  ticketNumbers: TicketNumber[];
13
14
  }
@@ -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[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qite/tide-client",
3
- "version": "1.1.147",
3
+ "version": "1.1.149",
4
4
  "description": "Frontend client for Tide",
5
5
  "main": "build/index.js",
6
6
  "scripts": {