@jealous-robot-dev/shared-types-responses 1.52.5 → 1.52.7
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.
|
@@ -12,7 +12,9 @@ export declare enum AuthRespErrors {
|
|
|
12
12
|
INVALID_FIRSTNAME = "INVALID_FIRSTNAME",
|
|
13
13
|
INVALID_LASTNAME = "INVALID_LASTNAME",
|
|
14
14
|
INVALID_EMAIL = "INVALID_EMAIL",
|
|
15
|
+
INVALID_PHONE = "INVALID_PHONE",
|
|
15
16
|
EMAIL_UNVIERIFIED = "EMAIL_UNVIERIFIED",
|
|
17
|
+
PHONE_IN_USE = "PHONE_IN_USE",
|
|
16
18
|
EMAIL_IN_USE = "EMAIL_IN_USE",
|
|
17
19
|
MISSING_PARAM = "MISSING_PARAM",
|
|
18
20
|
USER_NOT_FOUND = "USER_NOT_FOUND"
|
package/build/services/errors.js
CHANGED
|
@@ -17,7 +17,9 @@ var AuthRespErrors;
|
|
|
17
17
|
AuthRespErrors["INVALID_FIRSTNAME"] = "INVALID_FIRSTNAME";
|
|
18
18
|
AuthRespErrors["INVALID_LASTNAME"] = "INVALID_LASTNAME";
|
|
19
19
|
AuthRespErrors["INVALID_EMAIL"] = "INVALID_EMAIL";
|
|
20
|
+
AuthRespErrors["INVALID_PHONE"] = "INVALID_PHONE";
|
|
20
21
|
AuthRespErrors["EMAIL_UNVIERIFIED"] = "EMAIL_UNVIERIFIED";
|
|
22
|
+
AuthRespErrors["PHONE_IN_USE"] = "PHONE_IN_USE";
|
|
21
23
|
AuthRespErrors["EMAIL_IN_USE"] = "EMAIL_IN_USE";
|
|
22
24
|
AuthRespErrors["MISSING_PARAM"] = "MISSING_PARAM";
|
|
23
25
|
AuthRespErrors["USER_NOT_FOUND"] = "USER_NOT_FOUND";
|
|
@@ -27,11 +27,12 @@ export interface AuthenticationDevice {
|
|
|
27
27
|
DropHRUserAgent: DropHRUserAgents;
|
|
28
28
|
}
|
|
29
29
|
export declare enum PositiveAuthResponse {
|
|
30
|
-
NEW_USER = "NEW_USER",
|
|
31
|
-
TWO_FACTOR = "TWO_FACTOR",
|
|
32
|
-
WELCOME_BACK = "WELCOME_BACK",
|
|
33
30
|
VERIFY_DEVICE = "VERIFY_DEVICE",
|
|
31
|
+
WELCOME_BACK = "WELCOME_BACK",
|
|
34
32
|
VERIFY_EMAIL = "VERIFY_EMAIL",
|
|
33
|
+
VERIFY_PHONE = "VERIFY_PHONE",
|
|
34
|
+
TWO_FACTOR = "TWO_FACTOR",
|
|
35
|
+
NEW_USER = "NEW_USER",
|
|
35
36
|
PASS = "PASS"
|
|
36
37
|
}
|
|
37
38
|
export declare enum DeviceVerificationResults {
|
|
@@ -3,11 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.DeviceVerificationResults = exports.PositiveAuthResponse = void 0;
|
|
4
4
|
var PositiveAuthResponse;
|
|
5
5
|
(function (PositiveAuthResponse) {
|
|
6
|
-
PositiveAuthResponse["NEW_USER"] = "NEW_USER";
|
|
7
|
-
PositiveAuthResponse["TWO_FACTOR"] = "TWO_FACTOR";
|
|
8
|
-
PositiveAuthResponse["WELCOME_BACK"] = "WELCOME_BACK";
|
|
9
6
|
PositiveAuthResponse["VERIFY_DEVICE"] = "VERIFY_DEVICE";
|
|
7
|
+
PositiveAuthResponse["WELCOME_BACK"] = "WELCOME_BACK";
|
|
10
8
|
PositiveAuthResponse["VERIFY_EMAIL"] = "VERIFY_EMAIL";
|
|
9
|
+
PositiveAuthResponse["VERIFY_PHONE"] = "VERIFY_PHONE";
|
|
10
|
+
PositiveAuthResponse["TWO_FACTOR"] = "TWO_FACTOR";
|
|
11
|
+
PositiveAuthResponse["NEW_USER"] = "NEW_USER";
|
|
11
12
|
PositiveAuthResponse["PASS"] = "PASS";
|
|
12
13
|
})(PositiveAuthResponse = exports.PositiveAuthResponse || (exports.PositiveAuthResponse = {}));
|
|
13
14
|
var DeviceVerificationResults;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jealous-robot-dev/shared-types-responses",
|
|
3
|
-
"version": "1.52.
|
|
3
|
+
"version": "1.52.7",
|
|
4
4
|
"description": "Meetle common types of API responses",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -27,4 +27,4 @@
|
|
|
27
27
|
"@jealous-robot-dev/drophr-common": "^1.16.1",
|
|
28
28
|
"@jealous-robot-dev/shared-phrases": "^1.15.4"
|
|
29
29
|
}
|
|
30
|
-
}
|
|
30
|
+
}
|