@moxi.gmbh/moxi-typescriptmodels 0.1.1011-test-server → 0.1.1041-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 +197 -75
- package/package.json +1 -1
package/common.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export interface AcceptUserAgreement extends UserEdit {
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
export interface Account {
|
|
11
|
-
accountId?:
|
|
11
|
+
accountId?: AccountId;
|
|
12
12
|
/**
|
|
13
13
|
* Derived from subscriptions
|
|
14
14
|
*/
|
|
@@ -24,13 +24,17 @@ export interface Account {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
export interface AccountCommand {
|
|
27
|
-
accountId?:
|
|
27
|
+
accountId?: AccountId;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
export interface AccountFilter {
|
|
31
31
|
activeServices?: Service[];
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
+
export interface AccountId {
|
|
35
|
+
type?: Class<Account>;
|
|
36
|
+
}
|
|
37
|
+
|
|
34
38
|
export interface AccountInfo {
|
|
35
39
|
address?: AddressInfo;
|
|
36
40
|
defaultLanguage?: string;
|
|
@@ -40,8 +44,8 @@ export interface AccountInfo {
|
|
|
40
44
|
}
|
|
41
45
|
|
|
42
46
|
export interface AccountOrTeamId {
|
|
43
|
-
accountId?:
|
|
44
|
-
teamId?:
|
|
47
|
+
accountId?: AccountId;
|
|
48
|
+
teamId?: TeamId;
|
|
45
49
|
}
|
|
46
50
|
|
|
47
51
|
export interface AccountOrTeamRef extends AccountOrTeamId {
|
|
@@ -50,17 +54,17 @@ export interface AccountOrTeamRef extends AccountOrTeamId {
|
|
|
50
54
|
}
|
|
51
55
|
|
|
52
56
|
export interface AccountPermission {
|
|
53
|
-
accountId?:
|
|
57
|
+
accountId?: AccountId;
|
|
54
58
|
roles?: AccountRole[];
|
|
55
59
|
teamPermissions?: TeamPermission[];
|
|
56
60
|
}
|
|
57
61
|
|
|
58
62
|
export interface AccountPermissionCommand extends UserUpdate {
|
|
59
|
-
accountId?:
|
|
63
|
+
accountId?: AccountId;
|
|
60
64
|
}
|
|
61
65
|
|
|
62
66
|
export interface AccountRef {
|
|
63
|
-
accountId?:
|
|
67
|
+
accountId?: AccountId;
|
|
64
68
|
name?: string;
|
|
65
69
|
}
|
|
66
70
|
|
|
@@ -99,7 +103,7 @@ export interface AdminConfirmUser extends UserUpdateAfterSignup {
|
|
|
99
103
|
|
|
100
104
|
export interface AdminSetUserPassword {
|
|
101
105
|
password?: string;
|
|
102
|
-
userId?:
|
|
106
|
+
userId?: UserId;
|
|
103
107
|
}
|
|
104
108
|
|
|
105
109
|
export interface AmbulanceFilter extends RideTypeSpecificFilter {
|
|
@@ -129,9 +133,22 @@ export interface AmbulanceInfo {
|
|
|
129
133
|
requiresSuctionAspirator?: boolean;
|
|
130
134
|
}
|
|
131
135
|
|
|
136
|
+
export interface AnnotatedElement {
|
|
137
|
+
annotations?: Annotation[];
|
|
138
|
+
declaredAnnotations?: Annotation[];
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
export interface AnnotatedType extends AnnotatedElement {
|
|
142
|
+
annotatedOwnerType?: AnnotatedType;
|
|
143
|
+
type?: Type;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export interface Annotation {
|
|
147
|
+
}
|
|
148
|
+
|
|
132
149
|
export interface Appointment {
|
|
133
150
|
pickup?: boolean;
|
|
134
|
-
time?:
|
|
151
|
+
time?: Date;
|
|
135
152
|
}
|
|
136
153
|
|
|
137
154
|
export interface AssignDriver extends RideCommand {
|
|
@@ -150,9 +167,9 @@ export interface AuthenticateWithToken extends UserUpdate {
|
|
|
150
167
|
|
|
151
168
|
export interface AuthenticationResponse {
|
|
152
169
|
authorizationHeader?: string;
|
|
153
|
-
impersonator?:
|
|
170
|
+
impersonator?: UserId;
|
|
154
171
|
result?: AuthenticationResult;
|
|
155
|
-
sessionDeadline?:
|
|
172
|
+
sessionDeadline?: Date;
|
|
156
173
|
userProfile?: UserProfile;
|
|
157
174
|
}
|
|
158
175
|
|
|
@@ -183,11 +200,17 @@ export interface CeliosSettings {
|
|
|
183
200
|
export interface ChangeUserPassword {
|
|
184
201
|
newPassword?: string;
|
|
185
202
|
oldPassword?: string;
|
|
186
|
-
userId?:
|
|
203
|
+
userId?: UserId;
|
|
187
204
|
}
|
|
188
205
|
|
|
189
206
|
export interface CheckIfUserSignedUp {
|
|
190
|
-
userId?:
|
|
207
|
+
userId?: UserId;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
export interface Class<T> extends Serializable, GenericDeclaration, Type, AnnotatedElement, OfField<Class<any>>, Constable {
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
export interface Cloneable {
|
|
191
214
|
}
|
|
192
215
|
|
|
193
216
|
export interface ConfirmAccount extends AccountCommand {
|
|
@@ -206,7 +229,7 @@ export interface ConfirmSubscription extends AccountUpdate {
|
|
|
206
229
|
|
|
207
230
|
export interface ConfirmUser {
|
|
208
231
|
token?: string;
|
|
209
|
-
userId?:
|
|
232
|
+
userId?: UserId;
|
|
210
233
|
}
|
|
211
234
|
|
|
212
235
|
export interface ConfirmablePermission {
|
|
@@ -214,11 +237,14 @@ export interface ConfirmablePermission {
|
|
|
214
237
|
revoked?: boolean;
|
|
215
238
|
}
|
|
216
239
|
|
|
240
|
+
export interface Constable {
|
|
241
|
+
}
|
|
242
|
+
|
|
217
243
|
export interface CreateAccount extends AccountCommand {
|
|
218
244
|
autoConfirm?: boolean;
|
|
219
245
|
criticalInfo?: CriticalAccountInfo;
|
|
220
246
|
info?: AccountInfo;
|
|
221
|
-
owner?:
|
|
247
|
+
owner?: UserId;
|
|
222
248
|
requestService?: StandaloneService;
|
|
223
249
|
}
|
|
224
250
|
|
|
@@ -237,7 +263,7 @@ export interface CreateSqueezeInPlan extends OptimizerMessage {
|
|
|
237
263
|
|
|
238
264
|
export interface CreateTeam extends AccountCommand {
|
|
239
265
|
info?: TeamInfo;
|
|
240
|
-
teamId?:
|
|
266
|
+
teamId?: TeamId;
|
|
241
267
|
}
|
|
242
268
|
|
|
243
269
|
export interface CreateToken extends TokenCommand {
|
|
@@ -257,13 +283,21 @@ export interface CriticalAccountInfo {
|
|
|
257
283
|
}
|
|
258
284
|
|
|
259
285
|
export interface DateRange {
|
|
260
|
-
end?:
|
|
261
|
-
start?:
|
|
286
|
+
end?: Date;
|
|
287
|
+
start?: Date;
|
|
262
288
|
}
|
|
263
289
|
|
|
264
290
|
export interface DeleteUser extends UserEdit {
|
|
265
291
|
}
|
|
266
292
|
|
|
293
|
+
export interface Dimension extends Dimension2D, Serializable {
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
export interface Dimension2D extends Cloneable {
|
|
297
|
+
height?: number;
|
|
298
|
+
width?: number;
|
|
299
|
+
}
|
|
300
|
+
|
|
267
301
|
export interface DispoliveSettings {
|
|
268
302
|
key?: string;
|
|
269
303
|
type: "dispolive";
|
|
@@ -272,7 +306,7 @@ export interface DispoliveSettings {
|
|
|
272
306
|
|
|
273
307
|
export interface District {
|
|
274
308
|
info?: DistrictInfo;
|
|
275
|
-
polygons?:
|
|
309
|
+
polygons?: Polygon[];
|
|
276
310
|
}
|
|
277
311
|
|
|
278
312
|
export interface DistrictInfo {
|
|
@@ -343,7 +377,7 @@ export interface FetchGoogleGeoLocation {
|
|
|
343
377
|
}
|
|
344
378
|
|
|
345
379
|
export interface FetchGoogleRoute {
|
|
346
|
-
departureTime?:
|
|
380
|
+
departureTime?: Date;
|
|
347
381
|
from?: GeoLocation;
|
|
348
382
|
to?: GeoLocation;
|
|
349
383
|
}
|
|
@@ -366,7 +400,7 @@ export interface FindAccounts {
|
|
|
366
400
|
}
|
|
367
401
|
|
|
368
402
|
export interface FindMyAcceptedRides {
|
|
369
|
-
accountId?:
|
|
403
|
+
accountId?: AccountId;
|
|
370
404
|
descending?: boolean;
|
|
371
405
|
filter?: RideFilter;
|
|
372
406
|
maxSize?: number;
|
|
@@ -377,7 +411,7 @@ export interface FindMyAcceptedRides {
|
|
|
377
411
|
* @deprecated
|
|
378
412
|
*/
|
|
379
413
|
export interface FindMyRideOffers {
|
|
380
|
-
accountId?:
|
|
414
|
+
accountId?: AccountId;
|
|
381
415
|
descending?: boolean;
|
|
382
416
|
filter?: RideFilter;
|
|
383
417
|
maxSize?: number;
|
|
@@ -385,7 +419,7 @@ export interface FindMyRideOffers {
|
|
|
385
419
|
}
|
|
386
420
|
|
|
387
421
|
export interface FindMyRides {
|
|
388
|
-
accountId?:
|
|
422
|
+
accountId?: AccountId;
|
|
389
423
|
descending?: boolean;
|
|
390
424
|
filter?: RideFilter;
|
|
391
425
|
maxSize?: number;
|
|
@@ -393,19 +427,19 @@ export interface FindMyRides {
|
|
|
393
427
|
}
|
|
394
428
|
|
|
395
429
|
export interface FindMyTokens {
|
|
396
|
-
accountId?:
|
|
397
|
-
teamId?:
|
|
430
|
+
accountId?: AccountId;
|
|
431
|
+
teamId?: TeamId;
|
|
398
432
|
term?: string;
|
|
399
433
|
}
|
|
400
434
|
|
|
401
435
|
export interface FindMyUsers {
|
|
402
|
-
accountId?:
|
|
403
|
-
teamId?:
|
|
436
|
+
accountId?: AccountId;
|
|
437
|
+
teamId?: TeamId;
|
|
404
438
|
term?: string;
|
|
405
439
|
}
|
|
406
440
|
|
|
407
441
|
export interface FindPotentialRides {
|
|
408
|
-
accountId?:
|
|
442
|
+
accountId?: AccountId;
|
|
409
443
|
descending?: boolean;
|
|
410
444
|
filter?: RideFilter;
|
|
411
445
|
maxSize?: number;
|
|
@@ -441,7 +475,11 @@ export interface FleetModifyCommand extends FleetCommand {
|
|
|
441
475
|
export interface GenerateToken {
|
|
442
476
|
accountPermission?: AccountPermission;
|
|
443
477
|
info?: TokenInfo;
|
|
444
|
-
tokenId?:
|
|
478
|
+
tokenId?: TokenId;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
export interface GenericDeclaration extends AnnotatedElement {
|
|
482
|
+
typeParameters?: TypeVariable<any>[];
|
|
445
483
|
}
|
|
446
484
|
|
|
447
485
|
export interface GeoJson {
|
|
@@ -471,7 +509,7 @@ export interface Geometry {
|
|
|
471
509
|
}
|
|
472
510
|
|
|
473
511
|
export interface GetAccount {
|
|
474
|
-
accountId?:
|
|
512
|
+
accountId?: AccountId;
|
|
475
513
|
}
|
|
476
514
|
|
|
477
515
|
export interface GetAccountsOfPotentialDrivers extends GetPotentialDrivers {
|
|
@@ -501,7 +539,7 @@ export interface GetMonopolyAccounts {
|
|
|
501
539
|
}
|
|
502
540
|
|
|
503
541
|
export interface GetMyAcceptedRides {
|
|
504
|
-
accountId?:
|
|
542
|
+
accountId?: AccountId;
|
|
505
543
|
maxSize?: number;
|
|
506
544
|
timeRange?: InstantRange;
|
|
507
545
|
}
|
|
@@ -514,13 +552,13 @@ export interface GetMyAccounts {
|
|
|
514
552
|
* @deprecated
|
|
515
553
|
*/
|
|
516
554
|
export interface GetMyRideOffers {
|
|
517
|
-
accountId?:
|
|
555
|
+
accountId?: AccountId;
|
|
518
556
|
maxSize?: number;
|
|
519
557
|
timeRange?: InstantRange;
|
|
520
558
|
}
|
|
521
559
|
|
|
522
560
|
export interface GetMyRides {
|
|
523
|
-
accountId?:
|
|
561
|
+
accountId?: AccountId;
|
|
524
562
|
maxSize?: number;
|
|
525
563
|
timeRange?: InstantRange;
|
|
526
564
|
}
|
|
@@ -543,36 +581,36 @@ export interface GetPotentialDrivers {
|
|
|
543
581
|
}
|
|
544
582
|
|
|
545
583
|
export interface GetPotentialRides {
|
|
546
|
-
accountId?:
|
|
584
|
+
accountId?: AccountId;
|
|
547
585
|
maxSize?: number;
|
|
548
586
|
timeRange?: InstantRange;
|
|
549
587
|
}
|
|
550
588
|
|
|
551
589
|
export interface GetRide {
|
|
552
|
-
rideId?:
|
|
590
|
+
rideId?: RideId;
|
|
553
591
|
}
|
|
554
592
|
|
|
555
593
|
export interface GetRideCsv extends RideStatisticsQuery {
|
|
556
594
|
}
|
|
557
595
|
|
|
558
596
|
export interface GetRideData extends RideStatisticsQuery {
|
|
559
|
-
rideOwner?:
|
|
597
|
+
rideOwner?: AccountId;
|
|
560
598
|
}
|
|
561
599
|
|
|
562
600
|
export interface GetRideLog {
|
|
563
|
-
rideId?:
|
|
601
|
+
rideId?: RideId;
|
|
564
602
|
}
|
|
565
603
|
|
|
566
604
|
export interface GetTeam {
|
|
567
|
-
teamId?:
|
|
605
|
+
teamId?: TeamId;
|
|
568
606
|
}
|
|
569
607
|
|
|
570
608
|
export interface GetToken {
|
|
571
|
-
tokenId?:
|
|
609
|
+
tokenId?: TokenId;
|
|
572
610
|
}
|
|
573
611
|
|
|
574
612
|
export interface GetUserProfile {
|
|
575
|
-
userId?:
|
|
613
|
+
userId?: UserId;
|
|
576
614
|
}
|
|
577
615
|
|
|
578
616
|
export interface GiveDrivePermission extends AccountUpdate {
|
|
@@ -590,12 +628,15 @@ export interface GiveTeamPermission extends AccountPermissionCommand {
|
|
|
590
628
|
}
|
|
591
629
|
|
|
592
630
|
export interface ImpersonateUser {
|
|
593
|
-
userId?:
|
|
631
|
+
userId?: UserId;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
export interface InetAddress extends Serializable {
|
|
594
635
|
}
|
|
595
636
|
|
|
596
637
|
export interface InstantRange {
|
|
597
|
-
end?:
|
|
598
|
-
start?:
|
|
638
|
+
end?: Date;
|
|
639
|
+
start?: Date;
|
|
599
640
|
}
|
|
600
641
|
|
|
601
642
|
export interface Insurer {
|
|
@@ -604,7 +645,7 @@ export interface Insurer {
|
|
|
604
645
|
}
|
|
605
646
|
|
|
606
647
|
export interface Invite {
|
|
607
|
-
accountId?:
|
|
648
|
+
accountId?: AccountId;
|
|
608
649
|
invitedBy?: string;
|
|
609
650
|
}
|
|
610
651
|
|
|
@@ -618,7 +659,7 @@ export interface InviteUser extends UserCommand {
|
|
|
618
659
|
* Ip4 or ip6 range in CIDR format
|
|
619
660
|
*/
|
|
620
661
|
export interface IpRange {
|
|
621
|
-
ip?:
|
|
662
|
+
ip?: InetAddress;
|
|
622
663
|
range?: number;
|
|
623
664
|
}
|
|
624
665
|
|
|
@@ -646,6 +687,11 @@ export interface NutsSubState {
|
|
|
646
687
|
name?: string;
|
|
647
688
|
}
|
|
648
689
|
|
|
690
|
+
export interface OfField<F> extends TypeDescriptor {
|
|
691
|
+
array?: boolean;
|
|
692
|
+
primitive?: boolean;
|
|
693
|
+
}
|
|
694
|
+
|
|
649
695
|
export interface OffsetTimeRange {
|
|
650
696
|
end?: Date;
|
|
651
697
|
start?: Date;
|
|
@@ -656,7 +702,7 @@ export interface OptimizerMessage {
|
|
|
656
702
|
|
|
657
703
|
export interface Person {
|
|
658
704
|
address?: AddressInfo;
|
|
659
|
-
birthDay?:
|
|
705
|
+
birthDay?: Date;
|
|
660
706
|
email?: string;
|
|
661
707
|
firstName?: string;
|
|
662
708
|
insuranceNumber?: string;
|
|
@@ -678,6 +724,47 @@ export interface PersonDimensions {
|
|
|
678
724
|
export interface PhoneNumber {
|
|
679
725
|
}
|
|
680
726
|
|
|
727
|
+
export interface Point extends Point2D, Serializable {
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
export interface Point2D extends Cloneable {
|
|
731
|
+
x?: number;
|
|
732
|
+
y?: number;
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
export interface Polygon extends Shape, Serializable {
|
|
736
|
+
/**
|
|
737
|
+
* @deprecated
|
|
738
|
+
*/
|
|
739
|
+
boundingBox?: Rectangle;
|
|
740
|
+
npoints?: number;
|
|
741
|
+
xpoints?: number[];
|
|
742
|
+
ypoints?: number[];
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
export interface Rectangle extends Rectangle2D, Shape, Serializable {
|
|
746
|
+
location?: Point;
|
|
747
|
+
rect?: Rectangle2D;
|
|
748
|
+
size?: Dimension;
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
export interface Rectangle2D extends RectangularShape {
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
export interface RectangularShape extends Shape, Cloneable {
|
|
755
|
+
centerX?: number;
|
|
756
|
+
centerY?: number;
|
|
757
|
+
empty?: boolean;
|
|
758
|
+
height?: number;
|
|
759
|
+
maxX?: number;
|
|
760
|
+
maxY?: number;
|
|
761
|
+
minX?: number;
|
|
762
|
+
minY?: number;
|
|
763
|
+
width?: number;
|
|
764
|
+
x?: number;
|
|
765
|
+
y?: number;
|
|
766
|
+
}
|
|
767
|
+
|
|
681
768
|
export interface Region {
|
|
682
769
|
nutsCode?: string;
|
|
683
770
|
}
|
|
@@ -687,8 +774,8 @@ export interface RegisterAuthenticationToken extends UserUpdate {
|
|
|
687
774
|
}
|
|
688
775
|
|
|
689
776
|
export interface RegisterDifferentEta extends FleetModifyCommand {
|
|
690
|
-
destinationEta?:
|
|
691
|
-
originEta?:
|
|
777
|
+
destinationEta?: Date;
|
|
778
|
+
originEta?: Date;
|
|
692
779
|
}
|
|
693
780
|
|
|
694
781
|
export interface RegisterDriveStatus extends FleetModifyCommand {
|
|
@@ -700,7 +787,7 @@ export interface RegisterDriverSynced extends FleetModifyCommand {
|
|
|
700
787
|
|
|
701
788
|
export interface RegisterEinsatz {
|
|
702
789
|
einsatzNumber?: string;
|
|
703
|
-
rideId?:
|
|
790
|
+
rideId?: RideId;
|
|
704
791
|
}
|
|
705
792
|
|
|
706
793
|
export interface RemoveAccount extends AccountUpdate {
|
|
@@ -714,7 +801,7 @@ export interface RemoveTeam extends TeamUpdate {
|
|
|
714
801
|
}
|
|
715
802
|
|
|
716
803
|
export interface RemoveTeamPermission extends AccountPermissionCommand {
|
|
717
|
-
teamId?:
|
|
804
|
+
teamId?: TeamId;
|
|
718
805
|
}
|
|
719
806
|
|
|
720
807
|
export interface ReportIssue {
|
|
@@ -772,7 +859,7 @@ export interface Ride {
|
|
|
772
859
|
* Derived from bookedTime != null
|
|
773
860
|
*/
|
|
774
861
|
booked?: boolean;
|
|
775
|
-
bookedTime?:
|
|
862
|
+
bookedTime?: Date;
|
|
776
863
|
bookingStatus?: BookingStatus;
|
|
777
864
|
cancelReason?: string;
|
|
778
865
|
cancelled?: boolean;
|
|
@@ -783,11 +870,11 @@ export interface Ride {
|
|
|
783
870
|
/**
|
|
784
871
|
* Estimated Time of Arrival at the Destination/Drop-off location. Will differ from destinationPta if the driver reported a delay
|
|
785
872
|
*/
|
|
786
|
-
destinationEta?:
|
|
873
|
+
destinationEta?: Date;
|
|
787
874
|
/**
|
|
788
875
|
* Planned Time of Arrival at the Destination/Drop-off location. Derived from info.appointment and info.plannedDuration
|
|
789
876
|
*/
|
|
790
|
-
destinationPta?:
|
|
877
|
+
destinationPta?: Date;
|
|
791
878
|
driveOwner?: AccountOrTeamRef;
|
|
792
879
|
driveStatus?: DriveStatus;
|
|
793
880
|
driverReview?: Review;
|
|
@@ -796,12 +883,12 @@ export interface Ride {
|
|
|
796
883
|
/**
|
|
797
884
|
* Estimated Time of Arrival at the Origin/Pick-up location. Will differ from originPta if the driver reported a delay
|
|
798
885
|
*/
|
|
799
|
-
originEta?:
|
|
886
|
+
originEta?: Date;
|
|
800
887
|
/**
|
|
801
888
|
* Planned Time of Arrival at the Origin/Pick-up location. Derived from info.appointment and info.plannedDuration
|
|
802
889
|
*/
|
|
803
|
-
originPta?:
|
|
804
|
-
rideId?:
|
|
890
|
+
originPta?: Date;
|
|
891
|
+
rideId?: RideId;
|
|
805
892
|
rideOwner?: AccountOrTeamRef;
|
|
806
893
|
riderReview?: Review;
|
|
807
894
|
/**
|
|
@@ -811,7 +898,7 @@ export interface Ride {
|
|
|
811
898
|
}
|
|
812
899
|
|
|
813
900
|
export interface RideCommand {
|
|
814
|
-
rideId?:
|
|
901
|
+
rideId?: RideId;
|
|
815
902
|
}
|
|
816
903
|
|
|
817
904
|
/**
|
|
@@ -861,8 +948,12 @@ export interface RideFilterCount {
|
|
|
861
948
|
total?: number;
|
|
862
949
|
}
|
|
863
950
|
|
|
951
|
+
export interface RideId {
|
|
952
|
+
type?: Class<Ride>;
|
|
953
|
+
}
|
|
954
|
+
|
|
864
955
|
export interface RideIdResult {
|
|
865
|
-
rideId?:
|
|
956
|
+
rideId?: RideId;
|
|
866
957
|
}
|
|
867
958
|
|
|
868
959
|
/**
|
|
@@ -884,7 +975,7 @@ export interface RideInfo {
|
|
|
884
975
|
mobility?: Mobility;
|
|
885
976
|
patient?: Person;
|
|
886
977
|
plannedDuration?: RideDuration;
|
|
887
|
-
preferredDriver?:
|
|
978
|
+
preferredDriver?: AccountId;
|
|
888
979
|
rideType?: RideType;
|
|
889
980
|
to?: AddressInfo;
|
|
890
981
|
weightInKg?: number;
|
|
@@ -902,7 +993,7 @@ export interface RideLog {
|
|
|
902
993
|
isSuperAdmin?: boolean;
|
|
903
994
|
isToken?: boolean;
|
|
904
995
|
superAdmin?: boolean;
|
|
905
|
-
timestamp?:
|
|
996
|
+
timestamp?: Date;
|
|
906
997
|
token?: boolean;
|
|
907
998
|
}
|
|
908
999
|
|
|
@@ -935,7 +1026,7 @@ export interface SaveRide extends CreateRideCommand {
|
|
|
935
1026
|
}
|
|
936
1027
|
|
|
937
1028
|
export interface SendConfirmationEmail {
|
|
938
|
-
userId?:
|
|
1029
|
+
userId?: UserId;
|
|
939
1030
|
}
|
|
940
1031
|
|
|
941
1032
|
export interface SendEmail {
|
|
@@ -948,8 +1039,8 @@ export interface SendFreshdeskNewTicket {
|
|
|
948
1039
|
}
|
|
949
1040
|
|
|
950
1041
|
export interface SendInvitationEmail {
|
|
951
|
-
accountIdOfInvite?:
|
|
952
|
-
userId?:
|
|
1042
|
+
accountIdOfInvite?: AccountId;
|
|
1043
|
+
userId?: UserId;
|
|
953
1044
|
}
|
|
954
1045
|
|
|
955
1046
|
export interface SendSlack {
|
|
@@ -967,16 +1058,21 @@ export interface SetSettings extends AccountUpdate {
|
|
|
967
1058
|
export interface SetUserPassword {
|
|
968
1059
|
confirmationCode?: string;
|
|
969
1060
|
password?: string;
|
|
970
|
-
userId?:
|
|
1061
|
+
userId?: UserId;
|
|
971
1062
|
}
|
|
972
1063
|
|
|
973
1064
|
export interface SetUserRole extends UserUpdate {
|
|
974
1065
|
role?: UserRole;
|
|
975
1066
|
}
|
|
976
1067
|
|
|
1068
|
+
export interface Shape {
|
|
1069
|
+
bounds?: Rectangle;
|
|
1070
|
+
bounds2D?: Rectangle2D;
|
|
1071
|
+
}
|
|
1072
|
+
|
|
977
1073
|
export interface SignInUser {
|
|
978
1074
|
password?: string;
|
|
979
|
-
userId?:
|
|
1075
|
+
userId?: UserId;
|
|
980
1076
|
}
|
|
981
1077
|
|
|
982
1078
|
export interface SignUpUser {
|
|
@@ -984,7 +1080,7 @@ export interface SignUpUser {
|
|
|
984
1080
|
info?: UserInfo;
|
|
985
1081
|
inviteToken?: string;
|
|
986
1082
|
password?: string;
|
|
987
|
-
userId?:
|
|
1083
|
+
userId?: UserId;
|
|
988
1084
|
}
|
|
989
1085
|
|
|
990
1086
|
export interface StopImpersonatingUser {
|
|
@@ -1007,7 +1103,11 @@ export interface TaxiFilter extends RideTypeSpecificFilter {
|
|
|
1007
1103
|
|
|
1008
1104
|
export interface Team {
|
|
1009
1105
|
info?: TeamInfo;
|
|
1010
|
-
teamId?:
|
|
1106
|
+
teamId?: TeamId;
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
export interface TeamId {
|
|
1110
|
+
type?: Class<Team>;
|
|
1011
1111
|
}
|
|
1012
1112
|
|
|
1013
1113
|
export interface TeamInfo {
|
|
@@ -1019,16 +1119,16 @@ export interface TeamInfo {
|
|
|
1019
1119
|
|
|
1020
1120
|
export interface TeamPermission {
|
|
1021
1121
|
roles?: TeamRole[];
|
|
1022
|
-
teamId?:
|
|
1122
|
+
teamId?: TeamId;
|
|
1023
1123
|
}
|
|
1024
1124
|
|
|
1025
1125
|
export interface TeamUpdate extends AccountUpdate {
|
|
1026
|
-
teamId?:
|
|
1126
|
+
teamId?: TeamId;
|
|
1027
1127
|
}
|
|
1028
1128
|
|
|
1029
1129
|
export interface TimeRange {
|
|
1030
|
-
end?:
|
|
1031
|
-
start?:
|
|
1130
|
+
end?: Date;
|
|
1131
|
+
start?: Date;
|
|
1032
1132
|
}
|
|
1033
1133
|
|
|
1034
1134
|
export interface TimedPermission {
|
|
@@ -1041,11 +1141,15 @@ export interface Token {
|
|
|
1041
1141
|
info?: TokenInfo;
|
|
1042
1142
|
lastUpdatedBy?: string;
|
|
1043
1143
|
revoked?: boolean;
|
|
1044
|
-
tokenId?:
|
|
1144
|
+
tokenId?: TokenId;
|
|
1045
1145
|
}
|
|
1046
1146
|
|
|
1047
1147
|
export interface TokenCommand {
|
|
1048
|
-
tokenId?:
|
|
1148
|
+
tokenId?: TokenId;
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
export interface TokenId extends UserOrTokenId {
|
|
1152
|
+
type?: Class<Token>;
|
|
1049
1153
|
}
|
|
1050
1154
|
|
|
1051
1155
|
export interface TokenInfo {
|
|
@@ -1057,6 +1161,20 @@ export interface TokenInfo {
|
|
|
1057
1161
|
export interface TokenUpdate extends TokenCommand {
|
|
1058
1162
|
}
|
|
1059
1163
|
|
|
1164
|
+
export interface Type {
|
|
1165
|
+
typeName?: string;
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
export interface TypeDescriptor {
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
export interface TypeVariable<D> extends Type, AnnotatedElement {
|
|
1172
|
+
annotatedBounds?: AnnotatedType[];
|
|
1173
|
+
bounds?: Type[];
|
|
1174
|
+
genericDeclaration?: D;
|
|
1175
|
+
name?: string;
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1060
1178
|
export interface UpdateAccountInfo extends AccountUpdate {
|
|
1061
1179
|
autoConfirm?: boolean;
|
|
1062
1180
|
criticalInfo?: CriticalAccountInfo;
|
|
@@ -1086,12 +1204,16 @@ export interface UpdateUserInfo extends UserEdit {
|
|
|
1086
1204
|
}
|
|
1087
1205
|
|
|
1088
1206
|
export interface UserCommand {
|
|
1089
|
-
userId?:
|
|
1207
|
+
userId?: UserId;
|
|
1090
1208
|
}
|
|
1091
1209
|
|
|
1092
1210
|
export interface UserEdit extends UserUpdateAfterSignup {
|
|
1093
1211
|
}
|
|
1094
1212
|
|
|
1213
|
+
export interface UserId extends UserOrTokenId {
|
|
1214
|
+
type?: Class<UserProfile>;
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1095
1217
|
export interface UserInfo {
|
|
1096
1218
|
firstName?: string;
|
|
1097
1219
|
language?: string;
|
|
@@ -1110,7 +1232,7 @@ export interface UserProfile {
|
|
|
1110
1232
|
email?: string;
|
|
1111
1233
|
emailConfirmed?: boolean;
|
|
1112
1234
|
info?: UserInfo;
|
|
1113
|
-
userId?:
|
|
1235
|
+
userId?: UserId;
|
|
1114
1236
|
userRole?: UserRole;
|
|
1115
1237
|
}
|
|
1116
1238
|
|
package/package.json
CHANGED