@moxi.gmbh/moxi-typescriptmodels 0.1.1161-test-server → 0.1.1171-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 +131 -21
- package/package.json +1 -1
package/common.d.ts
CHANGED
|
@@ -13,6 +13,10 @@ export interface AcceptUserAgreement extends UserEdit {
|
|
|
13
13
|
|
|
14
14
|
export interface Account {
|
|
15
15
|
accountId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Derived from subscriptions
|
|
18
|
+
*/
|
|
19
|
+
activeOrganisationTypes?: OrganisationType[];
|
|
16
20
|
/**
|
|
17
21
|
* Derived from subscriptions
|
|
18
22
|
*/
|
|
@@ -240,9 +244,6 @@ export interface ConfirmDrivePermission extends AccountUpdate {
|
|
|
240
244
|
export interface ConfirmEverythingInAccount extends AccountCommand {
|
|
241
245
|
}
|
|
242
246
|
|
|
243
|
-
export interface ConfirmRideSeries extends RideDriverSeriesCommand {
|
|
244
|
-
}
|
|
245
|
-
|
|
246
247
|
export interface ConfirmSubscription extends AccountUpdate {
|
|
247
248
|
subscriptionId?: string;
|
|
248
249
|
}
|
|
@@ -281,6 +282,9 @@ export interface CreateRideFromSeries extends RideDriverCommand {
|
|
|
281
282
|
seriesInfo?: SeriesInfo;
|
|
282
283
|
}
|
|
283
284
|
|
|
285
|
+
export interface CreateRidesFromSeries extends RideDriverSeriesCommand {
|
|
286
|
+
}
|
|
287
|
+
|
|
284
288
|
export interface CreateSqueezeInPlan extends OptimizerMessage {
|
|
285
289
|
accountOrTeam?: AccountOrTeamRef;
|
|
286
290
|
}
|
|
@@ -314,6 +318,11 @@ export interface DateRange {
|
|
|
314
318
|
export interface DeleteUser extends UserEdit {
|
|
315
319
|
}
|
|
316
320
|
|
|
321
|
+
export interface DisconnectClient {
|
|
322
|
+
clientId?: string;
|
|
323
|
+
tokenId?: string;
|
|
324
|
+
}
|
|
325
|
+
|
|
317
326
|
export interface DispoliveSettings {
|
|
318
327
|
key?: string;
|
|
319
328
|
type: "dispolive";
|
|
@@ -419,6 +428,9 @@ export interface FindAccounts {
|
|
|
419
428
|
term?: string;
|
|
420
429
|
}
|
|
421
430
|
|
|
431
|
+
/**
|
|
432
|
+
* @deprecated
|
|
433
|
+
*/
|
|
422
434
|
export interface FindMyAcceptedRides {
|
|
423
435
|
accountId?: string;
|
|
424
436
|
descending?: boolean;
|
|
@@ -473,6 +485,9 @@ export interface FindPotentialRideSeries {
|
|
|
473
485
|
maxSize?: number;
|
|
474
486
|
}
|
|
475
487
|
|
|
488
|
+
/**
|
|
489
|
+
* @deprecated
|
|
490
|
+
*/
|
|
476
491
|
export interface FindPotentialRides {
|
|
477
492
|
accountId?: string;
|
|
478
493
|
descending?: boolean;
|
|
@@ -488,6 +503,22 @@ export interface FindRides {
|
|
|
488
503
|
term?: string;
|
|
489
504
|
}
|
|
490
505
|
|
|
506
|
+
export interface FindRidesForDriver {
|
|
507
|
+
accountId?: string;
|
|
508
|
+
descending?: boolean;
|
|
509
|
+
filter?: RideFilter;
|
|
510
|
+
maxSize?: number;
|
|
511
|
+
term?: string;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
export interface FindRidesInMarketplace {
|
|
515
|
+
accountId?: string;
|
|
516
|
+
descending?: boolean;
|
|
517
|
+
filter?: RideFilter;
|
|
518
|
+
maxSize?: number;
|
|
519
|
+
term?: string;
|
|
520
|
+
}
|
|
521
|
+
|
|
491
522
|
export interface FindRidesResult {
|
|
492
523
|
count?: RideFilterCount;
|
|
493
524
|
rides?: Ride[];
|
|
@@ -568,6 +599,18 @@ export interface GetAccountsOfPotentialDrivers extends GetPotentialDrivers {
|
|
|
568
599
|
export interface GetAccountsOfPotentialDriversAsAdmin extends GetPotentialDrivers {
|
|
569
600
|
}
|
|
570
601
|
|
|
602
|
+
export interface GetAllRideSeriesForDriver {
|
|
603
|
+
accountId?: string;
|
|
604
|
+
descending?: boolean;
|
|
605
|
+
maxSize?: number;
|
|
606
|
+
timeRange?: InstantRange;
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
export interface GetAllRideSeriesInMarketplace {
|
|
610
|
+
accountId?: string;
|
|
611
|
+
maxSize?: number;
|
|
612
|
+
}
|
|
613
|
+
|
|
571
614
|
export interface GetDistrict {
|
|
572
615
|
geoLocation?: GeoLocation;
|
|
573
616
|
stateNutsCode?: string;
|
|
@@ -588,13 +631,9 @@ export interface GetIsoStates {
|
|
|
588
631
|
export interface GetMonopolyAccounts {
|
|
589
632
|
}
|
|
590
633
|
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
maxSize?: number;
|
|
595
|
-
timeRange?: InstantRange;
|
|
596
|
-
}
|
|
597
|
-
|
|
634
|
+
/**
|
|
635
|
+
* @deprecated
|
|
636
|
+
*/
|
|
598
637
|
export interface GetMyAcceptedRides {
|
|
599
638
|
accountId?: string;
|
|
600
639
|
maxSize?: number;
|
|
@@ -614,12 +653,6 @@ export interface GetMyRideOffers {
|
|
|
614
653
|
timeRange?: InstantRange;
|
|
615
654
|
}
|
|
616
655
|
|
|
617
|
-
export interface GetMyRideSeries {
|
|
618
|
-
accountId?: string;
|
|
619
|
-
maxSize?: number;
|
|
620
|
-
timeRange?: InstantRange;
|
|
621
|
-
}
|
|
622
|
-
|
|
623
656
|
export interface GetMyRides {
|
|
624
657
|
accountId?: string;
|
|
625
658
|
maxSize?: number;
|
|
@@ -643,11 +676,9 @@ export interface GetPotentialDrivers {
|
|
|
643
676
|
weightInKg?: number;
|
|
644
677
|
}
|
|
645
678
|
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
}
|
|
650
|
-
|
|
679
|
+
/**
|
|
680
|
+
* @deprecated
|
|
681
|
+
*/
|
|
651
682
|
export interface GetPotentialRides {
|
|
652
683
|
accountId?: string;
|
|
653
684
|
maxSize?: number;
|
|
@@ -677,6 +708,24 @@ export interface GetRideSeries {
|
|
|
677
708
|
rideSeriesId?: string;
|
|
678
709
|
}
|
|
679
710
|
|
|
711
|
+
export interface GetRideSeriesForDriver {
|
|
712
|
+
accountId?: string;
|
|
713
|
+
maxSize?: number;
|
|
714
|
+
timeRange?: InstantRange;
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
export interface GetRidesForDriver {
|
|
718
|
+
accountId?: string;
|
|
719
|
+
maxSize?: number;
|
|
720
|
+
timeRange?: InstantRange;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
export interface GetRidesInMarketplace {
|
|
724
|
+
accountId?: string;
|
|
725
|
+
maxSize?: number;
|
|
726
|
+
timeRange?: InstantRange;
|
|
727
|
+
}
|
|
728
|
+
|
|
680
729
|
export interface GetRidesInSeries {
|
|
681
730
|
filter?: RideFilter;
|
|
682
731
|
rideSeriesId?: string;
|
|
@@ -748,6 +797,16 @@ export interface IsoState {
|
|
|
748
797
|
nutsCode?: string;
|
|
749
798
|
}
|
|
750
799
|
|
|
800
|
+
export interface Metric {
|
|
801
|
+
clientId?: string;
|
|
802
|
+
clientSegment?: number[];
|
|
803
|
+
maxSize?: number;
|
|
804
|
+
maxTimeout?: string;
|
|
805
|
+
tokenId?: string;
|
|
806
|
+
type?: string;
|
|
807
|
+
updates?: string[];
|
|
808
|
+
}
|
|
809
|
+
|
|
751
810
|
export interface NutsDistrict {
|
|
752
811
|
code?: string;
|
|
753
812
|
name?: string;
|
|
@@ -801,6 +860,20 @@ export interface PlanRide extends RideDriverModifyCommand {
|
|
|
801
860
|
plannedStartTime?: string;
|
|
802
861
|
}
|
|
803
862
|
|
|
863
|
+
export interface ReadUpdates {
|
|
864
|
+
clientId?: string;
|
|
865
|
+
maxSize?: number;
|
|
866
|
+
maxTimeout?: number;
|
|
867
|
+
tokenId?: string;
|
|
868
|
+
updateTypes?: TrackingUpdateType[];
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
export interface ReadUpdatesResult {
|
|
872
|
+
clientSegment?: number[];
|
|
873
|
+
lastIndex?: number;
|
|
874
|
+
updates?: any[];
|
|
875
|
+
}
|
|
876
|
+
|
|
804
877
|
export interface Region {
|
|
805
878
|
nutsCode?: string;
|
|
806
879
|
}
|
|
@@ -861,6 +934,15 @@ export interface RequestUserReset {
|
|
|
861
934
|
email?: string;
|
|
862
935
|
}
|
|
863
936
|
|
|
937
|
+
/**
|
|
938
|
+
* Resets the lastIndex position of your token.
|
|
939
|
+
*/
|
|
940
|
+
export interface ResetPosition {
|
|
941
|
+
index?: number;
|
|
942
|
+
timestamp?: string;
|
|
943
|
+
tokenId?: string;
|
|
944
|
+
}
|
|
945
|
+
|
|
864
946
|
export interface ReturnRide extends RideDriverModifyCommand {
|
|
865
947
|
}
|
|
866
948
|
|
|
@@ -1125,6 +1207,16 @@ export interface RideSeriesPostConfirmCommand {
|
|
|
1125
1207
|
export interface RideSeriesPreConfirmCommand extends RideSeriesCommand {
|
|
1126
1208
|
}
|
|
1127
1209
|
|
|
1210
|
+
export interface RideSeriesUpdate {
|
|
1211
|
+
after?: RideSeries;
|
|
1212
|
+
before?: RideSeries;
|
|
1213
|
+
entityId?: string;
|
|
1214
|
+
eventType?: string;
|
|
1215
|
+
index?: number;
|
|
1216
|
+
timestamp?: string;
|
|
1217
|
+
type: "rideseries";
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1128
1220
|
export interface RideStatisticsQuery {
|
|
1129
1221
|
dateRange?: DateRange;
|
|
1130
1222
|
timezoneOrDefault?: string;
|
|
@@ -1137,6 +1229,16 @@ export interface RideSystemCommand extends RideCommand {
|
|
|
1137
1229
|
export interface RideUpcaster {
|
|
1138
1230
|
}
|
|
1139
1231
|
|
|
1232
|
+
export interface RideUpdate {
|
|
1233
|
+
after?: Ride;
|
|
1234
|
+
before?: Ride;
|
|
1235
|
+
entityId?: string;
|
|
1236
|
+
eventType?: string;
|
|
1237
|
+
index?: number;
|
|
1238
|
+
timestamp?: string;
|
|
1239
|
+
type: "ride";
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1140
1242
|
export interface Role<T> {
|
|
1141
1243
|
}
|
|
1142
1244
|
|
|
@@ -1299,6 +1401,12 @@ export interface UpdateAccountPermission extends AccountPermissionCommand {
|
|
|
1299
1401
|
accountPermission?: AccountPermission;
|
|
1300
1402
|
}
|
|
1301
1403
|
|
|
1404
|
+
export interface UpdatePosition {
|
|
1405
|
+
clientSegment?: number[];
|
|
1406
|
+
lastIndex?: number;
|
|
1407
|
+
tokenId?: string;
|
|
1408
|
+
}
|
|
1409
|
+
|
|
1302
1410
|
export interface UpdateRide extends RideBookerCommand {
|
|
1303
1411
|
booker?: AccountOrTeamRef;
|
|
1304
1412
|
info?: RideInfo;
|
|
@@ -1403,6 +1511,8 @@ export type SyncStatus = "not_synced" | "synced" | "update_not_synced";
|
|
|
1403
1511
|
|
|
1404
1512
|
export type TeamRole = "dispatcher" | "ridebooker";
|
|
1405
1513
|
|
|
1514
|
+
export type TrackingUpdateType = "ride" | "rideseries";
|
|
1515
|
+
|
|
1406
1516
|
export type UserRole = "superadmin";
|
|
1407
1517
|
|
|
1408
1518
|
export type VehicleType = "taxi" | "ambulance";
|
package/package.json
CHANGED