@moxi.gmbh/moxi-typescriptmodels 0.1.2011-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 +94 -13
- package/package.json +1 -1
package/common.d.ts
CHANGED
|
@@ -155,6 +155,13 @@ export interface AdminSetUserPassword {
|
|
|
155
155
|
userId?: string;
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
+
/**
|
|
159
|
+
* Information for advanced medical transport, like intensive care rides or emergency ambulances
|
|
160
|
+
*/
|
|
161
|
+
export interface AdvancedRideInfo extends GenericRideInfo {
|
|
162
|
+
medicalData?: MedicalData;
|
|
163
|
+
}
|
|
164
|
+
|
|
158
165
|
export interface AmbulanceFilter extends DrivePermissionFilter {
|
|
159
166
|
heavyWeightAllowed?: boolean;
|
|
160
167
|
type: "ambulance";
|
|
@@ -183,12 +190,6 @@ export interface AmbulanceInfo {
|
|
|
183
190
|
requiresSuctionAspirator?: boolean;
|
|
184
191
|
}
|
|
185
192
|
|
|
186
|
-
/**
|
|
187
|
-
* Information about the ride, from the creator of the ride
|
|
188
|
-
*/
|
|
189
|
-
export interface AnonymizedRideInfo extends RideInfo {
|
|
190
|
-
}
|
|
191
|
-
|
|
192
193
|
/**
|
|
193
194
|
* Information about the ride, from the creator of the ride
|
|
194
195
|
*/
|
|
@@ -230,7 +231,7 @@ export interface AuthenticationService {
|
|
|
230
231
|
}
|
|
231
232
|
|
|
232
233
|
export interface BookRide extends CreateRideCommand {
|
|
233
|
-
info?:
|
|
234
|
+
info?: RideInfoUnion;
|
|
234
235
|
}
|
|
235
236
|
|
|
236
237
|
export interface BookRideSeries extends CreateSeriesCommand {
|
|
@@ -410,7 +411,7 @@ export interface DrivePermission {
|
|
|
410
411
|
}
|
|
411
412
|
|
|
412
413
|
export interface DrivePermissionFilter {
|
|
413
|
-
type: "ambulance" | "taxi";
|
|
414
|
+
type: "ambulance" | "emergencyAmbulance" | "intensiveCareAmbulance" | "intensiveCareHelicopter" | "taxi";
|
|
414
415
|
}
|
|
415
416
|
|
|
416
417
|
export interface DrivePermissionInfo {
|
|
@@ -441,6 +442,10 @@ export interface EmailMessage {
|
|
|
441
442
|
tos?: string[];
|
|
442
443
|
}
|
|
443
444
|
|
|
445
|
+
export interface EmergencyAmbulanceFilter extends DrivePermissionFilter {
|
|
446
|
+
type: "emergencyAmbulance";
|
|
447
|
+
}
|
|
448
|
+
|
|
444
449
|
export interface EuropeanHealthInsurance {
|
|
445
450
|
acronym?: string;
|
|
446
451
|
email?: string;
|
|
@@ -819,6 +824,23 @@ export interface Insurer {
|
|
|
819
824
|
name?: string;
|
|
820
825
|
}
|
|
821
826
|
|
|
827
|
+
export interface IntensiveCareAmbulanceFilter extends DrivePermissionFilter {
|
|
828
|
+
type: "intensiveCareAmbulance";
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
export interface IntensiveCareHelicopterFilter extends DrivePermissionFilter {
|
|
832
|
+
type: "intensiveCareHelicopter";
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
/**
|
|
836
|
+
* Information about the ride, from the creator of the ride
|
|
837
|
+
*/
|
|
838
|
+
export interface IntensiveCareRideInfo extends RideInfo {
|
|
839
|
+
medicalData?: MedicalData;
|
|
840
|
+
patientMedicalCondition?: string;
|
|
841
|
+
vehicleType: "intensiveCareAmbulance";
|
|
842
|
+
}
|
|
843
|
+
|
|
822
844
|
export interface Invite {
|
|
823
845
|
accountId?: string;
|
|
824
846
|
invitedBy?: string;
|
|
@@ -845,6 +867,50 @@ export interface IsoState {
|
|
|
845
867
|
nutsCode?: string;
|
|
846
868
|
}
|
|
847
869
|
|
|
870
|
+
export interface MedicalData {
|
|
871
|
+
activeSubstances?: MonitoredValue;
|
|
872
|
+
administrativeJourney?: string;
|
|
873
|
+
alarmNumber?: number;
|
|
874
|
+
analogueSedated?: boolean;
|
|
875
|
+
catecholamines?: boolean;
|
|
876
|
+
cpapAsb?: boolean;
|
|
877
|
+
dkvBipap?: boolean;
|
|
878
|
+
ecmo?: boolean;
|
|
879
|
+
fio2AboveZeroPointFive?: boolean;
|
|
880
|
+
highFlowOxygenTherapy?: boolean;
|
|
881
|
+
iabp?: boolean;
|
|
882
|
+
ibpMonitoring?: boolean;
|
|
883
|
+
incubator?: boolean;
|
|
884
|
+
infection?: MonitoredValue;
|
|
885
|
+
infusomats?: MonitoredValue;
|
|
886
|
+
intubated?: boolean;
|
|
887
|
+
ippvCppv?: boolean;
|
|
888
|
+
niv?: boolean;
|
|
889
|
+
oriented?: boolean;
|
|
890
|
+
otherMonitoring?: MonitoredValue;
|
|
891
|
+
otherVentilation?: MonitoredValue;
|
|
892
|
+
oxygen?: MonitoredValue;
|
|
893
|
+
pacemaker?: boolean;
|
|
894
|
+
patientWeightAbove100Kg?: boolean;
|
|
895
|
+
peep?: boolean;
|
|
896
|
+
perfusor?: MonitoredValue;
|
|
897
|
+
powerSupply?: boolean;
|
|
898
|
+
remark?: string;
|
|
899
|
+
resources?: string;
|
|
900
|
+
simvAsb?: boolean;
|
|
901
|
+
sleepy?: boolean;
|
|
902
|
+
spontaneous?: boolean;
|
|
903
|
+
stable?: boolean;
|
|
904
|
+
standardMonitoring?: boolean;
|
|
905
|
+
thoraxDrainage?: boolean;
|
|
906
|
+
tracheostomized?: boolean;
|
|
907
|
+
unconscious?: boolean;
|
|
908
|
+
unstable?: boolean;
|
|
909
|
+
vacuumMattress?: boolean;
|
|
910
|
+
veinCatheter?: boolean;
|
|
911
|
+
ventilated?: boolean;
|
|
912
|
+
}
|
|
913
|
+
|
|
848
914
|
export interface Metric {
|
|
849
915
|
clientId?: string;
|
|
850
916
|
clientSegment?: number[];
|
|
@@ -862,6 +928,11 @@ export interface MinimizedRideSeries extends RideSeries, RideOrMinimizedSeries {
|
|
|
862
928
|
info?: SeriesRideInfo;
|
|
863
929
|
}
|
|
864
930
|
|
|
931
|
+
export interface MonitoredValue {
|
|
932
|
+
enabled?: boolean;
|
|
933
|
+
value?: string;
|
|
934
|
+
}
|
|
935
|
+
|
|
865
936
|
export interface Notification {
|
|
866
937
|
body?: string;
|
|
867
938
|
title?: string;
|
|
@@ -958,6 +1029,13 @@ export interface RegisterEinsatz {
|
|
|
958
1029
|
rideId?: string;
|
|
959
1030
|
}
|
|
960
1031
|
|
|
1032
|
+
/**
|
|
1033
|
+
* Information about the ride, from the creator of the ride
|
|
1034
|
+
*/
|
|
1035
|
+
export interface RegularRideInfo extends RideInfo {
|
|
1036
|
+
vehicleType: "taxi";
|
|
1037
|
+
}
|
|
1038
|
+
|
|
961
1039
|
export interface RemoveAccount extends AccountUpdate {
|
|
962
1040
|
}
|
|
963
1041
|
|
|
@@ -1103,7 +1181,7 @@ export interface Ride extends RideOrSeries, RideOrMinimizedSeries {
|
|
|
1103
1181
|
* Expected Time of Arrival at the Origin/Pick-up location.
|
|
1104
1182
|
*/
|
|
1105
1183
|
expectedStartTime?: string;
|
|
1106
|
-
info?:
|
|
1184
|
+
info?: RideInfoUnion;
|
|
1107
1185
|
/**
|
|
1108
1186
|
* Derived from plannedStartTime != null
|
|
1109
1187
|
*/
|
|
@@ -1199,6 +1277,7 @@ export interface RideIdResult {
|
|
|
1199
1277
|
export interface RideInfo extends GenericRideInfo {
|
|
1200
1278
|
appointment?: Appointment;
|
|
1201
1279
|
purpose?: RidePurpose;
|
|
1280
|
+
vehicleType: "intensiveCareAmbulance" | "taxi";
|
|
1202
1281
|
}
|
|
1203
1282
|
|
|
1204
1283
|
export interface RideLog {
|
|
@@ -1311,7 +1390,7 @@ export interface Role {
|
|
|
1311
1390
|
* Save a new ride or update a previously saved ride. Not allowed to saveRide after the ride has been booked.
|
|
1312
1391
|
*/
|
|
1313
1392
|
export interface SaveRide extends CreateRideCommand {
|
|
1314
|
-
info?:
|
|
1393
|
+
info?: RideInfoUnion;
|
|
1315
1394
|
}
|
|
1316
1395
|
|
|
1317
1396
|
export interface SaveRideSeries extends CreateSeriesCommand {
|
|
@@ -1547,7 +1626,7 @@ export interface UpdatePosition {
|
|
|
1547
1626
|
|
|
1548
1627
|
export interface UpdateRide extends RideBookerCommand {
|
|
1549
1628
|
booker?: AccountOrTeamRef;
|
|
1550
|
-
info?:
|
|
1629
|
+
info?: RideInfoUnion;
|
|
1551
1630
|
}
|
|
1552
1631
|
|
|
1553
1632
|
export interface UpdateRidePlan extends RideDriverModifyCommand {
|
|
@@ -1631,7 +1710,7 @@ export type AuthenticationResult = "SUCCESS" | "NOT_CONFIRMED";
|
|
|
1631
1710
|
|
|
1632
1711
|
export type BookingStatus = "saved" | "booked" | "accepted" | "planned" | "started" | "completed" | "cancelled";
|
|
1633
1712
|
|
|
1634
|
-
export type DrivePermissionFilterUnion = AmbulanceFilter | TaxiFilter;
|
|
1713
|
+
export type DrivePermissionFilterUnion = AmbulanceFilter | TaxiFilter | IntensiveCareAmbulanceFilter | IntensiveCareHelicopterFilter | EmergencyAmbulanceFilter;
|
|
1635
1714
|
|
|
1636
1715
|
export type DriveStatus = "driving_to_origin" | "arrived_at_origin" | "driving_to_destination" | "arrived_at_destination" | "completed";
|
|
1637
1716
|
|
|
@@ -1647,6 +1726,8 @@ export type Mobility = "wheelchair" | "big_or_electric_wheelchair" | "carry_chai
|
|
|
1647
1726
|
|
|
1648
1727
|
export type OrganisationType = "medical" | "fleet" | "operator";
|
|
1649
1728
|
|
|
1729
|
+
export type RideInfoUnion = RegularRideInfo | IntensiveCareRideInfo;
|
|
1730
|
+
|
|
1650
1731
|
export type RidePurpose = "admission" | "relocation" | "discharge" | "consultation";
|
|
1651
1732
|
|
|
1652
1733
|
export type SeriesPurpose = "consultation";
|
|
@@ -1665,4 +1746,4 @@ export type TeamRole = "dispatcher" | "ridebooker";
|
|
|
1665
1746
|
|
|
1666
1747
|
export type UserRole = "superadmin";
|
|
1667
1748
|
|
|
1668
|
-
export type VehicleType = "taxi" | "ambulance";
|
|
1749
|
+
export type VehicleType = "taxi" | "ambulance" | "intensiveCareAmbulance" | "intensiveCareHelicopter" | "emergencyAmbulance";
|
package/package.json
CHANGED