@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 +2 -1
- package/api/const/ApiConstModel.d.ts +1 -0
- package/index.js +5 -5
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/tcore.umd.js +5 -5
- package/tcore.umd.js.map +1 -1
- package/xhr/xhrFetch.d.ts +2 -1
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
|
*
|