@moxi.gmbh/moxi-typescriptmodels 0.1.2001-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 +70 -7
- package/diseases.json +67 -0
- package/package.json +1 -1
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[];
|
|
@@ -171,9 +172,10 @@ export interface AmbulanceFilter extends DrivePermissionFilter {
|
|
|
171
172
|
*/
|
|
172
173
|
export interface AmbulanceInfo {
|
|
173
174
|
/**
|
|
174
|
-
* Derived from infectionDescription != blank
|
|
175
|
+
* Derived from infectionDescription != blank or infectionCode != blank
|
|
175
176
|
*/
|
|
176
177
|
hasInfection?: boolean;
|
|
178
|
+
infectionCode?: string;
|
|
177
179
|
infectionDescription?: string;
|
|
178
180
|
monitoringDescription?: string;
|
|
179
181
|
oxygenLiterPerHour?: number;
|
|
@@ -278,6 +280,12 @@ export interface CleaningAndSlack {
|
|
|
278
280
|
pickupDuration?: number;
|
|
279
281
|
}
|
|
280
282
|
|
|
283
|
+
export interface CleaningSetting {
|
|
284
|
+
cleaningAtGarage?: boolean;
|
|
285
|
+
code?: string;
|
|
286
|
+
minutes?: number;
|
|
287
|
+
}
|
|
288
|
+
|
|
281
289
|
export interface ConfirmAccount extends AccountCommand {
|
|
282
290
|
}
|
|
283
291
|
|
|
@@ -362,6 +370,14 @@ export interface DisconnectClient {
|
|
|
362
370
|
tokenId?: string;
|
|
363
371
|
}
|
|
364
372
|
|
|
373
|
+
export interface Disease {
|
|
374
|
+
code?: string;
|
|
375
|
+
defaultCleaningAtGarage?: boolean;
|
|
376
|
+
defaultCleaningMinutes?: number;
|
|
377
|
+
fullName?: string;
|
|
378
|
+
shortName?: string;
|
|
379
|
+
}
|
|
380
|
+
|
|
365
381
|
export interface DispoliveSettings {
|
|
366
382
|
key?: string;
|
|
367
383
|
type: "dispolive";
|
|
@@ -409,6 +425,11 @@ export interface DrivePermissionInfoRequest {
|
|
|
409
425
|
regions?: Region[];
|
|
410
426
|
}
|
|
411
427
|
|
|
428
|
+
export interface DriverSettings {
|
|
429
|
+
cleaningSettings?: CleaningSetting[];
|
|
430
|
+
slackSettings?: SlackSetting[];
|
|
431
|
+
}
|
|
432
|
+
|
|
412
433
|
export interface EmailMessage {
|
|
413
434
|
attachments?: Attachment[];
|
|
414
435
|
bccs?: string[];
|
|
@@ -619,6 +640,9 @@ export interface GetAccountsOfPotentialDrivers extends IGetPotentialDrivers {
|
|
|
619
640
|
export interface GetAccountsOfPotentialDriversAsAdmin extends IGetPotentialDrivers {
|
|
620
641
|
}
|
|
621
642
|
|
|
643
|
+
export interface GetDiseases {
|
|
644
|
+
}
|
|
645
|
+
|
|
622
646
|
export interface GetDistrict {
|
|
623
647
|
geoLocation?: GeoLocation;
|
|
624
648
|
stateNutsCode?: string;
|
|
@@ -1067,6 +1091,15 @@ export interface ResetPosition {
|
|
|
1067
1091
|
tokenId?: string;
|
|
1068
1092
|
}
|
|
1069
1093
|
|
|
1094
|
+
export interface ResetRideCleaningAndSlack extends RideDriverModifyCommand {
|
|
1095
|
+
cleaningAndSlack?: CleaningAndSlack;
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
export interface ResetSeriesCleaningAndSlack extends SeriesDriverCommand {
|
|
1099
|
+
cleaningAndSlack?: CleaningAndSlack;
|
|
1100
|
+
updateRides?: string[];
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1070
1103
|
export interface ReturnRide extends RideDriverModifyCommand {
|
|
1071
1104
|
}
|
|
1072
1105
|
|
|
@@ -1191,9 +1224,6 @@ export interface RideDriverModifyCommand extends RideDriverCommand {
|
|
|
1191
1224
|
*/
|
|
1192
1225
|
export interface RideDuration {
|
|
1193
1226
|
driving?: number;
|
|
1194
|
-
droppingOff?: number;
|
|
1195
|
-
pickingUp?: number;
|
|
1196
|
-
total?: number;
|
|
1197
1227
|
}
|
|
1198
1228
|
|
|
1199
1229
|
export interface RideFilter {
|
|
@@ -1255,9 +1285,6 @@ export interface RideLog {
|
|
|
1255
1285
|
eventName?: string;
|
|
1256
1286
|
eventValue?: any;
|
|
1257
1287
|
impersonating?: boolean;
|
|
1258
|
-
isImpersonating?: boolean;
|
|
1259
|
-
isSuperAdmin?: boolean;
|
|
1260
|
-
isToken?: boolean;
|
|
1261
1288
|
superAdmin?: boolean;
|
|
1262
1289
|
timestamp?: string;
|
|
1263
1290
|
token?: boolean;
|
|
@@ -1434,6 +1461,10 @@ export interface SeriesRideInfo extends GenericRideInfo {
|
|
|
1434
1461
|
purpose?: SeriesPurpose;
|
|
1435
1462
|
}
|
|
1436
1463
|
|
|
1464
|
+
export interface SetCleaningSettings extends AccountUpdate {
|
|
1465
|
+
settings?: CleaningSetting[];
|
|
1466
|
+
}
|
|
1467
|
+
|
|
1437
1468
|
export interface SetOperations extends AccountUpdate {
|
|
1438
1469
|
operateAccounts?: string[];
|
|
1439
1470
|
}
|
|
@@ -1442,14 +1473,26 @@ export interface SetOperator extends AccountUpdate {
|
|
|
1442
1473
|
operator?: string;
|
|
1443
1474
|
}
|
|
1444
1475
|
|
|
1476
|
+
export interface SetRideCleaningAndSlack extends RideDriverModifyCommand {
|
|
1477
|
+
cleaningAndSlack?: CleaningAndSlack;
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1445
1480
|
export interface SetSecondaryTokenPermission extends SecondaryTokenPermissionCommand {
|
|
1446
1481
|
accountPermission?: AccountPermission;
|
|
1447
1482
|
}
|
|
1448
1483
|
|
|
1484
|
+
export interface SetSeriesCleaningAndSlack extends SeriesDriverCommand {
|
|
1485
|
+
cleaningAndSlack?: CleaningAndSlack;
|
|
1486
|
+
}
|
|
1487
|
+
|
|
1449
1488
|
export interface SetSettings extends AccountUpdate {
|
|
1450
1489
|
settings?: any;
|
|
1451
1490
|
}
|
|
1452
1491
|
|
|
1492
|
+
export interface SetSlackSettings extends AccountUpdate {
|
|
1493
|
+
settings?: SlackSetting[];
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1453
1496
|
export interface SetUserPassword {
|
|
1454
1497
|
confirmationCode?: string;
|
|
1455
1498
|
password?: string;
|
|
@@ -1473,6 +1516,24 @@ export interface SignUpUser {
|
|
|
1473
1516
|
userId?: string;
|
|
1474
1517
|
}
|
|
1475
1518
|
|
|
1519
|
+
export interface SlackRelevantInfo {
|
|
1520
|
+
dropoffAtHome?: boolean;
|
|
1521
|
+
hasInfection?: boolean;
|
|
1522
|
+
heavyWeight?: boolean;
|
|
1523
|
+
mobility?: Mobility;
|
|
1524
|
+
pickupAtHome?: boolean;
|
|
1525
|
+
requiresMonitoring?: boolean;
|
|
1526
|
+
requiresOxygen?: boolean;
|
|
1527
|
+
requiresSuctionAspirator?: boolean;
|
|
1528
|
+
vehicleType?: VehicleType;
|
|
1529
|
+
}
|
|
1530
|
+
|
|
1531
|
+
export interface SlackSetting {
|
|
1532
|
+
minutesAtHome?: number;
|
|
1533
|
+
minutesAtHospital?: number;
|
|
1534
|
+
type?: SlackType;
|
|
1535
|
+
}
|
|
1536
|
+
|
|
1476
1537
|
export interface StopImpersonatingUser {
|
|
1477
1538
|
}
|
|
1478
1539
|
|
|
@@ -1670,6 +1731,8 @@ export type Service = "pro_medical" | "pro_fleet" | "pro_operator" | "celios_int
|
|
|
1670
1731
|
|
|
1671
1732
|
export type SlackChannel = "admin_monitoring" | "admin_respond_immediately" | "admin_respond_within_hour" | "admin_reported_issues";
|
|
1672
1733
|
|
|
1734
|
+
export type SlackType = "taxi_pickup" | "taxi_dropoff" | "ambulance_pickup" | "ambulance_dropoff" | "wheelchair" | "big_or_electric_wheelchair" | "carry_chair" | "stretcher" | "heavyweight" | "oxygen" | "monitoring" | "suctionAspirator" | "infection";
|
|
1735
|
+
|
|
1673
1736
|
export type StandaloneService = "pro_medical" | "pro_fleet" | "pro_operator";
|
|
1674
1737
|
|
|
1675
1738
|
export type SyncStatus = "not_synced" | "synced" | "update_not_synced";
|
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