@moxi.gmbh/moxi-typescriptmodels 0.0.381 → 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 +62 -20
  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
  }
@@ -642,6 +674,11 @@ export interface SendInvitationEmail {
642
674
  userId?: string;
643
675
  }
644
676
 
677
+ export interface SendSlack {
678
+ channel?: SlackChannel;
679
+ message?: any;
680
+ }
681
+
645
682
  export interface Serializable {
646
683
  }
647
684
 
@@ -692,6 +729,11 @@ export interface SubscriptionInfo extends TimedPermission {
692
729
  service?: Service;
693
730
  }
694
731
 
732
+ export interface TaxiFilter extends RideTypeSpecificFilter {
733
+ allowedMobilities?: Mobility[];
734
+ type: "taxi";
735
+ }
736
+
695
737
  export interface Team {
696
738
  info?: TeamInfo;
697
739
  teamId?: string;
@@ -813,24 +855,24 @@ export type Direction = "admission" | "relocation" | "discharge";
813
855
 
814
856
  export type Environment = "prod" | "local" | "test";
815
857
 
816
- export type Equipment = "wheelchair" | "carry_chair" | "lying_down";
817
-
818
- export type FleetCompanyType = "taxi" | "ktw";
819
-
820
858
  export type GeometryUnion = GeoPolygon | GeoMultiPolygon;
821
859
 
860
+ export type Mobility = "wheelchair" | "big_or_electric_wheelchair" | "carry_chair" | "lying_down";
861
+
822
862
  export type OutputFormat = "PAYLOAD" | "MESSAGE" | "SERIALIZED_MESSAGE";
823
863
 
864
+ export type RideType = "taxi" | "ambulance";
865
+
866
+ export type RideTypeSpecificFilterUnion = AmbulanceFilter | TaxiFilter;
867
+
824
868
  export type RightType = "role" | "jurisdiction";
825
869
 
826
870
  export type RightUnion = RoleRight;
827
871
 
828
872
  export type Service = "rideplanning" | "driveplanning";
829
873
 
830
- export type Specificity = "infection" | "overweight" | "oxygen" | "cognitive_impairment" | "attendant_present" | "suction_aspirator";
874
+ export type SlackChannel = "admin_monitoring" | "admin_respond_immediately" | "admin_respond_within_hour";
831
875
 
832
876
  export type TeamRole = "driveplanner" | "rideplanner";
833
877
 
834
- export type TransportType = "patient_transport" | "private_trip" | "material_transport";
835
-
836
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.381",
3
+ "version": "0.0.401",
4
4
  "types": "common.d.ts"
5
5
  }