@moxi.gmbh/moxi-typescriptmodels 0.1.1091-test-server → 0.1.1121-test-server
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/common.d.ts +29 -13
- package/package.json +1 -1
package/common.d.ts
CHANGED
|
@@ -13,6 +13,10 @@ export interface AcceptUserAgreement extends UserEdit {
|
|
|
13
13
|
|
|
14
14
|
export interface Account {
|
|
15
15
|
accountId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Derived from subscriptions
|
|
18
|
+
*/
|
|
19
|
+
activeOrganisationTypes?: OrganisationType[];
|
|
16
20
|
/**
|
|
17
21
|
* Derived from subscriptions
|
|
18
22
|
*/
|
|
@@ -139,7 +143,13 @@ export interface AmbulanceInfo {
|
|
|
139
143
|
/**
|
|
140
144
|
* Same as RideInfo, except it does not contain an appointment
|
|
141
145
|
*/
|
|
142
|
-
export interface
|
|
146
|
+
export interface AnonymizedGenericRideInfo extends GenericRideInfo {
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Information about the ride, from the creator of the ride
|
|
151
|
+
*/
|
|
152
|
+
export interface AnonymizedRideInfo extends RideInfo {
|
|
143
153
|
}
|
|
144
154
|
|
|
145
155
|
export interface Appointment {
|
|
@@ -271,8 +281,7 @@ export interface CreateRideFromSeries extends RideDriverCommand {
|
|
|
271
281
|
booker?: AccountOrTeamRef;
|
|
272
282
|
driver?: AccountOrTeamRef;
|
|
273
283
|
info?: RideInfo;
|
|
274
|
-
|
|
275
|
-
rideSeriesId?: string;
|
|
284
|
+
seriesInfo?: SeriesInfo;
|
|
276
285
|
}
|
|
277
286
|
|
|
278
287
|
export interface CreateSqueezeInPlan extends OptimizerMessage {
|
|
@@ -947,14 +956,6 @@ export interface Ride {
|
|
|
947
956
|
* Desired Time of Arrival at the Origin/Pick-up location. Derived from info.appointment and info.plannedDuration
|
|
948
957
|
*/
|
|
949
958
|
desiredStartTime?: string;
|
|
950
|
-
/**
|
|
951
|
-
* Display time is the planned time, or else the desired time
|
|
952
|
-
*/
|
|
953
|
-
displayEndTime?: string;
|
|
954
|
-
/**
|
|
955
|
-
* Display time is the planned time, or else the desired time
|
|
956
|
-
*/
|
|
957
|
-
displayStartTime?: string;
|
|
958
959
|
driveStatus?: DriveStatus;
|
|
959
960
|
driver?: AccountOrTeamRef;
|
|
960
961
|
driverReview?: Review;
|
|
@@ -978,9 +979,16 @@ export interface Ride {
|
|
|
978
979
|
*/
|
|
979
980
|
plannedEndTime?: string;
|
|
980
981
|
plannedStartTime?: string;
|
|
981
|
-
returnTrip?: boolean;
|
|
982
982
|
rideId?: string;
|
|
983
|
-
|
|
983
|
+
/**
|
|
984
|
+
* The time until which rides can be found. It's the planned time or else the desired time.
|
|
985
|
+
*/
|
|
986
|
+
searchEndTime?: string;
|
|
987
|
+
/**
|
|
988
|
+
* The time from which rides can be found. It's the planned time or else the desired time.
|
|
989
|
+
*/
|
|
990
|
+
searchStartTime?: string;
|
|
991
|
+
seriesInfo?: SeriesInfo;
|
|
984
992
|
startTimeDelay?: number;
|
|
985
993
|
/**
|
|
986
994
|
* Derived from driveStatus != null
|
|
@@ -1212,6 +1220,14 @@ export interface SendSlack {
|
|
|
1212
1220
|
message?: string;
|
|
1213
1221
|
}
|
|
1214
1222
|
|
|
1223
|
+
/**
|
|
1224
|
+
* Information about a ride that is part of series.
|
|
1225
|
+
*/
|
|
1226
|
+
export interface SeriesInfo {
|
|
1227
|
+
returnTrip?: boolean;
|
|
1228
|
+
rideSeriesId?: string;
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1215
1231
|
export interface SetSettings extends AccountUpdate {
|
|
1216
1232
|
settings?: any;
|
|
1217
1233
|
}
|
package/package.json
CHANGED