@moxi.gmbh/moxi-typescriptmodels 0.1.2732-test-server → 0.1.2761-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 CHANGED
@@ -228,6 +228,8 @@ export interface AuthenticateWithToken extends UserUpdate {
228
228
  export interface AuthenticationResponse {
229
229
  authorizationHeader?: string;
230
230
  impersonator?: string;
231
+ refreshToken?: string;
232
+ refreshTokenDeadline?: string;
231
233
  result?: AuthenticationResult;
232
234
  sessionDeadline?: string;
233
235
  userProfile?: UserProfile;
@@ -990,6 +992,16 @@ export interface OneHourAfterEnd {
990
992
  rideId?: string;
991
993
  }
992
994
 
995
+ export interface OneTimePasswordExpires {
996
+ userId?: string;
997
+ }
998
+
999
+ export interface OneTimePasswordState {
1000
+ hashedPassword?: string;
1001
+ loginAttempts?: number;
1002
+ userId?: string;
1003
+ }
1004
+
993
1005
  export interface OperationsOverviewFilter extends WebsocketFilter {
994
1006
  queryFilter?: FindRidesAndSeries;
995
1007
  screen: "operations_overview";
@@ -1053,11 +1065,6 @@ export interface RefreshUserToken {
1053
1065
  refreshToken?: string;
1054
1066
  }
1055
1067
 
1056
- export interface RefreshableAuthenticationResponse extends AuthenticationResponse {
1057
- refreshToken?: string;
1058
- refreshTokenDeadline?: string;
1059
- }
1060
-
1061
1068
  export interface Region {
1062
1069
  nutsCode?: string;
1063
1070
  }
@@ -1078,6 +1085,11 @@ export interface RegisterEinsatz {
1078
1085
  rideId?: string;
1079
1086
  }
1080
1087
 
1088
+ export interface RegisterOneTimePassword {
1089
+ oneTimePassword?: string;
1090
+ userId?: string;
1091
+ }
1092
+
1081
1093
  /**
1082
1094
  * Ride information specific for regular taxi or ambulance rides.
1083
1095
  */
@@ -1471,6 +1483,15 @@ export interface SendKChat {
1471
1483
  message?: string;
1472
1484
  }
1473
1485
 
1486
+ export interface SendOneTimePasswordEmail {
1487
+ oneTimePassword?: string;
1488
+ userId?: string;
1489
+ }
1490
+
1491
+ export interface SendSensitiveEmail {
1492
+ message?: EmailMessage;
1493
+ }
1494
+
1474
1495
  export interface SendSlack {
1475
1496
  channel?: SlackChannel;
1476
1497
  message?: string;
@@ -1542,11 +1563,13 @@ export interface SetUserRole extends UserUpdate {
1542
1563
  }
1543
1564
 
1544
1565
  export interface SignInUser {
1566
+ activateOneTimePassword?: boolean;
1545
1567
  password?: string;
1546
1568
  userId?: string;
1547
1569
  }
1548
1570
 
1549
1571
  export interface SignUpUser {
1572
+ activateOneTimePassword?: boolean;
1550
1573
  email?: string;
1551
1574
  info?: UserInfo;
1552
1575
  inviteToken?: string;
@@ -1554,6 +1577,10 @@ export interface SignUpUser {
1554
1577
  userId?: string;
1555
1578
  }
1556
1579
 
1580
+ export interface SignedInUser {
1581
+ userId?: string;
1582
+ }
1583
+
1557
1584
  export interface StopImpersonatingUser {
1558
1585
  }
1559
1586
 
@@ -1743,7 +1770,7 @@ export interface ZonedTimeRange {
1743
1770
 
1744
1771
  export type AccountRole = "ridebooker" | "dispatcher" | "operator" | "admin" | "owner";
1745
1772
 
1746
- export type AuthenticationResult = "SUCCESS" | "NOT_CONFIRMED";
1773
+ export type AuthenticationResult = "SUCCESS" | "NOT_CONFIRMED" | "ONE_TIME_PASSWORD_NEEDED";
1747
1774
 
1748
1775
  export type BookingStatus = "saved" | "booked" | "accepted" | "planned" | "started" | "completed" | "cancelled";
1749
1776
 
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@moxi.gmbh/moxi-typescriptmodels",
3
- "version": "0.1.2732-test-server",
3
+ "version": "0.1.2761-test-server",
4
4
  "types": "common.d.ts"
5
5
  }