@jealous-robot-dev/shared-types-responses 1.18.3 → 1.18.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.
@@ -20,6 +20,13 @@ export declare enum ASSIcons {
20
20
  PERSONAL_INFO = "PERSONAL_INFO",
21
21
  MSG = "MSG"
22
22
  }
23
+ export declare enum CommonErrorReponses {
24
+ NOT_FOUND = "NOT_FOUND",
25
+ INTERNAL_ERROR = "INTERNAL_ERROR",
26
+ MISSING_FIELDS = "MISSING_FIELDS",
27
+ INVALID_INPUT = "INVALID_INPUT",
28
+ BAD_REQUEST = "BAD_REQUEST"
29
+ }
23
30
  export interface FAQ {
24
31
  question: string;
25
32
  icon: ASSIcons;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Languages = exports.UserPreferences = exports.CurrencyPosition = exports.ASSIcons = void 0;
3
+ exports.Languages = exports.UserPreferences = exports.CurrencyPosition = exports.CommonErrorReponses = exports.ASSIcons = void 0;
4
4
  var ASSIcons;
5
5
  (function (ASSIcons) {
6
6
  ASSIcons["PREFS"] = "PREFS";
@@ -15,6 +15,14 @@ var ASSIcons;
15
15
  ASSIcons["PERSONAL_INFO"] = "PERSONAL_INFO";
16
16
  ASSIcons["MSG"] = "MSG";
17
17
  })(ASSIcons = exports.ASSIcons || (exports.ASSIcons = {}));
18
+ var CommonErrorReponses;
19
+ (function (CommonErrorReponses) {
20
+ CommonErrorReponses["NOT_FOUND"] = "NOT_FOUND";
21
+ CommonErrorReponses["INTERNAL_ERROR"] = "INTERNAL_ERROR";
22
+ CommonErrorReponses["MISSING_FIELDS"] = "MISSING_FIELDS";
23
+ CommonErrorReponses["INVALID_INPUT"] = "INVALID_INPUT";
24
+ CommonErrorReponses["BAD_REQUEST"] = "BAD_REQUEST";
25
+ })(CommonErrorReponses = exports.CommonErrorReponses || (exports.CommonErrorReponses = {}));
18
26
  var CurrencyPosition;
19
27
  (function (CurrencyPosition) {
20
28
  CurrencyPosition["BEFORE"] = "before";
@@ -115,7 +115,9 @@ export declare enum AuthRespErrors {
115
115
  INVALID_LASTNAME = "INVALID_LASTNAME",
116
116
  EMAIL_UNVIERIFIED = "EMAIL_UNVIERIFIED",
117
117
  EMAIL_IN_USE = "EMAIL_IN_USE",
118
- USERNAME_IN_USE = "USERNAME_IN_USE"
118
+ MISSING_PARAM = "MISSING_PARAM",
119
+ USERNAME_IN_USE = "USERNAME_IN_USE",
120
+ USER_NOT_FOUND = "USER_NOT_FOUND"
119
121
  }
120
122
  export declare enum PositiveAuthResponse {
121
123
  NEW_USER = "NEW_USER",
@@ -32,7 +32,9 @@ var AuthRespErrors;
32
32
  AuthRespErrors["INVALID_LASTNAME"] = "INVALID_LASTNAME";
33
33
  AuthRespErrors["EMAIL_UNVIERIFIED"] = "EMAIL_UNVIERIFIED";
34
34
  AuthRespErrors["EMAIL_IN_USE"] = "EMAIL_IN_USE";
35
+ AuthRespErrors["MISSING_PARAM"] = "MISSING_PARAM";
35
36
  AuthRespErrors["USERNAME_IN_USE"] = "USERNAME_IN_USE";
37
+ AuthRespErrors["USER_NOT_FOUND"] = "USER_NOT_FOUND";
36
38
  })(AuthRespErrors = exports.AuthRespErrors || (exports.AuthRespErrors = {}));
37
39
  var PositiveAuthResponse;
38
40
  (function (PositiveAuthResponse) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.18.3",
3
+ "version": "1.18.7",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",