@tripian/core 9.0.20 → 9.0.22

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/api/API.d.ts CHANGED
@@ -25,13 +25,13 @@ declare class API {
25
25
  */
26
26
  poiCategories: (limit?: number) => Promise<Model.PoiCategory[]>;
27
27
  poisSearch: (poisRequest: Model.PoisRequest) => Promise<Model.DataPayload<Model.Poi[]>>;
28
- poisNameSearch: ({ cityId, search, poiCategories, limit, page, }: Model.PoisRequestName) => Promise<Model.DataPayload<Model.Poi[]>>;
28
+ poisNameSearch: ({ cityId, search, poiCategories, showOffersOnly, limit, page, }: Model.PoisRequestName) => Promise<Model.DataPayload<Model.Poi[]>>;
29
29
  poisOpenSearch: ({ cityId, search, poiCategories, showOffersOnly, limit, page, }: Model.PoisRequestName) => Promise<Model.DataPayload<Model.Poi[]>>;
30
30
  poisSearchAutoComplete: () => Promise<string[]>;
31
- poisCoordinateSearch: ({ poiCategories, coordinate, distance, bounds, limit }: Model.PoisRequestCoordinate) => Promise<Model.Poi[]>;
31
+ poisCoordinateSearch: ({ poiCategories, coordinate, distance, bounds, showOffersOnly, limit, }: Model.PoisRequestCoordinate) => Promise<Model.Poi[]>;
32
32
  poisMustTrySearch: ({ cityId, mustTryIds, limit }: Model.PoisRequestMustTry) => Promise<Model.Poi[]>;
33
- pois: (poiIds: string[], cityId?: number) => Promise<Model.Poi[]>;
34
- poi: (poiId: string) => Promise<Model.Poi>;
33
+ pois: (poiIds: string[], withOffers: number, cityId?: number) => Promise<Model.Poi[]>;
34
+ poi: (poiId: string, withOffers?: number) => Promise<Model.Poi>;
35
35
  /**
36
36
  * Top 10
37
37
  */
@@ -150,8 +150,8 @@ declare class API {
150
150
  * Offers
151
151
  */
152
152
  productTypes: () => Promise<Model.OfferProductType[]>;
153
- offerSearch: (dateFrom: string, dateTo: string, boundary: string) => Promise<Model.Poi[]>;
154
- offerSearchCampaign: (campaignId: number) => Promise<Model.Poi[]>;
153
+ offerSearch: (dateFrom: string, dateTo: string, boundary: string, showOffersOnly: boolean) => Promise<Model.Poi[]>;
154
+ offerSearchCampaign: (campaignId: number, showOffersOnly: boolean) => Promise<Model.Poi[]>;
155
155
  offerSearchNew: (dateFrom: string, dateTo: string, boundary: string) => Promise<Model.DataPayload<Model.Poi[]>>;
156
156
  offers: (dateFrom?: string, dateTo?: string) => Promise<Model.Poi[]>;
157
157
  offer: (offerId: number) => Promise<Model.Offer>;