@jealous-robot-dev/shared-types-responses 1.20.0 → 1.20.4

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.
@@ -19,7 +19,7 @@ exports.ListedCookes = [
19
19
  Cookies.AUTH_CTX, Cookies.CONSENT, Cookies.CSFR_TOKEN,
20
20
  Cookies.CURRENCY, Cookies.DEVICE_ID, Cookies.LOCALE_ID,
21
21
  Cookies.NEW_MEMBER, Cookies.REMEMBERED_USER, Cookies.SESSION_PASS,
22
- Cookies.UITHEME
22
+ Cookies.UITHEME, Cookies.IMPRESSION_ID
23
23
  ];
24
24
  var PermissionCookies;
25
25
  (function (PermissionCookies) {
@@ -36,6 +36,7 @@ var CookieAges;
36
36
  CookieAges[CookieAges["LARGE"] = 2592000000] = "LARGE";
37
37
  })(CookieAges = exports.CookieAges || (exports.CookieAges = {}));
38
38
  exports.PWRequiringPermissionsList = [
39
+ PermissionCookies.PW_RESET_VERIFICATION,
39
40
  PermissionCookies.DELETE_ACCOUNT,
40
41
  PermissionCookies.SUSPEND_EVENT,
41
42
  PermissionCookies.RESUME_EVENT,
@@ -1,4 +1,5 @@
1
1
  export declare enum PasswordRequiringPermissions {
2
+ RESET_PASSWORD = "RESET_PASSWORD",
2
3
  DELETE_ACCOUNT = "DELETE_ACCOUNT",
3
4
  SUSPEND_EVENT = "SUSPEND_EVENT",
4
5
  RESUME_EVENT = "RESUME_EVENT",
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PasswordRequiringPermissions = void 0;
4
4
  var PasswordRequiringPermissions;
5
5
  (function (PasswordRequiringPermissions) {
6
+ PasswordRequiringPermissions["RESET_PASSWORD"] = "RESET_PASSWORD";
6
7
  PasswordRequiringPermissions["DELETE_ACCOUNT"] = "DELETE_ACCOUNT";
7
8
  PasswordRequiringPermissions["SUSPEND_EVENT"] = "SUSPEND_EVENT";
8
9
  PasswordRequiringPermissions["RESUME_EVENT"] = "RESUME_EVENT";
@@ -5,6 +5,7 @@ export declare enum SecuritySettingsCheckboxChannels {
5
5
  DENY_USERNAME_AS_LOGIN_ID = "DENY_USERNAME_AS_LOGIN_ID",
6
6
  NOTIFY_ABOUT_NEW_DEVICE = "NOTIFY_ABOUT_NEW_DEVICE"
7
7
  }
8
+ export declare const SecuritySettingsCheckboxChannelsxChannelsList: SecuritySettingsCheckboxChannels[];
8
9
  export interface UserDevice {
9
10
  deviceId: string;
10
11
  platform: {
@@ -24,6 +25,7 @@ export declare enum SecuritySettingsDeviceActions {
24
25
  LOGOUT = "LOGOUT",
25
26
  DELETE = "DELETE"
26
27
  }
28
+ export declare const SSDeviceActionList: SecuritySettingsDeviceActions[];
27
29
  export interface UserSecurity {
28
30
  lastUpdateOfPassword: string;
29
31
  secureAuth: boolean;
@@ -50,21 +52,23 @@ export interface UserSecurityPhrases {
50
52
  secureAuth: {
51
53
  label: string;
52
54
  };
53
- useUsernameAsId: {
54
- label: string;
55
- };
56
55
  };
57
56
  };
58
57
  blacklist: {
59
58
  label: string;
60
59
  view: string;
61
60
  unblock: string;
61
+ empty: string;
62
62
  };
63
63
  auth: {
64
64
  label: string;
65
65
  formLabel: string;
66
66
  lastUpdated: string;
67
67
  buttonLabel: string;
68
+ pw_characteristics: PasswordCharacteristics;
69
+ denyUsernameAsId: {
70
+ label: string;
71
+ };
68
72
  form: {
69
73
  currentPassword: {
70
74
  label: string;
@@ -80,19 +84,13 @@ export interface UserSecurityPhrases {
80
84
  };
81
85
  };
82
86
  };
83
- passwordGeneration: {
84
- suggestion: string;
85
- chromeCase: string;
86
- safariCase: string;
87
- pw_characteristics: PasswordCharacteristics;
88
- };
89
87
  }
90
88
  export interface BlockedUser {
91
89
  UID: string;
92
90
  username: string;
93
91
  firstname: string;
94
92
  lastname: string;
95
- ppu?: string;
93
+ has_ppu: boolean;
96
94
  }
97
95
  export interface UserSecurityResponse extends QueryResponse<UserSecurity, UserSecurityPhrases> {
98
96
  }
@@ -1,14 +1,23 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SecuritySettingsDeviceActions = exports.SecuritySettingsCheckboxChannels = void 0;
3
+ exports.SSDeviceActionList = exports.SecuritySettingsDeviceActions = exports.SecuritySettingsCheckboxChannelsxChannelsList = exports.SecuritySettingsCheckboxChannels = void 0;
4
4
  var SecuritySettingsCheckboxChannels;
5
5
  (function (SecuritySettingsCheckboxChannels) {
6
6
  SecuritySettingsCheckboxChannels["SECURE_AUTH"] = "SECURE_AUTH";
7
7
  SecuritySettingsCheckboxChannels["DENY_USERNAME_AS_LOGIN_ID"] = "DENY_USERNAME_AS_LOGIN_ID";
8
8
  SecuritySettingsCheckboxChannels["NOTIFY_ABOUT_NEW_DEVICE"] = "NOTIFY_ABOUT_NEW_DEVICE";
9
9
  })(SecuritySettingsCheckboxChannels = exports.SecuritySettingsCheckboxChannels || (exports.SecuritySettingsCheckboxChannels = {}));
10
+ exports.SecuritySettingsCheckboxChannelsxChannelsList = [
11
+ SecuritySettingsCheckboxChannels.DENY_USERNAME_AS_LOGIN_ID,
12
+ SecuritySettingsCheckboxChannels.NOTIFY_ABOUT_NEW_DEVICE,
13
+ SecuritySettingsCheckboxChannels.SECURE_AUTH
14
+ ];
10
15
  var SecuritySettingsDeviceActions;
11
16
  (function (SecuritySettingsDeviceActions) {
12
17
  SecuritySettingsDeviceActions["LOGOUT"] = "LOGOUT";
13
18
  SecuritySettingsDeviceActions["DELETE"] = "DELETE";
14
19
  })(SecuritySettingsDeviceActions = exports.SecuritySettingsDeviceActions || (exports.SecuritySettingsDeviceActions = {}));
20
+ exports.SSDeviceActionList = [
21
+ SecuritySettingsDeviceActions.DELETE,
22
+ SecuritySettingsDeviceActions.LOGOUT
23
+ ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.20.0",
3
+ "version": "1.20.4",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",