@qite/tide-client 1.1.157 → 1.1.158

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.
@@ -26,3 +26,4 @@ export * from "./per-package-option";
26
26
  export * from "./per-pax-package-option";
27
27
  export * from "./per-unit-package-option";
28
28
  export * from "./room-option-pax-type";
29
+ export * from "./itinerary";
@@ -0,0 +1,37 @@
1
+ export interface ClientPortalItinerary {
2
+ title: string;
3
+ styleSheetBody: string;
4
+ nodes: ClientPortalItineraryNode[];
5
+ defaultItems: ClientPortalItineraryItem[];
6
+ }
7
+ export interface ClientPortalItineraryNode {
8
+ title: string;
9
+ startDay: number;
10
+ endDay: number;
11
+ startDate: Date | null;
12
+ endDate: Date | null;
13
+ items: ClientPortalItineraryItem[];
14
+ }
15
+ export interface ClientPortalItineraryItem {
16
+ title: string;
17
+ icon: string;
18
+ contents: string;
19
+ templateName: string;
20
+ latitude: number | null;
21
+ longitude: number | null;
22
+ images: ClientPortalItineraryImage[];
23
+ fields: ClientPortalItineraryField[];
24
+ productDuration?: number;
25
+ isVirtual?: boolean;
26
+ }
27
+ export interface ClientPortalItineraryField {
28
+ fieldName: string;
29
+ groupName: string;
30
+ value: string;
31
+ }
32
+ export interface ClientPortalItineraryImage {
33
+ url: string;
34
+ name: string;
35
+ title: string;
36
+ altText: string | null;
37
+ }
@@ -5,6 +5,7 @@ import {
5
5
  PackagingAccommodationResponse,
6
6
  PackagingEntry,
7
7
  BookingPriceDetails,
8
+ ClientPortalItinerary,
8
9
  } from "../types";
9
10
  export declare const startTransaction: (
10
11
  config: TideClientConfig,
@@ -25,3 +26,8 @@ export declare const getPriceDetails: (
25
26
  request: PackagingEntry,
26
27
  signal?: AbortSignal | undefined
27
28
  ) => Promise<BookingPriceDetails>;
29
+ export declare const getItinerary: (
30
+ config: TideClientConfig,
31
+ request: PackagingEntry,
32
+ signal?: AbortSignal | undefined
33
+ ) => Promise<ClientPortalItinerary>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qite/tide-client",
3
- "version": "1.1.157",
3
+ "version": "1.1.158",
4
4
  "description": "Frontend client for Tide",
5
5
  "main": "build/index.js",
6
6
  "scripts": {