@moxi.gmbh/moxi-typescriptmodels 0.1.841 → 0.1.851
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 +4 -25
- package/package.json +1 -1
package/common.d.ts
CHANGED
|
@@ -521,12 +521,6 @@ export interface FindUsers {
|
|
|
521
521
|
term?: string;
|
|
522
522
|
}
|
|
523
523
|
|
|
524
|
-
export interface FirebaseMessage {
|
|
525
|
-
data?: { [index: string]: string };
|
|
526
|
-
notification?: Notification;
|
|
527
|
-
topic?: string;
|
|
528
|
-
}
|
|
529
|
-
|
|
530
524
|
export interface GenerateToken {
|
|
531
525
|
accountPermission?: AccountPermission;
|
|
532
526
|
info?: TokenInfo;
|
|
@@ -759,10 +753,6 @@ export interface GiveTeamPermission extends AccountPermissionCommand {
|
|
|
759
753
|
teamPermission?: TeamPermission;
|
|
760
754
|
}
|
|
761
755
|
|
|
762
|
-
export interface HalfHourBeforeStart {
|
|
763
|
-
rideId?: string;
|
|
764
|
-
}
|
|
765
|
-
|
|
766
756
|
export interface IGetPotentialDrivers {
|
|
767
757
|
fromDistrict?: string;
|
|
768
758
|
mobility?: Mobility;
|
|
@@ -828,11 +818,6 @@ export interface MinimizedRideSeries extends RideSeries, RideOrMinimizedSeries {
|
|
|
828
818
|
info?: SeriesRideInfo;
|
|
829
819
|
}
|
|
830
820
|
|
|
831
|
-
export interface Notification {
|
|
832
|
-
body?: string;
|
|
833
|
-
title?: string;
|
|
834
|
-
}
|
|
835
|
-
|
|
836
821
|
export interface NutsDistrict {
|
|
837
822
|
code?: string;
|
|
838
823
|
name?: string;
|
|
@@ -855,10 +840,6 @@ export interface OffsetTimeRange {
|
|
|
855
840
|
start?: Date;
|
|
856
841
|
}
|
|
857
842
|
|
|
858
|
-
export interface OneHourAfterEnd {
|
|
859
|
-
rideId?: string;
|
|
860
|
-
}
|
|
861
|
-
|
|
862
843
|
export interface OptimizerMessage {
|
|
863
844
|
}
|
|
864
845
|
|
|
@@ -1032,6 +1013,7 @@ export interface Ride extends RideOrSeries, RideOrMinimizedSeries {
|
|
|
1032
1013
|
* Derived from bookedTime != null
|
|
1033
1014
|
*/
|
|
1034
1015
|
booked?: boolean;
|
|
1016
|
+
bookedTime?: string;
|
|
1035
1017
|
booker?: AccountOrTeamRef;
|
|
1036
1018
|
bookerReview?: Review;
|
|
1037
1019
|
cancelReason?: string;
|
|
@@ -1049,6 +1031,7 @@ export interface Ride extends RideOrSeries, RideOrMinimizedSeries {
|
|
|
1049
1031
|
*/
|
|
1050
1032
|
desiredStartTime?: string;
|
|
1051
1033
|
driveStatus?: DriveStatus;
|
|
1034
|
+
driver?: AccountOrTeamRef;
|
|
1052
1035
|
driverReview?: Review;
|
|
1053
1036
|
driverSyncStatus?: SyncStatus;
|
|
1054
1037
|
endTimeDelay?: number;
|
|
@@ -1187,9 +1170,7 @@ export interface RideOrMinimizedSeries {
|
|
|
1187
1170
|
}
|
|
1188
1171
|
|
|
1189
1172
|
export interface RideOrSeries {
|
|
1190
|
-
bookedTime?: string;
|
|
1191
1173
|
bookingStatus?: BookingStatus;
|
|
1192
|
-
driver?: AccountOrTeamRef;
|
|
1193
1174
|
entityType?: EntityType;
|
|
1194
1175
|
info?: GenericRideInfo;
|
|
1195
1176
|
}
|
|
@@ -1207,9 +1188,11 @@ export interface RideSeries extends RideOrSeries {
|
|
|
1207
1188
|
* Derived from bookedTime != null
|
|
1208
1189
|
*/
|
|
1209
1190
|
booked?: boolean;
|
|
1191
|
+
bookedTime?: string;
|
|
1210
1192
|
booker?: AccountOrTeamRef;
|
|
1211
1193
|
cancelReason?: string;
|
|
1212
1194
|
cancelled?: boolean;
|
|
1195
|
+
driver?: AccountOrTeamRef;
|
|
1213
1196
|
info?: SeriesRideInfo;
|
|
1214
1197
|
rideSeriesId?: string;
|
|
1215
1198
|
rides?: Ride[];
|
|
@@ -1307,10 +1290,6 @@ export interface SendSlack {
|
|
|
1307
1290
|
message?: string;
|
|
1308
1291
|
}
|
|
1309
1292
|
|
|
1310
|
-
export interface SendToFirebase {
|
|
1311
|
-
message?: FirebaseMessage;
|
|
1312
|
-
}
|
|
1313
|
-
|
|
1314
1293
|
export interface SeriesBookerCommand extends SeriesCommand {
|
|
1315
1294
|
}
|
|
1316
1295
|
|
package/package.json
CHANGED