@moxi.gmbh/moxi-typescriptmodels 0.1.2001-test-server → 0.1.2011-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 CHANGED
@@ -55,6 +55,7 @@ export interface Account {
55
55
  confirmed?: boolean;
56
56
  criticalInfo?: CriticalAccountInfo;
57
57
  drivePermissions?: DrivePermission[];
58
+ driverSettings?: DriverSettings;
58
59
  info?: AccountInfo;
59
60
  integrationSettings?: any[];
60
61
  operateAccounts?: string[];
@@ -154,13 +155,6 @@ export interface AdminSetUserPassword {
154
155
  userId?: string;
155
156
  }
156
157
 
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
-
164
158
  export interface AmbulanceFilter extends DrivePermissionFilter {
165
159
  heavyWeightAllowed?: boolean;
166
160
  type: "ambulance";
@@ -171,9 +165,10 @@ export interface AmbulanceFilter extends DrivePermissionFilter {
171
165
  */
172
166
  export interface AmbulanceInfo {
173
167
  /**
174
- * Derived from infectionDescription != blank
168
+ * Derived from infectionDescription != blank or infectionCode != blank
175
169
  */
176
170
  hasInfection?: boolean;
171
+ infectionCode?: string;
177
172
  infectionDescription?: string;
178
173
  monitoringDescription?: string;
179
174
  oxygenLiterPerHour?: number;
@@ -188,6 +183,12 @@ export interface AmbulanceInfo {
188
183
  requiresSuctionAspirator?: boolean;
189
184
  }
190
185
 
186
+ /**
187
+ * Information about the ride, from the creator of the ride
188
+ */
189
+ export interface AnonymizedRideInfo extends RideInfo {
190
+ }
191
+
191
192
  /**
192
193
  * Information about the ride, from the creator of the ride
193
194
  */
@@ -278,6 +279,12 @@ export interface CleaningAndSlack {
278
279
  pickupDuration?: number;
279
280
  }
280
281
 
282
+ export interface CleaningSetting {
283
+ cleaningAtGarage?: boolean;
284
+ code?: string;
285
+ minutes?: number;
286
+ }
287
+
281
288
  export interface ConfirmAccount extends AccountCommand {
282
289
  }
283
290
 
@@ -362,6 +369,14 @@ export interface DisconnectClient {
362
369
  tokenId?: string;
363
370
  }
364
371
 
372
+ export interface Disease {
373
+ code?: string;
374
+ defaultCleaningAtGarage?: boolean;
375
+ defaultCleaningMinutes?: number;
376
+ fullName?: string;
377
+ shortName?: string;
378
+ }
379
+
365
380
  export interface DispoliveSettings {
366
381
  key?: string;
367
382
  type: "dispolive";
@@ -395,7 +410,7 @@ export interface DrivePermission {
395
410
  }
396
411
 
397
412
  export interface DrivePermissionFilter {
398
- type: "ambulance" | "emergencyAmbulance" | "intensiveCareAmbulance" | "intensiveCareHelicopter" | "taxi";
413
+ type: "ambulance" | "taxi";
399
414
  }
400
415
 
401
416
  export interface DrivePermissionInfo {
@@ -409,6 +424,11 @@ export interface DrivePermissionInfoRequest {
409
424
  regions?: Region[];
410
425
  }
411
426
 
427
+ export interface DriverSettings {
428
+ cleaningSettings?: CleaningSetting[];
429
+ slackSettings?: SlackSetting[];
430
+ }
431
+
412
432
  export interface EmailMessage {
413
433
  attachments?: Attachment[];
414
434
  bccs?: string[];
@@ -421,10 +441,6 @@ export interface EmailMessage {
421
441
  tos?: string[];
422
442
  }
423
443
 
424
- export interface EmergencyAmbulanceFilter extends DrivePermissionFilter {
425
- type: "emergencyAmbulance";
426
- }
427
-
428
444
  export interface EuropeanHealthInsurance {
429
445
  acronym?: string;
430
446
  email?: string;
@@ -619,6 +635,9 @@ export interface GetAccountsOfPotentialDrivers extends IGetPotentialDrivers {
619
635
  export interface GetAccountsOfPotentialDriversAsAdmin extends IGetPotentialDrivers {
620
636
  }
621
637
 
638
+ export interface GetDiseases {
639
+ }
640
+
622
641
  export interface GetDistrict {
623
642
  geoLocation?: GeoLocation;
624
643
  stateNutsCode?: string;
@@ -800,22 +819,6 @@ export interface Insurer {
800
819
  name?: string;
801
820
  }
802
821
 
803
- export interface IntensiveCareAmbulanceFilter extends DrivePermissionFilter {
804
- type: "intensiveCareAmbulance";
805
- }
806
-
807
- export interface IntensiveCareHelicopterFilter extends DrivePermissionFilter {
808
- type: "intensiveCareHelicopter";
809
- }
810
-
811
- /**
812
- * Information about the ride, from the creator of the ride
813
- */
814
- export interface IntensiveCareRideInfo extends RideInfo {
815
- medicalData?: MedicalData;
816
- patientMedicalCondition?: string;
817
- }
818
-
819
822
  export interface Invite {
820
823
  accountId?: string;
821
824
  invitedBy?: string;
@@ -842,50 +845,6 @@ export interface IsoState {
842
845
  nutsCode?: string;
843
846
  }
844
847
 
845
- export interface MedicalData {
846
- activeSubstances?: MonitoredValue;
847
- administrativeJourney?: string;
848
- alarmNumber?: number;
849
- analogueSedated?: boolean;
850
- catecholamines?: boolean;
851
- cpapAsb?: boolean;
852
- dkvBipap?: boolean;
853
- ecmo?: boolean;
854
- fio2AboveZeroPointFive?: boolean;
855
- highFlowOxygenTherapy?: boolean;
856
- iabp?: boolean;
857
- ibpMonitoring?: boolean;
858
- incubator?: boolean;
859
- infection?: MonitoredValue;
860
- infusomats?: MonitoredValue;
861
- intubated?: boolean;
862
- ippvCppv?: boolean;
863
- niv?: boolean;
864
- oriented?: boolean;
865
- otherMonitoring?: MonitoredValue;
866
- otherVentilation?: MonitoredValue;
867
- oxygen?: MonitoredValue;
868
- pacemaker?: boolean;
869
- patientWeightAbove100Kg?: boolean;
870
- peep?: boolean;
871
- perfusor?: MonitoredValue;
872
- powerSupply?: boolean;
873
- remark?: string;
874
- resources?: string;
875
- simvAsb?: boolean;
876
- sleepy?: boolean;
877
- spontaneous?: boolean;
878
- stable?: boolean;
879
- standardMonitoring?: boolean;
880
- thoraxDrainage?: boolean;
881
- tracheostomized?: boolean;
882
- unconscious?: boolean;
883
- unstable?: boolean;
884
- vacuumMattress?: boolean;
885
- veinCatheter?: boolean;
886
- ventilated?: boolean;
887
- }
888
-
889
848
  export interface Metric {
890
849
  clientId?: string;
891
850
  clientSegment?: number[];
@@ -903,11 +862,6 @@ export interface MinimizedRideSeries extends RideSeries, RideOrMinimizedSeries {
903
862
  info?: SeriesRideInfo;
904
863
  }
905
864
 
906
- export interface MonitoredValue {
907
- enabled?: boolean;
908
- value?: string;
909
- }
910
-
911
865
  export interface Notification {
912
866
  body?: string;
913
867
  title?: string;
@@ -1004,12 +958,6 @@ export interface RegisterEinsatz {
1004
958
  rideId?: string;
1005
959
  }
1006
960
 
1007
- /**
1008
- * Information about the ride, from the creator of the ride
1009
- */
1010
- export interface RegularRideInfo extends RideInfo {
1011
- }
1012
-
1013
961
  export interface RemoveAccount extends AccountUpdate {
1014
962
  }
1015
963
 
@@ -1067,6 +1015,15 @@ export interface ResetPosition {
1067
1015
  tokenId?: string;
1068
1016
  }
1069
1017
 
1018
+ export interface ResetRideCleaningAndSlack extends RideDriverModifyCommand {
1019
+ cleaningAndSlack?: CleaningAndSlack;
1020
+ }
1021
+
1022
+ export interface ResetSeriesCleaningAndSlack extends SeriesDriverCommand {
1023
+ cleaningAndSlack?: CleaningAndSlack;
1024
+ updateRides?: string[];
1025
+ }
1026
+
1070
1027
  export interface ReturnRide extends RideDriverModifyCommand {
1071
1028
  }
1072
1029
 
@@ -1191,9 +1148,6 @@ export interface RideDriverModifyCommand extends RideDriverCommand {
1191
1148
  */
1192
1149
  export interface RideDuration {
1193
1150
  driving?: number;
1194
- droppingOff?: number;
1195
- pickingUp?: number;
1196
- total?: number;
1197
1151
  }
1198
1152
 
1199
1153
  export interface RideFilter {
@@ -1255,9 +1209,6 @@ export interface RideLog {
1255
1209
  eventName?: string;
1256
1210
  eventValue?: any;
1257
1211
  impersonating?: boolean;
1258
- isImpersonating?: boolean;
1259
- isSuperAdmin?: boolean;
1260
- isToken?: boolean;
1261
1212
  superAdmin?: boolean;
1262
1213
  timestamp?: string;
1263
1214
  token?: boolean;
@@ -1434,6 +1385,10 @@ export interface SeriesRideInfo extends GenericRideInfo {
1434
1385
  purpose?: SeriesPurpose;
1435
1386
  }
1436
1387
 
1388
+ export interface SetCleaningSettings extends AccountUpdate {
1389
+ settings?: CleaningSetting[];
1390
+ }
1391
+
1437
1392
  export interface SetOperations extends AccountUpdate {
1438
1393
  operateAccounts?: string[];
1439
1394
  }
@@ -1442,14 +1397,26 @@ export interface SetOperator extends AccountUpdate {
1442
1397
  operator?: string;
1443
1398
  }
1444
1399
 
1400
+ export interface SetRideCleaningAndSlack extends RideDriverModifyCommand {
1401
+ cleaningAndSlack?: CleaningAndSlack;
1402
+ }
1403
+
1445
1404
  export interface SetSecondaryTokenPermission extends SecondaryTokenPermissionCommand {
1446
1405
  accountPermission?: AccountPermission;
1447
1406
  }
1448
1407
 
1408
+ export interface SetSeriesCleaningAndSlack extends SeriesDriverCommand {
1409
+ cleaningAndSlack?: CleaningAndSlack;
1410
+ }
1411
+
1449
1412
  export interface SetSettings extends AccountUpdate {
1450
1413
  settings?: any;
1451
1414
  }
1452
1415
 
1416
+ export interface SetSlackSettings extends AccountUpdate {
1417
+ settings?: SlackSetting[];
1418
+ }
1419
+
1453
1420
  export interface SetUserPassword {
1454
1421
  confirmationCode?: string;
1455
1422
  password?: string;
@@ -1473,6 +1440,24 @@ export interface SignUpUser {
1473
1440
  userId?: string;
1474
1441
  }
1475
1442
 
1443
+ export interface SlackRelevantInfo {
1444
+ dropoffAtHome?: boolean;
1445
+ hasInfection?: boolean;
1446
+ heavyWeight?: boolean;
1447
+ mobility?: Mobility;
1448
+ pickupAtHome?: boolean;
1449
+ requiresMonitoring?: boolean;
1450
+ requiresOxygen?: boolean;
1451
+ requiresSuctionAspirator?: boolean;
1452
+ vehicleType?: VehicleType;
1453
+ }
1454
+
1455
+ export interface SlackSetting {
1456
+ minutesAtHome?: number;
1457
+ minutesAtHospital?: number;
1458
+ type?: SlackType;
1459
+ }
1460
+
1476
1461
  export interface StopImpersonatingUser {
1477
1462
  }
1478
1463
 
@@ -1646,7 +1631,7 @@ export type AuthenticationResult = "SUCCESS" | "NOT_CONFIRMED";
1646
1631
 
1647
1632
  export type BookingStatus = "saved" | "booked" | "accepted" | "planned" | "started" | "completed" | "cancelled";
1648
1633
 
1649
- export type DrivePermissionFilterUnion = AmbulanceFilter | TaxiFilter | IntensiveCareAmbulanceFilter | IntensiveCareHelicopterFilter | EmergencyAmbulanceFilter;
1634
+ export type DrivePermissionFilterUnion = AmbulanceFilter | TaxiFilter;
1650
1635
 
1651
1636
  export type DriveStatus = "driving_to_origin" | "arrived_at_origin" | "driving_to_destination" | "arrived_at_destination" | "completed";
1652
1637
 
@@ -1670,6 +1655,8 @@ export type Service = "pro_medical" | "pro_fleet" | "pro_operator" | "celios_int
1670
1655
 
1671
1656
  export type SlackChannel = "admin_monitoring" | "admin_respond_immediately" | "admin_respond_within_hour" | "admin_reported_issues";
1672
1657
 
1658
+ export type SlackType = "taxi_pickup" | "taxi_dropoff" | "ambulance_pickup" | "ambulance_dropoff" | "wheelchair" | "big_or_electric_wheelchair" | "carry_chair" | "stretcher" | "heavyweight" | "oxygen" | "monitoring" | "suctionAspirator" | "infection";
1659
+
1673
1660
  export type StandaloneService = "pro_medical" | "pro_fleet" | "pro_operator";
1674
1661
 
1675
1662
  export type SyncStatus = "not_synced" | "synced" | "update_not_synced";
@@ -1678,4 +1665,4 @@ export type TeamRole = "dispatcher" | "ridebooker";
1678
1665
 
1679
1666
  export type UserRole = "superadmin";
1680
1667
 
1681
- export type VehicleType = "taxi" | "ambulance" | "intensiveCareAmbulance" | "intensiveCareHelicopter" | "emergencyAmbulance";
1668
+ export type VehicleType = "taxi" | "ambulance";
package/diseases.json ADDED
@@ -0,0 +1,67 @@
1
+ [
2
+ {"shortName":"AIDS", "code":"aids"},
3
+ {"shortName":"Argentine fever", "code":"argentine-fever"},
4
+ {"shortName":"Monkeypox", "code":"monkeypox"},
5
+ {"shortName":"Lyme disease", "code":"lyme-disease"},
6
+ {"shortName":"Bruccelosis", "code":"bruccelosis"},
7
+ {"shortName":"COVID 19", "defaultCleaningMinutes":15, "defaultCleaningAtGarage":false, "code":"covid-19"},
8
+ {"shortName":"CRE", "fullName":"Carbapenem-resistant Enterobacterales", "code":"cre"},
9
+ {"shortName":"Candida", "code":"candida"},
10
+ {"shortName":"Cholera", "code":"cholera"},
11
+ {"shortName":"Clostridia", "code":"clostridia"},
12
+ {"shortName":"Dengue fever", "code":"dengue-fever"},
13
+ {"shortName":"Diphtheria", "code":"diphtheria"},
14
+ {"shortName":"E. coli", "code":"e-coli"},
15
+ {"shortName":"EAEC", "fullName":"Enteroaggregative E. coli", "code":"eaec"},
16
+ {"shortName":"EHEC", "fullName":"Enterohemorrhagic E. coli", "code":"ehec"},
17
+ {"shortName":"EPEC", "fullName":"Enteropathogene E. coli", "code":"epec"},
18
+ {"shortName":"ESBL", "fullName":"Extended spectrum beta-lactamase", "code":"esbl"},
19
+ {"shortName":"ETEC", "fullName":"Enterotoxigenic E. coli", "code":"etec"},
20
+ {"shortName":"Ebola", "code":"ebola"},
21
+ {"shortName":"Typhus fever", "code":"typhus-fever"},
22
+ {"shortName":"Fleas", "code":"fleas"},
23
+ {"shortName":"Yellow fever", "code":"yellow-fever"},
24
+ {"shortName":"Shingles/Herpes zoster", "code":"shingles-herpes-zoster"},
25
+ {"shortName":"HIV", "code":"hiv"},
26
+ {"shortName":"Hantavirus", "code":"hantavirus"},
27
+ {"shortName":"Hepatitis A/E", "code":"hepatitis-a-e"},
28
+ {"shortName":"Hepatitis B/C/D", "code":"hepatitis-b-c-d"},
29
+ {"shortName":"Influenza", "code":"influenza"},
30
+ {"shortName":"Pertussis", "code":"pertussis"},
31
+ {"shortName":"Polio", "code":"polio"},
32
+ {"shortName":"Lassa fever", "code":"lassa-fever"},
33
+ {"shortName":"Leptospirosis", "code":"leptospirosis"},
34
+ {"shortName":"Lice", "code":"lice"},
35
+ {"shortName":"MERS", "code":"mers"},
36
+ {"shortName":"MRGN (3/4)", "fullName":"Multidrug-resistant Gram-negative bacteria 3 or 4", "code":"mrgn-3-4"},
37
+ {"shortName":"MRSA ORSA", "fullName":"Methicillin/Oxacillin-resistant Staphylococcus aureus", "code":"mrsa-orsa"},
38
+ {"shortName":"Malaria", "code":"malaria"},
39
+ {"shortName":"Marburg fever", "code":"marburg-fever"},
40
+ {"shortName":"Measles", "code":"measles"},
41
+ {"shortName":"Meningitis", "code":"meningitis"},
42
+ {"shortName":"Anthrax", "code":"anthrax"},
43
+ {"shortName":"Mumps", "code":"mumps"},
44
+ {"shortName":"Noro virus", "code":"noro-virus"},
45
+ {"shortName":"Paratyphoid", "code":"paratyphoid"},
46
+ {"shortName":"Plague", "code":"plague"},
47
+ {"shortName":"Glandular fever", "code":"glandular-fever"},
48
+ {"shortName":"Pseudomonas", "code":"pseudomonas"},
49
+ {"shortName":"RS virus", "fullName":"Respiratory syncytial virus", "code":"rs-virus"},
50
+ {"shortName":"RVF", "fullName":"Rift valley fever", "code":"rvf"},
51
+ {"shortName":"Rota virus", "code":"rota-virus"},
52
+ {"shortName":"Rubella", "code":"rubella"},
53
+ {"shortName":"SARS", "code":"sars"},
54
+ {"shortName":"SARS/MERS", "code":"sars-mers"},
55
+ {"shortName":"Salmonella", "code":"salmonella"},
56
+ {"shortName":"Scabies", "code":"scabies"},
57
+ {"shortName":"Scarlet fever", "code":"scarlet-fever"},
58
+ {"shortName":"Rabies", "code":"rabies"},
59
+ {"shortName":"Open tuberculosis", "code":"open-tuberculosis"},
60
+ {"shortName":"Closed tuberculosis", "code":"closed-tuberculosis"},
61
+ {"shortName":"Typhoid", "code":"typhoid"},
62
+ {"shortName":"Protective isolation", "code":"protective-isolation"},
63
+ {"shortName":"VRE", "fullName":"Vancomycin-resistente Enterokokken", "code":"vre"},
64
+ {"shortName":"Chickenpox", "code":"chickenpox"},
65
+ {"shortName":"Erysipelas", "code":"erysipelas"},
66
+ {"shortName":"Tetanus", "code":"tetanus"}
67
+ ]
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@moxi.gmbh/moxi-typescriptmodels",
3
- "version": "0.1.2001-test-server",
3
+ "version": "0.1.2011-test-server",
4
4
  "types": "common.d.ts"
5
5
  }