@jealous-robot-dev/shared-types-responses 1.18.14 → 1.18.18
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.
|
@@ -30,7 +30,9 @@ export declare enum CommonErrorReponses {
|
|
|
30
30
|
export declare enum Cookies {
|
|
31
31
|
CSFR_TOKEN = "_csrf",
|
|
32
32
|
DEVICE_ID = "_uaid",
|
|
33
|
+
SESSION_PASS = "_usp",
|
|
33
34
|
REMEMBERED_USER = "_uc",
|
|
35
|
+
PW_RESET_VERIFICATION = "PW_RESET_VERIFICATION",
|
|
34
36
|
LOCALE_ID = "locale_id",
|
|
35
37
|
CURRENCY = "currency",
|
|
36
38
|
CONSENT = "consent",
|
package/build/services/common.js
CHANGED
|
@@ -27,7 +27,9 @@ var Cookies;
|
|
|
27
27
|
(function (Cookies) {
|
|
28
28
|
Cookies["CSFR_TOKEN"] = "_csrf";
|
|
29
29
|
Cookies["DEVICE_ID"] = "_uaid";
|
|
30
|
+
Cookies["SESSION_PASS"] = "_usp";
|
|
30
31
|
Cookies["REMEMBERED_USER"] = "_uc";
|
|
32
|
+
Cookies["PW_RESET_VERIFICATION"] = "PW_RESET_VERIFICATION";
|
|
31
33
|
Cookies["LOCALE_ID"] = "locale_id";
|
|
32
34
|
Cookies["CURRENCY"] = "currency";
|
|
33
35
|
Cookies["CONSENT"] = "consent";
|
|
@@ -114,6 +114,8 @@ export declare enum AuthRespErrors {
|
|
|
114
114
|
INVALID_PASSWORD = "INVALID_PASSWORD",
|
|
115
115
|
INVALID_FIRSTNAME = "INVALID_FIRSTNAME",
|
|
116
116
|
INVALID_LASTNAME = "INVALID_LASTNAME",
|
|
117
|
+
INVALID_USERNAME = "INVALID_USERNAME",
|
|
118
|
+
INVALID_EMAIL = "INVALID_EMAIL",
|
|
117
119
|
EMAIL_UNVIERIFIED = "EMAIL_UNVIERIFIED",
|
|
118
120
|
EMAIL_IN_USE = "EMAIL_IN_USE",
|
|
119
121
|
MISSING_PARAM = "MISSING_PARAM",
|
|
@@ -124,5 +126,6 @@ export declare enum PositiveAuthResponse {
|
|
|
124
126
|
NEW_USER = "NEW_USER",
|
|
125
127
|
WELCOME_BACK = "WELCOME_BACK",
|
|
126
128
|
VERIFY_DEVICE = "VERIFY_DEVICE",
|
|
129
|
+
VERIFY_EMAIL = "VERIFY_EMAIL",
|
|
127
130
|
PASS = "PASS"
|
|
128
131
|
}
|
|
@@ -30,6 +30,8 @@ var AuthRespErrors;
|
|
|
30
30
|
AuthRespErrors["INVALID_PASSWORD"] = "INVALID_PASSWORD";
|
|
31
31
|
AuthRespErrors["INVALID_FIRSTNAME"] = "INVALID_FIRSTNAME";
|
|
32
32
|
AuthRespErrors["INVALID_LASTNAME"] = "INVALID_LASTNAME";
|
|
33
|
+
AuthRespErrors["INVALID_USERNAME"] = "INVALID_USERNAME";
|
|
34
|
+
AuthRespErrors["INVALID_EMAIL"] = "INVALID_EMAIL";
|
|
33
35
|
AuthRespErrors["EMAIL_UNVIERIFIED"] = "EMAIL_UNVIERIFIED";
|
|
34
36
|
AuthRespErrors["EMAIL_IN_USE"] = "EMAIL_IN_USE";
|
|
35
37
|
AuthRespErrors["MISSING_PARAM"] = "MISSING_PARAM";
|
|
@@ -41,5 +43,6 @@ var PositiveAuthResponse;
|
|
|
41
43
|
PositiveAuthResponse["NEW_USER"] = "NEW_USER";
|
|
42
44
|
PositiveAuthResponse["WELCOME_BACK"] = "WELCOME_BACK";
|
|
43
45
|
PositiveAuthResponse["VERIFY_DEVICE"] = "VERIFY_DEVICE";
|
|
46
|
+
PositiveAuthResponse["VERIFY_EMAIL"] = "VERIFY_EMAIL";
|
|
44
47
|
PositiveAuthResponse["PASS"] = "PASS";
|
|
45
48
|
})(PositiveAuthResponse = exports.PositiveAuthResponse || (exports.PositiveAuthResponse = {}));
|