@qite/tide-client 2.0.21-preview.10 → 2.0.21-preview.12

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.
@@ -35,3 +35,4 @@ export * from "./packaging/packaging-flight-response";
35
35
  export * from "./packaging/packaging-entry";
36
36
  export * from "./packaging/packaging-transaction";
37
37
  export * from "./packaging/packaging-traject-response";
38
+ export * from "./packaging/packaging-traject-item";
@@ -0,0 +1,7 @@
1
+ export interface PackagingTrajectItem {
2
+ id: number;
3
+ name: string;
4
+ imageUrl?: string | null;
5
+ durationInDays: number;
6
+ destinations: string[];
7
+ }
@@ -27,6 +27,7 @@ export interface PackagingTrajectDay {
27
27
  /** Zero-based, as stored on the traject: day 0 is the departure day. */
28
28
  order: number;
29
29
  name: string;
30
+ color?: string | null;
30
31
  date: string;
31
32
  }
32
33
  export interface PackagingTrajectNode {
@@ -3,4 +3,6 @@ export interface AirportItem {
3
3
  name: string;
4
4
  iata: string;
5
5
  locationName: string;
6
+ latitude?: number | null;
7
+ longitude?: number | null;
6
8
  }
@@ -10,6 +10,7 @@ export interface WebsiteConfiguration {
10
10
  catalogueId: number | null;
11
11
  agentPortalId: number | null;
12
12
  dateFormat: string | null;
13
+ generatePaymentUrl: boolean;
13
14
  countryImageTemplateFieldName: string;
14
15
  regionImageTemplateFieldName: string;
15
16
  oordImageTemplateFieldName: string;
@@ -27,6 +28,7 @@ export interface WebsiteConfiguration {
27
28
  showNonPreferredHotels: boolean;
28
29
  allowBookedEntryChanges: boolean;
29
30
  allowMultiCity: boolean;
31
+ allowTrajectBuilder: boolean;
30
32
  }
31
33
  export interface WebsiteConfigurationHotelTemplate {
32
34
  templateName: string;
@@ -9,6 +9,7 @@ import {
9
9
  FlightSearchRequest,
10
10
  PackagingFlightResponse,
11
11
  BookingPackageDossier,
12
+ PackagingTrajectItem,
12
13
  PackagingTrajectRequest,
13
14
  PackagingTrajectResponse,
14
15
  PackagingTransferRequest,
@@ -52,6 +53,10 @@ export declare const savePackagingEntry: (
52
53
  request: PackagingRequestBase<PackagingEntry>,
53
54
  signal?: AbortSignal | undefined
54
55
  ) => Promise<PackagingEntry>;
56
+ export declare const getTrajects: (
57
+ config: TideClientConfig,
58
+ signal?: AbortSignal | undefined
59
+ ) => Promise<PackagingTrajectItem[]>;
55
60
  export declare const getTrajectEntry: (
56
61
  config: TideClientConfig,
57
62
  request: PackagingTrajectRequest,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qite/tide-client",
3
- "version": "2.0.21-preview.10",
3
+ "version": "2.0.21-preview.12",
4
4
  "description": "Frontend client for Tide",
5
5
  "main": "build/index.js",
6
6
  "scripts": {