@qite/tide-client 1.1.114 → 1.1.116

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.
@@ -0,0 +1,3 @@
1
+ export interface FlightLinesRequest {
2
+ allotmentIds: number[];
3
+ }
@@ -16,3 +16,4 @@ export * from "./selected-flight";
16
16
  export * from "./selected-hotel";
17
17
  export * from "./tour-codes.request";
18
18
  export * from "./transport-dates-request";
19
+ export * from "./flight-lines-request";
@@ -0,0 +1,11 @@
1
+ export interface FlightLinesByAllotment {
2
+ [allotmentId: number]: FlightLine[];
3
+ }
4
+ export interface FlightLine {
5
+ departureDate: string;
6
+ departureTime: string;
7
+ departureAirport: string;
8
+ arrivalDate: string;
9
+ arrivalTime: string;
10
+ arrivalAirport: string;
11
+ }
@@ -28,3 +28,4 @@ export * from "./tide-response";
28
28
  export * from "./tour-codes-response";
29
29
  export * from "./transport-dates-response";
30
30
  export * from "./booking-package-entryline-flight-meta-data";
31
+ export * from "./flight-lines-by-allotment";
@@ -25,6 +25,8 @@ import {
25
25
  BookingVoucherResult,
26
26
  ElasticResult,
27
27
  EntryStatus,
28
+ FlightLinesByAllotment,
29
+ FlightLinesRequest,
28
30
  PricesRequest,
29
31
  TideResponse,
30
32
  TourCodesRequest,
@@ -143,3 +145,8 @@ export declare const setEntryStatus: (
143
145
  entryStatus: EntryStatus,
144
146
  signal?: AbortSignal | undefined
145
147
  ) => Promise<BookingPackageAvailability[]>;
148
+ export declare const flightLines: (
149
+ config: TideClientConfig,
150
+ request: FlightLinesRequest,
151
+ signal?: AbortSignal | undefined
152
+ ) => Promise<FlightLinesByAllotment>;
@@ -5,7 +5,6 @@ import {
5
5
  GenerateBookingAccommodationRequest,
6
6
  TideClientConfig,
7
7
  } from "../types";
8
- import { Tag } from "../types/web/tag";
9
8
  /**
10
9
  * api/web/crmcontact
11
10
  * Creates a CRM contact.
@@ -57,7 +56,3 @@ export declare const generateBookingAccommodations: (
57
56
  ) => Promise<{
58
57
  [key: string]: string;
59
58
  }>;
60
- export declare const getTags: (
61
- config: TideClientConfig,
62
- signal?: AbortSignal | undefined
63
- ) => Promise<[Tag]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qite/tide-client",
3
- "version": "1.1.114",
3
+ "version": "1.1.116",
4
4
  "description": "Frontend client for Tide",
5
5
  "main": "build/index.js",
6
6
  "scripts": {