From 40a9b4e3b34a327d0a26bbef9da19601ba285463 Mon Sep 17 00:00:00 2001 From: greg-cumming-le <99221748+greg-cumming-le@users.noreply.github.com> Date: Tue, 12 Nov 2024 12:10:25 +1300 Subject: [PATCH 1/3] add img + remove old params --- src/affiliate.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/affiliate.ts b/src/affiliate.ts index fb18590..2553020 100644 --- a/src/affiliate.ts +++ b/src/affiliate.ts @@ -1,2 +1,4 @@ export const site_index = - "/{?region,name,placeId,occupancy,overrideHost,checkIn,checkOut,dd}"; + "/{?region,name,placeId,occupancy,checkIn,checkOut}"; + +export const site_img = "/img/{imageId}/{imgOpts}"; From 94aa7b14e5132da16e9ea8329de8ce1e04c5a178 Mon Sep 17 00:00:00 2001 From: greg-cumming-le <99221748+greg-cumming-le@users.noreply.github.com> Date: Tue, 12 Nov 2024 12:10:32 +1300 Subject: [PATCH 2/3] remove old params --- src/affiliate.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/affiliate.ts b/src/affiliate.ts index 2553020..f16f2bb 100644 --- a/src/affiliate.ts +++ b/src/affiliate.ts @@ -1,4 +1,3 @@ -export const site_index = - "/{?region,name,placeId,occupancy,checkIn,checkOut}"; +export const site_index = "/{?region,name,placeId,occupancy,checkIn,checkOut}"; export const site_img = "/img/{imageId}/{imgOpts}"; From e3b8aef41dc7892dc4d5225bd56b28a74211a658 Mon Sep 17 00:00:00 2001 From: greg-cumming-le <99221748+greg-cumming-le@users.noreply.github.com> Date: Tue, 12 Nov 2024 12:21:18 +1300 Subject: [PATCH 3/3] add to search tempalte --- src/search.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.ts b/src/search.ts index 8a3351f..46409ab 100644 --- a/src/search.ts +++ b/src/search.ts @@ -8,4 +8,4 @@ export const search_top_selling_places = "/api/search/hotel/v1/places/top-selling{?region,brand,country,state,limit}"; export const list = - "/api/search/hotel/v1/list{?offerType,searchType,placeIds,distanceEq,region,occupancy,hasPromotions,showUnavailableResult,brand}"; + "/api/search/hotel/v1/list{?offerType,searchType,placeIds,distanceEq,region,occupancy,hasPromotions,showUnavailableResult,brand,limit,debug,next,bedrooms,bedroomsGte,bedroomsEq,bedsGte,checkIn,checkOut,nearby,searchNearby}";