@moxi.gmbh/moxi-typescriptmodels 0.1.2001-test-server → 0.1.2011-19e2872-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-with-namespaces.d.ts +3409 -0
- package/common.d.ts +393 -86
- package/package.json +1 -1
package/common.d.ts
CHANGED
|
@@ -26,6 +26,9 @@ export interface AbstractFindRidesInMarketplace {
|
|
|
26
26
|
accountId?: string;
|
|
27
27
|
descending?: boolean;
|
|
28
28
|
filter?: RideFilter;
|
|
29
|
+
/**
|
|
30
|
+
* @deprecated
|
|
31
|
+
*/
|
|
29
32
|
maxSize?: number;
|
|
30
33
|
term?: string;
|
|
31
34
|
}
|
|
@@ -78,6 +81,7 @@ export interface AccountFilter {
|
|
|
78
81
|
|
|
79
82
|
export interface AccountInfo {
|
|
80
83
|
address?: AddressInfo;
|
|
84
|
+
companyInfo?: CompanyInfo;
|
|
81
85
|
defaultLanguage?: string;
|
|
82
86
|
notificationEmails?: string[];
|
|
83
87
|
phoneNumber?: PhoneNumber;
|
|
@@ -104,6 +108,10 @@ export interface AccountPermissionCommand extends UserUpdate {
|
|
|
104
108
|
accountId?: string;
|
|
105
109
|
}
|
|
106
110
|
|
|
111
|
+
export interface AccountPermissionFilter {
|
|
112
|
+
roles?: AccountRole[];
|
|
113
|
+
}
|
|
114
|
+
|
|
107
115
|
export interface AccountRef {
|
|
108
116
|
accountId?: string;
|
|
109
117
|
name?: string;
|
|
@@ -154,13 +162,6 @@ export interface AdminSetUserPassword {
|
|
|
154
162
|
userId?: string;
|
|
155
163
|
}
|
|
156
164
|
|
|
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
165
|
export interface AmbulanceFilter extends DrivePermissionFilter {
|
|
165
166
|
heavyWeightAllowed?: boolean;
|
|
166
167
|
type: "ambulance";
|
|
@@ -189,7 +190,8 @@ export interface AmbulanceInfo {
|
|
|
189
190
|
}
|
|
190
191
|
|
|
191
192
|
/**
|
|
192
|
-
*
|
|
193
|
+
* Common information shared across all rides in a series. Similar to RideInfo but without appointment-specific details that vary per ride.
|
|
194
|
+
|
|
193
195
|
*/
|
|
194
196
|
export interface AnonymizedSeriesRideInfo extends SeriesRideInfo {
|
|
195
197
|
}
|
|
@@ -220,23 +222,38 @@ export interface AuthenticateWithToken extends UserUpdate {
|
|
|
220
222
|
export interface AuthenticationResponse {
|
|
221
223
|
authorizationHeader?: string;
|
|
222
224
|
impersonator?: string;
|
|
225
|
+
refreshToken?: string;
|
|
226
|
+
refreshTokenDeadline?: string;
|
|
223
227
|
result?: AuthenticationResult;
|
|
224
228
|
sessionDeadline?: string;
|
|
225
229
|
userProfile?: UserProfile;
|
|
226
230
|
}
|
|
227
231
|
|
|
232
|
+
export interface AuthenticationResponseFactory {
|
|
233
|
+
}
|
|
234
|
+
|
|
228
235
|
export interface AuthenticationService {
|
|
229
236
|
}
|
|
230
237
|
|
|
231
238
|
export interface BookRide extends CreateRideCommand {
|
|
232
|
-
info?:
|
|
239
|
+
info?: RideInfoUnion;
|
|
233
240
|
}
|
|
234
241
|
|
|
235
242
|
export interface BookRideSeries extends CreateSeriesCommand {
|
|
236
243
|
rideSummaries?: RideSummary[];
|
|
237
244
|
}
|
|
238
245
|
|
|
239
|
-
export interface
|
|
246
|
+
export interface Breathing {
|
|
247
|
+
breathingDelivery?: BreathingDeliveryUnion;
|
|
248
|
+
spontaneous?: boolean;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
export interface BreathingDelivery {
|
|
252
|
+
oxygenLiterPerMin?: number;
|
|
253
|
+
type: "intubated" | "mask" | "tracheotomized";
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
export interface CancelRide extends RideCommand {
|
|
240
257
|
reason?: string;
|
|
241
258
|
}
|
|
242
259
|
|
|
@@ -258,6 +275,11 @@ export interface CeliosSettings {
|
|
|
258
275
|
user?: string;
|
|
259
276
|
}
|
|
260
277
|
|
|
278
|
+
export interface CeliosStreamPulse {
|
|
279
|
+
target?: string;
|
|
280
|
+
type?: GrpcStreamType;
|
|
281
|
+
}
|
|
282
|
+
|
|
261
283
|
export interface ChangeUserPassword {
|
|
262
284
|
newPassword?: string;
|
|
263
285
|
oldPassword?: string;
|
|
@@ -268,6 +290,15 @@ export interface CheckIfUserSignedUp {
|
|
|
268
290
|
userId?: string;
|
|
269
291
|
}
|
|
270
292
|
|
|
293
|
+
export interface CheckSession {
|
|
294
|
+
userId?: string;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
export interface Circulation {
|
|
298
|
+
catecholamines?: string[];
|
|
299
|
+
type?: CirculationType;
|
|
300
|
+
}
|
|
301
|
+
|
|
271
302
|
/**
|
|
272
303
|
* You can send in custom values. For every value you don't send in, we lookup the default setting you set up in your account.
|
|
273
304
|
*/
|
|
@@ -278,6 +309,14 @@ export interface CleaningAndSlack {
|
|
|
278
309
|
pickupDuration?: number;
|
|
279
310
|
}
|
|
280
311
|
|
|
312
|
+
export interface CompanyInfo {
|
|
313
|
+
businessLicenseDocument?: Document;
|
|
314
|
+
creationDate?: string;
|
|
315
|
+
hasLiabilityInsurance?: boolean;
|
|
316
|
+
publicLiabilityPolicyDocument?: Document;
|
|
317
|
+
registrationNumber?: string;
|
|
318
|
+
}
|
|
319
|
+
|
|
281
320
|
export interface ConfirmAccount extends AccountCommand {
|
|
282
321
|
}
|
|
283
322
|
|
|
@@ -293,6 +332,7 @@ export interface ConfirmSubscription extends AccountUpdate {
|
|
|
293
332
|
}
|
|
294
333
|
|
|
295
334
|
export interface ConfirmUser {
|
|
335
|
+
activateOneTimePassword?: boolean;
|
|
296
336
|
token?: string;
|
|
297
337
|
userId?: string;
|
|
298
338
|
}
|
|
@@ -302,6 +342,11 @@ export interface ConfirmablePermission {
|
|
|
302
342
|
revoked?: boolean;
|
|
303
343
|
}
|
|
304
344
|
|
|
345
|
+
export interface Consciousness {
|
|
346
|
+
gcs?: number;
|
|
347
|
+
type?: ConsciousnessType;
|
|
348
|
+
}
|
|
349
|
+
|
|
305
350
|
export interface CreateAccount extends AccountCommand {
|
|
306
351
|
autoConfirm?: boolean;
|
|
307
352
|
criticalInfo?: CriticalAccountInfo;
|
|
@@ -357,6 +402,11 @@ export interface DateRange {
|
|
|
357
402
|
export interface DeleteUser extends UserEdit {
|
|
358
403
|
}
|
|
359
404
|
|
|
405
|
+
export interface DetailsFilter extends WebsocketFilter {
|
|
406
|
+
id?: string;
|
|
407
|
+
screen: "ride_details";
|
|
408
|
+
}
|
|
409
|
+
|
|
360
410
|
export interface DisconnectClient {
|
|
361
411
|
clientId?: string;
|
|
362
412
|
tokenId?: string;
|
|
@@ -380,6 +430,12 @@ export interface DistrictInfo {
|
|
|
380
430
|
type?: string;
|
|
381
431
|
}
|
|
382
432
|
|
|
433
|
+
export interface Document {
|
|
434
|
+
id?: string;
|
|
435
|
+
name?: string;
|
|
436
|
+
size?: number;
|
|
437
|
+
}
|
|
438
|
+
|
|
383
439
|
export interface DownloadableFile {
|
|
384
440
|
base64Data?: string;
|
|
385
441
|
fileName?: string;
|
|
@@ -425,6 +481,36 @@ export interface EmergencyAmbulanceFilter extends DrivePermissionFilter {
|
|
|
425
481
|
type: "emergencyAmbulance";
|
|
426
482
|
}
|
|
427
483
|
|
|
484
|
+
export interface Equipment {
|
|
485
|
+
cprDevice?: boolean;
|
|
486
|
+
ecmo?: boolean;
|
|
487
|
+
/**
|
|
488
|
+
* Derived from infusionTherapy != blank
|
|
489
|
+
*/
|
|
490
|
+
hasInfusionTherapy?: boolean;
|
|
491
|
+
/**
|
|
492
|
+
* Derived from perfusorDescription != blank
|
|
493
|
+
*/
|
|
494
|
+
hasPerfusor?: boolean;
|
|
495
|
+
/**
|
|
496
|
+
* Derived from secondPerfusorDescription != blank
|
|
497
|
+
*/
|
|
498
|
+
hasSecondPerfusor?: boolean;
|
|
499
|
+
/**
|
|
500
|
+
* Derived from thoraxDrainageLeft != null or thoraxDrainageRight != null
|
|
501
|
+
*/
|
|
502
|
+
hasThoraxDrainage?: boolean;
|
|
503
|
+
iabp?: boolean;
|
|
504
|
+
infusionTherapy?: string;
|
|
505
|
+
pacemaker?: boolean;
|
|
506
|
+
perfusorDescription?: string;
|
|
507
|
+
powerSupply?: boolean;
|
|
508
|
+
secondPerfusorDescription?: string;
|
|
509
|
+
thoraxDrainageLeft?: number;
|
|
510
|
+
thoraxDrainageRight?: number;
|
|
511
|
+
vacuumMattress?: boolean;
|
|
512
|
+
}
|
|
513
|
+
|
|
428
514
|
export interface EuropeanHealthInsurance {
|
|
429
515
|
acronym?: string;
|
|
430
516
|
email?: string;
|
|
@@ -471,6 +557,14 @@ export interface FindAccounts {
|
|
|
471
557
|
term?: string;
|
|
472
558
|
}
|
|
473
559
|
|
|
560
|
+
export interface FindDuplicateRides {
|
|
561
|
+
accountId?: string;
|
|
562
|
+
appointmentTime?: string;
|
|
563
|
+
patientBirthDay?: string;
|
|
564
|
+
patientFirstName?: string;
|
|
565
|
+
patientLastName?: string;
|
|
566
|
+
}
|
|
567
|
+
|
|
474
568
|
export interface FindMyRides extends AbstractFindMyRides {
|
|
475
569
|
}
|
|
476
570
|
|
|
@@ -533,6 +627,8 @@ export interface FindTokens {
|
|
|
533
627
|
}
|
|
534
628
|
|
|
535
629
|
export interface FindUsers {
|
|
630
|
+
accountFilter?: AccountFilter;
|
|
631
|
+
accountPermissionFilter?: AccountPermissionFilter;
|
|
536
632
|
term?: string;
|
|
537
633
|
}
|
|
538
634
|
|
|
@@ -542,6 +638,11 @@ export interface FirebaseMessage {
|
|
|
542
638
|
topic?: string;
|
|
543
639
|
}
|
|
544
640
|
|
|
641
|
+
export interface FleetOverviewFilter extends WebsocketFilter {
|
|
642
|
+
queryFilter?: FindRidesAndSeriesForDriver;
|
|
643
|
+
screen: "fleet_overview";
|
|
644
|
+
}
|
|
645
|
+
|
|
545
646
|
export interface GenerateToken {
|
|
546
647
|
accountPermission?: AccountPermission;
|
|
547
648
|
info?: TokenInfo;
|
|
@@ -668,10 +769,6 @@ export interface GetOneSeries {
|
|
|
668
769
|
rideSeriesId?: string;
|
|
669
770
|
}
|
|
670
771
|
|
|
671
|
-
/**
|
|
672
|
-
* Common information shared across all rides in a series. Similar to RideInfo but without appointment-specific details that vary per ride.
|
|
673
|
-
|
|
674
|
-
*/
|
|
675
772
|
export interface GetPotentialDriverIds extends GetPotentialDriversAbstract {
|
|
676
773
|
}
|
|
677
774
|
|
|
@@ -682,14 +779,9 @@ export interface GetPotentialDriverIds extends GetPotentialDriversAbstract {
|
|
|
682
779
|
export interface GetPotentialDrivers extends GetPotentialDriversAbstract {
|
|
683
780
|
}
|
|
684
781
|
|
|
685
|
-
/**
|
|
686
|
-
* Common information shared across all rides in a series. Similar to RideInfo but without appointment-specific details that vary per ride.
|
|
687
|
-
|
|
688
|
-
*/
|
|
689
782
|
export interface GetPotentialDriversAbstract {
|
|
690
783
|
fromDistrict?: string;
|
|
691
784
|
mobility?: Mobility;
|
|
692
|
-
toDistrict?: string;
|
|
693
785
|
vehicleType?: VehicleType;
|
|
694
786
|
weightInKg?: number;
|
|
695
787
|
}
|
|
@@ -774,10 +866,20 @@ export interface GiveTeamPermission extends AccountPermissionCommand {
|
|
|
774
866
|
teamPermission?: TeamPermission;
|
|
775
867
|
}
|
|
776
868
|
|
|
869
|
+
export interface GrpcStreamId {
|
|
870
|
+
target?: string;
|
|
871
|
+
type?: GrpcStreamType;
|
|
872
|
+
}
|
|
873
|
+
|
|
777
874
|
export interface HalfHourBeforeStart {
|
|
778
875
|
rideId?: string;
|
|
779
876
|
}
|
|
780
877
|
|
|
878
|
+
export interface HospitalOverviewFilter extends WebsocketFilter {
|
|
879
|
+
queryFilter?: FindMyRidesAndSeries;
|
|
880
|
+
screen: "hospital_overview";
|
|
881
|
+
}
|
|
882
|
+
|
|
781
883
|
export interface IGetPotentialDrivers {
|
|
782
884
|
fromDistrict?: string;
|
|
783
885
|
mobility?: Mobility;
|
|
@@ -790,6 +892,30 @@ export interface ImpersonateUser {
|
|
|
790
892
|
userId?: string;
|
|
791
893
|
}
|
|
792
894
|
|
|
895
|
+
export interface Infection {
|
|
896
|
+
esbl?: boolean;
|
|
897
|
+
furtherActions?: string;
|
|
898
|
+
/**
|
|
899
|
+
* Derived from furtherActions != blank
|
|
900
|
+
*/
|
|
901
|
+
hasFurtherActions?: boolean;
|
|
902
|
+
/**
|
|
903
|
+
* Derived from infectionDescription != blank
|
|
904
|
+
*/
|
|
905
|
+
hasInfection?: boolean;
|
|
906
|
+
/**
|
|
907
|
+
* Derived from otherGerms != blank
|
|
908
|
+
*/
|
|
909
|
+
hasOtherGerms?: boolean;
|
|
910
|
+
infectionDescription?: string;
|
|
911
|
+
isolationNecessary?: boolean;
|
|
912
|
+
mrgn?: boolean;
|
|
913
|
+
mrsa?: boolean;
|
|
914
|
+
otherGerms?: string;
|
|
915
|
+
reverseIsolation?: boolean;
|
|
916
|
+
vre_cre?: boolean;
|
|
917
|
+
}
|
|
918
|
+
|
|
793
919
|
export interface InstantRange {
|
|
794
920
|
end?: string;
|
|
795
921
|
start?: string;
|
|
@@ -808,12 +934,52 @@ export interface IntensiveCareHelicopterFilter extends DrivePermissionFilter {
|
|
|
808
934
|
type: "intensiveCareHelicopter";
|
|
809
935
|
}
|
|
810
936
|
|
|
937
|
+
export interface IntensiveCareInfo {
|
|
938
|
+
ageCategory?: AgeCategory;
|
|
939
|
+
babyPod?: boolean;
|
|
940
|
+
babyWeighs3to8kg?: boolean;
|
|
941
|
+
breathing?: Breathing;
|
|
942
|
+
circulation?: Circulation;
|
|
943
|
+
consciousness?: Consciousness;
|
|
944
|
+
diagnosis?: string;
|
|
945
|
+
equipment?: Equipment;
|
|
946
|
+
infection?: Infection;
|
|
947
|
+
monitoring?: Monitoring;
|
|
948
|
+
otherRemarks?: string;
|
|
949
|
+
overweightCategory?: OverweightCategory;
|
|
950
|
+
ventilation?: Ventilation;
|
|
951
|
+
}
|
|
952
|
+
|
|
811
953
|
/**
|
|
812
|
-
*
|
|
954
|
+
* Ride information specific for intensive care rides.
|
|
813
955
|
*/
|
|
814
956
|
export interface IntensiveCareRideInfo extends RideInfo {
|
|
815
|
-
|
|
816
|
-
|
|
957
|
+
costCenter?: string;
|
|
958
|
+
/**
|
|
959
|
+
* Derived from costCenter != blank
|
|
960
|
+
*/
|
|
961
|
+
hasInternalBilling?: boolean;
|
|
962
|
+
intensiveCareInfo?: IntensiveCareInfo;
|
|
963
|
+
requestingDoctorName?: string;
|
|
964
|
+
requestingDoctorPhoneNr?: PhoneNumber;
|
|
965
|
+
requestingStationName?: string;
|
|
966
|
+
requestingStationPhoneNr?: PhoneNumber;
|
|
967
|
+
respondingDoctorName?: string;
|
|
968
|
+
respondingDoctorPhoneNr?: PhoneNumber;
|
|
969
|
+
respondingStationName?: string;
|
|
970
|
+
respondingStationPhoneNr?: PhoneNumber;
|
|
971
|
+
urgency?: Urgency;
|
|
972
|
+
vehicleType: "intensiveCareAmbulance" | "emergencyAmbulance" | "intensiveCareHelicopter";
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
/**
|
|
976
|
+
* Intubated means a tube in the nose or mouth
|
|
977
|
+
*/
|
|
978
|
+
export interface Intubated extends BreathingDelivery {
|
|
979
|
+
fixationInCm?: number;
|
|
980
|
+
oralOrNasal?: OralOrNasal;
|
|
981
|
+
tubeDiameterInMm?: number;
|
|
982
|
+
type: "intubated";
|
|
817
983
|
}
|
|
818
984
|
|
|
819
985
|
export interface Invite {
|
|
@@ -842,48 +1008,15 @@ export interface IsoState {
|
|
|
842
1008
|
nutsCode?: string;
|
|
843
1009
|
}
|
|
844
1010
|
|
|
845
|
-
export interface
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
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;
|
|
1011
|
+
export interface MarketplaceOverviewFilter extends WebsocketFilter {
|
|
1012
|
+
queryFilter?: FindRidesAndSeriesInMarketplace;
|
|
1013
|
+
screen: "marketplace";
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
export interface Mask extends BreathingDelivery {
|
|
1017
|
+
highflowLiterPerMin?: number;
|
|
1018
|
+
niv?: NIV;
|
|
1019
|
+
type: "mask";
|
|
887
1020
|
}
|
|
888
1021
|
|
|
889
1022
|
export interface Metric {
|
|
@@ -903,9 +1036,43 @@ export interface MinimizedRideSeries extends RideSeries, RideOrMinimizedSeries {
|
|
|
903
1036
|
info?: SeriesRideInfo;
|
|
904
1037
|
}
|
|
905
1038
|
|
|
906
|
-
export interface
|
|
907
|
-
|
|
908
|
-
|
|
1039
|
+
export interface Monitoring {
|
|
1040
|
+
ap?: boolean;
|
|
1041
|
+
arteryCatheterDescription?: string;
|
|
1042
|
+
capnometry?: boolean;
|
|
1043
|
+
cvlDescription?: string;
|
|
1044
|
+
cvp?: boolean;
|
|
1045
|
+
eeg?: boolean;
|
|
1046
|
+
/**
|
|
1047
|
+
* Derived from arteryCatheterDescription != blank
|
|
1048
|
+
*/
|
|
1049
|
+
hasArteryCatheter?: boolean;
|
|
1050
|
+
/**
|
|
1051
|
+
* Derived from cvlDescription != blank
|
|
1052
|
+
*/
|
|
1053
|
+
hasCvl?: boolean;
|
|
1054
|
+
/**
|
|
1055
|
+
* Derived from otherMonitoring != blank
|
|
1056
|
+
*/
|
|
1057
|
+
hasOtherMonitoring?: boolean;
|
|
1058
|
+
/**
|
|
1059
|
+
* Derived from numberOfVenusLines != null
|
|
1060
|
+
*/
|
|
1061
|
+
hasVenusLines?: boolean;
|
|
1062
|
+
icp?: boolean;
|
|
1063
|
+
numberOfVenusLines?: number;
|
|
1064
|
+
otherMonitoring?: string;
|
|
1065
|
+
pap?: boolean;
|
|
1066
|
+
standardMonitoring?: boolean;
|
|
1067
|
+
venusLinesDescription?: string;
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
/**
|
|
1071
|
+
* NIV stands for Non Invasive Ventilation.
|
|
1072
|
+
*/
|
|
1073
|
+
export interface NIV {
|
|
1074
|
+
fiO2?: number;
|
|
1075
|
+
peep?: number;
|
|
909
1076
|
}
|
|
910
1077
|
|
|
911
1078
|
export interface Notification {
|
|
@@ -939,6 +1106,21 @@ export interface OneHourAfterEnd {
|
|
|
939
1106
|
rideId?: string;
|
|
940
1107
|
}
|
|
941
1108
|
|
|
1109
|
+
export interface OneTimePasswordExpires {
|
|
1110
|
+
userId?: string;
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
export interface OneTimePasswordState {
|
|
1114
|
+
hashedPassword?: string;
|
|
1115
|
+
loginAttempts?: number;
|
|
1116
|
+
userId?: string;
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
export interface OperationsOverviewFilter extends WebsocketFilter {
|
|
1120
|
+
queryFilter?: FindRidesAndSeries;
|
|
1121
|
+
screen: "operations_overview";
|
|
1122
|
+
}
|
|
1123
|
+
|
|
942
1124
|
export interface OptimizerMessage {
|
|
943
1125
|
}
|
|
944
1126
|
|
|
@@ -984,6 +1166,19 @@ export interface ReadUpdatesResult {
|
|
|
984
1166
|
updates?: any[];
|
|
985
1167
|
}
|
|
986
1168
|
|
|
1169
|
+
export interface RefreshTokenData {
|
|
1170
|
+
expiresAt?: string;
|
|
1171
|
+
hashedToken?: string;
|
|
1172
|
+
userId?: string;
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
export interface RefreshTokenService {
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
export interface RefreshUserToken {
|
|
1179
|
+
refreshToken?: string;
|
|
1180
|
+
}
|
|
1181
|
+
|
|
987
1182
|
export interface Region {
|
|
988
1183
|
nutsCode?: string;
|
|
989
1184
|
}
|
|
@@ -999,15 +1194,16 @@ export interface RegisterDriveStatus extends RideDriverModifyCommand {
|
|
|
999
1194
|
export interface RegisterDriverSynced extends RideDriverModifyCommand {
|
|
1000
1195
|
}
|
|
1001
1196
|
|
|
1002
|
-
export interface
|
|
1003
|
-
|
|
1004
|
-
|
|
1197
|
+
export interface RegisterOneTimePassword {
|
|
1198
|
+
oneTimePassword?: string;
|
|
1199
|
+
userId?: string;
|
|
1005
1200
|
}
|
|
1006
1201
|
|
|
1007
1202
|
/**
|
|
1008
|
-
*
|
|
1203
|
+
* Ride information specific for regular taxi or ambulance rides.
|
|
1009
1204
|
*/
|
|
1010
1205
|
export interface RegularRideInfo extends RideInfo {
|
|
1206
|
+
vehicleType: "taxi" | "ambulance";
|
|
1011
1207
|
}
|
|
1012
1208
|
|
|
1013
1209
|
export interface RemoveAccount extends AccountUpdate {
|
|
@@ -1103,11 +1299,16 @@ export interface RevokeSubscription extends AccountUpdate {
|
|
|
1103
1299
|
export interface RevokeToken extends TokenUpdate {
|
|
1104
1300
|
}
|
|
1105
1301
|
|
|
1302
|
+
export interface RevokeUserRefreshTokens {
|
|
1303
|
+
userId?: string;
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1106
1306
|
export interface Ride extends RideOrSeries, RideOrMinimizedSeries {
|
|
1107
1307
|
/**
|
|
1108
1308
|
* Derived from driver != null
|
|
1109
1309
|
*/
|
|
1110
1310
|
accepted?: boolean;
|
|
1311
|
+
acceptedTime?: string;
|
|
1111
1312
|
actualEndTime?: string;
|
|
1112
1313
|
actualStartTime?: string;
|
|
1113
1314
|
/**
|
|
@@ -1146,7 +1347,7 @@ export interface Ride extends RideOrSeries, RideOrMinimizedSeries {
|
|
|
1146
1347
|
* Expected Time of Arrival at the Origin/Pick-up location.
|
|
1147
1348
|
*/
|
|
1148
1349
|
expectedStartTime?: string;
|
|
1149
|
-
info?:
|
|
1350
|
+
info?: RideInfoUnion;
|
|
1150
1351
|
/**
|
|
1151
1352
|
* Derived from plannedStartTime != null
|
|
1152
1353
|
*/
|
|
@@ -1157,14 +1358,6 @@ export interface Ride extends RideOrSeries, RideOrMinimizedSeries {
|
|
|
1157
1358
|
plannedEndTime?: string;
|
|
1158
1359
|
plannedStartTime?: string;
|
|
1159
1360
|
rideId?: string;
|
|
1160
|
-
/**
|
|
1161
|
-
* The time until which rides can be found. It's the planned time or else the desired time.
|
|
1162
|
-
*/
|
|
1163
|
-
searchEndTime?: string;
|
|
1164
|
-
/**
|
|
1165
|
-
* The time from which rides can be found. It's the planned time or else the desired time.
|
|
1166
|
-
*/
|
|
1167
|
-
searchStartTime?: string;
|
|
1168
1361
|
seriesInfo?: SeriesInfo;
|
|
1169
1362
|
startTimeDelay?: number;
|
|
1170
1363
|
/**
|
|
@@ -1240,7 +1433,8 @@ export interface RideIdResult {
|
|
|
1240
1433
|
}
|
|
1241
1434
|
|
|
1242
1435
|
/**
|
|
1243
|
-
*
|
|
1436
|
+
* Common information shared across all rides in a series. Similar to RideInfo but without appointment-specific details that vary per ride.
|
|
1437
|
+
|
|
1244
1438
|
*/
|
|
1245
1439
|
export interface RideInfo extends GenericRideInfo {
|
|
1246
1440
|
appointment?: Appointment;
|
|
@@ -1270,6 +1464,8 @@ export interface RideOrMinimizedSeries {
|
|
|
1270
1464
|
bookingStatus?: BookingStatus;
|
|
1271
1465
|
entityType?: EntityType;
|
|
1272
1466
|
info?: GenericRideInfo;
|
|
1467
|
+
searchEndTime?: string;
|
|
1468
|
+
searchStartTime?: string;
|
|
1273
1469
|
}
|
|
1274
1470
|
|
|
1275
1471
|
export interface RideOrSeries {
|
|
@@ -1279,6 +1475,7 @@ export interface RideOrSeries {
|
|
|
1279
1475
|
driver?: AccountOrTeamRef;
|
|
1280
1476
|
entityType?: EntityType;
|
|
1281
1477
|
info?: GenericRideInfo;
|
|
1478
|
+
marketplaceTime?: string;
|
|
1282
1479
|
totalDuration?: number;
|
|
1283
1480
|
}
|
|
1284
1481
|
|
|
@@ -1290,6 +1487,7 @@ export interface RideSeries extends RideOrSeries {
|
|
|
1290
1487
|
* Derived from driver != null
|
|
1291
1488
|
*/
|
|
1292
1489
|
accepted?: boolean;
|
|
1490
|
+
acceptedTime?: string;
|
|
1293
1491
|
activeRideCount?: number;
|
|
1294
1492
|
/**
|
|
1295
1493
|
* Derived from bookedTime != null
|
|
@@ -1360,7 +1558,7 @@ export interface Role {
|
|
|
1360
1558
|
* Save a new ride or update a previously saved ride. Not allowed to saveRide after the ride has been booked.
|
|
1361
1559
|
*/
|
|
1362
1560
|
export interface SaveRide extends CreateRideCommand {
|
|
1363
|
-
info?:
|
|
1561
|
+
info?: RideInfoUnion;
|
|
1364
1562
|
}
|
|
1365
1563
|
|
|
1366
1564
|
export interface SaveRideSeries extends CreateSeriesCommand {
|
|
@@ -1390,6 +1588,15 @@ export interface SendInvitationEmail {
|
|
|
1390
1588
|
userId?: string;
|
|
1391
1589
|
}
|
|
1392
1590
|
|
|
1591
|
+
export interface SendOneTimePasswordEmail {
|
|
1592
|
+
oneTimePassword?: string;
|
|
1593
|
+
userId?: string;
|
|
1594
|
+
}
|
|
1595
|
+
|
|
1596
|
+
export interface SendSensitiveEmail {
|
|
1597
|
+
message?: EmailMessage;
|
|
1598
|
+
}
|
|
1599
|
+
|
|
1393
1600
|
export interface SendSlack {
|
|
1394
1601
|
channel?: SlackChannel;
|
|
1395
1602
|
message?: string;
|
|
@@ -1428,7 +1635,8 @@ export interface SeriesOperatorCommand extends SeriesCommand {
|
|
|
1428
1635
|
}
|
|
1429
1636
|
|
|
1430
1637
|
/**
|
|
1431
|
-
*
|
|
1638
|
+
* Common information shared across all rides in a series. Similar to RideInfo but without appointment-specific details that vary per ride.
|
|
1639
|
+
|
|
1432
1640
|
*/
|
|
1433
1641
|
export interface SeriesRideInfo extends GenericRideInfo {
|
|
1434
1642
|
purpose?: SeriesPurpose;
|
|
@@ -1461,11 +1669,13 @@ export interface SetUserRole extends UserUpdate {
|
|
|
1461
1669
|
}
|
|
1462
1670
|
|
|
1463
1671
|
export interface SignInUser {
|
|
1672
|
+
activateOneTimePassword?: boolean;
|
|
1464
1673
|
password?: string;
|
|
1465
1674
|
userId?: string;
|
|
1466
1675
|
}
|
|
1467
1676
|
|
|
1468
1677
|
export interface SignUpUser {
|
|
1678
|
+
activateOneTimePassword?: boolean;
|
|
1469
1679
|
email?: string;
|
|
1470
1680
|
info?: UserInfo;
|
|
1471
1681
|
inviteToken?: string;
|
|
@@ -1473,6 +1683,20 @@ export interface SignUpUser {
|
|
|
1473
1683
|
userId?: string;
|
|
1474
1684
|
}
|
|
1475
1685
|
|
|
1686
|
+
export interface SignedInUser {
|
|
1687
|
+
userId?: string;
|
|
1688
|
+
}
|
|
1689
|
+
|
|
1690
|
+
export interface StartCeliosStream {
|
|
1691
|
+
target?: string;
|
|
1692
|
+
type?: GrpcStreamType;
|
|
1693
|
+
}
|
|
1694
|
+
|
|
1695
|
+
export interface StopCeliosStream {
|
|
1696
|
+
target?: string;
|
|
1697
|
+
type?: GrpcStreamType;
|
|
1698
|
+
}
|
|
1699
|
+
|
|
1476
1700
|
export interface StopImpersonatingUser {
|
|
1477
1701
|
}
|
|
1478
1702
|
|
|
@@ -1544,6 +1768,15 @@ export interface TokenInfo {
|
|
|
1544
1768
|
export interface TokenUpdate extends TokenCommand {
|
|
1545
1769
|
}
|
|
1546
1770
|
|
|
1771
|
+
/**
|
|
1772
|
+
* Tracheotomized means a tube through the skin.
|
|
1773
|
+
*/
|
|
1774
|
+
export interface Tracheotomized extends BreathingDelivery {
|
|
1775
|
+
fixationInCm?: number;
|
|
1776
|
+
tubeDiameterInMm?: number;
|
|
1777
|
+
type: "tracheotomized";
|
|
1778
|
+
}
|
|
1779
|
+
|
|
1547
1780
|
export interface UpdateAccountInfo extends AccountUpdate {
|
|
1548
1781
|
autoConfirm?: boolean;
|
|
1549
1782
|
criticalInfo?: CriticalAccountInfo;
|
|
@@ -1562,7 +1795,7 @@ export interface UpdatePosition {
|
|
|
1562
1795
|
|
|
1563
1796
|
export interface UpdateRide extends RideBookerCommand {
|
|
1564
1797
|
booker?: AccountOrTeamRef;
|
|
1565
|
-
info?:
|
|
1798
|
+
info?: RideInfoUnion;
|
|
1566
1799
|
}
|
|
1567
1800
|
|
|
1568
1801
|
export interface UpdateRidePlan extends RideDriverModifyCommand {
|
|
@@ -1635,6 +1868,48 @@ export interface UserUpdate extends UserCommand {
|
|
|
1635
1868
|
export interface UserUpdateAfterSignup extends UserUpdate {
|
|
1636
1869
|
}
|
|
1637
1870
|
|
|
1871
|
+
export interface Ventilation {
|
|
1872
|
+
asb?: number;
|
|
1873
|
+
bf?: number;
|
|
1874
|
+
expiration?: number;
|
|
1875
|
+
fiO2?: number;
|
|
1876
|
+
inspiration?: number;
|
|
1877
|
+
mv?: number;
|
|
1878
|
+
other?: string;
|
|
1879
|
+
peep?: number;
|
|
1880
|
+
pmax?: number;
|
|
1881
|
+
td?: number;
|
|
1882
|
+
type?: VentilationType;
|
|
1883
|
+
}
|
|
1884
|
+
|
|
1885
|
+
export interface WebsocketFilter extends WebsocketMessage {
|
|
1886
|
+
screen: "ride_details" | "fleet_overview" | "hospital_overview" | "marketplace" | "operations_overview";
|
|
1887
|
+
}
|
|
1888
|
+
|
|
1889
|
+
export interface WebsocketMessage {
|
|
1890
|
+
screen: "ride_details" | "fleet_overview" | "hospital_overview" | "marketplace" | "operations_overview" | "ping";
|
|
1891
|
+
}
|
|
1892
|
+
|
|
1893
|
+
export interface WebsocketMultipleUpdates extends WebsocketUpdate {
|
|
1894
|
+
ridesAndSeries?: RideOrMinimizedSeries[];
|
|
1895
|
+
ridesCount?: RideFilterCount;
|
|
1896
|
+
type: "multiple_updates";
|
|
1897
|
+
}
|
|
1898
|
+
|
|
1899
|
+
export interface WebsocketPing extends WebsocketMessage {
|
|
1900
|
+
screen: "ping";
|
|
1901
|
+
}
|
|
1902
|
+
|
|
1903
|
+
export interface WebsocketSingleUpdate extends WebsocketUpdate {
|
|
1904
|
+
id?: string;
|
|
1905
|
+
rideOrSeries?: RideOrMinimizedSeries;
|
|
1906
|
+
type: "single_update";
|
|
1907
|
+
}
|
|
1908
|
+
|
|
1909
|
+
export interface WebsocketUpdate {
|
|
1910
|
+
type: "multiple_updates" | "single_update";
|
|
1911
|
+
}
|
|
1912
|
+
|
|
1638
1913
|
export interface ZonedTimeRange {
|
|
1639
1914
|
end?: Date;
|
|
1640
1915
|
start?: Date;
|
|
@@ -1642,10 +1917,22 @@ export interface ZonedTimeRange {
|
|
|
1642
1917
|
|
|
1643
1918
|
export type AccountRole = "ridebooker" | "dispatcher" | "operator" | "admin" | "owner";
|
|
1644
1919
|
|
|
1645
|
-
export type
|
|
1920
|
+
export type AgeCategory = "adult" | "child" | "toddler" | "baby";
|
|
1921
|
+
|
|
1922
|
+
export type AuthenticationResult = "SUCCESS" | "NOT_CONFIRMED" | "ONE_TIME_PASSWORD_NEEDED";
|
|
1646
1923
|
|
|
1647
1924
|
export type BookingStatus = "saved" | "booked" | "accepted" | "planned" | "started" | "completed" | "cancelled";
|
|
1648
1925
|
|
|
1926
|
+
export type BreathingDeliveryType = "mask" | "intubated" | "tracheotomized";
|
|
1927
|
+
|
|
1928
|
+
export type BreathingDeliveryUnion = Mask | Intubated | Tracheotomized;
|
|
1929
|
+
|
|
1930
|
+
export type CirculationType = "stable" | "stable_with_catecholamines" | "unstable_with_catecholamines";
|
|
1931
|
+
|
|
1932
|
+
export type ConsciousnessType = "oriented" | "sleepy" | "unconscious" | "analgo_sedated";
|
|
1933
|
+
|
|
1934
|
+
export type DocumentType = "businessLicense" | "publicLiabilityPolicy";
|
|
1935
|
+
|
|
1649
1936
|
export type DrivePermissionFilterUnion = AmbulanceFilter | TaxiFilter | IntensiveCareAmbulanceFilter | IntensiveCareHelicopterFilter | EmergencyAmbulanceFilter;
|
|
1650
1937
|
|
|
1651
1938
|
export type DriveStatus = "driving_to_origin" | "arrived_at_origin" | "driving_to_destination" | "arrived_at_destination" | "completed";
|
|
@@ -1654,19 +1941,29 @@ export type EntityType = "ride" | "rideseries";
|
|
|
1654
1941
|
|
|
1655
1942
|
export type GeometryUnion = GeoPolygon | GeoMultiPolygon;
|
|
1656
1943
|
|
|
1944
|
+
export type GrpcStreamType = "get_einsatz_events";
|
|
1945
|
+
|
|
1657
1946
|
export type InsuranceType = "public_insurance" | "private_insurance" | "german_accident_insurance" | "no_or_unknown_insurance";
|
|
1658
1947
|
|
|
1659
1948
|
export type IntegrationType = "dispolive" | "celios";
|
|
1660
1949
|
|
|
1661
1950
|
export type Mobility = "wheelchair" | "big_or_electric_wheelchair" | "carry_chair" | "stretcher";
|
|
1662
1951
|
|
|
1952
|
+
export type OralOrNasal = "oral" | "nasal";
|
|
1953
|
+
|
|
1663
1954
|
export type OrganisationType = "medical" | "fleet" | "operator";
|
|
1664
1955
|
|
|
1956
|
+
export type OverweightCategory = "under_100" | "under_120" | "under_130" | "under_150" | "over_150";
|
|
1957
|
+
|
|
1958
|
+
export type RideInfoUnion = RegularRideInfo | IntensiveCareRideInfo;
|
|
1959
|
+
|
|
1665
1960
|
export type RidePurpose = "admission" | "relocation" | "discharge" | "consultation";
|
|
1666
1961
|
|
|
1962
|
+
export type Screen = "ping" | "marketplace" | "operations_overview" | "hospital_overview" | "fleet_overview" | "ride_details";
|
|
1963
|
+
|
|
1667
1964
|
export type SeriesPurpose = "consultation";
|
|
1668
1965
|
|
|
1669
|
-
export type Service = "pro_medical" | "pro_fleet" | "pro_operator" | "celios_integration" | "dispolive_integration" | "moxi_operations";
|
|
1966
|
+
export type Service = "pro_medical" | "pro_fleet" | "pro_operator" | "celios_integration" | "dispolive_integration" | "moxi_operations" | "intensive_care";
|
|
1670
1967
|
|
|
1671
1968
|
export type SlackChannel = "admin_monitoring" | "admin_respond_immediately" | "admin_respond_within_hour" | "admin_reported_issues";
|
|
1672
1969
|
|
|
@@ -1676,6 +1973,16 @@ export type SyncStatus = "not_synced" | "synced" | "update_not_synced";
|
|
|
1676
1973
|
|
|
1677
1974
|
export type TeamRole = "dispatcher" | "ridebooker";
|
|
1678
1975
|
|
|
1976
|
+
export type Urgency = "immediate" | "urgent" | "plannable";
|
|
1977
|
+
|
|
1679
1978
|
export type UserRole = "superadmin";
|
|
1680
1979
|
|
|
1681
1980
|
export type VehicleType = "taxi" | "ambulance" | "intensiveCareAmbulance" | "intensiveCareHelicopter" | "emergencyAmbulance";
|
|
1981
|
+
|
|
1982
|
+
export type VentilationType = "pc_cmv" | "vc_cmv" | "bipap_duopap" | "ippv_cppv" | "simv" | "cpap";
|
|
1983
|
+
|
|
1984
|
+
export type WebsocketMessageUnion = MarketplaceOverviewFilter | HospitalOverviewFilter | FleetOverviewFilter | OperationsOverviewFilter | DetailsFilter | WebsocketPing;
|
|
1985
|
+
|
|
1986
|
+
export type WebsocketUpdateType = "single_update" | "multiple_updates";
|
|
1987
|
+
|
|
1988
|
+
export type WebsocketUpdateUnion = WebsocketSingleUpdate | WebsocketMultipleUpdates;
|