@tripian/core 9.1.48 → 9.1.51

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,6 +25,7 @@ declare class API {
25
25
  /**
26
26
  * POI
27
27
  */
28
+ suggestCity: (text: string) => Promise<Model.SuggestedCityMatch[]>;
28
29
  poiCategories: (limit?: number, version?: number) => Promise<Model.PoiCategoryResponse>;
29
30
  poisSearch: (poisRequest: Model.PoisRequest) => Promise<Model.DataPayload<Model.Poi[]>>;
30
31
  poisNameSearch: ({ cityId, search, poiCategories, showOffersOnly, showBookingsOnly, limit, page, }: Model.PoisRequestName) => Promise<Model.DataPayload<Model.Poi[]>>;
@@ -283,7 +284,7 @@ declare class API {
283
284
  * Plan Combo
284
285
  */
285
286
  planUpdateOrders: (planId: number, orders: number[], tripHash: string) => Promise<Model.Trip>;
286
- planUpdateTime: (planId: number, startTime: string, endTime: string, tripHash: string) => Promise<Model.Trip>;
287
+ planUpdateTime: (planId: number, minDayIndex: number, startTime: string, endTime: string, tripHash: string) => Promise<Model.Trip>;
287
288
  /**
288
289
  *
289
290
  *
@@ -14,6 +14,7 @@ interface ApiConstModel {
14
14
  CITY: ApiConst;
15
15
  CITY_INFO: ApiConst;
16
16
  CITY_EVENTS: ApiConst;
17
+ SUGGEST_CITY: ApiConst;
17
18
  FEEDBACKS: ApiConst;
18
19
  USER_FEEDBACKS: ApiConst;
19
20
  SEND_FEEDBACK: ApiConst;