@tripian/core 9.0.10 → 9.0.11

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
@@ -104,6 +104,7 @@ declare class API {
104
104
  * Step
105
105
  */
106
106
  stepAdd: (planId: number, poiId: string, startTime?: string, endTime?: string) => Promise<Model.Step>;
107
+ customStepAdd: (planId: number, customPoi: Model.CustomPoi, stepType: string, startTime?: string, endTime?: string) => Promise<Model.Step>;
107
108
  stepUpdateTimes: (stepId: number, startTime: string, endTime: string) => Promise<Model.Step>;
108
109
  stepReplace: (stepId: number, newPoiId: string) => Promise<Model.Step>;
109
110
  stepDelete: (stepId: number) => Promise<number>;
@@ -251,6 +252,7 @@ declare class API {
251
252
  * Step Combo
252
253
  */
253
254
  stepAdd: (planId: number, poiId: string, tripHash: string, startTime?: string, endTime?: string) => Promise<Model.Trip>;
255
+ customStepAdd: (planId: number, customPoi: Model.CustomPoi, tripHash: string, stepType: string, startTime?: string, endTime?: string) => Promise<Model.Trip>;
254
256
  stepUpdateTimes: (stepId: number, startTime: string, endTime: string, tripHash: string) => Promise<Model.Trip>;
255
257
  stepReplace: (stepId: number, newPoiId: string, tripHash: string) => Promise<Model.Trip>;
256
258
  stepDelete: (stepId: number, tripHash: string) => Promise<Model.Trip>;