@moxi.gmbh/moxi-typescriptmodels 0.1.2732-test-server → 0.1.2741-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-with-namespaces.d.ts +3150 -0
- package/common.d.ts +31 -6
- package/package.json +1 -1
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;
|
|
@@ -1554,6 +1575,10 @@ export interface SignUpUser {
|
|
|
1554
1575
|
userId?: string;
|
|
1555
1576
|
}
|
|
1556
1577
|
|
|
1578
|
+
export interface SignedInUser {
|
|
1579
|
+
userId?: string;
|
|
1580
|
+
}
|
|
1581
|
+
|
|
1557
1582
|
export interface StopImpersonatingUser {
|
|
1558
1583
|
}
|
|
1559
1584
|
|
|
@@ -1743,7 +1768,7 @@ export interface ZonedTimeRange {
|
|
|
1743
1768
|
|
|
1744
1769
|
export type AccountRole = "ridebooker" | "dispatcher" | "operator" | "admin" | "owner";
|
|
1745
1770
|
|
|
1746
|
-
export type AuthenticationResult = "SUCCESS" | "NOT_CONFIRMED";
|
|
1771
|
+
export type AuthenticationResult = "SUCCESS" | "NOT_CONFIRMED" | "ONE_TIME_PASSWORD_NEEDED";
|
|
1747
1772
|
|
|
1748
1773
|
export type BookingStatus = "saved" | "booked" | "accepted" | "planned" | "started" | "completed" | "cancelled";
|
|
1749
1774
|
|
package/package.json
CHANGED