@jealous-robot-dev/shared-types-responses 1.18.19 → 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,17 +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
- PW_RESET_VERIFICATION = "pwrv",
36
- LOCALE_ID = "locale_id",
37
- CURRENCY = "currency",
38
- CONSENT = "consent",
39
- UITHEME = "uitheme"
40
- }
41
30
  export interface FAQ {
42
31
  question: string;
43
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,18 +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["PW_RESET_VERIFICATION"] = "pwrv";
33
- Cookies["LOCALE_ID"] = "locale_id";
34
- Cookies["CURRENCY"] = "currency";
35
- Cookies["CONSENT"] = "consent";
36
- Cookies["UITHEME"] = "uitheme";
37
- })(Cookies = exports.Cookies || (exports.Cookies = {}));
38
26
  var CurrencyPosition;
39
27
  (function (CurrencyPosition) {
40
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 = {}));
@@ -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.19",
3
+ "version": "1.18.20",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",