@moxi.gmbh/moxi-typescriptmodels 0.1.1031-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.
Files changed (2) hide show
  1. package/common.d.ts +206 -78
  2. 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?: string;
11
+ accountId?: AccountId;
12
12
  /**
13
13
  * Derived from subscriptions
14
14
  */
@@ -24,24 +24,28 @@ export interface Account {
24
24
  }
25
25
 
26
26
  export interface AccountCommand {
27
- accountId?: string;
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;
37
41
  notificationEmails?: string[];
38
42
  phoneNumber?: PhoneNumber;
39
- zoneId?: string;
43
+ zoneId?: ZoneId;
40
44
  }
41
45
 
42
46
  export interface AccountOrTeamId {
43
- accountId?: string;
44
- teamId?: string;
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?: string;
57
+ accountId?: AccountId;
54
58
  roles?: AccountRole[];
55
59
  teamPermissions?: TeamPermission[];
56
60
  }
57
61
 
58
62
  export interface AccountPermissionCommand extends UserUpdate {
59
- accountId?: string;
63
+ accountId?: AccountId;
60
64
  }
61
65
 
62
66
  export interface AccountRef {
63
- accountId?: string;
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?: string;
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?: string;
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?: string;
170
+ impersonator?: UserId;
154
171
  result?: AuthenticationResult;
155
- sessionDeadline?: string;
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?: string;
203
+ userId?: UserId;
187
204
  }
188
205
 
189
206
  export interface CheckIfUserSignedUp {
190
- userId?: string;
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?: string;
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?: string;
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?: string;
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?: string;
261
- start?: string;
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?: any[];
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?: string;
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?: string;
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?: string;
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?: string;
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?: string;
397
- teamId?: string;
430
+ accountId?: AccountId;
431
+ teamId?: TeamId;
398
432
  term?: string;
399
433
  }
400
434
 
401
435
  export interface FindMyUsers {
402
- accountId?: string;
403
- teamId?: string;
436
+ accountId?: AccountId;
437
+ teamId?: TeamId;
404
438
  term?: string;
405
439
  }
406
440
 
407
441
  export interface FindPotentialRides {
408
- accountId?: string;
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?: string;
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?: string;
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?: string;
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?: string;
555
+ accountId?: AccountId;
518
556
  maxSize?: number;
519
557
  timeRange?: InstantRange;
520
558
  }
521
559
 
522
560
  export interface GetMyRides {
523
- accountId?: string;
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?: string;
584
+ accountId?: AccountId;
547
585
  maxSize?: number;
548
586
  timeRange?: InstantRange;
549
587
  }
550
588
 
551
589
  export interface GetRide {
552
- rideId?: string;
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?: string;
597
+ rideOwner?: AccountId;
560
598
  }
561
599
 
562
600
  export interface GetRideLog {
563
- rideId?: string;
601
+ rideId?: RideId;
564
602
  }
565
603
 
566
604
  export interface GetTeam {
567
- teamId?: string;
605
+ teamId?: TeamId;
568
606
  }
569
607
 
570
608
  export interface GetToken {
571
- tokenId?: string;
609
+ tokenId?: TokenId;
572
610
  }
573
611
 
574
612
  export interface GetUserProfile {
575
- userId?: string;
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?: string;
631
+ userId?: UserId;
632
+ }
633
+
634
+ export interface InetAddress extends Serializable {
594
635
  }
595
636
 
596
637
  export interface InstantRange {
597
- end?: string;
598
- start?: string;
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?: string;
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?: string;
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?: string;
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?: string;
691
- originEta?: string;
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?: string;
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?: string;
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?: string;
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?: string;
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?: string;
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?: string;
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?: string;
804
- rideId?: string;
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?: string;
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?: string;
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?: string;
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?: string;
996
+ timestamp?: Date;
906
997
  token?: boolean;
907
998
  }
908
999
 
