@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.
@@ -30,6 +30,7 @@ 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",
34
35
  LOCALE_ID = "locale_id",
35
36
  CURRENCY = "currency",
@@ -27,6 +27,7 @@ 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";
31
32
  Cookies["LOCALE_ID"] = "locale_id";
32
33
  Cookies["CURRENCY"] = "currency";
@@ -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 = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.18.13",
3
+ "version": "1.18.17",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",