@moxi.gmbh/moxi-typescriptmodels 0.1.331-test-server → 0.1.331
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 +30 -2
- package/package.json +1 -1
package/common.d.ts
CHANGED
|
@@ -217,10 +217,19 @@ export interface CreateAccount extends AccountCommand {
|
|
|
217
217
|
requestService?: StandaloneService;
|
|
218
218
|
}
|
|
219
219
|
|
|
220
|
+
export interface CreateOptimizationPlan extends OptimizerMessage {
|
|
221
|
+
accountOrTeam?: AccountOrTeamRef;
|
|
222
|
+
timeRange?: InstantRange;
|
|
223
|
+
}
|
|
224
|
+
|
|
220
225
|
export interface CreateRideCommand extends RidePlannerCommand {
|
|
221
226
|
owner?: AccountOrTeamId;
|
|
222
227
|
}
|
|
223
228
|
|
|
229
|
+
export interface CreateSqueezeInPlan extends OptimizerMessage {
|
|
230
|
+
accountOrTeam?: AccountOrTeamRef;
|
|
231
|
+
}
|
|
232
|
+
|
|
224
233
|
export interface CreateTeam extends AccountCommand {
|
|
225
234
|
info?: TeamInfo;
|
|
226
235
|
teamId?: string;
|
|
@@ -608,6 +617,9 @@ export interface OffsetTimeRange {
|
|
|
608
617
|
start?: Date;
|
|
609
618
|
}
|
|
610
619
|
|
|
620
|
+
export interface OptimizerMessage {
|
|
621
|
+
}
|
|
622
|
+
|
|
611
623
|
export interface Person {
|
|
612
624
|
address?: AddressInfo;
|
|
613
625
|
birthDay?: string;
|
|
@@ -690,6 +702,19 @@ export interface RequestUserReset {
|
|
|
690
702
|
email?: string;
|
|
691
703
|
}
|
|
692
704
|
|
|
705
|
+
export interface Review {
|
|
706
|
+
comment?: string;
|
|
707
|
+
stars?: number;
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
export interface ReviewRideAsDriver extends FleetModifyCommand {
|
|
711
|
+
review?: Review;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
export interface ReviewRideAsRider extends RidePlannerCommand {
|
|
715
|
+
review?: Review;
|
|
716
|
+
}
|
|
717
|
+
|
|
693
718
|
export interface RevokeAccountPermission extends AccountPermissionCommand {
|
|
694
719
|
}
|
|
695
720
|
|
|
@@ -731,6 +756,7 @@ export interface Ride {
|
|
|
731
756
|
destinationPta?: string;
|
|
732
757
|
driveOwner?: AccountOrTeamRef;
|
|
733
758
|
driveStatus?: DriveStatus;
|
|
759
|
+
driverReview?: Review;
|
|
734
760
|
driverSyncStatus?: SyncStatus;
|
|
735
761
|
info?: RideInfo;
|
|
736
762
|
/**
|
|
@@ -743,6 +769,7 @@ export interface Ride {
|
|
|
743
769
|
originPta?: string;
|
|
744
770
|
rideId?: string;
|
|
745
771
|
rideOwner?: AccountOrTeamRef;
|
|
772
|
+
riderReview?: Review;
|
|
746
773
|
/**
|
|
747
774
|
* Derived from driveStatus != null
|
|
748
775
|
*/
|
|
@@ -772,6 +799,7 @@ export interface RideFilter {
|
|
|
772
799
|
hasInfection?: boolean;
|
|
773
800
|
heavyWeight?: boolean;
|
|
774
801
|
mobilities?: Mobility[];
|
|
802
|
+
region?: Region;
|
|
775
803
|
requiresMonitoring?: boolean;
|
|
776
804
|
requiresOxygen?: boolean;
|
|
777
805
|
requiresSuctionAspirator?: boolean;
|
|
@@ -1029,7 +1057,7 @@ export interface UserInfo {
|
|
|
1029
1057
|
firstName?: string;
|
|
1030
1058
|
language?: string;
|
|
1031
1059
|
lastName?: string;
|
|
1032
|
-
telephoneNumber?:
|
|
1060
|
+
telephoneNumber?: PhoneNumber;
|
|
1033
1061
|
}
|
|
1034
1062
|
|
|
1035
1063
|
export interface UserOrTokenId {
|
|
@@ -1064,7 +1092,7 @@ export type AuthenticationResult = "SUCCESS" | "NOT_CONFIRMED";
|
|
|
1064
1092
|
|
|
1065
1093
|
export type BookingStatus = "saved" | "booked" | "accepted" | "started" | "completed" | "cancelled";
|
|
1066
1094
|
|
|
1067
|
-
export type Direction = "admission" | "relocation" | "discharge";
|
|
1095
|
+
export type Direction = "admission" | "relocation" | "discharge" | "consultation";
|
|
1068
1096
|
|
|
1069
1097
|
export type DriveStatus = "driving_to_origin" | "arrived_at_origin" | "driving_to_destination" | "arrived_at_destination" | "completed";
|
|
1070
1098
|
|
package/package.json
CHANGED