@@ -915,8 +1006,8 @@ export interface RidePlannerCommand extends RideCommand {
915
1006
 
916
1007
  export interface RideStatisticsQuery {
917
1008
  dateRange?: DateRange;
918
- timezoneOrDefault?: string;
919
- zoneId?: string;
1009
+ timezoneOrDefault?: ZoneId;
1010
+ zoneId?: ZoneId;
920
1011
  }
921
1012
 
922
1013
  export interface RideTypeSpecificFilter {
@@ -935,7 +1026,7 @@ export interface SaveRide extends CreateRideCommand {
935
1026
  }
936
1027
 
937
1028
  export interface SendConfirmationEmail {
938
- userId?: string;
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?: string;
952
- userId?: string;
1042
+ accountIdOfInvite?: AccountId;
1043
+ userId?: UserId;
953
1044
  }
954
1045
 
955
1046
  export interface SendSlack {
@@ -957,6 +1048,9 @@ export interface SendSlack {
957
1048
  message?: string;
958
1049
  }
959
1050
 
1051
+ export interface Serializable {
1052
+ }
1053
+
960
1054
  export interface SetSettings extends AccountUpdate {
961
1055
  settings?: any;
962
1056
  }
@@ -964,16 +1058,21 @@ export interface SetSettings extends AccountUpdate {
964
1058
  export interface SetUserPassword {
965
1059
  confirmationCode?: string;
966
1060
  password?: string;
967
- userId?: string;
1061
+ userId?: UserId;
968
1062
  }
969
1063
 
970
1064
  export interface SetUserRole extends UserUpdate {
971
1065
  role?: UserRole;
972
1066
  }
973
1067
 
1068
+ export interface Shape {
1069
+ bounds?: Rectangle;
1070
+ bounds2D?: Rectangle2D;
1071
+ }
1072
+
974
1073
  export interface SignInUser {
975
1074
  password?: string;
976
- userId?: string;
1075
+ userId?: UserId;
977
1076
  }
978
1077
 
979
1078
  export interface SignUpUser {
@@ -981,7 +1080,7 @@ export interface SignUpUser {
981
1080
  info?: UserInfo;
982
1081
  inviteToken?: string;
983
1082
  password?: string;
984
- userId?: string;
1083
+ userId?: UserId;
985
1084
  }
986
1085
 
987
1086
  export interface StopImpersonatingUser {
@@ -1004,7 +1103,11 @@ export interface TaxiFilter extends RideTypeSpecificFilter {
1004
1103
 
1005
1104
  export interface Team {
1006
1105
  info?: TeamInfo;
1007
- teamId?: string;
1106
+ teamId?: TeamId;
1107
+ }
1108
+
1109
+ export interface TeamId {
1110
+ type?: Class<Team>;
1008
1111
  }
1009
1112
 
1010
1113
  export interface TeamInfo {
@@ -1016,16 +1119,16 @@ export interface TeamInfo {
1016
1119
 
1017
1120
  export interface TeamPermission {
1018
1121
  roles?: TeamRole[];
1019
- teamId?: string;
1122
+ teamId?: TeamId;
1020
1123
  }
1021
1124
 
1022
1125
  export interface TeamUpdate extends AccountUpdate {
1023
- teamId?: string;
1126
+ teamId?: TeamId;
1024
1127
  }
1025
1128
 
1026
1129
  export interface TimeRange {
1027
- end?: string;
1028
- start?: string;
1130
+ end?: Date;
1131
+ start?: Date;
1029
1132
  }
1030
1133
 
1031
1134
  export interface TimedPermission {
@@ -1038,11 +1141,15 @@ export interface Token {
1038
1141
  info?: TokenInfo;
1039
1142
  lastUpdatedBy?: string;
1040
1143
  revoked?: boolean;
1041
- tokenId?: string;
1144
+ tokenId?: TokenId;
1042
1145
  }
1043
1146
 
1044
1147
  export interface TokenCommand {
1045
- tokenId?: string;
1148
+ tokenId?: TokenId;
1149
+ }
1150
+
1151
+ export interface TokenId extends UserOrTokenId {
1152
+ type?: Class<Token>;
1046
1153
  }
1047
1154
 
1048
1155
  export interface TokenInfo {
@@ -1054,6 +1161,20 @@ export interface TokenInfo {
1054
1161
  export interface TokenUpdate extends TokenCommand {
1055
1162
  }
1056
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
+
1057
1178
  export interface UpdateAccountInfo extends AccountUpdate {
1058
1179
  autoConfirm?: boolean;
1059
1180
  criticalInfo?: CriticalAccountInfo;
@@ -1083,12 +1204,16 @@ export interface UpdateUserInfo extends UserEdit {
1083
1204
  }
1084
1205
 
1085
1206
  export interface UserCommand {
1086
- userId?: string;
1207
+ userId?: UserId;
1087
1208
  }
1088
1209
 
1089
1210
  export interface UserEdit extends UserUpdateAfterSignup {
1090
1211
  }
1091
1212
 
1213
+ export interface UserId extends UserOrTokenId {
1214
+ type?: Class<UserProfile>;
1215
+ }
1216
+
1092
1217
  export interface UserInfo {
1093
1218
  firstName?: string;
1094
1219
  language?: string;
@@ -1107,7 +1232,7 @@ export interface UserProfile {
1107
1232
  email?: string;
1108
1233
  emailConfirmed?: boolean;
1109
1234
  info?: UserInfo;
1110
- userId?: string;
1235
+ userId?: UserId;
1111
1236
  userRole?: UserRole;
1112
1237
  }
1113
1238
 
@@ -1117,6 +1242,9 @@ export interface UserUpdate extends UserCommand {
1117
1242
  export interface UserUpdateAfterSignup extends UserUpdate {
1118
1243
  }
1119
1244
 
1245
+ export interface ZoneId extends Serializable {
1246
+ }
1247
+
1120
1248
  export interface ZonedTimeRange {
1121
1249
  end?: Date;
1122
1250
  start?: Date;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@moxi.gmbh/moxi-typescriptmodels",
3
- "version": "0.1.1031-test-server",
3
+ "version": "0.1.1041-test-server",
4
4
  "types": "common.d.ts"
5
5
  }