@moxi.gmbh/moxi-typescriptmodels 0.1.2011-test-server → 0.1.2031-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 +85 -9
- 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
|
*/
|
|
@@ -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,22 @@ 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
|
+
}
|
|
842
|
+
|
|
822
843
|
export interface Invite {
|
|
823
844
|
accountId?: string;
|
|
824
845
|
invitedBy?: string;
|
|
@@ -845,6 +866,50 @@ export interface IsoState {
|
|
|
845
866
|
nutsCode?: string;
|
|
846
867
|
}
|
|
847
868
|
|
|
869
|
+
export interface MedicalData {
|
|
870
|
+
activeSubstances?: MonitoredValue;
|
|
871
|
+
administrativeJourney?: string;
|
|
872
|
+
alarmNumber?: number;
|
|
873
|
+
analogueSedated?: boolean;
|
|
874
|
+
catecholamines?: boolean;
|
|
875
|
+
cpapAsb?: boolean;
|
|
876
|
+
dkvBipap?: boolean;
|
|
877
|
+
ecmo?: boolean;
|
|
878
|
+
fio2AboveZeroPointFive?: boolean;
|
|
879
|
+
highFlowOxygenTherapy?: boolean;
|
|
880
|
+
iabp?: boolean;
|
|
881
|
+
ibpMonitoring?: boolean;
|
|
882
|
+
incubator?: boolean;
|
|
883
|
+
infection?: MonitoredValue;
|
|
884
|
+
infusomats?: MonitoredValue;
|
|
885
|
+
intubated?: boolean;
|
|
886
|
+
ippvCppv?: boolean;
|
|
887
|
+
niv?: boolean;
|
|
888
|
+
oriented?: boolean;
|
|
889
|
+
otherMonitoring?: MonitoredValue;
|
|
890
|
+
otherVentilation?: MonitoredValue;
|
|
891
|
+
oxygen?: MonitoredValue;
|
|
892
|
+
pacemaker?: boolean;
|
|
893
|
+
patientWeightAbove100Kg?: boolean;
|
|
894
|
+
peep?: boolean;
|
|
895
|
+
perfusor?: MonitoredValue;
|
|
896
|
+
powerSupply?: boolean;
|
|
897
|
+
remark?: string;
|
|
898
|
+
resources?: string;
|
|
899
|
+
simvAsb?: boolean;
|
|
900
|
+
sleepy?: boolean;
|
|
901
|
+
spontaneous?: boolean;
|
|
902
|
+
stable?: boolean;
|
|
903
|
+
standardMonitoring?: boolean;
|
|
904
|
+
thoraxDrainage?: boolean;
|
|
905
|
+
tracheostomized?: boolean;
|
|
906
|
+
unconscious?: boolean;
|
|
907
|
+
unstable?: boolean;
|
|
908
|
+
vacuumMattress?: boolean;
|
|
909
|
+
veinCatheter?: boolean;
|
|
910
|
+
ventilated?: boolean;
|
|
911
|
+
}
|
|
912
|
+
|
|
848
913
|
export interface Metric {
|
|
849
914
|
clientId?: string;
|
|
850
915
|
clientSegment?: number[];
|
|
@@ -862,6 +927,11 @@ export interface MinimizedRideSeries extends RideSeries, RideOrMinimizedSeries {
|
|
|
862
927
|
info?: SeriesRideInfo;
|
|
863
928
|
}
|
|
864
929
|
|
|
930
|
+
export interface MonitoredValue {
|
|
931
|
+
enabled?: boolean;
|
|
932
|
+
value?: string;
|
|
933
|
+
}
|
|
934
|
+
|
|
865
935
|
export interface Notification {
|
|
866
936
|
body?: string;
|
|
867
937
|
title?: string;
|
|
@@ -958,6 +1028,12 @@ export interface RegisterEinsatz {
|
|
|
958
1028
|
rideId?: string;
|
|
959
1029
|
}
|
|
960
1030
|
|
|
1031
|
+
/**
|
|
1032
|
+
* Information about the ride, from the creator of the ride
|
|
1033
|
+
*/
|
|
1034
|
+
export interface RegularRideInfo extends RideInfo {
|
|
1035
|
+
}
|
|
1036
|
+
|
|
961
1037
|
export interface RemoveAccount extends AccountUpdate {
|
|
962
1038
|
}
|
|
963
1039
|
|
|
@@ -1631,7 +1707,7 @@ export type AuthenticationResult = "SUCCESS" | "NOT_CONFIRMED";
|
|
|
1631
1707
|
|
|
1632
1708
|
export type BookingStatus = "saved" | "booked" | "accepted" | "planned" | "started" | "completed" | "cancelled";
|
|
1633
1709
|
|
|
1634
|
-
export type DrivePermissionFilterUnion = AmbulanceFilter | TaxiFilter;
|
|
1710
|
+
export type DrivePermissionFilterUnion = AmbulanceFilter | TaxiFilter | IntensiveCareAmbulanceFilter | IntensiveCareHelicopterFilter | EmergencyAmbulanceFilter;
|
|
1635
1711
|
|
|
1636
1712
|
export type DriveStatus = "driving_to_origin" | "arrived_at_origin" | "driving_to_destination" | "arrived_at_destination" | "completed";
|
|
1637
1713
|
|
|
@@ -1665,4 +1741,4 @@ export type TeamRole = "dispatcher" | "ridebooker";
|
|
|
1665
1741
|
|
|
1666
1742
|
export type UserRole = "superadmin";
|
|
1667
1743
|
|
|
1668
|
-
export type VehicleType = "taxi" | "ambulance";
|
|
1744
|
+
export type VehicleType = "taxi" | "ambulance" | "intensiveCareAmbulance" | "intensiveCareHelicopter" | "emergencyAmbulance";
|
package/package.json
CHANGED