@moxi.gmbh/moxi-typescriptmodels 0.1.2041-test-server → 0.1.2051-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,7 +55,6 @@ export interface Account {
55
55
  confirmed?: boolean;
56
56
  criticalInfo?: CriticalAccountInfo;
57
57
  drivePermissions?: DrivePermission[];
58
- driverSettings?: DriverSettings;
59
58
  info?: AccountInfo;
60
59
  integrationSettings?: any[];
61
60
  operateAccounts?: string[];
@@ -172,10 +171,9 @@ export interface AmbulanceFilter extends DrivePermissionFilter {
172
171
  */
173
172
  export interface AmbulanceInfo {
174
173
  /**
175
- * Derived from infectionDescription != blank or infectionCode != blank
174
+ * Derived from infectionDescription != blank
176
175
  */
177
176
  hasInfection?: boolean;
178
- infectionCode?: string;
179
177
  infectionDescription?: string;
180
178
  monitoringDescription?: string;
181
179
  oxygenLiterPerHour?: number;
@@ -280,12 +278,6 @@ export interface CleaningAndSlack {
280
278
  pickupDuration?: number;
281
279
  }
282
280
 
283
- export interface CleaningSetting {
284
- cleaningAtGarage?: boolean;
285
- code?: string;
286
- minutes?: number;
287
- }
288
-
289
281
  export interface ConfirmAccount extends AccountCommand {
290
282
  }
291
283
 
@@ -370,14 +362,6 @@ export interface DisconnectClient {
370
362
  tokenId?: string;
371
363
  }
372
364
 
373
- export interface Disease {
374
- code?: string;
375
- defaultCleaningAtGarage?: boolean;
376
- defaultCleaningMinutes?: number;
377
- fullName?: string;
378
- shortName?: string;
379
- }
380
-
381
365
  export interface DispoliveSettings {
382
366
  key?: string;
383
367
  type: "dispolive";
@@ -425,11 +409,6 @@ export interface DrivePermissionInfoRequest {
425
409
  regions?: Region[];
426
410
  }
427
411
 
428
- export interface DriverSettings {
429
- cleaningSettings?: CleaningSetting[];
430
- slackSettings?: SlackSetting[];
431
- }
432
-
433
412
  export interface EmailMessage {
434
413
  attachments?: Attachment[];
435
414
  bccs?: string[];
@@ -640,9 +619,6 @@ export interface GetAccountsOfPotentialDrivers extends IGetPotentialDrivers {
640
619
  export interface GetAccountsOfPotentialDriversAsAdmin extends IGetPotentialDrivers {
641
620
  }
642
621
 
643
- export interface GetDiseases {
644
- }
645
-
646
622
  export interface GetDistrict {
647
623
  geoLocation?: GeoLocation;
648
624
  stateNutsCode?: string;
@@ -1093,15 +1069,6 @@ export interface ResetPosition {
1093
1069
  tokenId?: string;
1094
1070
  }
1095
1071
 
1096
- export interface ResetRideCleaningAndSlack extends RideDriverModifyCommand {
1097
- cleaningAndSlack?: CleaningAndSlack;
1098
- }
1099
-
1100
- export interface ResetSeriesCleaningAndSlack extends SeriesDriverCommand {
1101
- cleaningAndSlack?: CleaningAndSlack;
1102
- updateRides?: string[];
1103
- }
1104
-
1105
1072
  export interface ReturnRide extends RideDriverModifyCommand {
1106
1073
  }
1107
1074
 
@@ -1226,6 +1193,9 @@ export interface RideDriverModifyCommand extends RideDriverCommand {
1226
1193
  */
1227
1194
  export interface RideDuration {
1228
1195
  driving?: number;
1196
+ droppingOff?: number;
1197
+ pickingUp?: number;
1198
+ total?: number;
1229
1199
  }
1230
1200
 
1231
1201
  export interface RideFilter {
@@ -1288,6 +1258,9 @@ export interface RideLog {
1288
1258
  eventName?: string;
1289
1259
  eventValue?: any;
1290
1260
  impersonating?: boolean;
1261
+ isImpersonating?: boolean;
1262
+ isSuperAdmin?: boolean;
1263
+ isToken?: boolean;
1291
1264
  superAdmin?: boolean;
1292
1265
  timestamp?: string;
1293
1266
  token?: boolean;
@@ -1464,10 +1437,6 @@ export interface SeriesRideInfo extends GenericRideInfo {
1464
1437
  purpose?: SeriesPurpose;
1465
1438
  }
1466
1439
 
1467
- export interface SetCleaningSettings extends AccountUpdate {
1468
- settings?: CleaningSetting[];
1469
- }
1470
-
1471
1440
  export interface SetOperations extends AccountUpdate {
1472
1441
  operateAccounts?: string[];
1473
1442
  }
@@ -1476,26 +1445,14 @@ export interface SetOperator extends AccountUpdate {
1476
1445
  operator?: string;
1477
1446
  }
1478
1447
 
1479
- export interface SetRideCleaningAndSlack extends RideDriverModifyCommand {
1480
- cleaningAndSlack?: CleaningAndSlack;
1481
- }
1482
-
1483
1448
  export interface SetSecondaryTokenPermission extends SecondaryTokenPermissionCommand {
1484
1449
  accountPermission?: AccountPermission;
1485
1450
  }
1486
1451
 
1487
- export interface SetSeriesCleaningAndSlack extends SeriesDriverCommand {
1488
- cleaningAndSlack?: CleaningAndSlack;
1489
- }
1490
-
1491
1452
  export interface SetSettings extends AccountUpdate {
1492
1453
  settings?: any;
1493
1454
  }
1494
1455
 
1495
- export interface SetSlackSettings extends AccountUpdate {
1496
- settings?: SlackSetting[];
1497
- }
1498
-
1499
1456
  export interface SetUserPassword {
1500
1457
  confirmationCode?: string;
1501
1458
  password?: string;
@@ -1519,24 +1476,6 @@ export interface SignUpUser {
1519
1476
  userId?: string;
1520
1477
  }
1521
1478
 
1522
- export interface SlackRelevantInfo {
1523
- dropoffAtHome?: boolean;
1524
- hasInfection?: boolean;
1525
- heavyWeight?: boolean;
1526
- mobility?: Mobility;
1527
- pickupAtHome?: boolean;
1528
- requiresMonitoring?: boolean;
1529
- requiresOxygen?: boolean;
1530
- requiresSuctionAspirator?: boolean;
1531
- vehicleType?: VehicleType;
1532
- }
1533
-
1534
- export interface SlackSetting {
1535
- minutesAtHome?: number;
1536
- minutesAtHospital?: number;
1537
- type?: SlackType;
1538
- }
1539
-
1540
1479
  export interface StopImpersonatingUser {
1541
1480
  }
1542
1481
 
@@ -1736,8 +1675,6 @@ export type Service = "pro_medical" | "pro_fleet" | "pro_operator" | "celios_int
1736
1675
 
1737
1676
  export type SlackChannel = "admin_monitoring" | "admin_respond_immediately" | "admin_respond_within_hour" | "admin_reported_issues";
1738
1677
 
1739
- export type SlackType = "taxi_pickup" | "taxi_dropoff" | "ambulance_pickup" | "ambulance_dropoff" | "wheelchair" | "big_or_electric_wheelchair" | "carry_chair" | "stretcher" | "heavyweight" | "oxygen" | "monitoring" | "suctionAspirator" | "infection";
1740
-
1741
1678
  export type StandaloneService = "pro_medical" | "pro_fleet" | "pro_operator";
1742
1679
 
1743
1680
  export type SyncStatus = "not_synced" | "synced" | "update_not_synced";
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@moxi.gmbh/moxi-typescriptmodels",
3
- "version": "0.1.2041-test-server",
3
+ "version": "0.1.2051-test-server",
4
4
  "types": "common.d.ts"
5
5
  }
package/diseases.json DELETED
@@ -1,67 +0,0 @@
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
- ]