@moxi.gmbh/moxi-typescriptmodels 0.0.1361 → 0.0.1371

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 +52 -3
  2. package/package.json +1 -1
package/common.d.ts CHANGED
@@ -13,6 +13,9 @@ export interface AcceptUserAgreement extends UserUpdate {
13
13
 
14
14
  export interface Account {
15
15
  accountId?: string;
16
+ /**
17
+ * Derived from subscriptions
18
+ */
16
19
  activeServices?: Service[];
17
20
  confirmed?: boolean;
18
21
  criticalInfo?: CriticalAccountInfo;
@@ -325,6 +328,24 @@ export interface Feature {
325
328
  properties?: any;
326
329
  }
327
330
 
331
+ export interface FetchGoogleGeoLocation {
332
+ city?: string;
333
+ number?: string;
334
+ street?: string;
335
+ zipCode?: string;
336
+ }
337
+
338
+ export interface FetchGoogleRoute {
339
+ departureTime?: string;
340
+ from?: GeoLocation;
341
+ to?: GeoLocation;
342
+ }
343
+
344
+ export interface FetchRouteResult {
345
+ distanceInMeters?: number;
346
+ duration?: number;
347
+ }
348
+
328
349
  export interface FindAccount {
329
350
  term?: string;
330
351
  }
@@ -440,13 +461,16 @@ export interface GetDistrict {
440
461
  stateNutsCode?: string;
441
462
  }
442
463
 
443
- export interface GetInsurers {
464
+ export interface GetGoogleMapsUiKey {
444
465
  }
445
466
 
446
- export interface GetIsoStates {
467
+ /**
468
+ * Open-source insurance data, German-only for now, March 2024. Source: https://ec.europa.eu/social/social-security-directory/pai/search-institution/language/en/country/de/translation/de
469
+ */
470
+ export interface GetInsurers {
447
471
  }
448
472
 
449
- export interface GetMapsKey {
473
+ export interface GetIsoStates {
450
474
  }
451
475
 
452
476
  export interface GetMessageAtIndex {
@@ -458,6 +482,18 @@ export interface GetMessageAtIndex {
458
482
  export interface GetMyAccounts {
459
483
  }
460
484
 
485
+ export interface GetMyRideOffers {
486
+ accountId?: string;
487
+ maxSize?: number;
488
+ timeRange?: InstantRange;
489
+ }
490
+
491
+ export interface GetMyRides {
492
+ accountId?: string;
493
+ maxSize?: number;
494
+ timeRange?: InstantRange;
495
+ }
496
+
461
497
  export interface GetMyToken {
462
498
  }
463
499
 
@@ -467,6 +503,12 @@ export interface GetMyUserProfile {
467
503
  export interface GetNutsStates {
468
504
  }
469
505
 
506
+ export interface GetPotentialRides {
507
+ accountId?: string;
508
+ maxSize?: number;
509
+ timeRange?: InstantRange;
510
+ }
511
+
470
512
  export interface GetRide {
471
513
  rideId?: string;
472
514
  }
@@ -725,6 +767,9 @@ export interface RideCommand {
725
767
  rideId?: string;
726
768
  }
727
769
 
770
+ /**
771
+ * All durations in seconds
772
+ */
728
773
  export interface RideDuration {
729
774
  driving?: number;
730
775
  droppingOff?: number;
@@ -768,6 +813,10 @@ export interface RideFilterCount {
768
813
  total?: number;
769
814
  }
770
815
 
816
+ export interface RideIdResult {
817
+ rideId?: string;
818
+ }
819
+
771
820
  /**
772
821
  * Information about the ride, from the creator of the ride
773
822
  */
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@moxi.gmbh/moxi-typescriptmodels",
3
- "version": "0.0.1361",
3
+ "version": "0.0.1371",
4
4
  "types": "common.d.ts"
5
5
  }