@moxi.gmbh/moxi-typescriptmodels 0.1.1951-test-server → 0.1.1971-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.
Files changed (2) hide show
  1. package/common.d.ts +80 -9
  2. 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,45 @@ export interface IsoState {
811
832
  nutsCode?: string;
812
833
  }
813
834
 
835
+ export interface MedicalData {
836
+ activeSubstances?: MonitoredValue;
837
+ analogueSedated?: boolean;
838
+ catecholamines?: boolean;
839
+ cpapAsb?: boolean;
840
+ dkvBipap?: boolean;
841
+ ecmo?: boolean;
842
+ fio2AboveZeroPointFive?: boolean;
843
+ highFlowOxygenTherapy?: boolean;
844
+ iabp?: boolean;
845
+ ibpMonitoring?: boolean;
846
+ incubator?: boolean;
847
+ infection?: MonitoredValue;
848
+ infusomats?: MonitoredValue;
849
+ intubated?: boolean;
850
+ ippvCppv?: boolean;
851
+ niv?: boolean;
852
+ oriented?: boolean;
853
+ otherMonitoring?: MonitoredValue;
854
+ otherVentilation?: MonitoredValue;
855
+ oxygen?: MonitoredValue;
856
+ pacemaker?: boolean;
857
+ peep?: boolean;
858
+ perfusor?: MonitoredValue;
859
+ powerSupply?: boolean;
860
+ simvAsb?: boolean;
861
+ sleepy?: boolean;
862
+ spontaneous?: boolean;
863
+ stable?: boolean;
864
+ standardMonitoring?: boolean;
865
+ thoraxDrainage?: boolean;
866
+ tracheostomized?: boolean;
867
+ unconscious?: boolean;
868
+ unstable?: boolean;
869
+ vacuumMattress?: boolean;
870
+ veinCatheter?: boolean;
871
+ ventilated?: boolean;
872
+ }
873
+
814
874
  export interface Metric {
815
875
  clientId?: string;
816
876
  clientSegment?: number[];
@@ -828,6 +888,11 @@ export interface MinimizedRideSeries extends RideSeries, RideOrMinimizedSeries {
828
888
  info?: SeriesRideInfo;
829
889
  }
830
890
 
891
+ export interface MonitoredValue {
892
+ enabled?: boolean;
893
+ value?: string;
894
+ }
895
+
831
896
  export interface Notification {
832
897
  body?: string;
833
898
  title?: string;
@@ -924,6 +989,12 @@ export interface RegisterEinsatz {
924
989
  rideId?: string;
925
990
  }
926
991
 
992
+ /**
993
+ * Information about the ride, from the creator of the ride
994
+ */
995
+ export interface RegularRideInfo extends RideInfo {
996
+ }
997
+
927
998
  export interface RemoveAccount extends AccountUpdate {
928
999
  }
929
1000
 
@@ -1558,7 +1629,7 @@ export type AuthenticationResult = "SUCCESS" | "NOT_CONFIRMED";
1558
1629
 
1559
1630
  export type BookingStatus = "saved" | "booked" | "accepted" | "planned" | "started" | "completed" | "cancelled";
1560
1631
 
1561
- export type DrivePermissionFilterUnion = AmbulanceFilter | TaxiFilter;
1632
+ export type DrivePermissionFilterUnion = AmbulanceFilter | TaxiFilter | IntensiveCareAmbulanceFilter | IntensiveCareHelicopterFilter | EmergencyAmbulanceFilter;
1562
1633
 
1563
1634
  export type DriveStatus = "driving_to_origin" | "arrived_at_origin" | "driving_to_destination" | "arrived_at_destination" | "completed";
1564
1635
 
@@ -1590,4 +1661,4 @@ export type TeamRole = "dispatcher" | "ridebooker";
1590
1661
 
1591
1662
  export type UserRole = "superadmin";
1592
1663
 
1593
- export type VehicleType = "taxi" | "ambulance";
1664
+ export type VehicleType = "taxi" | "ambulance" | "intensiveCareAmbulance" | "intensiveCareHelicopter" | "emergencyAmbulance";
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@moxi.gmbh/moxi-typescriptmodels",
3
- "version": "0.1.1951-test-server",
3
+ "version": "0.1.1971-test-server",
4
4
  "types": "common.d.ts"
5
5
  }