@moxi.gmbh/moxi-typescriptmodels 0.0.651 → 0.0.671
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 +33 -14
- package/package.json +1 -1
package/common.d.ts
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
|
|
2
|
+
export interface AcceptDrive extends FleetCommand {
|
|
3
|
+
driveOwner?: AccountOrTeamId;
|
|
4
|
+
}
|
|
5
|
+
|
|
2
6
|
export interface AcceptInviteUser extends UserUpdate {
|
|
3
7
|
accountId?: string;
|
|
4
8
|
}
|
|
@@ -125,10 +129,10 @@ export interface BookRide extends CreateRideCommand {
|
|
|
125
129
|
info?: RideInfo;
|
|
126
130
|
}
|
|
127
131
|
|
|
128
|
-
export interface
|
|
132
|
+
export interface CancelDrive extends FleetModifyCommand {
|
|
129
133
|
}
|
|
130
134
|
|
|
131
|
-
export interface
|
|
135
|
+
export interface CancelRide extends RidePlannerCommand {
|
|
132
136
|
}
|
|
133
137
|
|
|
134
138
|
export interface ChangeUserPassword {
|
|
@@ -283,12 +287,14 @@ export interface FindAccount {
|
|
|
283
287
|
}
|
|
284
288
|
|
|
285
289
|
export interface FindMyRideOffers {
|
|
290
|
+
accountId?: string;
|
|
286
291
|
direction?: Direction;
|
|
287
292
|
term?: string;
|
|
288
293
|
timeRange?: InstantRange;
|
|
289
294
|
}
|
|
290
295
|
|
|
291
296
|
export interface FindMyRides {
|
|
297
|
+
accountId?: string;
|
|
292
298
|
direction?: Direction;
|
|
293
299
|
term?: string;
|
|
294
300
|
timeRange?: InstantRange;
|
|
@@ -301,6 +307,7 @@ export interface FindMyUsers {
|
|
|
301
307
|
}
|
|
302
308
|
|
|
303
309
|
export interface FindPotentialRides {
|
|
310
|
+
accountId?: string;
|
|
304
311
|
direction?: Direction;
|
|
305
312
|
term?: string;
|
|
306
313
|
timeRange?: InstantRange;
|
|
@@ -365,6 +372,9 @@ export interface GetInsurers {
|
|
|
365
372
|
export interface GetIsoStates {
|
|
366
373
|
}
|
|
367
374
|
|
|
375
|
+
export interface GetMapsKey {
|
|
376
|
+
}
|
|
377
|
+
|
|
368
378
|
export interface GetMessageAtIndex {
|
|
369
379
|
format?: OutputFormat;
|
|
370
380
|
index?: number;
|
|
@@ -465,11 +475,6 @@ export interface NutsSubState {
|
|
|
465
475
|
name?: string;
|
|
466
476
|
}
|
|
467
477
|
|
|
468
|
-
export interface OfferRide extends FleetCommand {
|
|
469
|
-
driveOwner?: AccountOrTeamId;
|
|
470
|
-
offerInfo?: RideOfferInfo;
|
|
471
|
-
}
|
|
472
|
-
|
|
473
478
|
export interface OffsetTimeRange extends Comparable<OffsetTimeRange> {
|
|
474
479
|
end?: Date;
|
|
475
480
|
start?: Date;
|
|
@@ -513,6 +518,15 @@ export interface RegisterAuthenticationToken extends UserUpdate {
|
|
|
513
518
|
hashedToken?: string;
|
|
514
519
|
}
|
|
515
520
|
|
|
521
|
+
export interface RegisterDifferentEta extends FleetModifyCommand {
|
|
522
|
+
destinationEta?: string;
|
|
523
|
+
originEta?: string;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
export interface RegisterDriveStatus extends FleetModifyCommand {
|
|
527
|
+
driveStatus?: DriveStatus;
|
|
528
|
+
}
|
|
529
|
+
|
|
516
530
|
export interface RejectInviteUser extends UserUpdate {
|
|
517
531
|
accountId?: string;
|
|
518
532
|
}
|
|
@@ -553,15 +567,21 @@ export interface RevokeSubscription extends AccountUpdate {
|
|
|
553
567
|
}
|
|
554
568
|
|
|
555
569
|
export interface Ride {
|
|
570
|
+
accepted?: boolean;
|
|
556
571
|
booked?: boolean;
|
|
572
|
+
bookedTime?: string;
|
|
557
573
|
cancelled?: boolean;
|
|
558
|
-
|
|
574
|
+
completed?: boolean;
|
|
575
|
+
destinationEta?: string;
|
|
576
|
+
destinationPta?: string;
|
|
559
577
|
driveOwner?: AccountOrTeamId;
|
|
578
|
+
driveStatus?: DriveStatus;
|
|
560
579
|
info?: RideInfo;
|
|
561
|
-
|
|
562
|
-
|
|
580
|
+
originEta?: string;
|
|
581
|
+
originPta?: string;
|
|
563
582
|
rideId?: string;
|
|
564
583
|
rideOwner?: AccountOrTeamId;
|
|
584
|
+
started?: boolean;
|
|
565
585
|
}
|
|
566
586
|
|
|
567
587
|
export interface RideCommand {
|
|
@@ -580,6 +600,7 @@ export interface RideInfo {
|
|
|
580
600
|
heavyWeightWithMobilityIssues?: boolean;
|
|
581
601
|
mobility?: Mobility;
|
|
582
602
|
patient?: Person;
|
|
603
|
+
preferredDriver?: string;
|
|
583
604
|
rideType?: RideType;
|
|
584
605
|
to?: AddressInfo;
|
|
585
606
|
weightInKg?: number;
|
|
@@ -737,10 +758,6 @@ export interface UpdateRideBooking extends RidePlannerCommand {
|
|
|
737
758
|
info?: RideInfo;
|
|
738
759
|
}
|
|
739
760
|
|
|
740
|
-
export interface UpdateRideOffer extends FleetModifyCommand {
|
|
741
|
-
offerInfo?: RideOfferInfo;
|
|
742
|
-
}
|
|
743
|
-
|
|
744
761
|
export interface UpdateTeam extends TeamUpdate {
|
|
745
762
|
info?: TeamInfo;
|
|
746
763
|
}
|
|
@@ -791,6 +808,8 @@ export type Destination = "DEFAULT" | "SEARCH";
|
|
|
791
808
|
|
|
792
809
|
export type Direction = "admission" | "relocation" | "discharge";
|
|
793
810
|
|
|
811
|
+
export type DriveStatus = "driving_to_origin" | "arrived_at_origin" | "driving_to_destination" | "arrived_at_destination" | "completed";
|
|
812
|
+
|
|
794
813
|
export type GeometryUnion = GeoPolygon | GeoMultiPolygon;
|
|
795
814
|
|
|
796
815
|
export type Mobility = "wheelchair" | "big_or_electric_wheelchair" | "carry_chair" | "lying_down";
|
package/package.json
CHANGED