@tripian/core 6.0.27 → 6.0.29

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
@@ -43,6 +43,8 @@ declare class API {
43
43
  loginEmail: (email: string, password: string) => Promise<Model.Token>;
44
44
  loginCognito: (code: string, redirectUrl: string, device: Model.Device) => Promise<Model.Token>;
45
45
  logout: () => void;
46
+ lightRegisterLogin: (username: string) => Promise<Model.Token>;
47
+ lightLoginHash: (tripHash: string) => Promise<Model.Token>;
46
48
  refreshToken: (force?: boolean) => Promise<Model.Token>;
47
49
  /**
48
50
  * User
@@ -113,6 +115,7 @@ declare class API {
113
115
  tripAdd: (tripProfile: Model.TripProfile, minDayIndex?: number) => Promise<Model.Trip>;
114
116
  tripUpdate: (tripHash: string, tripProfile: Model.TripProfile, minDayIndex?: number) => Promise<Model.Trip>;
115
117
  tripDelete: (tripHash: string) => Promise<number>;
118
+ tripDownloadIcs: (tripHash: string) => Promise<void>;
116
119
  /**
117
120
  * Reservations
118
121
  */
@@ -22,6 +22,8 @@ interface ApiConstModel {
22
22
  LOGIN_COGNITO: ApiConst;
23
23
  LOGIN: ApiConst;
24
24
  LOGOUT: ApiConst;
25
+ LIGHT_REGISTER_LOGIN: ApiConst;
26
+ LIGHT_HASH_LOGIN: ApiConst;
25
27
  USER: ApiConst;
26
28
  USER_UPDATE: ApiConst;
27
29
  USER_DELETE: ApiConst;
@@ -58,6 +60,7 @@ interface ApiConstModel {
58
60
  TRIP_ADD: ApiConst;
59
61
  TRIP_UPDATE: ApiConst;
60
62
  TRIP_DELETE: ApiConst;
63
+ TRIP_DOWNLOAD_ICS: ApiConst;
61
64
  RESERVATIONS: ApiConst;
62
65
  RESERVATION_ADD: ApiConst;
63
66
  RESERVATION_UPDATE: ApiConst;