@moxi.gmbh/moxi-typescriptmodels 0.0.281 → 0.0.301
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 +26 -18
- package/package.json +1 -1
package/common.d.ts
CHANGED
|
@@ -3,12 +3,6 @@ export interface AcceptInviteUser extends UserUpdate {
|
|
|
3
3
|
accountId?: string;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
export interface AcceptRide extends FleetCommand {
|
|
7
|
-
alternativeRoundTripTime?: string;
|
|
8
|
-
alternativeTime?: string;
|
|
9
|
-
driveOwner?: AccountOrTeamId;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
6
|
export interface AcceptUserAgreement extends UserUpdate {
|
|
13
7
|
agreementId?: any;
|
|
14
8
|
}
|
|
@@ -45,7 +39,7 @@ export interface AccountPermission {
|
|
|
45
39
|
|
|
46
40
|
export interface AccountSummary {
|
|
47
41
|
accountId?: string;
|
|
48
|
-
|
|
42
|
+
name?: any;
|
|
49
43
|
}
|
|
50
44
|
|
|
51
45
|
export interface AccountUpdate extends AccountCommand {
|
|
@@ -57,6 +51,7 @@ export interface AddressInfo {
|
|
|
57
51
|
country?: any;
|
|
58
52
|
districtNutsCode?: any;
|
|
59
53
|
geoLocation?: GeoLocation;
|
|
54
|
+
instructions?: any;
|
|
60
55
|
number?: any;
|
|
61
56
|
state?: any;
|
|
62
57
|
street?: any;
|
|
@@ -123,7 +118,7 @@ export interface BookRide extends CreateRideCommand {
|
|
|
123
118
|
export interface CancelRide extends RidePlannerCommand {
|
|
124
119
|
}
|
|
125
120
|
|
|
126
|
-
export interface
|
|
121
|
+
export interface CancelRideOffer extends FleetModifyCommand {
|
|
127
122
|
}
|
|
128
123
|
|
|
129
124
|
export interface ChangeUserPassword {
|
|
@@ -213,7 +208,7 @@ export interface DrivePermissionInfo {
|
|
|
213
208
|
allowedFleetCompanyTypes?: FleetCompanyType[];
|
|
214
209
|
allowedSpecificities?: Specificity[];
|
|
215
210
|
allowedTransportTypes?: TransportType[];
|
|
216
|
-
|
|
211
|
+
regions?: Region[];
|
|
217
212
|
}
|
|
218
213
|
|
|
219
214
|
export interface EditUser extends UserUpdate {
|
|
@@ -261,7 +256,7 @@ export interface FindInsurers {
|
|
|
261
256
|
term?: any;
|
|
262
257
|
}
|
|
263
258
|
|
|
264
|
-
export interface
|
|
259
|
+
export interface FindMyRideOffers {
|
|
265
260
|
direction?: Direction;
|
|
266
261
|
term?: any;
|
|
267
262
|
timeRange?: InstantRange;
|
|
@@ -278,7 +273,7 @@ export interface FindMyUsers {
|
|
|
278
273
|
term?: any;
|
|
279
274
|
}
|
|
280
275
|
|
|
281
|
-
export interface
|
|
276
|
+
export interface FindPotentialRides {
|
|
282
277
|
direction?: Direction;
|
|
283
278
|
term?: any;
|
|
284
279
|
timeRange?: InstantRange;
|
|
@@ -325,9 +320,9 @@ export interface GetAccount {
|
|
|
325
320
|
}
|
|
326
321
|
|
|
327
322
|
export interface GetAccountsOfPotentialDrivers {
|
|
323
|
+
districtNutsCode?: any;
|
|
328
324
|
equipment?: Equipment;
|
|
329
325
|
fleetCompanyType?: FleetCompanyType;
|
|
330
|
-
from?: AddressInfo;
|
|
331
326
|
specificities?: Specificity[];
|
|
332
327
|
transportType?: TransportType;
|
|
333
328
|
}
|
|
@@ -446,6 +441,11 @@ export interface NutsSubState {
|
|
|
446
441
|
name?: any;
|
|
447
442
|
}
|
|
448
443
|
|
|
444
|
+
export interface OfferRide extends FleetCommand {
|
|
445
|
+
driveOwner?: AccountOrTeamId;
|
|
446
|
+
offerInfo?: RideOfferInfo;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
449
|
export interface OffsetTimeRange {
|
|
450
450
|
end?: Date;
|
|
451
451
|
start?: Date;
|
|
@@ -561,11 +561,11 @@ export interface RevokeSubscription extends AccountUpdate {
|
|
|
561
561
|
export interface Ride {
|
|
562
562
|
booked?: boolean;
|
|
563
563
|
cancelled?: boolean;
|
|
564
|
-
|
|
565
|
-
confirmedAppointment?: Appointment;
|
|
566
|
-
confirmedRoundTripAppointment?: Appointment;
|
|
564
|
+
driveOffered?: boolean;
|
|
567
565
|
driveOwner?: AccountOrTeamId;
|
|
568
566
|
info?: RideInfo;
|
|
567
|
+
offerInfo?: RideOfferInfo;
|
|
568
|
+
preferredDriver?: string;
|
|
569
569
|
rideId?: string;
|
|
570
570
|
rideOwner?: AccountOrTeamId;
|
|
571
571
|
}
|
|
@@ -588,6 +588,11 @@ export interface RideInfo {
|
|
|
588
588
|
transportType?: TransportType;
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
+
export interface RideOfferInfo {
|
|
592
|
+
appointment?: Appointment;
|
|
593
|
+
roundTripAppointment?: Appointment;
|
|
594
|
+
}
|
|
595
|
+
|
|
591
596
|
export interface RidePlannerCommand extends RideCommand {
|
|
592
597
|
}
|
|
593
598
|
|
|
@@ -720,9 +725,12 @@ export interface UpdateApplicationConfig {
|
|
|
720
725
|
config?: ApplicationConfig;
|
|
721
726
|
}
|
|
722
727
|
|
|
723
|
-
export interface
|
|
724
|
-
|
|
725
|
-
|
|
728
|
+
export interface UpdateRideBooking extends RidePlannerCommand {
|
|
729
|
+
info?: RideInfo;
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
export interface UpdateRideOffer extends FleetModifyCommand {
|
|
733
|
+
offerInfo?: RideOfferInfo;
|
|
726
734
|
}
|
|
727
735
|
|
|
728
736
|
export interface UpdateTeam extends TeamUpdate {
|
package/package.json
CHANGED