@jealous-robot-dev/shared-types-responses 1.18.16 → 1.18.20

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/index.d.ts CHANGED
@@ -1,4 +1,6 @@
1
1
  export * from './services/common';
2
+ export * from './services/cookies';
3
+ export * from './services/permissions';
2
4
  export * from './services/user-settings';
3
5
  export * from './services/payments';
4
6
  export * from './services/messenger';
package/build/index.js CHANGED
@@ -11,6 +11,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
13
  __exportStar(require("./services/common"), exports);
14
+ __exportStar(require("./services/cookies"), exports);
15
+ __exportStar(require("./services/permissions"), exports);
14
16
  __exportStar(require("./services/user-settings"), exports);
15
17
  __exportStar(require("./services/payments"), exports);
16
18
  __exportStar(require("./services/messenger"), exports);
@@ -27,16 +27,6 @@ export declare enum CommonErrorReponses {
27
27
  INVALID_INPUT = "INVALID_INPUT",
28
28
  BAD_REQUEST = "BAD_REQUEST"
29
29
  }
30
- export declare enum Cookies {
31
- CSFR_TOKEN = "_csrf",
32
- DEVICE_ID = "_uaid",
33
- SESSION_PASS = "_usp",
34
- REMEMBERED_USER = "_uc",
35
- LOCALE_ID = "locale_id",
36
- CURRENCY = "currency",
37
- CONSENT = "consent",
38
- UITHEME = "uitheme"
39
- }
40
30
  export interface FAQ {
41
31
  question: string;
42
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.Cookies = exports.CommonErrorReponses = 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";
@@ -23,17 +23,6 @@ var CommonErrorReponses;
23
23
  CommonErrorReponses["INVALID_INPUT"] = "INVALID_INPUT";
24
24
  CommonErrorReponses["BAD_REQUEST"] = "BAD_REQUEST";
25
25
  })(CommonErrorReponses = exports.CommonErrorReponses || (exports.CommonErrorReponses = {}));
26
- var Cookies;
27
- (function (Cookies) {
28
- Cookies["CSFR_TOKEN"] = "_csrf";
29
- Cookies["DEVICE_ID"] = "_uaid";
30
- Cookies["SESSION_PASS"] = "_usp";
31
- Cookies["REMEMBERED_USER"] = "_uc";
32
- Cookies["LOCALE_ID"] = "locale_id";
33
- Cookies["CURRENCY"] = "currency";
34
- Cookies["CONSENT"] = "consent";
35
- Cookies["UITHEME"] = "uitheme";
36
- })(Cookies = exports.Cookies || (exports.Cookies = {}));
37
26
  var CurrencyPosition;
38
27
  (function (CurrencyPosition) {
39
28
  CurrencyPosition["BEFORE"] = "before";
@@ -0,0 +1,17 @@
1
+ export declare enum Cookies {
2
+ CSFR_TOKEN = "_csrf",
3
+ DEVICE_ID = "_uaid",
4
+ SESSION_PASS = "_usp",
5
+ REMEMBERED_USER = "_uc",
6
+ LOCALE_ID = "locale_id",
7
+ CURRENCY = "currency",
8
+ CONSENT = "consent",
9
+ UITHEME = "uitheme"
10
+ }
11
+ export declare enum PermissionCookies {
12
+ PW_RESET_VERIFICATION = "pwrv",
13
+ DELETE_ACCOUNT = "_da",
14
+ SUSPEND_EVENT = "_se",
15
+ RESUME_EVENT = "_re",
16
+ DELETE_EVENT = "_de"
17
+ }
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PermissionCookies = exports.Cookies = void 0;
4
+ var Cookies;
5
+ (function (Cookies) {
6
+ Cookies["CSFR_TOKEN"] = "_csrf";
7
+ Cookies["DEVICE_ID"] = "_uaid";
8
+ Cookies["SESSION_PASS"] = "_usp";
9
+ Cookies["REMEMBERED_USER"] = "_uc";
10
+ Cookies["LOCALE_ID"] = "locale_id";
11
+ Cookies["CURRENCY"] = "currency";
12
+ Cookies["CONSENT"] = "consent";
13
+ Cookies["UITHEME"] = "uitheme";
14
+ })(Cookies = exports.Cookies || (exports.Cookies = {}));
15
+ var PermissionCookies;
16
+ (function (PermissionCookies) {
17
+ PermissionCookies["PW_RESET_VERIFICATION"] = "pwrv";
18
+ PermissionCookies["DELETE_ACCOUNT"] = "_da";
19
+ PermissionCookies["SUSPEND_EVENT"] = "_se";
20
+ PermissionCookies["RESUME_EVENT"] = "_re";
21
+ PermissionCookies["DELETE_EVENT"] = "_de";
22
+ })(PermissionCookies = exports.PermissionCookies || (exports.PermissionCookies = {}));
@@ -114,6 +114,8 @@ export declare enum AuthRespErrors {
114
114
  INVALID_PASSWORD = "INVALID_PASSWORD",
115
115
  INVALID_FIRSTNAME = "INVALID_FIRSTNAME",
116
116
  INVALID_LASTNAME = "INVALID_LASTNAME",
117
+ INVALID_USERNAME = "INVALID_USERNAME",
118
+ INVALID_EMAIL = "INVALID_EMAIL",
117
119
  EMAIL_UNVIERIFIED = "EMAIL_UNVIERIFIED",
118
120
  EMAIL_IN_USE = "EMAIL_IN_USE",
119
121
  MISSING_PARAM = "MISSING_PARAM",
@@ -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";
@@ -0,0 +1,6 @@
1
+ export declare enum PasswordRequiringPermissions {
2
+ DELETE_ACCOUNT = "DELETE_ACCOUNT",
3
+ SUSPEND_EVENT = "SUSPEND_EVENT",
4
+ RESUME_EVENT = "RESUME_EVENT",
5
+ DELETE_EVENT = "DELETE_EVENT"
6
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PasswordRequiringPermissions = void 0;
4
+ var PasswordRequiringPermissions;
5
+ (function (PasswordRequiringPermissions) {
6
+ PasswordRequiringPermissions["DELETE_ACCOUNT"] = "DELETE_ACCOUNT";
7
+ PasswordRequiringPermissions["SUSPEND_EVENT"] = "SUSPEND_EVENT";
8
+ PasswordRequiringPermissions["RESUME_EVENT"] = "RESUME_EVENT";
9
+ PasswordRequiringPermissions["DELETE_EVENT"] = "DELETE_EVENT";
10
+ })(PasswordRequiringPermissions = exports.PasswordRequiringPermissions || (exports.PasswordRequiringPermissions = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.18.16",
3
+ "version": "1.18.20",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",