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

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,5 +10,16 @@ export interface PackagingTransferRequest {
10
10
  date: string;
11
11
  pickUp: PackagingTrajectCoordinate;
12
12
  dropOff: PackagingTrajectCoordinate;
13
+ dropOffGeography?: PackagingTransferGeography | null;
13
14
  travellers: PackagingTraveller[];
14
15
  }
16
+ export interface PackagingTransferGeography {
17
+ countryId?: number | null;
18
+ countryName?: string | null;
19
+ regionId?: number | null;
20
+ regionName?: string | null;
21
+ oordId?: number | null;
22
+ oordName?: string | null;
23
+ locationId?: number | null;
24
+ locationName?: string | null;
25
+ }
@@ -3,6 +3,7 @@ export interface PackagingAccommodationResponse extends PackagingBaseResponse {
3
3
  rooms: PackageMainRoom[];
4
4
  contents: string;
5
5
  stars?: number;
6
+ isPlaceholder?: boolean;
6
7
  }
7
8
  export interface PackageMainRoom {
8
9
  options: PackageMainOption[];
@@ -13,6 +13,7 @@ export interface PackagingBaseResponse {
13
13
  oordName: string;
14
14
  locationId?: number | null;
15
15
  locationName: string;
16
+ city?: string | null;
16
17
  latitude?: number | null;
17
18
  longitude?: number | null;
18
19
  price: number;
@@ -1,6 +1,9 @@
1
1
  import { EntryStatus } from "../../../enums";
2
2
  import { BookingPackagePax, BookingPackagePaxFieldConfig } from "../../shared";
3
- import { PackagingTrajectNode } from "./packaging-traject-response";
3
+ import {
4
+ PackagingEntryRoute,
5
+ PackagingTrajectNode,
6
+ } from "./packaging-traject-response";
4
7
  export interface PackagingEntry {
5
8
  language?: string;
6
9
  transactionId: string;
@@ -18,6 +21,9 @@ export interface PackagingEntry {
18
21
  /** Optional traject stops the traveller took off the trip; book leaves them off the dossier's route. */
19
22
  removedTrajectNodeIds?: number[] | null;
20
23
  routeNodes?: PackagingTrajectNode[] | null;
24
+ route?: PackagingEntryRoute | null;
25
+ /** Connecting nodes of a booked dossier's route whose transport the traveller changed; save updates the route and leaves hops that need no line (walking, cycling) without one. */
26
+ routeNodeChanges?: PackagingRouteNodeChange[] | null;
21
27
  address: PackagingEntryAddress;
22
28
  status: EntryStatus;
23
29
  customStatusId?: number;
@@ -25,6 +31,11 @@ export interface PackagingEntry {
25
31
  returnPaymentUrl?: boolean;
26
32
  remarks?: string;
27
33
  }
34
+ export interface PackagingRouteNodeChange {
35
+ nodeId: number;
36
+ transportType: number;
37
+ serviceType: number;
38
+ }
28
39
  export interface PackagingEntryPax extends BookingPackagePax {}
29
40
  export interface PackagingEntryRoom {
30
41
  id: number;
@@ -43,6 +43,7 @@ export interface PackagingTrajectNode {
43
43
  trajectNodeType: number;
44
44
  requirementType: number;
45
45
  contentSource: number;
46
+ googlePlaceId?: string | null;
46
47
  vendor?: number | null;
47
48
  externalVendorId?: number | null;
48
49
  code?: string | null;
@@ -57,6 +58,8 @@ export interface PackagingTrajectNode {
57
58
  durationType: number;
58
59
  transportType?: number | null;
59
60
  moment?: string | null;
61
+ latitude?: number | null;
62
+ longitude?: number | null;
60
63
  /** A connecting node's first and last route point, between which its transfer is searched. */
61
64
  pickUp?: PackagingTrajectCoordinate | null;
62
65
  dropOff?: PackagingTrajectCoordinate | null;
@@ -68,6 +71,12 @@ export interface PackagingTrajectCoordinate {
68
71
  latitude: number;
69
72
  longitude: number;
70
73
  }
74
+ export interface PackagingEntryRoute {
75
+ name: string;
76
+ startDate: string;
77
+ days: PackagingTrajectDay[];
78
+ nodes: PackagingTrajectNode[];
79
+ }
71
80
  export interface PackagingTrajectAlternative {
72
81
  code: string;
73
82
  name: string;
@@ -77,6 +86,7 @@ export interface PackagingTrajectAlternative {
77
86
  longitude?: number | null;
78
87
  city?: string | null;
79
88
  contentSource: number;
89
+ googlePlaceId?: string | null;
80
90
  vendor?: number | null;
81
91
  externalVendorId?: number | null;
82
92
  isPreferred: boolean;
@@ -29,6 +29,8 @@ export interface WebsiteConfiguration {
29
29
  allowBookedEntryChanges: boolean;
30
30
  allowMultiCity: boolean;
31
31
  allowTrajectBuilder: boolean;
32
+ allowFullItinerary: boolean;
33
+ googleMapsApiKey: string | null;
32
34
  }
33
35
  export interface WebsiteConfigurationHotelTemplate {
34
36
  templateName: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qite/tide-client",
3
- "version": "2.0.21-preview.12",
3
+ "version": "2.0.21-preview.14",
4
4
  "description": "Frontend client for Tide",
5
5
  "main": "build/index.js",
6
6
  "scripts": {