@qite/tide-client 1.1.154 → 1.1.156

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.
@@ -1,4 +1,5 @@
1
1
  export interface PackagingAccommodationRequest {
2
+ transactionId: string;
2
3
  agentId?: number | null;
3
4
  officeId: number;
4
5
  catalogueId: number;
@@ -31,3 +31,4 @@ export * from "./booking-package-entryline-flight-meta-data";
31
31
  export * from "./flight-lines-by-allotment";
32
32
  export * from "./packaging/packaging-accommodation-response";
33
33
  export * from "./packaging/packaging-entry";
34
+ export * from "./packaging/packaging-transaction";
@@ -1,5 +1,8 @@
1
1
  import { EntryStatus } from "../../../enums";
2
2
  export interface PackagingEntry {
3
+ language: string;
4
+ transactionId: string;
5
+ magicLink?: string;
3
6
  dossierNumber: string;
4
7
  status: EntryStatus;
5
8
  bookingDate?: string | null;
@@ -37,6 +40,7 @@ export interface PackagingEntryLine {
37
40
  latitude?: number | null;
38
41
  pax: PackagingEntryLinePax[];
39
42
  flightInformation?: PackagingEntryLineFlightInformation | null;
43
+ isChanged: boolean;
40
44
  }
41
45
  export interface PackagingEntryLinePax {
42
46
  paxId: number;
@@ -0,0 +1,4 @@
1
+ export interface PackagingTransaction {
2
+ transactionId: string;
3
+ transactionExpiration: string;
4
+ }
@@ -1,9 +1,15 @@
1
1
  import { TideClientConfig } from "..";
2
2
  import {
3
+ PackagingTransaction,
3
4
  PackagingAccommodationRequest,
4
5
  PackagingAccommodationResponse,
5
6
  PackagingEntry,
7
+ BookingPriceDetails,
6
8
  } from "../types";
9
+ export declare const startTransaction: (
10
+ config: TideClientConfig,
11
+ signal?: AbortSignal | undefined
12
+ ) => Promise<PackagingTransaction>;
7
13
  export declare const searchPackagingAccommodations: (
8
14
  config: TideClientConfig,
9
15
  request: PackagingAccommodationRequest,
@@ -14,3 +20,8 @@ export declare const getEntry: (
14
20
  magicLinkCode: string,
15
21
  signal?: AbortSignal | undefined
16
22
  ) => Promise<PackagingEntry>;
23
+ export declare const getPriceDetails: (
24
+ config: TideClientConfig,
25
+ request: PackagingEntry,
26
+ signal?: AbortSignal | undefined
27
+ ) => Promise<BookingPriceDetails[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qite/tide-client",
3
- "version": "1.1.154",
3
+ "version": "1.1.156",
4
4
  "description": "Frontend client for Tide",
5
5
  "main": "build/index.js",
6
6
  "scripts": {