@jealous-robot-dev/shared-types-responses 1.18.6 → 1.18.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,8 +23,19 @@ export declare enum ASSIcons {
23
23
  export declare enum CommonErrorReponses {
24
24
  NOT_FOUND = "NOT_FOUND",
25
25
  INTERNAL_ERROR = "INTERNAL_ERROR",
26
+ MISSING_FIELDS = "MISSING_FIELDS",
27
+ INVALID_INPUT = "INVALID_INPUT",
26
28
  BAD_REQUEST = "BAD_REQUEST"
27
29
  }
30
+ export declare enum Cookies {
31
+ CSFR_TOKEN = "_csrf",
32
+ DEVICE_ID = "_uaid",
33
+ REMEMBERED_USER = "_uc",
34
+ LOCALE_ID = "locale_id",
35
+ CURRENCY = "currency",
36
+ CONSENT = "consent",
37
+ UITHEME = "uitheme"
38
+ }
28
39
  export interface FAQ {
29
40
  question: string;
30
41
  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.CommonErrorReponses = exports.ASSIcons = void 0;
3
+ exports.Languages = exports.UserPreferences = exports.CurrencyPosition = exports.Cookies = exports.CommonErrorReponses = exports.ASSIcons = void 0;
4
4
  var ASSIcons;
5
5
  (function (ASSIcons) {
6
6
  ASSIcons["PREFS"] = "PREFS";
@@ -19,8 +19,20 @@ var CommonErrorReponses;
19
19
  (function (CommonErrorReponses) {
20
20
  CommonErrorReponses["NOT_FOUND"] = "NOT_FOUND";
21
21
  CommonErrorReponses["INTERNAL_ERROR"] = "INTERNAL_ERROR";
22
+ CommonErrorReponses["MISSING_FIELDS"] = "MISSING_FIELDS";
23
+ CommonErrorReponses["INVALID_INPUT"] = "INVALID_INPUT";
22
24
  CommonErrorReponses["BAD_REQUEST"] = "BAD_REQUEST";
23
25
  })(CommonErrorReponses = exports.CommonErrorReponses || (exports.CommonErrorReponses = {}));
26
+ var Cookies;
27
+ (function (Cookies) {
28
+ Cookies["CSFR_TOKEN"] = "_csrf";
29
+ Cookies["DEVICE_ID"] = "_uaid";
30
+ Cookies["REMEMBERED_USER"] = "_uc";
31
+ Cookies["LOCALE_ID"] = "locale_id";
32
+ Cookies["CURRENCY"] = "currency";
33
+ Cookies["CONSENT"] = "consent";
34
+ Cookies["UITHEME"] = "uitheme";
35
+ })(Cookies = exports.Cookies || (exports.Cookies = {}));
24
36
  var CurrencyPosition;
25
37
  (function (CurrencyPosition) {
26
38
  CurrencyPosition["BEFORE"] = "before";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.18.6",
3
+ "version": "1.18.10",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",