@moxi.gmbh/moxi-typescriptmodels 0.1.2041-test-server → 0.1.2061-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 +32 -70
- package/package.json +1 -1
- package/diseases.json +0 -67
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
|
|
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;
|
|
@@ -227,6 +225,9 @@ export interface AuthenticationResponse {
|
|
|
227
225
|
userProfile?: UserProfile;
|
|
228
226
|
}
|
|
229
227
|
|
|
228
|
+
export interface AuthenticationResponseFactory {
|
|
229
|
+
}
|
|
230
|
+
|
|
230
231
|
export interface AuthenticationService {
|
|
231
232
|
}
|
|
232
233
|
|
|
@@ -280,12 +281,6 @@ export interface CleaningAndSlack {
|
|
|
280
281
|
pickupDuration?: number;
|
|
281
282
|
}
|
|
282
283
|
|
|
283
|
-
export interface CleaningSetting {
|
|
284
|
-
cleaningAtGarage?: boolean;
|
|
285
|
-
code?: string;
|
|
286
|
-
minutes?: number;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
284
|
export interface ConfirmAccount extends AccountCommand {
|
|
290
285
|
}
|
|
291
286
|
|
|
@@ -370,14 +365,6 @@ export interface DisconnectClient {
|
|
|
370
365
|
tokenId?: string;
|
|
371
366
|
}
|
|
372
367
|
|
|
373
|
-
export interface Disease {
|
|
374
|
-
code?: string;
|
|
375
|
-
defaultCleaningAtGarage?: boolean;
|
|
376
|
-
defaultCleaningMinutes?: number;
|
|
377
|
-
fullName?: string;
|
|
378
|
-
shortName?: string;
|
|
379
|
-
}
|
|
380
|
-
|
|
381
368
|
export interface DispoliveSettings {
|
|
382
369
|
key?: string;
|
|
383
370
|
type: "dispolive";
|
|
@@ -425,11 +412,6 @@ export interface DrivePermissionInfoRequest {
|
|
|
425
412
|
regions?: Region[];
|
|
426
413
|
}
|
|
427
414
|
|
|
428
|
-
export interface DriverSettings {
|
|
429
|
-
cleaningSettings?: CleaningSetting[];
|
|
430
|
-
slackSettings?: SlackSetting[];
|
|
431
|
-
}
|
|
432
|
-
|
|
433
415
|
export interface EmailMessage {
|
|
434
416
|
attachments?: Attachment[];
|
|
435
417
|
bccs?: string[];
|
|
@@ -640,9 +622,6 @@ export interface GetAccountsOfPotentialDrivers extends IGetPotentialDrivers {
|
|
|
640
622
|
export interface GetAccountsOfPotentialDriversAsAdmin extends IGetPotentialDrivers {
|
|
641
623
|
}
|
|
642
624
|
|
|
643
|
-
export interface GetDiseases {
|
|
644
|
-
}
|
|
645
|
-
|
|
646
625
|
export interface GetDistrict {
|
|
647
626
|
geoLocation?: GeoLocation;
|
|
648
627
|
stateNutsCode?: string;
|
|
@@ -1009,6 +988,24 @@ export interface ReadUpdatesResult {
|
|
|
1009
988
|
updates?: any[];
|
|
1010
989
|
}
|
|
1011
990
|
|
|
991
|
+
export interface RefreshTokenData {
|
|
992
|
+
expiresAt?: string;
|
|
993
|
+
hashedToken?: string;
|
|
994
|
+
userId?: string;
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
export interface RefreshTokenService {
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
export interface RefreshUserToken {
|
|
1001
|
+
refreshToken?: string;
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
export interface RefreshableAuthenticationResponse extends AuthenticationResponse {
|
|
1005
|
+
refreshToken?: string;
|
|
1006
|
+
refreshTokenDeadline?: string;
|
|
1007
|
+
}
|
|
1008
|
+
|
|
1012
1009
|
export interface Region {
|
|
1013
1010
|
nutsCode?: string;
|
|
1014
1011
|
}
|
|
@@ -1093,15 +1090,6 @@ export interface ResetPosition {
|
|
|
1093
1090
|
tokenId?: string;
|
|
1094
1091
|
}
|
|
1095
1092
|
|
|
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
1093
|
export interface ReturnRide extends RideDriverModifyCommand {
|
|
1106
1094
|
}
|
|
1107
1095
|
|
|
@@ -1138,6 +1126,10 @@ export interface RevokeSubscription extends AccountUpdate {
|
|
|
1138
1126
|
export interface RevokeToken extends TokenUpdate {
|
|
1139
1127
|
}
|
|
1140
1128
|
|
|
1129
|
+
export interface RevokeUserRefreshTokens {
|
|
1130
|
+
userId?: string;
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1141
1133
|
export interface Ride extends RideOrSeries, RideOrMinimizedSeries {
|
|
1142
1134
|
/**
|
|
1143
1135
|
* Derived from driver != null
|
|
@@ -1226,6 +1218,9 @@ export interface RideDriverModifyCommand extends RideDriverCommand {
|
|
|
1226
1218
|
*/
|
|
1227
1219
|
export interface RideDuration {
|
|
1228
1220
|
driving?: number;
|
|
1221
|
+
droppingOff?: number;
|
|
1222
|
+
pickingUp?: number;
|
|
1223
|
+
total?: number;
|
|
1229
1224
|
}
|
|
1230
1225
|
|
|
1231
1226
|
export interface RideFilter {
|
|
@@ -1288,6 +1283,9 @@ export interface RideLog {
|
|
|
1288
1283
|
eventName?: string;
|
|
1289
1284
|
eventValue?: any;
|
|
1290
1285
|
impersonating?: boolean;
|
|
1286
|
+
isImpersonating?: boolean;
|
|
1287
|
+
isSuperAdmin?: boolean;
|
|
1288
|
+
isToken?: boolean;
|
|
1291
1289
|
superAdmin?: boolean;
|
|
1292
1290
|
timestamp?: string;
|
|
1293
1291
|
token?: boolean;
|
|
@@ -1464,10 +1462,6 @@ export interface SeriesRideInfo extends GenericRideInfo {
|
|
|
1464
1462
|
purpose?: SeriesPurpose;
|
|
1465
1463
|
}
|
|
1466
1464
|
|
|
1467
|
-
export interface SetCleaningSettings extends AccountUpdate {
|
|
1468
|
-
settings?: CleaningSetting[];
|
|
1469
|
-
}
|
|
1470
|
-
|
|
1471
1465
|
export interface SetOperations extends AccountUpdate {
|
|
1472
1466
|
operateAccounts?: string[];
|
|
1473
1467
|
}
|
|
@@ -1476,26 +1470,14 @@ export interface SetOperator extends AccountUpdate {
|
|
|
1476
1470
|
operator?: string;
|
|
1477
1471
|
}
|
|
1478
1472
|
|
|
1479
|
-
export interface SetRideCleaningAndSlack extends RideDriverModifyCommand {
|
|
1480
|
-
cleaningAndSlack?: CleaningAndSlack;
|
|
1481
|
-
}
|
|
1482
|
-
|
|
1483
1473
|
export interface SetSecondaryTokenPermission extends SecondaryTokenPermissionCommand {
|
|
1484
1474
|
accountPermission?: AccountPermission;
|
|
1485
1475
|
}
|
|
1486
1476
|
|
|
1487
|
-
export interface SetSeriesCleaningAndSlack extends SeriesDriverCommand {
|
|
1488
|
-
cleaningAndSlack?: CleaningAndSlack;
|
|
1489
|
-
}
|
|
1490
|
-
|
|
1491
1477
|
export interface SetSettings extends AccountUpdate {
|
|
1492
1478
|
settings?: any;
|
|
1493
1479
|
}
|
|
1494
1480
|
|
|
1495
|
-
export interface SetSlackSettings extends AccountUpdate {
|
|
1496
|
-
settings?: SlackSetting[];
|
|
1497
|
-
}
|
|
1498
|
-
|
|
1499
1481
|
export interface SetUserPassword {
|
|
1500
1482
|
confirmationCode?: string;
|
|
1501
1483
|
password?: string;
|
|
@@ -1519,24 +1501,6 @@ export interface SignUpUser {
|
|
|
1519
1501
|
userId?: string;
|
|
1520
1502
|
}
|
|
1521
1503
|
|
|
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
1504
|
export interface StopImpersonatingUser {
|
|
1541
1505
|
}
|
|
1542
1506
|
|
|
@@ -1736,8 +1700,6 @@ export type Service = "pro_medical" | "pro_fleet" | "pro_operator" | "celios_int
|
|
|
1736
1700
|
|
|
1737
1701
|
export type SlackChannel = "admin_monitoring" | "admin_respond_immediately" | "admin_respond_within_hour" | "admin_reported_issues";
|
|
1738
1702
|
|
|
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
1703
|
export type StandaloneService = "pro_medical" | "pro_fleet" | "pro_operator";
|
|
1742
1704
|
|
|
1743
1705
|
export type SyncStatus = "not_synced" | "synced" | "update_not_synced";
|
package/package.json
CHANGED
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
|
-
]
|