@moxi.gmbh/moxi-typescriptmodels 0.0.391 → 0.0.401

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.
Files changed (2) hide show
  1. package/common.d.ts +56 -21
  2. package/package.json +1 -1
package/common.d.ts CHANGED
@@ -80,6 +80,21 @@ export interface AdminSetUserPassword {
80
80
  export interface AdminWebsocketClient {
81
81
  }
82
82
 
83
+ export interface AmbulanceFilter extends RideTypeSpecificFilter {
84
+ heavyWeightAllowed?: boolean;
85
+ type: "ambulance";
86
+ }
87
+
88
+ export interface AmbulanceInfo {
89
+ hasInfection?: boolean;
90
+ infectionDescription?: any;
91
+ monitoringDescription?: any;
92
+ oxygenLiterPerHour?: any;
93
+ requiresMonitoring?: boolean;
94
+ requiresOxygen?: boolean;
95
+ requiresSuctionAspirator?: boolean;
96
+ }
97
+
83
98
  export interface Application {
84
99
  config?: ApplicationConfig;
85
100
  }
@@ -216,10 +231,7 @@ export interface DrivePermission {
216
231
  }
217
232
 
218
233
  export interface DrivePermissionInfo {
219
- allowedEquipments?: Equipment[];
220
- allowedFleetCompanyTypes?: FleetCompanyType[];
221
- allowedSpecificities?: Specificity[];
222
- allowedTransportTypes?: TransportType[];
234
+ filter?: RideTypeSpecificFilterUnion;
223
235
  regions?: Region[];
224
236
  }
225
237
 
@@ -333,12 +345,11 @@ export interface GetAccount {
333
345
  }
334
346
 
335
347
  export interface GetAccountsOfPotentialDrivers {
336
- equipment?: Equipment;
337
- fleetCompanyType?: FleetCompanyType;
338
348
  fromDistrict?: any;
339
- specificities?: Specificity[];
349
+ mobility?: Mobility;
350
+ rideType?: RideType;
340
351
  toDistrict?: any;
341
- transportType?: TransportType;
352
+ weightInKg?: any;
342
353
  }
343
354
 
344
355
  export interface GetApplicationConfig {
@@ -371,6 +382,9 @@ export interface GetRide {
371
382
  rideId?: string;
372
383
  }
373
384
 
385
+ export interface GetRideLog {
386
+ }
387
+
374
388
  export interface GetTeam {
375
389
  teamId?: string;
376
390
  }
@@ -474,7 +488,12 @@ export interface Person {
474
488
  insurer?: Insurer;
475
489
  lastName?: any;
476
490
  phoneNumber?: any;
477
- weightInKg?: any;
491
+ }
492
+
493
+ export interface PersonDimensions {
494
+ heightInCm?: any;
495
+ hipWidthInCm?: any;
496
+ shoulderWidthInCm?: any;
478
497
  }
479
498
 
480
499
  export interface Point extends Point2D, Serializable {
@@ -592,17 +611,26 @@ export interface RideCommand {
592
611
  }
593
612
 
594
613
  export interface RideInfo {
614
+ ambulanceInfo?: AmbulanceInfo;
595
615
  appointment?: Appointment;
616
+ attendantsPresent?: any;
617
+ dimensions?: PersonDimensions;
596
618
  direction?: Direction;
597
- equipment?: Equipment;
598
- fleetCompanyType?: FleetCompanyType;
599
619
  from?: AddressInfo;
620
+ heavyWeight?: boolean;
621
+ heavyWeightWithMobilityIssues?: boolean;
622
+ mobility?: Mobility;
600
623
  patient?: Person;
624
+ rideType?: RideType;
601
625
  roundTrip?: boolean;
602
626
  roundTripAppointment?: Appointment;
603
- specificities?: Specificity[];
604
627
  to?: AddressInfo;
605
- transportType?: TransportType;
628
+ weightInKg?: any;
629
+ }
630
+
631
+ export interface RideLog {
632
+ allowedViewers?: any[];
633
+ description?: any;
606
634
  }
607
635
 
608
636
  export interface RideOfferInfo {
@@ -613,6 +641,10 @@ export interface RideOfferInfo {
613
641
  export interface RidePlannerCommand extends RideCommand {
614
642
  }
615
643
 
644
+ export interface RideTypeSpecificFilter {
645
+ type: "ambulance" | "taxi";
646
+ }
647
+
616
648
  export interface Right {
617
649
  type: "role";
618
650
  }
@@ -697,6 +729,11 @@ export interface SubscriptionInfo extends TimedPermission {
697
729
  service?: Service;
698
730
  }
699
731
 
732
+ export interface TaxiFilter extends RideTypeSpecificFilter {
733
+ allowedMobilities?: Mobility[];
734
+ type: "taxi";
735
+ }
736
+
700
737
  export interface Team {
701
738
  info?: TeamInfo;
702
739
  teamId?: string;
@@ -818,14 +855,16 @@ export type Direction = "admission" | "relocation" | "discharge";
818
855
 
819
856
  export type Environment = "prod" | "local" | "test";
820
857
 
821
- export type Equipment = "wheelchair" | "carry_chair" | "lying_down";
822
-
823
- export type FleetCompanyType = "taxi" | "ktw";
824
-
825
858
  export type GeometryUnion = GeoPolygon | GeoMultiPolygon;
826
859
 
860
+ export type Mobility = "wheelchair" | "big_or_electric_wheelchair" | "carry_chair" | "lying_down";
861
+
827
862
  export type OutputFormat = "PAYLOAD" | "MESSAGE" | "SERIALIZED_MESSAGE";
828
863
 
864
+ export type RideType = "taxi" | "ambulance";
865
+
866
+ export type RideTypeSpecificFilterUnion = AmbulanceFilter | TaxiFilter;
867
+
829
868
  export type RightType = "role" | "jurisdiction";
830
869
 
831
870
  export type RightUnion = RoleRight;
@@ -834,10 +873,6 @@ export type Service = "rideplanning" | "driveplanning";
834
873
 
835
874
  export type SlackChannel = "admin_monitoring" | "admin_respond_immediately" | "admin_respond_within_hour";
836
875
 
837
- export type Specificity = "infection" | "overweight" | "oxygen" | "cognitive_impairment" | "attendant_present" | "suction_aspirator";
838
-
839
876
  export type TeamRole = "driveplanner" | "rideplanner";
840
877
 
841
- export type TransportType = "patient_transport" | "private_trip" | "material_transport";
842
-
843
878
  export type UserRole = "superadmin";
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@moxi.gmbh/moxi-typescriptmodels",
3
- "version": "0.0.391",
3
+ "version": "0.0.401",
4
4
  "types": "common.d.ts"
5
5
  }