@qite/tide-client 2.0.21-preview.16 → 2.0.21-preview.18

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.
@@ -10,4 +10,5 @@ export interface PackagingTrajectRequest {
10
10
  agentId?: number | null;
11
11
  searchConfigurationId: number;
12
12
  portalId?: number | null;
13
+ style?: string | null;
13
14
  }
@@ -11,6 +11,8 @@ export interface PackagingTransferRequest {
11
11
  pickUp: PackagingTrajectCoordinate;
12
12
  dropOff: PackagingTrajectCoordinate;
13
13
  dropOffGeography?: PackagingTransferGeography | null;
14
+ /** The connecting node's own transport product (PackagingTrajectNode.productId): tried before any transfer API. */
15
+ productId?: number | null;
14
16
  travellers: PackagingTraveller[];
15
17
  }
16
18
  export interface PackagingTransferGeography {
@@ -18,6 +18,7 @@ export interface PackagingEntry {
18
18
  lines: PackagingEntryLine[];
19
19
  trajectId?: number | null;
20
20
  trajectStartDate?: string | null;
21
+ trajectStyle?: string | null;
21
22
  /** Optional traject stops the traveller took off the trip; book leaves them off the dossier's route. */
22
23
  removedTrajectNodeIds?: number[] | null;
23
24
  routeNodes?: PackagingTrajectNode[] | null;
@@ -4,4 +4,5 @@ export interface PackagingTrajectItem {
4
4
  imageUrl?: string | null;
5
5
  durationInDays: number;
6
6
  destinations: string[];
7
+ styles?: string[];
7
8
  }
@@ -21,6 +21,7 @@ export interface PackagingTrajectInfo {
21
21
  endDate: string;
22
22
  durationInDays: number;
23
23
  includeGroupHotelAlternatives: boolean;
24
+ style?: string | null;
24
25
  days: PackagingTrajectDay[];
25
26
  }
26
27
  export interface PackagingTrajectDay {
@@ -63,6 +64,9 @@ export interface PackagingTrajectNode {
63
64
  /** A connecting node's first and last route point, between which its transfer is searched. */
64
65
  pickUp?: PackagingTrajectCoordinate | null;
65
66
  dropOff?: PackagingTrajectCoordinate | null;
67
+ /** The Tide transport product linked to a connecting node: asked for first (PackagingTransferRequest.productId), before the transfer search. */
68
+ productId?: number | null;
69
+ productName?: string | null;
66
70
  from: string;
67
71
  to: string;
68
72
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qite/tide-client",
3
- "version": "2.0.21-preview.16",
3
+ "version": "2.0.21-preview.18",
4
4
  "description": "Frontend client for Tide",
5
5
  "main": "build/index.js",
6
6
  "scripts": {