@moxi.gmbh/moxi-typescriptmodels 0.1.1141-test-server → 0.1.1161-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.
Files changed (2) hide show
  1. package/common.d.ts +21 -120
  2. package/package.json +1 -1
package/common.d.ts CHANGED
@@ -13,10 +13,6 @@ 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[];
20
16
  /**
21
17
  * Derived from subscriptions
22
18
  */
@@ -244,6 +240,9 @@ export interface ConfirmDrivePermission extends AccountUpdate {
244
240
  export interface ConfirmEverythingInAccount extends AccountCommand {
245
241
  }
246
242
 
243
+ export interface ConfirmRideSeries extends RideDriverSeriesCommand {
244
+ }
245
+
247
246
  export interface ConfirmSubscription extends AccountUpdate {
248
247
  subscriptionId?: string;
249
248
  }
@@ -282,9 +281,6 @@ export interface CreateRideFromSeries extends RideDriverCommand {
282
281
  seriesInfo?: SeriesInfo;
283
282
  }
284
283
 
285
- export interface CreateRidesFromSeries extends RideDriverSeriesCommand {
286
- }
287
-
288
284
  export interface CreateSqueezeInPlan extends OptimizerMessage {
289
285
  accountOrTeam?: AccountOrTeamRef;
290
286
  }
@@ -318,11 +314,6 @@ export interface DateRange {
318
314
  export interface DeleteUser extends UserEdit {
319
315
  }
320
316
 
321
- export interface DisconnectClient {
322
- clientId?: string;
323
- tokenId?: string;
324
- }
325
-
326
317
  export interface DispoliveSettings {
327
318
  key?: string;
328
319
  type: "dispolive";
@@ -428,9 +419,6 @@ export interface FindAccounts {
428
419
  term?: string;
429
420
  }
430
421
 
431
- /**
432
- * @deprecated
433
- */
434
422
  export interface FindMyAcceptedRides {
435
423
  accountId?: string;
436
424
  descending?: boolean;
@@ -500,14 +488,6 @@ export interface FindRides {
500
488
  term?: string;
501
489
  }
502
490
 
503
- export interface FindRidesForDriver {
504
- accountId?: string;
505
- descending?: boolean;
506
- filter?: RideFilter;
507
- maxSize?: number;
508
- term?: string;
509
- }
510
-
511
491
  export interface FindRidesResult {
512
492
  count?: RideFilterCount;
513
493
  rides?: Ride[];
@@ -588,18 +568,6 @@ export interface GetAccountsOfPotentialDrivers extends GetPotentialDrivers {
588
568
  export interface GetAccountsOfPotentialDriversAsAdmin extends GetPotentialDrivers {
589
569
  }
590
570
 
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
-
603
571
  export interface GetDistrict {
604
572
  geoLocation?: GeoLocation;
605
573
  stateNutsCode?: string;
@@ -620,9 +588,13 @@ export interface GetIsoStates {
620
588
  export interface GetMonopolyAccounts {
621
589
  }
622
590
 
623
- /**
624
- * @deprecated
625
- */
591
+ export interface GetMyAcceptedRideSeries {
592
+ accountId?: string;
593
+ descending?: boolean;
594
+ maxSize?: number;
595
+ timeRange?: InstantRange;
596
+ }
597
+
626
598
  export interface GetMyAcceptedRides {
627
599
  accountId?: string;
628
600
  maxSize?: number;
@@ -642,6 +614,12 @@ export interface GetMyRideOffers {
642
614
  timeRange?: InstantRange;
643
615
  }
644
616
 
617
+ export interface GetMyRideSeries {
618
+ accountId?: string;
619
+ maxSize?: number;
620
+ timeRange?: InstantRange;
621
+ }
622
+
645
623
  export interface GetMyRides {
646
624
  accountId?: string;
647
625
  maxSize?: number;
@@ -665,9 +643,11 @@ export interface GetPotentialDrivers {
665
643
  weightInKg?: number;
666
644
  }
667
645
 
668
- /**
669
- * @deprecated
670
- */
646
+ export interface GetPotentialRideSeries {
647
+ accountId?: string;
648
+ maxSize?: number;
649
+ }
650
+
671
651
  export interface GetPotentialRides {
672
652
  accountId?: string;
673
653
  maxSize?: number;
@@ -697,24 +677,6 @@ export interface GetRideSeries {
697
677
  rideSeriesId?: string;
698
678
  }
699
679
 
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
-
718
680
  export interface GetRidesInSeries {
719
681
  filter?: RideFilter;
720
682
  rideSeriesId?: string;
@@ -786,16 +748,6 @@ export interface IsoState {
786
748
  nutsCode?: string;
787
749
  }
788
750
 
789
- export interface Metric {
790
- clientId?: string;
791
- clientSegment?: number[];
792
- maxSize?: number;
793
- maxTimeout?: string;
794
- tokenId?: string;
795
- type?: string;
796
- updates?: string[];
797
- }
798
-
799
751
  export interface NutsDistrict {
800
752
  code?: string;
801
753
  name?: string;
@@ -849,20 +801,6 @@ export interface PlanRide extends RideDriverModifyCommand {
849
801
  plannedStartTime?: string;
850
802
  }
851
803
 
852
- export interface ReadUpdates {
853
- clientId?: string;
854
- maxSize?: number;
855
- maxTimeout?: number;
856
- tokenId?: string;
857
- updateTypes?: TrackingUpdateType[];
858
- }
859
-
860
- export interface ReadUpdatesResult {
861
- clientSegment?: number[];
862
- lastIndex?: number;
863
- updates?: any[];
864
- }
865
-
866
804
  export interface Region {
867
805
  nutsCode?: string;
868
806
  }
@@ -923,15 +861,6 @@ export interface RequestUserReset {
923
861
  email?: string;
924
862
  }
925
863
 
926
- /**
927
- * Resets the lastIndex position of your token.
928
- */
929
- export interface ResetPosition {
930
- index?: number;
931
- timestamp?: string;
932
- tokenId?: string;
933
- }
934
-
935
864
  export interface ReturnRide extends RideDriverModifyCommand {
936
865
  }
937
866
 
@@ -1196,16 +1125,6 @@ export interface RideSeriesPostConfirmCommand {
1196
1125
  export interface RideSeriesPreConfirmCommand extends RideSeriesCommand {
1197
1126
  }
1198
1127
 
1199
- export interface RideSeriesUpdate {
1200
- after?: RideSeries;
1201
- before?: RideSeries;
1202
- entityId?: string;
1203
- eventType?: string;
1204
- index?: number;
1205
- timestamp?: string;
1206
- type: "rideseries";
1207
- }
1208
-
1209
1128
  export interface RideStatisticsQuery {
1210
1129
  dateRange?: DateRange;
1211
1130
  timezoneOrDefault?: string;
@@ -1218,16 +1137,6 @@ export interface RideSystemCommand extends RideCommand {
1218
1137
  export interface RideUpcaster {
1219
1138
  }
1220
1139
 
1221
- export interface RideUpdate {
1222
- after?: Ride;
1223
- before?: Ride;
1224
- entityId?: string;
1225
- eventType?: string;
1226
- index?: number;
1227
- timestamp?: string;
1228
- type: "ride";
1229
- }
1230
-
1231
1140
  export interface Role<T> {
1232
1141
  }
1233
1142
 
@@ -1390,12 +1299,6 @@ export interface UpdateAccountPermission extends AccountPermissionCommand {
1390
1299
  accountPermission?: AccountPermission;
1391
1300
  }
1392
1301
 
1393
- export interface UpdatePosition {
1394
- clientSegment?: number[];
1395
- lastIndex?: number;
1396
- tokenId?: string;
1397
- }
1398
-
1399
1302
  export interface UpdateRide extends RideBookerCommand {
1400
1303
  booker?: AccountOrTeamRef;
1401
1304
  info?: RideInfo;
@@ -1500,8 +1403,6 @@ export type SyncStatus = "not_synced" | "synced" | "update_not_synced";
1500
1403
 
1501
1404
  export type TeamRole = "dispatcher" | "ridebooker";
1502
1405
 
1503
- export type TrackingUpdateType = "ride" | "rideseries";
1504
-
1505
1406
  export type UserRole = "superadmin";
1506
1407
 
1507
1408
  export type VehicleType = "taxi" | "ambulance";
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@moxi.gmbh/moxi-typescriptmodels",
3
- "version": "0.1.1141-test-server",
3
+ "version": "0.1.1161-test-server",
4
4
  "types": "common.d.ts"
5
5
  }