@moxi.gmbh/moxi-typescriptmodels 0.1.1381-test-server → 0.1.1401-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.
Files changed (2) hide show
  1. package/common.d.ts +39 -4
  2. package/package.json +1 -1
package/common.d.ts CHANGED
@@ -164,7 +164,7 @@ export interface Appointment {
164
164
  time?: string;
165
165
  }
166
166
 
167
- export interface AssignDriver extends RideCommand {
167
+ export interface AssignDriver extends RideOperatorCommand {
168
168
  driver?: AccountOrTeamRef;
169
169
  }
170
170
 
@@ -599,10 +599,16 @@ export interface GetAccount {
599
599
  accountId?: string;
600
600
  }
601
601
 
602
- export interface GetAccountsOfPotentialDrivers extends GetPotentialDrivers {
602
+ /**
603
+ * @deprecated
604
+ */
605
+ export interface GetAccountsOfPotentialDrivers extends IGetPotentialDrivers {
603
606
  }
604
607
 
605
- export interface GetAccountsOfPotentialDriversAsAdmin extends GetPotentialDrivers {
608
+ /**
609
+ * @deprecated
610
+ */
611
+ export interface GetAccountsOfPotentialDriversAsAdmin extends IGetPotentialDrivers {
606
612
  }
607
613
 
608
614
  export interface GetAllRideSeriesForDriver {
@@ -674,7 +680,25 @@ export interface GetMyUserProfile {
674
680
  export interface GetNutsStates {
675
681
  }
676
682
 
677
- export interface GetPotentialDrivers {
683
+ /**
684
+ * Common information shared across all rides in a series. Similar to RideInfo but without appointment-specific details that vary per ride.
685
+
686
+ */
687
+ export interface GetPotentialDriverIds extends GetPotentialDriversAbstract {
688
+ }
689
+
690
+ /**
691
+ * Common information shared across all rides in a series. Similar to RideInfo but without appointment-specific details that vary per ride.
692
+
693
+ */
694
+ export interface GetPotentialDrivers extends GetPotentialDriversAbstract {
695
+ }
696
+
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
+ export interface GetPotentialDriversAbstract {
678
702
  fromDistrict?: string;
679
703
  mobility?: Mobility;
680
704
  toDistrict?: string;
@@ -763,6 +787,14 @@ export interface GiveTeamPermission extends AccountPermissionCommand {
763
787
  teamPermission?: TeamPermission;
764
788
  }
765
789
 
790
+ export interface IGetPotentialDrivers {
791
+ fromDistrict?: string;
792
+ mobility?: Mobility;
793
+ toDistrict?: string;
794
+ vehicleType?: VehicleType;
795
+ weightInKg?: number;
796
+ }
797
+
766
798
  export interface ImpersonateUser {
767
799
  userId?: string;
768
800
  }
@@ -1182,6 +1214,9 @@ export interface RideOfferInfo {
1182
1214
  appointment?: Appointment;
1183
1215
  }
1184
1216
 
1217
+ export interface RideOperatorCommand extends RideCommand {
1218
+ }
1219
+
1185
1220
  export interface RideSeries {
1186
1221
  accepted?: boolean;
1187
1222
  booked?: boolean;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@moxi.gmbh/moxi-typescriptmodels",
3
- "version": "0.1.1381-test-server",
3
+ "version": "0.1.1401-test-server",
4
4
  "types": "common.d.ts"
5
5
  }