@moxi.gmbh/moxi-typescriptmodels 0.1.1961-test-server → 0.1.1981-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
|
@@ -154,6 +154,13 @@ export interface AdminSetUserPassword {
|
|
|
154
154
|
userId?: string;
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
+
/**
|
|
158
|
+
* Information for advanced medical transport, like intensive care rides or emergency ambulances
|
|
159
|
+
*/
|
|
160
|
+
export interface AdvancedRideInfo extends GenericRideInfo {
|
|
161
|
+
medicalData?: MedicalData;
|
|
162
|
+
}
|
|
163
|
+
|
|
157
164
|
export interface AmbulanceFilter extends DrivePermissionFilter {
|
|
158
165
|
heavyWeightAllowed?: boolean;
|
|
159
166
|
type: "ambulance";
|
|
@@ -181,12 +188,6 @@ export interface AmbulanceInfo {
|
|
|
181
188
|
requiresSuctionAspirator?: boolean;
|
|
182
189
|
}
|
|
183
190
|
|
|
184
|
-
/**
|
|
185
|
-
* Information about the ride, from the creator of the ride
|
|
186
|
-
*/
|
|
187
|
-
export interface AnonymizedRideInfo extends RideInfo {
|
|
188
|
-
}
|
|
189
|
-
|
|
190
191
|
/**
|
|
191
192
|
* Information about the ride, from the creator of the ride
|
|
192
193
|
*/
|
|
@@ -384,7 +385,7 @@ export interface DrivePermission {
|
|
|
384
385
|
}
|
|
385
386
|
|
|
386
387
|
export interface DrivePermissionFilter {
|
|
387
|
-
type: "ambulance" | "taxi";
|
|
388
|
+
type: "ambulance" | "emergencyAmbulance" | "intensiveCareAmbulance" | "intensiveCareHelicopter" | "taxi";
|
|
388
389
|
}
|
|
389
390
|
|
|
390
391
|
export interface DrivePermissionInfo {
|
|
@@ -410,6 +411,10 @@ export interface EmailMessage {
|
|
|
410
411
|
tos?: string[];
|
|
411
412
|
}
|
|
412
413
|
|
|
414
|
+
export interface EmergencyAmbulanceFilter extends DrivePermissionFilter {
|
|
415
|
+
type: "emergencyAmbulance";
|
|
416
|
+
}
|
|
417
|
+
|
|
413
418
|
export interface EuropeanHealthInsurance {
|
|
414
419
|
acronym?: string;
|
|
415
420
|
email?: string;
|
|
@@ -785,6 +790,22 @@ export interface Insurer {
|
|
|
785
790
|
name?: string;
|
|
786
791
|
}
|
|
787
792
|
|
|
793
|
+
export interface IntensiveCareAmbulanceFilter extends DrivePermissionFilter {
|
|
794
|
+
type: "intensiveCareAmbulance";
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
export interface IntensiveCareHelicopterFilter extends DrivePermissionFilter {
|
|
798
|
+
type: "intensiveCareHelicopter";
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
/**
|
|
802
|
+
* Information about the ride, from the creator of the ride
|
|
803
|
+
*/
|
|
804
|
+
export interface IntensiveCareRideInfo extends RideInfo {
|
|
805
|
+
medicalData?: MedicalData;
|
|
806
|
+
patientMedicalCondition?: string;
|
|
807
|
+
}
|
|
808
|
+
|
|
788
809
|
export interface Invite {
|
|
789
810
|
accountId?: string;
|
|
790
811
|
invitedBy?: string;
|
|
@@ -811,6 +832,50 @@ export interface IsoState {
|
|
|
811
832
|
nutsCode?: string;
|
|
812
833
|
}
|
|
813
834
|
|
|
835
|
+
export interface MedicalData {
|
|
836
|
+
activeSubstances?: MonitoredValue;
|
|
837
|
+
administrativeJourney?: string;
|
|
838
|
+
alarmNumber?: number;
|
|
839
|
+
analogueSedated?: boolean;
|
|
840
|
+
catecholamines?: boolean;
|
|
841
|
+
cpapAsb?: boolean;
|
|
842
|
+
dkvBipap?: boolean;
|
|
843
|
+
ecmo?: boolean;
|
|
844
|
+
fio2AboveZeroPointFive?: boolean;
|
|
845
|
+
highFlowOxygenTherapy?: boolean;
|
|
846
|
+
iabp?: boolean;
|
|
847
|
+
ibpMonitoring?: boolean;
|
|
848
|
+
incubator?: boolean;
|
|
849
|
+
infection?: MonitoredValue;
|
|
850
|
+
infusomats?: MonitoredValue;
|
|
851
|
+
intubated?: boolean;
|
|
852
|
+
ippvCppv?: boolean;
|
|
853
|
+
niv?: boolean;
|
|
854
|
+
oriented?: boolean;
|
|
855
|
+
otherMonitoring?: MonitoredValue;
|
|
856
|
+
otherVentilation?: MonitoredValue;
|
|
857
|
+
oxygen?: MonitoredValue;
|
|
858
|
+
pacemaker?: boolean;
|
|
859
|
+
patientWeightAbove100Kg?: boolean;
|
|
860
|
+
peep?: boolean;
|
|
861
|
+
perfusor?: MonitoredValue;
|
|
862
|
+
powerSupply?: boolean;
|
|
863
|
+
remark?: string;
|
|
864
|
+
resources?: string;
|
|
865
|
+
simvAsb?: boolean;
|
|
866
|
+
sleepy?: boolean;
|
|
867
|
+
spontaneous?: boolean;
|
|
868
|
+
stable?: boolean;
|
|
869
|
+
standardMonitoring?: boolean;
|
|
870
|
+
thoraxDrainage?: boolean;
|
|
871
|
+
tracheostomized?: boolean;
|
|
872
|
+
unconscious?: boolean;
|
|
873
|
+
unstable?: boolean;
|
|
874
|
+
vacuumMattress?: boolean;
|
|
875
|
+
veinCatheter?: boolean;
|
|
876
|
+
ventilated?: boolean;
|
|
877
|
+
}
|
|
878
|
+
|
|
814
879
|
export interface Metric {
|
|
815
880
|
clientId?: string;
|
|
816
881
|
clientSegment?: number[];
|
|
@@ -828,6 +893,11 @@ export interface MinimizedRideSeries extends RideSeries, RideOrMinimizedSeries {
|
|
|
828
893
|
info?: SeriesRideInfo;
|
|
829
894
|
}
|
|
830
895
|
|
|
896
|
+
export interface MonitoredValue {
|
|
897
|
+
enabled?: boolean;
|
|
898
|
+
value?: string;
|
|
899
|
+
}
|
|
900
|
+
|
|
831
901
|
export interface Notification {
|
|
832
902
|
body?: string;
|
|
833
903
|
title?: string;
|
|
@@ -924,6 +994,12 @@ export interface RegisterEinsatz {
|
|
|
924
994
|
rideId?: string;
|
|
925
995
|
}
|
|
926
996
|
|
|
997
|
+
/**
|
|
998
|
+
* Information about the ride, from the creator of the ride
|
|
999
|
+
*/
|
|
1000
|
+
export interface RegularRideInfo extends RideInfo {
|
|
1001
|
+
}
|
|
1002
|
+
|
|
927
1003
|
export interface RemoveAccount extends AccountUpdate {
|
|
928
1004
|
}
|
|
929
1005
|
|
|
@@ -1558,7 +1634,7 @@ export type AuthenticationResult = "SUCCESS" | "NOT_CONFIRMED";
|
|
|
1558
1634
|
|
|
1559
1635
|
export type BookingStatus = "saved" | "booked" | "accepted" | "planned" | "started" | "completed" | "cancelled";
|
|
1560
1636
|
|
|
1561
|
-
export type DrivePermissionFilterUnion = AmbulanceFilter | TaxiFilter;
|
|
1637
|
+
export type DrivePermissionFilterUnion = AmbulanceFilter | TaxiFilter | IntensiveCareAmbulanceFilter | IntensiveCareHelicopterFilter | EmergencyAmbulanceFilter;
|
|
1562
1638
|
|
|
1563
1639
|
export type DriveStatus = "driving_to_origin" | "arrived_at_origin" | "driving_to_destination" | "arrived_at_destination" | "completed";
|
|
1564
1640
|
|
|
@@ -1590,4 +1666,4 @@ export type TeamRole = "dispatcher" | "ridebooker";
|
|
|
1590
1666
|
|
|
1591
1667
|
export type UserRole = "superadmin";
|
|
1592
1668
|
|
|
1593
|
-
export type VehicleType = "taxi" | "ambulance";
|
|
1669
|
+
export type VehicleType = "taxi" | "ambulance" | "intensiveCareAmbulance" | "intensiveCareHelicopter" | "emergencyAmbulance";
|
package/package.json
CHANGED