@moxi.gmbh/moxi-typescriptmodels 0.0.291 → 0.0.311

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