@moxi.gmbh/moxi-typescriptmodels 0.1.1401-test-server → 0.1.1401

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
@@ -1,9 +1,43 @@
1
1
 
2
+ export interface AbstractFindMyRides {
3
+ accountId?: string;
4
+ descending?: boolean;
5
+ filter?: RideFilter;
6
+ maxSize?: number;
7
+ term?: string;
8
+ }
9
+
10
+ export interface AbstractFindRides {
11
+ descending?: boolean;
12
+ filter?: RideFilter;
13
+ maxSize?: number;
14
+ term?: string;
15
+ }
16
+
17
+ export interface AbstractFindRidesForDriver {
18
+ accountId?: string;
19
+ descending?: boolean;
20
+ filter?: RideFilter;
21
+ maxSize?: number;
22
+ term?: string;
23
+ }
24
+
25
+ export interface AbstractFindRidesInMarketplace {
26
+ accountId?: string;
27
+ descending?: boolean;
28
+ filter?: RideFilter;
29
+ /**
30
+ * @deprecated
31
+ */
32
+ maxSize?: number;
33
+ term?: string;
34
+ }
35
+
2
36
  export interface AcceptRide extends RideDriverCommand {
3
37
  driver?: AccountOrTeamRef;
4
38
  }
5
39
 
6
- export interface AcceptRideSeries extends RideDriverSeriesCommand {
40
+ export interface AcceptRideSeries extends SeriesDriverCommand {
7
41
  driver?: AccountOrTeamRef;
8
42
  }
9
43
 
@@ -27,7 +61,7 @@ export interface Account {
27
61
  info?: AccountInfo;
28
62
  integrationSettings?: any[];
29
63
  operateAccounts?: string[];
30
- operator?: string;
64
+ operators?: string[];
31
65
  /**
32
66
  * Derived from subscriptions. Includes organisation types that have not been confirmed yet by a superadmin or are active in past or future.
33
67
  */
@@ -47,6 +81,7 @@ export interface AccountFilter {
47
81
 
48
82
  export interface AccountInfo {
49
83
  address?: AddressInfo;
84
+ companyInfo?: CompanyInfo;
50
85
  defaultLanguage?: string;
51
86
  notificationEmails?: string[];
52
87
  phoneNumber?: PhoneNumber;
@@ -73,6 +108,10 @@ export interface AccountPermissionCommand extends UserUpdate {
73
108
  accountId?: string;
74
109
  }
75
110
 
111
+ export interface AccountPermissionFilter {
112
+ roles?: AccountRole[];
113
+ }
114
+
76
115
  export interface AccountRef {
77
116
  accountId?: string;
78
117
  name?: string;
@@ -84,14 +123,15 @@ export interface AccountUpcaster {
84
123
  export interface AccountUpdate extends AccountCommand {
85
124
  }
86
125
 
87
- /**
88
- * Address info of a google-validated address, including geolocation and district code
89
- */
126
+ export interface AddOperations extends AccountUpdate {
127
+ operateAccount?: string;
128
+ }
129
+
90
130
  export interface AddressInfo {
91
131
  addition?: string;
92
132
  city?: string;
93
133
  /**
94
- * Derived from districtNutsCode
134
+ * The NUTS country code, derived from districtNutsCode
95
135
  */
96
136
  country?: string;
97
137
  districtNutsCode?: string;
@@ -100,12 +140,12 @@ export interface AddressInfo {
100
140
  number?: string;
101
141
  placeName?: string;
102
142
  /**
103
- * Derived from districtNutsCode
143
+ * The NUTS level 1 code, derived from districtNutsCode
104
144
  */
105
145
  state?: string;
106
146
  street?: string;
107
147
  /**
108
- * Derived from districtNutsCode
148
+ * The NUTS level 2 code, derived from districtNutsCode
109
149
  */
110
150
  subState?: string;
111
151
  zipCode?: string;
@@ -125,38 +165,31 @@ export interface AmbulanceFilter extends DrivePermissionFilter {
125
165
  }
126
166
 
127
167
  /**
128
- * Filled if (and only if) vehicleType == ambulance
168
+ * Mandatory if the vehicleType is ambulance, forbidden if taxi
129
169
  */
130
170
  export interface AmbulanceInfo {
131
171
  /**
132
- * Derived from infectionDescription != blank
172
+ * True if infectionDescription is given
133
173
  */
134
174
  hasInfection?: boolean;
135
175
  infectionDescription?: string;
136
176
  monitoringDescription?: string;
137
177
  oxygenLiterPerHour?: number;
138
178
  /**
139
- * Derived from monitoringDescription != blank
179
+ * True if monitoringDescription is given
140
180
  */
141
181
  requiresMonitoring?: boolean;
142
182
  /**
143
- * Derived from oxygenLiterPerHour != null
183
+ * True if oxygenLiterPerHour is given
144
184
  */
145
185
  requiresOxygen?: boolean;
146
186
  requiresSuctionAspirator?: boolean;
147
187
  }
148
188
 
149
- /**
150
- * Common information shared across all rides in a series. Similar to RideInfo but without appointment-specific details that vary per ride.
151
-
152
- */
153
- export interface AnonymizedGenericRideInfo extends GenericRideInfo {
189
+ export interface AnonymizedRideInfo extends RideInfo {
154
190
  }
155
191
 
156
- /**
157
- * Information about the ride, from the creator of the ride
158
- */
159
- export interface AnonymizedRideInfo extends RideInfo {
192
+ export interface AnonymizedSeriesRideInfo extends SeriesRideInfo {
160
193
  }
161
194
 
162
195
  export interface Appointment {
@@ -168,6 +201,10 @@ export interface AssignDriver extends RideOperatorCommand {
168
201
  driver?: AccountOrTeamRef;
169
202
  }
170
203
 
204
+ export interface AssignRideSeriesDriver extends SeriesOperatorCommand {
205
+ driver?: AccountOrTeamRef;
206
+ }
207
+
171
208
  export interface Attachment {
172
209
  base64Data?: string;
173
210
  fileName?: string;
@@ -181,44 +218,38 @@ export interface AuthenticateWithToken extends UserUpdate {
181
218
  export interface AuthenticationResponse {
182
219
  authorizationHeader?: string;
183
220
  impersonator?: string;
221
+ refreshToken?: string;
222
+ refreshTokenDeadline?: string;
184
223
  result?: AuthenticationResult;
185
224
  sessionDeadline?: string;
186
225
  userProfile?: UserProfile;
187
226
  }
188
227
 
189
- export interface AuthenticationService {
190
- }
191
-
192
- export interface BatchUpdateRideSeriesInfo extends RideSeriesPostConfirmCommand {
193
- info?: GenericRideInfo;
194
- updater?: AccountOrTeamRef;
228
+ export interface AuthenticationResponseFactory {
195
229
  }
196
230
 
197
- export interface BatchUpdateRideSeriesTimes extends RideSeriesPostConfirmCommand {
198
- rides?: SingleRideUpdate[];
199
- updater?: AccountOrTeamRef;
231
+ export interface AuthenticationService {
200
232
  }
201
233
 
202
234
  export interface BookRide extends CreateRideCommand {
203
- booker?: AccountOrTeamRef;
204
235
  info?: RideInfo;
205
236
  }
206
237
 
207
- export interface BookRideSeries extends RideBookerSeriesCommand {
208
- booker?: AccountOrTeamRef;
209
- info?: GenericRideInfo;
210
- rides?: SingleRide[];
238
+ export interface BookRideSeries extends CreateSeriesCommand {
239
+ rideSummaries?: RideSummary[];
211
240
  }
212
241
 
213
242
  export interface CancelRide extends RideBookerCommand {
214
243
  reason?: string;
215
244
  }
216
245
 
217
- export interface CancelRideSeries extends RideBookerSeriesCommand {
246
+ export interface CancelRideSeries extends SeriesCommandWithSeparateEvent {
247
+ reason?: string;
218
248
  }
219
249
 
220
- export interface CancelRidesInSeries extends RideSeriesPostConfirmCommand {
221
- updater?: AccountOrTeamRef;
250
+ export interface CancelRideSeriesEvent extends SeriesBookerCommand {
251
+ cancelRides?: string[];
252
+ reason?: string;
222
253
  }
223
254
 
224
255
  export interface CeliosSettings {
@@ -240,6 +271,28 @@ export interface CheckIfUserSignedUp {
240
271
  userId?: string;
241
272
  }
242
273
 
274
+ export interface CheckSession {
275
+ userId?: string;
276
+ }
277
+
278
+ /**
279
+ * 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.
280
+ */
281
+ export interface CleaningAndSlack {
282
+ cleaningAtGarage?: boolean;
283
+ cleaningDuration?: number;
284
+ dropoffDuration?: number;
285
+ pickupDuration?: number;
286
+ }
287
+
288
+ export interface CompanyInfo {
289
+ businessLicenseDocument?: Document;
290
+ creationDate?: string;
291
+ hasLiabilityInsurance?: boolean;
292
+ publicLiabilityPolicyDocument?: Document;
293
+ registrationNumber?: string;
294
+ }
295
+
243
296
  export interface ConfirmAccount extends AccountCommand {
244
297
  }
245
298
 
@@ -255,6 +308,7 @@ export interface ConfirmSubscription extends AccountUpdate {
255
308
  }
256
309
 
257
310
  export interface ConfirmUser {
311
+ activateOneTimePassword?: boolean;
258
312
  token?: string;
259
313
  userId?: string;
260
314
  }
@@ -278,17 +332,12 @@ export interface CreateOptimizationPlan extends OptimizerMessage {
278
332
  }
279
333
 
280
334
  export interface CreateRideCommand extends RideBookerCommand {
281
- booker?: AccountOrTeamId;
282
- }
283
-
284
- export interface CreateRideFromSeries extends RideDriverCommand {
285
335
  booker?: AccountOrTeamRef;
286
- driver?: AccountOrTeamRef;
287
- info?: RideInfo;
288
- seriesInfo?: SeriesInfo;
289
336
  }
290
337
 
291
- export interface CreateRidesFromSeries extends RideDriverSeriesCommand {
338
+ export interface CreateSeriesCommand extends SeriesBookerCommand {
339
+ booker?: AccountOrTeamRef;
340
+ info?: SeriesRideInfo;
292
341
  }
293
342
 
294
343
  export interface CreateSqueezeInPlan extends OptimizerMessage {
@@ -324,6 +373,11 @@ export interface DateRange {
324
373
  export interface DeleteUser extends UserEdit {
325
374
  }
326
375
 
376
+ export interface DetailsFilter extends WebsocketFilter {
377
+ id?: string;
378
+ screen: "ride_details";
379
+ }
380
+
327
381
  export interface DisconnectClient {
328
382
  clientId?: string;
329
383
  tokenId?: string;
@@ -347,6 +401,12 @@ export interface DistrictInfo {
347
401
  type?: string;
348
402
  }
349
403
 
404
+ export interface Document {
405
+ id?: string;
406
+ name?: string;
407
+ size?: number;
408
+ }
409
+
350
410
  export interface DownloadableFile {
351
411
  base64Data?: string;
352
412
  fileName?: string;
@@ -434,47 +494,25 @@ export interface FindAccounts {
434
494
  term?: string;
435
495
  }
436
496
 
437
- /**
438
- * @deprecated
439
- */
440
- export interface FindMyAcceptedRides {
497
+ export interface FindDuplicateRides {
441
498
  accountId?: string;
442
- descending?: boolean;
443
- filter?: RideFilter;
444
- maxSize?: number;
445
- term?: string;
499
+ appointmentTime?: string;
500
+ patientBirthDay?: string;
501
+ patientFirstName?: string;
502
+ patientLastName?: string;
446
503
  }
447
504
 
448
- /**
449
- * @deprecated
450
- */
451
- export interface FindMyRideOffers {
452
- accountId?: string;
453
- descending?: boolean;
454
- filter?: RideFilter;
455
- maxSize?: number;
456
- term?: string;
505
+ export interface FindMyRides extends AbstractFindMyRides {
457
506
  }
458
507
 
459
- export interface FindMyRideSeries {
460
- accountId?: string;
461
- descending?: boolean;
462
- maxSize?: number;
463
- term?: string;
464
- timeRange?: InstantRange;
508
+ export interface FindMyRidesAndSeries extends AbstractFindMyRides {
465
509
  }
466
510
 
467
- export interface FindMyRides {
468
- accountId?: string;
469
- descending?: boolean;
470
- filter?: RideFilter;
471
- maxSize?: number;
472
- term?: string;
511
+ export interface FindMySeries extends AbstractFindMyRides {
473
512
  }
474
513
 
475
514
  export interface FindMyTokens {
476
515
  accountId?: string;
477
- teamId?: string;
478
516
  term?: string;
479
517
  }
480
518
 
@@ -484,45 +522,27 @@ export interface FindMyUsers {
484
522
  term?: string;
485
523
  }
486
524
 
487
- export interface FindPotentialRideSeries {
488
- accountId?: string;
489
- descending?: boolean;
490
- filter?: RideInfoFilter;
491
- maxSize?: number;
525
+ export interface FindRides extends AbstractFindRides {
492
526
  }
493
527
 
494
- /**
495
- * @deprecated
496
- */
497
- export interface FindPotentialRides {
498
- accountId?: string;
499
- descending?: boolean;
500
- filter?: RideFilter;
501
- maxSize?: number;
502
- term?: string;
528
+ export interface FindRidesAndSeries extends AbstractFindRides {
503
529
  }
504
530
 
505
- export interface FindRides {
506
- descending?: boolean;
507
- filter?: RideFilter;
508
- maxSize?: number;
509
- term?: string;
531
+ export interface FindRidesAndSeriesForDriver extends AbstractFindRidesForDriver {
510
532
  }
511
533
 
512
- export interface FindRidesForDriver {
513
- accountId?: string;
514
- descending?: boolean;
515
- filter?: RideFilter;
516
- maxSize?: number;
517
- term?: string;
534
+ export interface FindRidesAndSeriesInMarketplace extends AbstractFindRidesInMarketplace {
518
535
  }
519
536
 
520
- export interface FindRidesInMarketplace {
521
- accountId?: string;
522
- descending?: boolean;
523
- filter?: RideFilter;
524
- maxSize?: number;
525
- term?: string;
537
+ export interface FindRidesAndSeriesResult {
538
+ ridesAndSeries?: RideOrMinimizedSeries[];
539
+ ridesCount?: RideFilterCount;
540
+ }
541
+
542
+ export interface FindRidesForDriver extends AbstractFindRidesForDriver {
543
+ }
544
+
545
+ export interface FindRidesInMarketplace extends AbstractFindRidesInMarketplace {
526
546
  }
527
547
 
528
548
  export interface FindRidesResult {
@@ -530,24 +550,47 @@ export interface FindRidesResult {
530
550
  rides?: Ride[];
531
551
  }
532
552
 
553
+ export interface FindSeries extends AbstractFindRides {
554
+ }
555
+
556
+ export interface FindSeriesForDriver extends AbstractFindRidesForDriver {
557
+ }
558
+
559
+ export interface FindSeriesInMarketplace extends AbstractFindRidesInMarketplace {
560
+ }
561
+
533
562
  export interface FindTokens {
534
563
  term?: string;
535
564
  }
536
565
 
537
566
  export interface FindUsers {
567
+ accountFilter?: AccountFilter;
568
+ accountPermissionFilter?: AccountPermissionFilter;
538
569
  term?: string;
539
570
  }
540
571
 
572
+ export interface FirebaseMessage {
573
+ data?: { [index: string]: string };
574
+ notification?: Notification;
575
+ topic?: string;
576
+ }
577
+
578
+ export interface FleetOverviewFilter extends WebsocketFilter {
579
+ queryFilter?: FindRidesAndSeriesForDriver;
580
+ screen: "fleet_overview";
581
+ }
582
+
541
583
  export interface GenerateToken {
542
584
  accountPermission?: AccountPermission;
543
585
  info?: TokenInfo;
544
586
  tokenId?: string;
545
587
  }
546
588
 
547
- /**
548
- * Common information shared across all rides in a series. Similar to RideInfo but without appointment-specific details that vary per ride.
589
+ export interface GenerateTokenResult {
590
+ entity?: Token;
591
+ jwt?: string;
592
+ }
549
593
 
550
- */
551
594
  export interface GenericRideInfo {
552
595
  ambulanceInfo?: AmbulanceInfo;
553
596
  attendantsPresent?: number;
@@ -563,7 +606,6 @@ export interface GenericRideInfo {
563
606
  patient?: Person;
564
607
  plannedDuration?: RideDuration;
565
608
  preferredDriver?: string;
566
- purpose?: RidePurpose;
567
609
  to?: AddressInfo;
568
610
  vehicleType?: VehicleType;
569
611
  weightInKg?: number;
@@ -611,18 +653,6 @@ export interface GetAccountsOfPotentialDrivers extends IGetPotentialDrivers {
611
653
  export interface GetAccountsOfPotentialDriversAsAdmin extends IGetPotentialDrivers {
612
654
  }
613
655
 
614
- export interface GetAllRideSeriesForDriver {
615
- accountId?: string;
616
- descending?: boolean;
617
- maxSize?: number;
618
- timeRange?: InstantRange;
619
- }
620
-
621
- export interface GetAllRideSeriesInMarketplace {
622
- accountId?: string;
623
- maxSize?: number;
624
- }
625
-
626
656
  export interface GetDistrict {
627
657
  geoLocation?: GeoLocation;
628
658
  stateNutsCode?: string;
@@ -643,29 +673,17 @@ export interface GetIsoStates {
643
673
  export interface GetMonopolyAccounts {
644
674
  }
645
675
 
646
- /**
647
- * @deprecated
648
- */
649
- export interface GetMyAcceptedRides {
650
- accountId?: string;
651
- maxSize?: number;
652
- timeRange?: InstantRange;
653
- }
654
-
655
676
  export interface GetMyAccounts {
656
677
  filter?: AccountFilter;
657
678
  }
658
679
 
659
- /**
660
- * @deprecated
661
- */
662
- export interface GetMyRideOffers {
680
+ export interface GetMyRides {
663
681
  accountId?: string;
664
682
  maxSize?: number;
665
683
  timeRange?: InstantRange;
666
684
  }
667
685
 
668
- export interface GetMyRides {
686
+ export interface GetMySeries {
669
687
  accountId?: string;
670
688
  maxSize?: number;
671
689
  timeRange?: InstantRange;
@@ -680,10 +698,10 @@ export interface GetMyUserProfile {
680
698
  export interface GetNutsStates {
681
699
  }
682
700
 
683
- /**
684
- * Common information shared across all rides in a series. Similar to RideInfo but without appointment-specific details that vary per ride.
701
+ export interface GetOneSeries {
702
+ rideSeriesId?: string;
703
+ }
685
704
 
686
- */
687
705
  export interface GetPotentialDriverIds extends GetPotentialDriversAbstract {
688
706
  }
689
707
 
@@ -694,27 +712,13 @@ export interface GetPotentialDriverIds extends GetPotentialDriversAbstract {
694
712
  export interface GetPotentialDrivers extends GetPotentialDriversAbstract {
695
713
  }
696
714
 
697
- /**
698
- * Common information shared across all rides in a series. Similar to RideInfo but without appointment-specific details that vary per ride.
699
-
700
- */
701
715
  export interface GetPotentialDriversAbstract {
702
716
  fromDistrict?: string;
703
717
  mobility?: Mobility;
704
- toDistrict?: string;
705
718
  vehicleType?: VehicleType;
706
719
  weightInKg?: number;
707
720
  }
708
721
 
709
- /**
710
- * @deprecated
711
- */
712
- export interface GetPotentialRides {
713
- accountId?: string;
714
- maxSize?: number;
715
- timeRange?: InstantRange;
716
- }
717
-
718
722
  export interface GetRide {
719
723
  rideId?: string;
720
724
  }
@@ -734,30 +738,38 @@ export interface GetRideLog {
734
738
  rideId?: string;
735
739
  }
736
740
 
737
- export interface GetRideSeries {
738
- rideSeriesId?: string;
741
+ export interface GetRideOrSeries {
742
+ id?: string;
739
743
  }
740
744
 
741
- export interface GetRideSeriesForDriver {
745
+ export interface GetRidesForDriver {
742
746
  accountId?: string;
743
747
  maxSize?: number;
744
748
  timeRange?: InstantRange;
745
749
  }
746
750
 
747
- export interface GetRidesForDriver {
751
+ export interface GetRidesInMarketplace {
748
752
  accountId?: string;
749
753
  maxSize?: number;
750
754
  timeRange?: InstantRange;
751
755
  }
752
756
 
753
- export interface GetRidesInMarketplace {
757
+ export interface GetRidesInSeries {
758
+ rideSeriesId?: string;
759
+ }
760
+
761
+ export interface GetSeriesForDriver {
754
762
  accountId?: string;
755
763
  maxSize?: number;
756
764
  timeRange?: InstantRange;
757
765
  }
758
766
 
759
- export interface GetRidesInSeries {
760
- filter?: RideFilter;
767
+ export interface GetSeriesInMarketplace {
768
+ accountId?: string;
769
+ maxSize?: number;
770
+ }
771
+
772
+ export interface GetSeriesLog {
761
773
  rideSeriesId?: string;
762
774
  }
763
775
 
@@ -787,6 +799,15 @@ export interface GiveTeamPermission extends AccountPermissionCommand {
787
799
  teamPermission?: TeamPermission;
788
800
  }
789
801
 
802
+ export interface HalfHourBeforeStart {
803
+ rideId?: string;
804
+ }
805
+
806
+ export interface HospitalOverviewFilter extends WebsocketFilter {
807
+ queryFilter?: FindMyRidesAndSeries;
808
+ screen: "hospital_overview";
809
+ }
810
+
790
811
  export interface IGetPotentialDrivers {
791
812
  fromDistrict?: string;
792
813
  mobility?: Mobility;
@@ -835,6 +856,11 @@ export interface IsoState {
835
856
  nutsCode?: string;
836
857
  }
837
858
 
859
+ export interface MarketplaceOverviewFilter extends WebsocketFilter {
860
+ queryFilter?: FindRidesAndSeriesInMarketplace;
861
+ screen: "marketplace";
862
+ }
863
+
838
864
  export interface Metric {
839
865
  clientId?: string;
840
866
  clientSegment?: number[];
@@ -845,6 +871,18 @@ export interface Metric {
845
871
  updates?: string[];
846
872
  }
847
873
 
874
+ /**
875
+ * A series of rides.
876
+ */
877
+ export interface MinimizedRideSeries extends RideSeries, RideOrMinimizedSeries {
878
+ info?: SeriesRideInfo;
879
+ }
880
+
881
+ export interface Notification {
882
+ body?: string;
883
+ title?: string;
884
+ }
885
+
848
886
  export interface NutsDistrict {
849
887
  code?: string;
850
888
  name?: string;
@@ -867,6 +905,25 @@ export interface OffsetTimeRange {
867
905
  start?: Date;
868
906
  }
869
907
 
908
+ export interface OneHourAfterEnd {
909
+ rideId?: string;
910
+ }
911
+
912
+ export interface OneTimePasswordExpires {
913
+ userId?: string;
914
+ }
915
+
916
+ export interface OneTimePasswordState {
917
+ hashedPassword?: string;
918
+ loginAttempts?: number;
919
+ userId?: string;
920
+ }
921
+
922
+ export interface OperationsOverviewFilter extends WebsocketFilter {
923
+ queryFilter?: FindRidesAndSeries;
924
+ screen: "operations_overview";
925
+ }
926
+
870
927
  export interface OptimizerMessage {
871
928
  }
872
929
 
@@ -883,7 +940,7 @@ export interface Person {
883
940
  }
884
941
 
885
942
  /**
886
- * Filled if (and only if) patient exceeds 130 kg
943
+ * Mandatory if weight exceeds 130 kg, otherwise forbidden
887
944
  */
888
945
  export interface PersonDimensions {
889
946
  heightInCm?: number;
@@ -903,7 +960,7 @@ export interface ReadUpdates {
903
960
  maxSize?: number;
904
961
  maxTimeout?: number;
905
962
  tokenId?: string;
906
- updateTypes?: TrackingUpdateType[];
963
+ updateTypes?: EntityType[];
907
964
  }
908
965
 
909
966
  export interface ReadUpdatesResult {
@@ -912,6 +969,19 @@ export interface ReadUpdatesResult {
912
969
  updates?: any[];
913
970
  }
914
971
 
972
+ export interface RefreshTokenData {
973
+ expiresAt?: string;
974
+ hashedToken?: string;
975
+ userId?: string;
976
+ }
977
+
978
+ export interface RefreshTokenService {
979
+ }
980
+
981
+ export interface RefreshUserToken {
982
+ refreshToken?: string;
983
+ }
984
+
915
985
  export interface Region {
916
986
  nutsCode?: string;
917
987
  }
@@ -932,9 +1002,22 @@ export interface RegisterEinsatz {
932
1002
  rideId?: string;
933
1003
  }
934
1004
 
1005
+ export interface RegisterOneTimePassword {
1006
+ oneTimePassword?: string;
1007
+ userId?: string;
1008
+ }
1009
+
935
1010
  export interface RemoveAccount extends AccountUpdate {
936
1011
  }
937
1012
 
1013
+ export interface RemoveOperations extends AccountUpdate {
1014
+ operateAccount?: string;
1015
+ }
1016
+
1017
+ export interface RemoveOperator extends AccountUpdate {
1018
+ operator?: string;
1019
+ }
1020
+
938
1021
  export interface RemoveSettings extends AccountUpdate {
939
1022
  type?: IntegrationType;
940
1023
  }
@@ -984,7 +1067,7 @@ export interface ResetPosition {
984
1067
  export interface ReturnRide extends RideDriverModifyCommand {
985
1068
  }
986
1069
 
987
- export interface ReturnRideSeries extends RideDriverSeriesCommand {
1070
+ export interface ReturnRideSeries extends SeriesDriverCommand {
988
1071
  }
989
1072
 
990
1073
  export interface Review {
@@ -1007,6 +1090,9 @@ export interface RevokeDrivePermission extends AccountUpdate {
1007
1090
  drivePermissionId?: string;
1008
1091
  }
1009
1092
 
1093
+ export interface RevokeSecondaryTokenPermission extends SecondaryTokenPermissionCommand {
1094
+ }
1095
+
1010
1096
  export interface RevokeSubscription extends AccountUpdate {
1011
1097
  subscriptionId?: string;
1012
1098
  }
@@ -1014,75 +1100,69 @@ export interface RevokeSubscription extends AccountUpdate {
1014
1100
  export interface RevokeToken extends TokenUpdate {
1015
1101
  }
1016
1102
 
1017
- export interface Ride {
1103
+ export interface RevokeUserRefreshTokens {
1104
+ userId?: string;
1105
+ }
1106
+
1107
+ export interface Ride extends RideOrSeries, RideOrMinimizedSeries {
1018
1108
  /**
1019
- * Derived from driver != null
1109
+ * 'accepted' is true if a driver has accepted the ride.
1020
1110
  */
1021
1111
  accepted?: boolean;
1112
+ acceptedTime?: string;
1022
1113
  actualEndTime?: string;
1023
1114
  actualStartTime?: string;
1024
1115
  /**
1025
- * Derived from driveStatus != null
1116
+ * 'arrived' is true if the driver has reported driveStatus is 'arrived_at_origin'.
1026
1117
  */
1027
1118
  arrived?: boolean;
1028
1119
  /**
1029
- * Derived from bookedTime != null
1120
+ * 'booked' is false if the ride has only been saved.
1030
1121
  */
1031
1122
  booked?: boolean;
1032
- bookedTime?: string;
1033
1123
  booker?: AccountOrTeamRef;
1034
1124
  bookerReview?: Review;
1035
- bookingStatus?: BookingStatus;
1036
1125
  cancelReason?: string;
1037
1126
  cancelled?: boolean;
1038
1127
  /**
1039
- * Derived from driveStatus == completed
1128
+ * 'completed' is true if the driver has reported driveStatus is 'completed'.
1040
1129
  */
1041
1130
  completed?: boolean;
1042
1131
  /**
1043
- * Desired Time of Arrival at the Destination/Drop-off location. Derived from info.appointment and info.plannedDuration
1132
+ * The booker determines the desiredEndTime via 'info.appointment' and 'info.plannedDuration'. It means the desired time of arrival at the 'to' or 'drop-off' location.
1044
1133
  */
1045
1134
  desiredEndTime?: string;
1046
1135
  /**
1047
- * Desired Time of Arrival at the Origin/Pick-up location. Derived from info.appointment and info.plannedDuration
1136
+ * The booker determines the desiredStartTime via 'info.appointment' and 'info.plannedDuration'. It means the desired time of arrival at the 'from' or 'pick-up' location.
1048
1137
  */
1049
1138
  desiredStartTime?: string;
1050
1139
  driveStatus?: DriveStatus;
1051
- driver?: AccountOrTeamRef;
1052
1140
  driverReview?: Review;
1053
1141
  driverSyncStatus?: SyncStatus;
1054
1142
  endTimeDelay?: number;
1055
1143
  /**
1056
- * Expected Time of Arrival at the Destination/Drop-off location.
1144
+ * The driver determines the expectedEndTime when indicating delays. It means the expected time of arrival at the 'to' or 'drop-off' location.
1057
1145
  */
1058
1146
  expectedEndTime?: string;
1059
1147
  /**
1060
- * Expected Time of Arrival at the Origin/Pick-up location.
1148
+ * The driver determines the expectedEndTime when indicating delays. It means the expected time of arrival at the 'from' or 'pick-up' location.
1061
1149
  */
1062
1150
  expectedStartTime?: string;
1063
1151
  info?: RideInfo;
1064
1152
  /**
1065
- * Derived from plannedStartTime != null
1153
+ * 'planned' is true if the driver has reported a planned time for the ride.
1066
1154
  */
1067
1155
  planned?: boolean;
1068
1156
  /**
1069
- * Planned Time of Arrival at the Destination/Drop-off location, reported by the driver.
1157
+ * The driver determines the plannedEndTime. It means the planned time of arrival at the 'to' or 'drop-off' location.
1070
1158
  */
1071
1159
  plannedEndTime?: string;
1072
1160
  plannedStartTime?: string;
1073
1161
  rideId?: string;
1074
- /**
1075
- * The time until which rides can be found. It's the planned time or else the desired time.
1076
- */
1077
- searchEndTime?: string;
1078
- /**
1079
- * The time from which rides can be found. It's the planned time or else the desired time.
1080
- */
1081
- searchStartTime?: string;
1082
1162
  seriesInfo?: SeriesInfo;
1083
1163
  startTimeDelay?: number;
1084
1164
  /**
1085
- * Derived from driveStatus != null
1165
+ * 'started' is true if the driver has reported a driveStatus.
1086
1166
  */
1087
1167
  started?: boolean;
1088
1168
  }
@@ -1090,9 +1170,6 @@ export interface Ride {
1090
1170
  export interface RideBookerCommand extends RideCommand {
1091
1171
  }
1092
1172
 
1093
- export interface RideBookerSeriesCommand extends RideSeriesCommand {
1094
- }
1095
-
1096
1173
  export interface RideCommand {
1097
1174
  rideId?: string;
1098
1175
  }
@@ -1103,16 +1180,19 @@ export interface RideDriverCommand extends RideCommand {
1103
1180
  export interface RideDriverModifyCommand extends RideDriverCommand {
1104
1181
  }
1105
1182
 
1106
- export interface RideDriverSeriesCommand extends RideSeriesPreConfirmCommand {
1107
- }
1108
-
1109
- /**
1110
- * All durations in seconds
1111
- */
1112
1183
  export interface RideDuration {
1113
1184
  driving?: number;
1185
+ /**
1186
+ * Seconds of slack for dropping off the patient, currently hardcoded to 15 minutes
1187
+ */
1114
1188
  droppingOff?: number;
1189
+ /**
1190
+ * Seconds of slack for picking up the patient, currently hardcoded to 15 minutes
1191
+ */
1115
1192
  pickingUp?: number;
1193
+ /**
1194
+ * Seconds of driving time plus the pick-up and drop-off slack times
1195
+ */
1116
1196
  total?: number;
1117
1197
  }
1118
1198
 
@@ -1121,6 +1201,7 @@ export interface RideFilter {
1121
1201
  driveStatuses?: DriveStatus[];
1122
1202
  driverAccountNames?: string[];
1123
1203
  driverTeamNames?: string[];
1204
+ entityType?: EntityType;
1124
1205
  hasInfection?: boolean;
1125
1206
  heavyWeight?: boolean;
1126
1207
  mobilities?: Mobility[];
@@ -1132,6 +1213,7 @@ export interface RideFilter {
1132
1213
  riderAccountNames?: string[];
1133
1214
  riderTeamNames?: string[];
1134
1215
  timeRange?: InstantRange;
1216
+ unfoldRideSeries?: boolean;
1135
1217
  vehicleType?: VehicleType;
1136
1218
  }
1137
1219
 
@@ -1157,41 +1239,9 @@ export interface RideIdResult {
1157
1239
  rideId?: string;
1158
1240
  }
1159
1241
 
1160
- /**
1161
- * Information about the ride, from the creator of the ride
1162
- */
1163
- export interface RideInfo {
1164
- ambulanceInfo?: AmbulanceInfo;
1242
+ export interface RideInfo extends GenericRideInfo {
1165
1243
  appointment?: Appointment;
1166
- attendantsPresent?: number;
1167
- comment?: string;
1168
- dimensions?: PersonDimensions;
1169
- distanceInMeters?: number;
1170
- from?: AddressInfo;
1171
- /**
1172
- * Derived from weightInKg != null
1173
- */
1174
- heavyWeight?: boolean;
1175
- mobility?: Mobility;
1176
- patient?: Person;
1177
- plannedDuration?: RideDuration;
1178
- preferredDriver?: string;
1179
1244
  purpose?: RidePurpose;
1180
- to?: AddressInfo;
1181
- vehicleType?: VehicleType;
1182
- weightInKg?: number;
1183
- }
1184
-
1185
- export interface RideInfoFilter {
1186
- hasInfection?: boolean;
1187
- heavyWeight?: boolean;
1188
- mobilities?: Mobility[];
1189
- purposes?: RidePurpose[];
1190
- region?: Region;
1191
- requiresMonitoring?: boolean;
1192
- requiresOxygen?: boolean;
1193
- requiresSuctionAspirator?: boolean;
1194
- vehicleType?: VehicleType;
1195
1245
  }
1196
1246
 
1197
1247
  export interface RideLog {
@@ -1210,44 +1260,66 @@ export interface RideLog {
1210
1260
  token?: boolean;
1211
1261
  }
1212
1262
 
1213
- export interface RideOfferInfo {
1214
- appointment?: Appointment;
1263
+ export interface RideOperatorCommand extends RideCommand {
1215
1264
  }
1216
1265
 
1217
- export interface RideOperatorCommand extends RideCommand {
1266
+ export interface RideOrMinimizedSeries {
1267
+ bookingStatus?: BookingStatus;
1268
+ entityType?: EntityType;
1269
+ info?: GenericRideInfo;
1270
+ searchEndTime?: string;
1271
+ searchStartTime?: string;
1218
1272
  }
1219
1273
 
1220
- export interface RideSeries {
1221
- accepted?: boolean;
1222
- booked?: boolean;
1223
- booker?: AccountOrTeamRef;
1224
- cancelled?: boolean;
1225
- confirmed?: boolean;
1274
+ export interface RideOrSeries {
1275
+ bookedTime?: string;
1276
+ bookingStatus?: BookingStatus;
1277
+ cleaningAndSlack?: CleaningAndSlack;
1226
1278
  driver?: AccountOrTeamRef;
1227
- endTime?: string;
1279
+ entityType?: EntityType;
1228
1280
  info?: GenericRideInfo;
1229
- rideSeriesId?: string;
1230
- rides?: SingleRide[];
1231
- startTime?: string;
1232
- status?: RideSeriesStatus;
1281
+ marketplaceTime?: string;
1282
+ totalDuration?: number;
1233
1283
  }
1234
1284
 
1235
- export interface RideSeriesCommand {
1285
+ /**
1286
+ * A series of rides.
1287
+ */
1288
+ export interface RideSeries extends RideOrSeries {
1289
+ /**
1290
+ * 'accepted' is true if a driver has accepted the series.
1291
+ */
1292
+ accepted?: boolean;
1293
+ acceptedTime?: string;
1294
+ /**
1295
+ * The number of rides in the series that are not cancelled.
1296
+ */
1297
+ activeRideCount?: number;
1298
+ /**
1299
+ * 'booked' is false if the series has only been saved.
1300
+ */
1301
+ booked?: boolean;
1302
+ booker?: AccountOrTeamRef;
1303
+ cancelReason?: string;
1304
+ cancelled?: boolean;
1305
+ info?: SeriesRideInfo;
1236
1306
  rideSeriesId?: string;
1307
+ rides?: Ride[];
1308
+ ridesSummaries?: RideSummary[];
1309
+ /**
1310
+ * searchEndTime is the time from which series can be found in our system. It's the searchEndTime of the last ride in the series.
1311
+ */
1312
+ searchEndTime?: string;
1313
+ /**
1314
+ * searchStartTime is the time from which series can be found in our system. It's the searchStartTime of the first ride in the series.
1315
+ */
1316
+ searchStartTime?: string;
1237
1317
  }
1238
1318
 
1239
1319
  export interface RideSeriesIdResult {
1240
1320
  rideSeriesId?: string;
1241
1321
  }
1242
1322
 
1243
- export interface RideSeriesPostConfirmCommand {
1244
- rideSeriesId?: string;
1245
- ridesToModify?: Ride[];
1246
- }
1247
-
1248
- export interface RideSeriesPreConfirmCommand extends RideSeriesCommand {
1249
- }
1250
-
1251
1323
  export interface RideSeriesUpdate {
1252
1324
  after?: RideSeries;
1253
1325
  before?: RideSeries;
@@ -1258,11 +1330,23 @@ export interface RideSeriesUpdate {
1258
1330
  type: "rideseries";
1259
1331
  }
1260
1332
 
1333
+ export interface RideSeriesUtils {
1334
+ }
1335
+
1261
1336
  export interface RideStatisticsQuery {
1262
1337
  dateRange?: DateRange;
1263
1338
  zoneId?: string;
1264
1339
  }
1265
1340
 
1341
+ /**
1342
+ * Individual ride timing within a series. Once a ride series is accepted, you cannot add rides, only remove
1343
+ */
1344
+ export interface RideSummary {
1345
+ appointmentTime?: string;
1346
+ returnTrip?: boolean;
1347
+ rideId?: string;
1348
+ }
1349
+
1266
1350
  export interface RideSystemCommand extends RideCommand {
1267
1351
  }
1268
1352
 
@@ -1279,17 +1363,24 @@ export interface RideUpdate {
1279
1363
  type: "ride";
1280
1364
  }
1281
1365
 
1282
- export interface Role<T> {
1366
+ export interface Role {
1283
1367
  }
1284
1368
 
1285
1369
  /**
1286
1370
  * Save a new ride or update a previously saved ride. Not allowed to saveRide after the ride has been booked.
1287
1371
  */
1288
1372
  export interface SaveRide extends CreateRideCommand {
1289
- booker?: AccountOrTeamRef;
1290
1373
  info?: RideInfo;
1291
1374
  }
1292
1375
 
1376
+ export interface SaveRideSeries extends CreateSeriesCommand {
1377
+ rideSummaries?: RideSummary[];
1378
+ }
1379
+
1380
+ export interface SecondaryTokenPermissionCommand extends TokenUpdate {
1381
+ accountId?: string;
1382
+ }
1383
+
1293
1384
  export interface SendConfirmationEmail {
1294
1385
  userId?: string;
1295
1386
  }
@@ -1301,6 +1392,7 @@ export interface SendEmail {
1301
1392
  export interface SendFreshdeskNewTicket {
1302
1393
  email?: string;
1303
1394
  message?: string;
1395
+ subject?: string;
1304
1396
  }
1305
1397
 
1306
1398
  export interface SendInvitationEmail {
@@ -1308,20 +1400,57 @@ export interface SendInvitationEmail {
1308
1400
  userId?: string;
1309
1401
  }
1310
1402
 
1403
+ export interface SendOneTimePasswordEmail {
1404
+ oneTimePassword?: string;
1405
+ userId?: string;
1406
+ }
1407
+
1408
+ export interface SendSensitiveEmail {
1409
+ message?: EmailMessage;
1410
+ }
1411
+
1311
1412
  export interface SendSlack {
1312
1413
  channel?: SlackChannel;
1313
1414
  message?: string;
1314
1415
  }
1315
1416
 
1417
+ export interface SendToFirebase {
1418
+ message?: FirebaseMessage;
1419
+ }
1420
+
1421
+ export interface SeriesBookerCommand extends SeriesCommand {
1422
+ }
1423
+
1424
+ export interface SeriesCommand {
1425
+ rideSeriesId?: string;
1426
+ }
1427
+
1428
+ export interface SeriesCommandWithSeparateEvent {
1429
+ rideSeriesId?: string;
1430
+ }
1431
+
1432
+ export interface SeriesDriverCommand extends SeriesCommand {
1433
+ }
1434
+
1316
1435
  /**
1317
- * Information about a ride that is part of series.
1436
+ * If the ride is part of a series, seriesInfo will contain context about the position of the ride within the series.
1318
1437
  */
1319
1438
  export interface SeriesInfo {
1439
+ desyncedFromSeries?: boolean;
1440
+ positionInSeries?: number;
1320
1441
  returnTrip?: boolean;
1321
1442
  rideSeriesId?: string;
1443
+ totalRidesInSeries?: number;
1444
+ }
1445
+
1446
+ export interface SeriesOperatorCommand extends SeriesCommand {
1447
+ }
1448
+
1449
+ export interface SeriesRideInfo extends GenericRideInfo {
1450
+ purpose?: SeriesPurpose;
1322
1451
  }
1323
1452
 
1324
- export interface SetOperateAccounts extends AccountUpdate {
1453
+ export interface SetOperations extends AccountUpdate {
1325
1454
  operateAccounts?: string[];
1326
1455
  }
1327
1456
 
@@ -1329,6 +1458,10 @@ export interface SetOperator extends AccountUpdate {
1329
1458
  operator?: string;
1330
1459
  }
1331
1460
 
1461
+ export interface SetSecondaryTokenPermission extends SecondaryTokenPermissionCommand {
1462
+ accountPermission?: AccountPermission;
1463
+ }
1464
+
1332
1465
  export interface SetSettings extends AccountUpdate {
1333
1466
  settings?: any;
1334
1467
  }
@@ -1344,11 +1477,13 @@ export interface SetUserRole extends UserUpdate {
1344
1477
  }
1345
1478
 
1346
1479
  export interface SignInUser {
1480
+ activateOneTimePassword?: boolean;
1347
1481
  password?: string;
1348
1482
  userId?: string;
1349
1483
  }
1350
1484
 
1351
1485
  export interface SignUpUser {
1486
+ activateOneTimePassword?: boolean;
1352
1487
  email?: string;
1353
1488
  info?: UserInfo;
1354
1489
  inviteToken?: string;
@@ -1356,17 +1491,8 @@ export interface SignUpUser {
1356
1491
  userId?: string;
1357
1492
  }
1358
1493
 
1359
- /**
1360
- * Individual ride timing within a series
1361
- */
1362
- export interface SingleRide {
1363
- desiredStartTime?: string;
1364
- returnTrip?: boolean;
1365
- }
1366
-
1367
- export interface SingleRideUpdate {
1368
- desiredStartTime?: string;
1369
- rideId?: string;
1494
+ export interface SignedInUser {
1495
+ userId?: string;
1370
1496
  }
1371
1497
 
1372
1498
  export interface StopImpersonatingUser {
@@ -1418,10 +1544,11 @@ export interface TimedPermission {
1418
1544
  }
1419
1545
 
1420
1546
  export interface Token {
1421
- accountPermission?: AccountPermission;
1547
+ accountPermissions?: AccountPermission[];
1422
1548
  createdBy?: string;
1423
1549
  info?: TokenInfo;
1424
1550
  lastUpdatedBy?: string;
1551
+ owner?: string;
1425
1552
  revoked?: boolean;
1426
1553
  tokenId?: string;
1427
1554
  }
@@ -1464,9 +1591,19 @@ export interface UpdateRidePlan extends RideDriverModifyCommand {
1464
1591
  plannedStartTime?: string;
1465
1592
  }
1466
1593
 
1467
- export interface UpdateRideSeries extends RideBookerSeriesCommand {
1468
- info?: GenericRideInfo;
1469
- rides?: SingleRide[];
1594
+ export interface UpdateRideSeries extends SeriesCommandWithSeparateEvent {
1595
+ booker?: AccountOrTeamRef;
1596
+ info?: SeriesRideInfo;
1597
+ rideSummaries?: RideSummary[];
1598
+ }
1599
+
1600
+ export interface UpdateRideSeriesEvent extends SeriesBookerCommand {
1601
+ addRides?: string[];
1602
+ booker?: AccountOrTeamRef;
1603
+ cancelRides?: string[];
1604
+ info?: SeriesRideInfo;
1605
+ rideSummaries?: RideSummary[];
1606
+ updateRides?: string[];
1470
1607
  }
1471
1608
 
1472
1609
  export interface UpdateTeam extends TeamUpdate {
@@ -1520,6 +1657,26 @@ export interface UserUpdate extends UserCommand {
1520
1657
  export interface UserUpdateAfterSignup extends UserUpdate {
1521
1658
  }
1522
1659
 
1660
+ export interface WebsocketFilter {
1661
+ screen: "ride_details" | "fleet_overview" | "hospital_overview" | "marketplace" | "operations_overview";
1662
+ }
1663
+
1664
+ export interface WebsocketMultipleUpdates extends WebsocketUpdate {
1665
+ ridesAndSeries?: RideOrMinimizedSeries[];
1666
+ ridesCount?: RideFilterCount;
1667
+ type: "multiple_updates";
1668
+ }
1669
+
1670
+ export interface WebsocketSingleUpdate extends WebsocketUpdate {
1671
+ id?: string;
1672
+ rideOrSeries?: RideOrMinimizedSeries;
1673
+ type: "single_update";
1674
+ }
1675
+
1676
+ export interface WebsocketUpdate {
1677
+ type: "multiple_updates" | "single_update";
1678
+ }
1679
+
1523
1680
  export interface ZonedTimeRange {
1524
1681
  end?: Date;
1525
1682
  start?: Date;
@@ -1527,14 +1684,18 @@ export interface ZonedTimeRange {
1527
1684
 
1528
1685
  export type AccountRole = "ridebooker" | "dispatcher" | "operator" | "admin" | "owner";
1529
1686
 
1530
- export type AuthenticationResult = "SUCCESS" | "NOT_CONFIRMED";
1687
+ export type AuthenticationResult = "SUCCESS" | "NOT_CONFIRMED" | "ONE_TIME_PASSWORD_NEEDED";
1531
1688
 
1532
1689
  export type BookingStatus = "saved" | "booked" | "accepted" | "planned" | "started" | "completed" | "cancelled";
1533
1690
 
1691
+ export type DocumentType = "businessLicense" | "publicLiabilityPolicy";
1692
+
1534
1693
  export type DrivePermissionFilterUnion = AmbulanceFilter | TaxiFilter;
1535
1694
 
1536
1695
  export type DriveStatus = "driving_to_origin" | "arrived_at_origin" | "driving_to_destination" | "arrived_at_destination" | "completed";
1537
1696
 
1697
+ export type EntityType = "ride" | "rideseries";
1698
+
1538
1699
  export type GeometryUnion = GeoPolygon | GeoMultiPolygon;
1539
1700
 
1540
1701
  export type InsuranceType = "public_insurance" | "private_insurance" | "german_accident_insurance" | "no_or_unknown_insurance";
@@ -1547,9 +1708,11 @@ export type OrganisationType = "medical" | "fleet" | "operator";
1547
1708
 
1548
1709
  export type RidePurpose = "admission" | "relocation" | "discharge" | "consultation";
1549
1710
 
1550
- export type RideSeriesStatus = "booked" | "accepted" | "confirmed" | "cancelled";
1711
+ export type Screen = "marketplace" | "operations_overview" | "hospital_overview" | "fleet_overview" | "ride_details";
1712
+
1713
+ export type SeriesPurpose = "consultation";
1551
1714
 
1552
- export type Service = "pro_medical" | "pro_fleet" | "pro_operator" | "celios_integration" | "dispolive_integration";
1715
+ export type Service = "pro_medical" | "pro_fleet" | "pro_operator" | "celios_integration" | "dispolive_integration" | "moxi_operations";
1553
1716
 
1554
1717
  export type SlackChannel = "admin_monitoring" | "admin_respond_immediately" | "admin_respond_within_hour" | "admin_reported_issues";
1555
1718
 
@@ -1559,8 +1722,12 @@ export type SyncStatus = "not_synced" | "synced" | "update_not_synced";
1559
1722
 
1560
1723
  export type TeamRole = "dispatcher" | "ridebooker";
1561
1724
 
1562
- export type TrackingUpdateType = "ride" | "rideseries";
1563
-
1564
1725
  export type UserRole = "superadmin";
1565
1726
 
1566
1727
  export type VehicleType = "taxi" | "ambulance";
1728
+
1729
+ export type WebsocketFilterUnion = MarketplaceOverviewFilter | HospitalOverviewFilter | FleetOverviewFilter | OperationsOverviewFilter | DetailsFilter;
1730
+
1731
+ export type WebsocketUpdateType = "single_update" | "multiple_updates";
1732
+
1733
+ export type WebsocketUpdateUnion = WebsocketSingleUpdate | WebsocketMultipleUpdates;