@qite/tide-client 2.0.21-preview.0 → 2.0.21-preview.2

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.
@@ -23,4 +23,8 @@ export interface BookingPackageBookRequest {
23
23
  pax: BookingPackagePax[];
24
24
  nonTravelPax: BookingPackagePax[];
25
25
  notifications: BookingProductNotification[];
26
+ subFormSubmissions?: {
27
+ entryLineGuid: string;
28
+ data: object;
29
+ }[];
26
30
  }
@@ -21,7 +21,7 @@ export interface BookingPackageDetailsRequest {
21
21
  expectedPrice?: number | null;
22
22
  routeId?: string;
23
23
  vendorConfigurationId?: number | null;
24
- searchConfigurationId?: number | null;
24
+ searchConfigurationId: number;
25
25
  hotel?: SelectedHotel;
26
26
  outwardFlight?: SelectedFlight;
27
27
  returnFlight?: SelectedFlight;
@@ -5,6 +5,7 @@ export interface BookingPackageSearchRequest {
5
5
  rooms: BookingPackageRequestRoom[];
6
6
  serviceType?: number;
7
7
  searchType?: number;
8
+ searchConfigurationId: number;
8
9
  destination?: BookingPackageDestination;
9
10
  productIds?: number[];
10
11
  productCodes?: string[];
@@ -40,6 +40,8 @@ export interface PackagingEntryLine {
40
40
  regimeCode?: string | null;
41
41
  vendor?: number | null;
42
42
  externalVendorId?: number | null;
43
+ groupKey: string;
44
+ isActive: boolean;
43
45
  country?: IdName | null;
44
46
  region?: IdName | null;
45
47
  oord?: IdName | null;
@@ -1,3 +1,4 @@
1
+ import { TideWebForm } from "../../web/web-form";
1
2
  import { BookingPackageFlightMetaData } from "./booking-package-flight-meta-data";
2
3
  export interface BookingPackageLine {
3
4
  entryLineGuid: string;
@@ -14,4 +15,6 @@ export interface BookingPackageLine {
14
15
  quantity: number;
15
16
  allotmentTourCode?: string;
16
17
  flightProperties?: BookingPackageFlightMetaData;
18
+ subFormId?: number;
19
+ subForm?: TideWebForm;
17
20
  }
@@ -1,3 +1,4 @@
1
+ import { TideWebForm } from "../../web/web-form";
1
2
  import { RoomOptionPaxType } from "./room-option-pax-type";
2
3
  export interface BookingPackageRoomOption {
3
4
  entryLineGuid: string;
@@ -19,4 +20,6 @@ export interface BookingPackageRoomOption {
19
20
  isOnRequest: boolean;
20
21
  paxTypes: RoomOptionPaxType;
21
22
  remarks: string;
23
+ subFormId?: number;
24
+ subForm?: TideWebForm;
22
25
  }
@@ -37,6 +37,11 @@ export declare const getEntry: (
37
37
  magicLinkCode: string,
38
38
  signal?: AbortSignal | undefined
39
39
  ) => Promise<PackagingEntry>;
40
+ export declare const savePackagingEntry: (
41
+ config: TideClientConfig,
42
+ request: PackagingRequestBase<PackagingEntry>,
43
+ signal?: AbortSignal | undefined
44
+ ) => Promise<PackagingEntry>;
40
45
  export declare const getTrajectEntry: (
41
46
  config: TideClientConfig,
42
47
  request: PackagingTrajectRequest,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qite/tide-client",
3
- "version": "2.0.21-preview.0",
3
+ "version": "2.0.21-preview.2",
4
4
  "description": "Frontend client for Tide",
5
5
  "main": "build/index.js",
6
6
  "scripts": {