@sabstravtech/obtservices 0.2.2412061530 → 0.2.2412201510
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/base/lib/vendor/classes/flight-enterprise-search.d.ts +3 -2
- package/base/lib/vendor/classes/hotel-enterprise-search.d.ts +2 -0
- package/base/lib/vendor/interfaces/Iflight-enterprise-search.d.ts +2 -1
- package/base/lib/vendor/interfaces/Ihotel-enterprise-search.d.ts +1 -0
- package/base/lib/vendor/services/search.service.d.ts +1 -1
- package/base/sabstravtech-obtservices-base.metadata.json +1 -1
- package/bundles/sabstravtech-obtservices-base.umd.js +139 -31
- package/bundles/sabstravtech-obtservices-base.umd.js.map +1 -1
- package/esm2015/base/lib/vendor/classes/flight-enterprise-search.js +78 -28
- package/esm2015/base/lib/vendor/classes/hotel-enterprise-search.js +33 -1
- package/esm2015/base/lib/vendor/interfaces/Iflight-enterprise-search.js +1 -1
- package/esm2015/base/lib/vendor/interfaces/Ihotel-enterprise-search.js +1 -1
- package/esm2015/base/lib/vendor/services/enterprise-basket.service.js +21 -2
- package/esm2015/base/lib/vendor/services/search.service.js +3 -3
- package/fesm2015/sabstravtech-obtservices-base.js +130 -29
- package/fesm2015/sabstravtech-obtservices-base.js.map +1 -1
- package/package.json +1 -1
|
@@ -277,6 +277,7 @@ export declare class FlightEnterpriseSearch<FQ_Q extends FlightQuoteFetcherType,
|
|
|
277
277
|
gmtSearch(query: SearchFlightsV2QueryVariables): Observable<FlightAllQuoteResult>;
|
|
278
278
|
getRecentSearchQuery(query: IFlightSearchArgs): SaveRecentSearchMutationVariables;
|
|
279
279
|
startRecentSearch(recentSearch: RecentSearch): Promise<void>;
|
|
280
|
+
setHotelParams(startSearches?: boolean): void;
|
|
280
281
|
updateMultiDestination(fav: any): Promise<void>;
|
|
281
282
|
private makeDepartureTimeWindow;
|
|
282
283
|
private makeArrivalTimeWindow;
|
|
@@ -291,7 +292,7 @@ export declare class FlightEnterpriseSearch<FQ_Q extends FlightQuoteFetcherType,
|
|
|
291
292
|
private getUpdatedCabinClass;
|
|
292
293
|
updateFromPreviousSearches(_previousItems: Record<ServiceType, BasketItem>): void;
|
|
293
294
|
updateSearchFromExpiredBasketItem(basketItem: BasketItem): void;
|
|
294
|
-
getTotalBaggage(fare: FlightItinerary): number;
|
|
295
|
+
getTotalBaggage(fare: FlightItinerary, isOutbound?: boolean): number;
|
|
295
296
|
getHandBaggage(fare: FlightItinerary): number;
|
|
296
297
|
getBaggageAllowance(fare: FlightItinerary): {
|
|
297
298
|
type: string;
|
|
@@ -312,7 +313,7 @@ export declare class FlightEnterpriseSearch<FQ_Q extends FlightQuoteFetcherType,
|
|
|
312
313
|
checkForSeatMap(flight: FlightItineraryWithExtensions, intBasket: InternalBasketInterface, dualInbound: boolean, gmt?: boolean): Promise<boolean>;
|
|
313
314
|
dualSingleSeatCheck(flight: FlightItineraryWithExtensions, intBasket: InternalBasketInterface, dualInbound: boolean): Promise<boolean>;
|
|
314
315
|
checkSeatmapExtrasEnabled(selectedFlight: FlightItineraryWithExtensions): boolean;
|
|
315
|
-
applyExtraDetailsToFlights(flights: FlightJourney[], detailExtras: DetailExtras): FlightJourney[];
|
|
316
|
+
applyExtraDetailsToFlights(flights: FlightJourney[], detailExtras: DetailExtras, isTFX?: boolean): FlightJourney[];
|
|
316
317
|
private _updateTravelPolicies;
|
|
317
318
|
private bookSingleFlight;
|
|
318
319
|
createSchemaDetails(flight: FlightItineraryWithExtensions, journeyType: string): any;
|
|
@@ -238,4 +238,6 @@ export declare class HotelEnterpriseSearch<HQ_Q extends HotelQuoteFetcherType, H
|
|
|
238
238
|
private checkAndUpdateFilter;
|
|
239
239
|
processRoomFiltersToDisplay(hotel: HotelDetails): void;
|
|
240
240
|
get fetching(): boolean;
|
|
241
|
+
checkForHotelReminder(hotelsearchRequested?: boolean): boolean;
|
|
242
|
+
checkDiffBetweenDates(outBoundDate: moment.Moment, inboundDate: moment.Moment, type: ServiceType, chosenSearchType?: string): boolean;
|
|
241
243
|
}
|
|
@@ -129,7 +129,7 @@ export interface FlightEnterpriseSearchInterface extends BaseEnterpriseSearch<Fl
|
|
|
129
129
|
getSearchQuery(): SearchFlightsV2QueryVariables;
|
|
130
130
|
updateFromPreviousSearches(previousItems: Record<ServiceType, BasketItem>): void;
|
|
131
131
|
updateSearchFromExpiredBasketItem(basketItem: BasketItem): void;
|
|
132
|
-
getTotalBaggage(result: FlightItinerary): number;
|
|
132
|
+
getTotalBaggage(result: FlightItinerary, isOutbound?: boolean): number;
|
|
133
133
|
getHandBaggage(result: FlightItinerary): number;
|
|
134
134
|
getFareRules(journeyHash: string): any;
|
|
135
135
|
addRulesToFlightItineraryWithExtensions(item: FlightItineraryWithExtensions, rules: RuleActionSummaryInterface): FlightItineraryWithExtensions;
|
|
@@ -163,4 +163,5 @@ export interface FlightEnterpriseSearchInterface extends BaseEnterpriseSearch<Fl
|
|
|
163
163
|
repriceFlight(flight: FlightItineraryWithExtensions): Promise<FlightItineraryWithExtensions>;
|
|
164
164
|
updateFlightSeatMap(user: string, flightId: string, flightHash: string, seats: any): Observable<BasketDetails>;
|
|
165
165
|
showMixedCabin(flights: FlightJourney[]): boolean;
|
|
166
|
+
setHotelParams(): void;
|
|
166
167
|
}
|
|
@@ -427,7 +427,7 @@ export declare class BaseEnterpriseSearchService<SP_Q extends SearchPostcodesQuo
|
|
|
427
427
|
getFlightFareRules(flight: FlightJourney, sourceId: number): Observable<GetFlightFareRulesResultArray>;
|
|
428
428
|
getFlightBrandedFares(outboundFlights: graphqlTypes.InputFlightJourney[], inboundFlights: graphqlTypes.InputFlightJourney[], specificFareInfo: graphqlTypes.InputSpecificFareInfo[], serviceId: number): Observable<GetFlightBrandedFaresResultArray>;
|
|
429
429
|
getRailLiveDepartures(station: string, dateTime?: string): Observable<SearchRailLiveDeparturesResult>;
|
|
430
|
-
getFlightSeatMap(flights: graphqlTypes.InputFlightJourney[], supplier: string, loyaltyCode?: string, userId?: string, isGuest?: boolean,
|
|
430
|
+
getFlightSeatMap(flights: graphqlTypes.InputFlightJourney[], supplier: string, loyaltyCode?: string, userId?: string, isGuest?: boolean, dob?: string): Observable<FlightSeatMapResult>;
|
|
431
431
|
saveFavouriteSearch(search: graphqlTypes.SaveFavouriteSearchMutationVariables): Observable<SaveFavouriteSearchResult>;
|
|
432
432
|
getConfermaRoomImages(hotelId: string): Observable<string[]>;
|
|
433
433
|
emailBasket(id: string, emails?: string[]): Observable<graphqlTypes.Basket>;
|