@moxi.gmbh/moxi-typescriptmodels 0.1.2031-test-server → 0.1.2041-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 +9 -4
- package/package.json +1 -1
package/common.d.ts
CHANGED
|
@@ -231,7 +231,7 @@ export interface AuthenticationService {
|
|
|
231
231
|
}
|
|
232
232
|
|
|
233
233
|
export interface BookRide extends CreateRideCommand {
|
|
234
|
-
info?:
|
|
234
|
+
info?: RideInfoUnion;
|
|
235
235
|
}
|
|
236
236
|
|
|
237
237
|
export interface BookRideSeries extends CreateSeriesCommand {
|
|
@@ -838,6 +838,7 @@ export interface IntensiveCareHelicopterFilter extends DrivePermissionFilter {
|
|
|
838
838
|
export interface IntensiveCareRideInfo extends RideInfo {
|
|
839
839
|
medicalData?: MedicalData;
|
|
840
840
|
patientMedicalCondition?: string;
|
|
841
|
+
vehicleType: "intensiveCareAmbulance";
|
|
841
842
|
}
|
|
842
843
|
|
|
843
844
|
export interface Invite {
|
|
@@ -1032,6 +1033,7 @@ export interface RegisterEinsatz {
|
|
|
1032
1033
|
* Information about the ride, from the creator of the ride
|
|
1033
1034
|
*/
|
|
1034
1035
|
export interface RegularRideInfo extends RideInfo {
|
|
1036
|
+
vehicleType: "taxi";
|
|
1035
1037
|
}
|
|
1036
1038
|
|
|
1037
1039
|
export interface RemoveAccount extends AccountUpdate {
|
|
@@ -1179,7 +1181,7 @@ export interface Ride extends RideOrSeries, RideOrMinimizedSeries {
|
|
|
1179
1181
|
* Expected Time of Arrival at the Origin/Pick-up location.
|
|
1180
1182
|
*/
|
|
1181
1183
|
expectedStartTime?: string;
|
|
1182
|
-
info?:
|
|
1184
|
+
info?: RideInfoUnion;
|
|
1183
1185
|
/**
|
|
1184
1186
|
* Derived from plannedStartTime != null
|
|
1185
1187
|
*/
|
|
@@ -1275,6 +1277,7 @@ export interface RideIdResult {
|
|
|
1275
1277
|
export interface RideInfo extends GenericRideInfo {
|
|
1276
1278
|
appointment?: Appointment;
|
|
1277
1279
|
purpose?: RidePurpose;
|
|
1280
|
+
vehicleType: "intensiveCareAmbulance" | "taxi";
|
|
1278
1281
|
}
|
|
1279
1282
|
|
|
1280
1283
|
export interface RideLog {
|
|
@@ -1387,7 +1390,7 @@ export interface Role {
|
|
|
1387
1390
|
* Save a new ride or update a previously saved ride. Not allowed to saveRide after the ride has been booked.
|
|
1388
1391
|
*/
|
|
1389
1392
|
export interface SaveRide extends CreateRideCommand {
|
|
1390
|
-
info?:
|
|
1393
|
+
info?: RideInfoUnion;
|
|
1391
1394
|
}
|
|
1392
1395
|
|
|
1393
1396
|
export interface SaveRideSeries extends CreateSeriesCommand {
|
|
@@ -1623,7 +1626,7 @@ export interface UpdatePosition {
|
|
|
1623
1626
|
|
|
1624
1627
|
export interface UpdateRide extends RideBookerCommand {
|
|
1625
1628
|
booker?: AccountOrTeamRef;
|
|
1626
|
-
info?:
|
|
1629
|
+
info?: RideInfoUnion;
|
|
1627
1630
|
}
|
|
1628
1631
|
|
|
1629
1632
|
export interface UpdateRidePlan extends RideDriverModifyCommand {
|
|
@@ -1723,6 +1726,8 @@ export type Mobility = "wheelchair" | "big_or_electric_wheelchair" | "carry_chai
|
|
|
1723
1726
|
|
|
1724
1727
|
export type OrganisationType = "medical" | "fleet" | "operator";
|
|
1725
1728
|
|
|
1729
|
+
export type RideInfoUnion = RegularRideInfo | IntensiveCareRideInfo;
|
|
1730
|
+
|
|
1726
1731
|
export type RidePurpose = "admission" | "relocation" | "discharge" | "consultation";
|
|
1727
1732
|
|
|
1728
1733
|
export type SeriesPurpose = "consultation";
|
package/package.json
CHANGED