@tripian/core 9.2.5 → 9.2.7
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 +3 -0
- package/api/const/ApiConstModel.d.ts +2 -0
- package/index.js +5 -5
- package/package.json +2 -2
- package/providers/viator/API.d.ts +1 -0
- package/tcore.umd.js +5 -5
- package/tcore.umd.js.map +1 -1
package/api/API.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ declare class API {
|
|
|
23
23
|
cityInfo: (cityId: number) => Promise<Model.CityInfo>;
|
|
24
24
|
cityEvents: (cityId: number) => Promise<Model.CityEvent[]>;
|
|
25
25
|
citiesSearch: (name: string) => Promise<Model.City[]>;
|
|
26
|
+
cityFind: ({ lat, lng }: Model.Coordinate) => Promise<Model.City>;
|
|
26
27
|
/**
|
|
27
28
|
* POI
|
|
28
29
|
*/
|
|
@@ -156,6 +157,8 @@ declare class API {
|
|
|
156
157
|
timelineStepReplace: (stepId: number, newPoiId: string) => Promise<Model.TimelineStep>;
|
|
157
158
|
timelineStepDelete: (stepId: number) => Promise<number>;
|
|
158
159
|
timelineUpdate: (tripHash: string, tripProfile: Model.TimelineSegmentRequest) => Promise<Model.DeleteUpdateResponse>;
|
|
160
|
+
timelineSegmentDelete: (tripHash: string, segmentIndex: number) => Promise<Model.DeleteUpdateResponse>;
|
|
161
|
+
timelineGetShared: (tripHash: string) => Promise<Model.TimelineTrip>;
|
|
159
162
|
/**
|
|
160
163
|
* Reservations
|
|
161
164
|
*/
|