@jealous-robot-dev/shared-types-responses 1.18.2 → 1.18.3

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.
@@ -104,11 +104,22 @@ export interface ShortAuthFormData {
104
104
  export interface AuthFormData {
105
105
  prev_session?: ShortAuthFormData;
106
106
  }
107
+ export declare enum AUTH_ID_TYPE {
108
+ EMAIL = "EMAIL",
109
+ USERNAME = "USERNAME"
110
+ }
107
111
  export declare enum AuthRespErrors {
108
112
  INVALID_INPUT = "INVALID_INPUT",
109
113
  INVALID_PASSWORD = "INVALID_PASSWORD",
110
114
  INVALID_FIRSTNAME = "INVALID_FIRSTNAME",
111
115
  INVALID_LASTNAME = "INVALID_LASTNAME",
116
+ EMAIL_UNVIERIFIED = "EMAIL_UNVIERIFIED",
112
117
  EMAIL_IN_USE = "EMAIL_IN_USE",
113
118
  USERNAME_IN_USE = "USERNAME_IN_USE"
114
119
  }
120
+ export declare enum PositiveAuthResponse {
121
+ NEW_USER = "NEW_USER",
122
+ WELCOME_BACK = "WELCOME_BACK",
123
+ VERIFY_DEVICE = "VERIFY_DEVICE",
124
+ PASS = "PASS"
125
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AuthRespErrors = exports.AuthenticationWindows = exports.AuthID = exports.AuthenticationProviders = void 0;
3
+ exports.PositiveAuthResponse = exports.AuthRespErrors = exports.AUTH_ID_TYPE = exports.AuthenticationWindows = exports.AuthID = exports.AuthenticationProviders = void 0;
4
4
  var AuthenticationProviders;
5
5
  (function (AuthenticationProviders) {
6
6
  AuthenticationProviders["GOOGLE"] = "google";
@@ -19,12 +19,25 @@ var AuthenticationWindows;
19
19
  AuthenticationWindows["FINISH_SIGNUP"] = "finish sign up";
20
20
  AuthenticationWindows["WELCOME"] = "welcome";
21
21
  })(AuthenticationWindows = exports.AuthenticationWindows || (exports.AuthenticationWindows = {}));
22
+ var AUTH_ID_TYPE;
23
+ (function (AUTH_ID_TYPE) {
24
+ AUTH_ID_TYPE["EMAIL"] = "EMAIL";
25
+ AUTH_ID_TYPE["USERNAME"] = "USERNAME";
26
+ })(AUTH_ID_TYPE = exports.AUTH_ID_TYPE || (exports.AUTH_ID_TYPE = {}));
22
27
  var AuthRespErrors;
23
28
  (function (AuthRespErrors) {
24
29
  AuthRespErrors["INVALID_INPUT"] = "INVALID_INPUT";
25
30
  AuthRespErrors["INVALID_PASSWORD"] = "INVALID_PASSWORD";
26
31
  AuthRespErrors["INVALID_FIRSTNAME"] = "INVALID_FIRSTNAME";
27
32
  AuthRespErrors["INVALID_LASTNAME"] = "INVALID_LASTNAME";
33
+ AuthRespErrors["EMAIL_UNVIERIFIED"] = "EMAIL_UNVIERIFIED";
28
34
  AuthRespErrors["EMAIL_IN_USE"] = "EMAIL_IN_USE";
29
35
  AuthRespErrors["USERNAME_IN_USE"] = "USERNAME_IN_USE";
30
36
  })(AuthRespErrors = exports.AuthRespErrors || (exports.AuthRespErrors = {}));
37
+ var PositiveAuthResponse;
38
+ (function (PositiveAuthResponse) {
39
+ PositiveAuthResponse["NEW_USER"] = "NEW_USER";
40
+ PositiveAuthResponse["WELCOME_BACK"] = "WELCOME_BACK";
41
+ PositiveAuthResponse["VERIFY_DEVICE"] = "VERIFY_DEVICE";
42
+ PositiveAuthResponse["PASS"] = "PASS";
43
+ })(PositiveAuthResponse = exports.PositiveAuthResponse || (exports.PositiveAuthResponse = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.18.2",
3
+ "version": "1.18.3",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",