@tripian/core 6.0.56 → 6.0.57

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
@@ -116,6 +116,8 @@ declare class API {
116
116
  tripUpdate: (tripHash: string, tripProfile: Model.TripProfile, minDayIndex?: number) => Promise<Model.Trip>;
117
117
  tripDelete: (tripHash: string) => Promise<number>;
118
118
  tripDownloadIcs: (tripHash: string) => Promise<void>;
119
+ tripShared: (tripHash: string) => Promise<Model.Trip>;
120
+ tripSharedUpdate: (tripHash: string, share: boolean) => Promise<boolean>;
119
121
  /**
120
122
  * Reservations
121
123
  */
@@ -61,6 +61,8 @@ interface ApiConstModel {
61
61
  TRIP_ADD: ApiConst;
62
62
  TRIP_UPDATE: ApiConst;
63
63
  TRIP_DELETE: ApiConst;
64
+ TRIP_SHARED: ApiConst;
65
+ TRIP_SHARED_UPDATE: ApiConst;
64
66
  TRIP_DOWNLOAD_ICS: ApiConst;
65
67
  RESERVATIONS: ApiConst;
66
68
  RESERVATION_ADD: ApiConst;