@jealous-robot-dev/shared-types-responses 1.18.13 → 1.18.17
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/common.js
CHANGED
|
@@ -96,6 +96,7 @@ export interface WelcomeBackPhrases {
|
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
98
|
export interface ShortAuthFormData {
|
|
99
|
+
UID: string;
|
|
99
100
|
email: string;
|
|
100
101
|
ppu?: string;
|
|
101
102
|
firstname: string;
|
|
@@ -113,6 +114,8 @@ export declare enum AuthRespErrors {
|
|
|
113
114
|
INVALID_PASSWORD = "INVALID_PASSWORD",
|
|
114
115
|
INVALID_FIRSTNAME = "INVALID_FIRSTNAME",
|
|
115
116
|
INVALID_LASTNAME = "INVALID_LASTNAME",
|
|
117
|
+
INVALID_USERNAME = "INVALID_USERNAME",
|
|
118
|
+
INVALID_EMAIL = "INVALID_EMAIL",
|
|
116
119
|
EMAIL_UNVIERIFIED = "EMAIL_UNVIERIFIED",
|
|
117
120
|
EMAIL_IN_USE = "EMAIL_IN_USE",
|
|
118
121
|
MISSING_PARAM = "MISSING_PARAM",
|
|
@@ -123,5 +126,6 @@ export declare enum PositiveAuthResponse {
|
|
|
123
126
|
NEW_USER = "NEW_USER",
|
|
124
127
|
WELCOME_BACK = "WELCOME_BACK",
|
|
125
128
|
VERIFY_DEVICE = "VERIFY_DEVICE",
|
|
129
|
+
VERIFY_EMAIL = "VERIFY_EMAIL",
|
|
126
130
|
PASS = "PASS"
|
|
127
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 = {}));
|