@moxi.gmbh/moxi-typescriptmodels 0.1.2101-test-server → 0.1.2121-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 +5 -15
- package/package.json +1 -1
package/common.d.ts
CHANGED
|
@@ -671,10 +671,6 @@ export interface GetOneSeries {
|
|
|
671
671
|
rideSeriesId?: string;
|
|
672
672
|
}
|
|
673
673
|
|
|
674
|
-
/**
|
|
675
|
-
* Common information shared across all rides in a series. Similar to RideInfo but without appointment-specific details that vary per ride.
|
|
676
|
-
|
|
677
|
-
*/
|
|
678
674
|
export interface GetPotentialDriverIds extends GetPotentialDriversAbstract {
|
|
679
675
|
}
|
|
680
676
|
|
|
@@ -685,14 +681,9 @@ export interface GetPotentialDriverIds extends GetPotentialDriversAbstract {
|
|
|
685
681
|
export interface GetPotentialDrivers extends GetPotentialDriversAbstract {
|
|
686
682
|
}
|
|
687
683
|
|
|
688
|
-
/**
|
|
689
|
-
* Common information shared across all rides in a series. Similar to RideInfo but without appointment-specific details that vary per ride.
|
|
690
|
-
|
|
691
|
-
*/
|
|
692
684
|
export interface GetPotentialDriversAbstract {
|
|
693
685
|
fromDistrict?: string;
|
|
694
686
|
mobility?: Mobility;
|
|
695
|
-
toDistrict?: string;
|
|
696
687
|
vehicleType?: VehicleType;
|
|
697
688
|
weightInKg?: number;
|
|
698
689
|
}
|
|
@@ -812,12 +803,12 @@ export interface IntensiveCareHelicopterFilter extends DrivePermissionFilter {
|
|
|
812
803
|
}
|
|
813
804
|
|
|
814
805
|
/**
|
|
815
|
-
*
|
|
806
|
+
* Ride information specific for intensive care rides.
|
|
816
807
|
*/
|
|
817
808
|
export interface IntensiveCareRideInfo extends RideInfo {
|
|
818
809
|
medicalData?: MedicalData;
|
|
819
810
|
patientMedicalCondition?: string;
|
|
820
|
-
vehicleType: "intensiveCareAmbulance";
|
|
811
|
+
vehicleType: "intensiveCareAmbulance" | "emergencyAmbulance" | "intensiveCareHelicopter";
|
|
821
812
|
}
|
|
822
813
|
|
|
823
814
|
export interface Invite {
|
|
@@ -1027,10 +1018,10 @@ export interface RegisterEinsatz {
|
|
|
1027
1018
|
}
|
|
1028
1019
|
|
|
1029
1020
|
/**
|
|
1030
|
-
*
|
|
1021
|
+
* Ride information specific for regular taxi or ambulance rides.
|
|
1031
1022
|
*/
|
|
1032
1023
|
export interface RegularRideInfo extends RideInfo {
|
|
1033
|
-
vehicleType: "taxi";
|
|
1024
|
+
vehicleType: "taxi" | "ambulance";
|
|
1034
1025
|
}
|
|
1035
1026
|
|
|
1036
1027
|
export interface RemoveAccount extends AccountUpdate {
|
|
@@ -1267,12 +1258,11 @@ export interface RideIdResult {
|
|
|
1267
1258
|
}
|
|
1268
1259
|
|
|
1269
1260
|
/**
|
|
1270
|
-
*
|
|
1261
|
+
* Base class for different types of RideInfo
|
|
1271
1262
|
*/
|
|
1272
1263
|
export interface RideInfo extends GenericRideInfo {
|
|
1273
1264
|
appointment?: Appointment;
|
|
1274
1265
|
purpose?: RidePurpose;
|
|
1275
|
-
vehicleType: "intensiveCareAmbulance" | "taxi";
|
|
1276
1266
|
}
|
|
1277
1267
|
|
|
1278
1268
|
export interface RideLog {
|
package/package.json
CHANGED