@moxi.gmbh/moxi-typescriptmodels 0.1.1121-test-server → 0.1.1141-test-server
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 +58 -13
- package/package.json +1 -1
package/common.d.ts
CHANGED
|
@@ -141,7 +141,8 @@ export interface AmbulanceInfo {
|
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
/**
|
|
144
|
-
*
|
|
144
|
+
* Common information shared across all rides in a series. Similar to RideInfo but without appointment-specific details that vary per ride.
|
|
145
|
+
|
|
145
146
|
*/
|
|
146
147
|
export interface AnonymizedGenericRideInfo extends GenericRideInfo {
|
|
147
148
|
}
|
|
@@ -243,9 +244,6 @@ export interface ConfirmDrivePermission extends AccountUpdate {
|
|
|
243
244
|
export interface ConfirmEverythingInAccount extends AccountCommand {
|
|
244
245
|
}
|
|
245
246
|
|
|
246
|
-
export interface ConfirmRideSeries extends RideDriverSeriesCommand {
|
|
247
|
-
}
|
|
248
|
-
|
|
249
247
|
export interface ConfirmSubscription extends AccountUpdate {
|
|
250
248
|
subscriptionId?: string;
|
|
251
249
|
}
|
|
@@ -284,6 +282,9 @@ export interface CreateRideFromSeries extends RideDriverCommand {
|
|
|
284
282
|
seriesInfo?: SeriesInfo;
|
|
285
283
|
}
|
|
286
284
|
|
|
285
|
+
export interface CreateRidesFromSeries extends RideDriverSeriesCommand {
|
|
286
|
+
}
|
|
287
|
+
|
|
287
288
|
export interface CreateSqueezeInPlan extends OptimizerMessage {
|
|
288
289
|
accountOrTeam?: AccountOrTeamRef;
|
|
289
290
|
}
|
|
@@ -427,6 +428,9 @@ export interface FindAccounts {
|
|
|
427
428
|
term?: string;
|
|
428
429
|
}
|
|
429
430
|
|
|
431
|
+
/**
|
|
432
|
+
* @deprecated
|
|
433
|
+
*/
|
|
430
434
|
export interface FindMyAcceptedRides {
|
|
431
435
|
accountId?: string;
|
|
432
436
|
descending?: boolean;
|
|
@@ -449,9 +453,9 @@ export interface FindMyRideOffers {
|
|
|
449
453
|
export interface FindMyRideSeries {
|
|
450
454
|
accountId?: string;
|
|
451
455
|
descending?: boolean;
|
|
452
|
-
filter?: RideFilter;
|
|
453
456
|
maxSize?: number;
|
|
454
457
|
term?: string;
|
|
458
|
+
timeRange?: InstantRange;
|
|
455
459
|
}
|
|
456
460
|
|
|
457
461
|
export interface FindMyRides {
|
|
@@ -479,7 +483,6 @@ export interface FindPotentialRideSeries {
|
|
|
479
483
|
descending?: boolean;
|
|
480
484
|
filter?: RideInfoFilter;
|
|
481
485
|
maxSize?: number;
|
|
482
|
-
timeRange?: InstantRange;
|
|
483
486
|
}
|
|
484
487
|
|
|
485
488
|
export interface FindPotentialRides {
|
|
@@ -497,6 +500,14 @@ export interface FindRides {
|
|
|
497
500
|
term?: string;
|
|
498
501
|
}
|
|
499
502
|
|
|
503
|
+
export interface FindRidesForDriver {
|
|
504
|
+
accountId?: string;
|
|
505
|
+
descending?: boolean;
|
|
506
|
+
filter?: RideFilter;
|
|
507
|
+
maxSize?: number;
|
|
508
|
+
term?: string;
|
|
509
|
+
}
|
|
510
|
+
|
|
500
511
|
export interface FindRidesResult {
|
|
501
512
|
count?: RideFilterCount;
|
|
502
513
|
rides?: Ride[];
|
|
@@ -517,7 +528,8 @@ export interface GenerateToken {
|
|
|
517
528
|
}
|
|
518
529
|
|
|
519
530
|
/**
|
|
520
|
-
*
|
|
531
|
+
* Common information shared across all rides in a series. Similar to RideInfo but without appointment-specific details that vary per ride.
|
|
532
|
+
|
|
521
533
|
*/
|
|
522
534
|
export interface GenericRideInfo {
|
|
523
535
|
ambulanceInfo?: AmbulanceInfo;
|
|
@@ -576,6 +588,18 @@ export interface GetAccountsOfPotentialDrivers extends GetPotentialDrivers {
|
|
|
576
588
|
export interface GetAccountsOfPotentialDriversAsAdmin extends GetPotentialDrivers {
|
|
577
589
|
}
|
|
578
590
|
|
|
591
|
+
export interface GetAllRideSeriesForDriver {
|
|
592
|
+
accountId?: string;
|
|
593
|
+
descending?: boolean;
|
|
594
|
+
maxSize?: number;
|
|
595
|
+
timeRange?: InstantRange;
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
export interface GetAllRideSeriesInMarketplace {
|
|
599
|
+
accountId?: string;
|
|
600
|
+
maxSize?: number;
|
|
601
|
+
}
|
|
602
|
+
|
|
579
603
|
export interface GetDistrict {
|
|
580
604
|
geoLocation?: GeoLocation;
|
|
581
605
|
stateNutsCode?: string;
|
|
@@ -596,6 +620,9 @@ export interface GetIsoStates {
|
|
|
596
620
|
export interface GetMonopolyAccounts {
|
|
597
621
|
}
|
|
598
622
|
|
|
623
|
+
/**
|
|
624
|
+
* @deprecated
|
|
625
|
+
*/
|
|
599
626
|
export interface GetMyAcceptedRides {
|
|
600
627
|
accountId?: string;
|
|
601
628
|
maxSize?: number;
|
|
@@ -615,12 +642,6 @@ export interface GetMyRideOffers {
|
|
|
615
642
|
timeRange?: InstantRange;
|
|
616
643
|
}
|
|
617
644
|
|
|
618
|
-
export interface GetMyRideSeries {
|
|
619
|
-
accountId?: string;
|
|
620
|
-
maxSize?: number;
|
|
621
|
-
timeRange?: InstantRange;
|
|
622
|
-
}
|
|
623
|
-
|
|
624
645
|
export interface GetMyRides {
|
|
625
646
|
accountId?: string;
|
|
626
647
|
maxSize?: number;
|
|
@@ -644,6 +665,9 @@ export interface GetPotentialDrivers {
|
|
|
644
665
|
weightInKg?: number;
|
|
645
666
|
}
|
|
646
667
|
|
|
668
|
+
/**
|
|
669
|
+
* @deprecated
|
|
670
|
+
*/
|
|
647
671
|
export interface GetPotentialRides {
|
|
648
672
|
accountId?: string;
|
|
649
673
|
maxSize?: number;
|
|
@@ -673,6 +697,24 @@ export interface GetRideSeries {
|
|
|
673
697
|
rideSeriesId?: string;
|
|
674
698
|
}
|
|
675
699
|
|
|
700
|
+
export interface GetRideSeriesForDriver {
|
|
701
|
+
accountId?: string;
|
|
702
|
+
maxSize?: number;
|
|
703
|
+
timeRange?: InstantRange;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
export interface GetRidesForDriver {
|
|
707
|
+
accountId?: string;
|
|
708
|
+
maxSize?: number;
|
|
709
|
+
timeRange?: InstantRange;
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
export interface GetRidesInMarketplace {
|
|
713
|
+
accountId?: string;
|
|
714
|
+
maxSize?: number;
|
|
715
|
+
timeRange?: InstantRange;
|
|
716
|
+
}
|
|
717
|
+
|
|
676
718
|
export interface GetRidesInSeries {
|
|
677
719
|
filter?: RideFilter;
|
|
678
720
|
rideSeriesId?: string;
|
|
@@ -1255,6 +1297,9 @@ export interface SignUpUser {
|
|
|
1255
1297
|
userId?: string;
|
|
1256
1298
|
}
|
|
1257
1299
|
|
|
1300
|
+
/**
|
|
1301
|
+
* Individual ride timing within a series
|
|
1302
|
+
*/
|
|
1258
1303
|
export interface SingleRide {
|
|
1259
1304
|
desiredStartTime?: string;
|
|
1260
1305
|
returnTrip?: boolean;
|
package/package.json
CHANGED