@jealous-robot-dev/shared-types-responses 1.38.1 → 1.38.4
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/build/services/events/index.d.ts +1 -0
- package/build/services/events/index.js +1 -0
- package/build/services/events/shorcuts.d.ts +16 -0
- package/build/services/events/shorcuts.js +2 -0
- package/build/services/forms/authentication.d.ts +1 -0
- package/build/services/forms/authentication.js +1 -0
- package/build/services/user-settings/user-security.d.ts +3 -0
- package/package.json +4 -4
@@ -13,6 +13,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
__exportStar(require("./host"), exports);
|
14
14
|
__exportStar(require("./event"), exports);
|
15
15
|
__exportStar(require("./events"), exports);
|
16
|
+
__exportStar(require("./shorcuts"), exports);
|
16
17
|
__exportStar(require("./tag-search"), exports);
|
17
18
|
__exportStar(require("./seance-join"), exports);
|
18
19
|
__exportStar(require("./customerhub"), exports);
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { EventTypes } from "@jealous-robot-dev/drophr-common";
|
2
|
+
export interface MessengerEventShortcut {
|
3
|
+
id: string;
|
4
|
+
pic: string;
|
5
|
+
name: string;
|
6
|
+
rate: number;
|
7
|
+
type: EventTypes;
|
8
|
+
is_saved: boolean;
|
9
|
+
can_view: boolean;
|
10
|
+
reviews: number;
|
11
|
+
session?: {
|
12
|
+
sid: string;
|
13
|
+
durtion: number;
|
14
|
+
starts_at: number;
|
15
|
+
};
|
16
|
+
}
|
@@ -4,6 +4,7 @@ exports.DeviceVerificationResults = exports.PositiveAuthResponse = void 0;
|
|
4
4
|
var PositiveAuthResponse;
|
5
5
|
(function (PositiveAuthResponse) {
|
6
6
|
PositiveAuthResponse["NEW_USER"] = "NEW_USER";
|
7
|
+
PositiveAuthResponse["TWO_FACTOR"] = "TWO_FACTOR";
|
7
8
|
PositiveAuthResponse["WELCOME_BACK"] = "WELCOME_BACK";
|
8
9
|
PositiveAuthResponse["VERIFY_DEVICE"] = "VERIFY_DEVICE";
|
9
10
|
PositiveAuthResponse["VERIFY_EMAIL"] = "VERIFY_EMAIL";
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { UserSecurityPhrases } from '@jealous-robot-dev/shared-phrases';
|
2
|
+
import { AuthenticationProviders } from '@jealous-robot-dev/drophr-common';
|
2
3
|
import { QueryResponse } from '../common';
|
3
4
|
export interface UserDevice {
|
4
5
|
deviceId: string;
|
@@ -18,6 +19,7 @@ export interface UserDevice {
|
|
18
19
|
export interface UserSecurity {
|
19
20
|
lastUpdateOfPassword: number;
|
20
21
|
secureAuth: boolean;
|
22
|
+
twoFactorAuth: boolean;
|
21
23
|
denyUsernameAsId: boolean;
|
22
24
|
notifyAboutNewDevice: boolean;
|
23
25
|
devices: UserDevice[];
|
@@ -25,6 +27,7 @@ export interface UserSecurity {
|
|
25
27
|
total: number;
|
26
28
|
entries: BlockedUser[];
|
27
29
|
};
|
30
|
+
authInstruments: AuthenticationProviders[];
|
28
31
|
}
|
29
32
|
export interface BlockedUser {
|
30
33
|
UID: string;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@jealous-robot-dev/shared-types-responses",
|
3
|
-
"version": "1.38.
|
3
|
+
"version": "1.38.4",
|
4
4
|
"description": "",
|
5
5
|
"main": "build/index.js",
|
6
6
|
"types": "build/index.d.ts",
|
@@ -24,8 +24,8 @@
|
|
24
24
|
"typescript": "^3.8.3"
|
25
25
|
},
|
26
26
|
"dependencies": {
|
27
|
-
"@jealous-robot-dev/drophr-common": "^1.4.
|
28
|
-
"@jealous-robot-dev/shared-phrases": "^1.
|
29
|
-
"@jealous-robot-dev/shared-ui-lib": "^1.
|
27
|
+
"@jealous-robot-dev/drophr-common": "^1.4.10",
|
28
|
+
"@jealous-robot-dev/shared-phrases": "^1.5.7",
|
29
|
+
"@jealous-robot-dev/shared-ui-lib": "^1.10.3"
|
30
30
|
}
|
31
31
|
}
|