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