@moxi.gmbh/moxi-typescriptmodels 0.0.1041 → 0.0.1051

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 +12 -6
  2. package/package.json +1 -1
package/common.d.ts CHANGED
@@ -301,18 +301,14 @@ export interface FindAccount {
301
301
 
302
302
  export interface FindMyRideOffers {
303
303
  accountId?: string;
304
- direction?: Direction;
305
304
  filter?: RideFilter;
306
305
  term?: string;
307
- timeRange?: InstantRange;
308
306
  }
309
307
 
310
308
  export interface FindMyRides {
311
309
  accountId?: string;
312
- direction?: Direction;
313
310
  filter?: RideFilter;
314
311
  term?: string;
315
- timeRange?: InstantRange;
316
312
  }
317
313
 
318
314
  export interface FindMyUsers {
@@ -323,10 +319,8 @@ export interface FindMyUsers {
323
319
 
324
320
  export interface FindPotentialRides {
325
321
  accountId?: string;
326
- direction?: Direction;
327
322
  filter?: RideFilter;
328
323
  term?: string;
329
- timeRange?: InstantRange;
330
324
  }
331
325
 
332
326
  export interface FindRides {
@@ -334,6 +328,11 @@ export interface FindRides {
334
328
  term?: string;
335
329
  }
336
330
 
331
+ export interface FindRidesResult {
332
+ count?: RideFilterCount;
333
+ rides?: Ride[];
334
+ }
335
+
337
336
  export interface FindUsers {
338
337
  term?: string;
339
338
  }
@@ -626,6 +625,7 @@ export interface RideDuration {
626
625
  export interface RideFilter {
627
626
  bookingStatuses?: BookingStatus[];
628
627
  directions?: Direction[];
628
+ driveStatuses?: DriveStatus[];
629
629
  hasInfection?: boolean;
630
630
  heavyWeight?: boolean;
631
631
  mobilities?: Mobility[];
@@ -636,6 +636,12 @@ export interface RideFilter {
636
636
  timeRange?: InstantRange;
637
637
  }
638
638
 
639
+ export interface RideFilterCount {
640
+ bookingStatuses?: { [P in BookingStatus]?: number };
641
+ driveStatuses?: { [P in DriveStatus]?: number };
642
+ total?: number;
643
+ }
644
+
639
645
  export interface RideInfo {
640
646
  ambulanceInfo?: AmbulanceInfo;
641
647
  appointment?: Appointment;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@moxi.gmbh/moxi-typescriptmodels",
3
- "version": "0.0.1041",
3
+ "version": "0.0.1051",
4
4
  "types": "common.d.ts"
5
5
  }