@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.
- package/build/index.js +8 -7
- package/build/index.js.map +1 -1
- package/build/types/booking-v2/request/flight-lines-request.d.ts +3 -0
- package/build/types/booking-v2/request/index.d.ts +1 -0
- package/build/types/booking-v2/response/flight-lines-by-allotment.d.ts +11 -0
- package/build/types/booking-v2/response/index.d.ts +1 -0
- package/build/utils/booking-v2-client.d.ts +7 -0
- package/build/utils/web-client.d.ts +0 -5
- package/package.json +1 -1
|
@@ -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
|
+
}
|
|
@@ -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]>;
|