@jealous-robot-dev/shared-types-responses 1.20.1 → 1.20.5
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/services/cookies.js +2 -1
- package/build/services/permissions.d.ts +1 -0
- package/build/services/permissions.js +1 -0
- package/build/services/user-settings/deactivate-account.d.ts +17 -0
- package/build/services/user-settings/deactivate-account.js +2 -0
- package/build/services/user-settings/index.d.ts +1 -0
- package/build/services/user-settings/index.js +1 -0
- package/build/services/user-settings/user-security.d.ts +6 -10
- package/package.json +1 -1
|
@@ -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,
|
|
@@ -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";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AuthFormInputField } from "../forms";
|
|
2
|
+
export interface DeactivateAccountPhrases {
|
|
3
|
+
password_window: {
|
|
4
|
+
title: string;
|
|
5
|
+
description: string;
|
|
6
|
+
learnmore: string;
|
|
7
|
+
form: {
|
|
8
|
+
password: AuthFormInputField;
|
|
9
|
+
proceed: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
submission_window: {
|
|
13
|
+
description: string;
|
|
14
|
+
cancel: string;
|
|
15
|
+
delete: string;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
@@ -12,6 +12,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
13
|
__exportStar(require("./account-settings"), exports);
|
|
14
14
|
__exportStar(require("./event-settings"), exports);
|
|
15
|
+
__exportStar(require("./deactivate-account"), exports);
|
|
15
16
|
__exportStar(require("./user-notifications-settings"), exports);
|
|
16
17
|
__exportStar(require("./user-payments"), exports);
|
|
17
18
|
__exportStar(require("./user-personal-info"), exports);
|
|
@@ -52,21 +52,23 @@ export interface UserSecurityPhrases {
|
|
|
52
52
|
secureAuth: {
|
|
53
53
|
label: string;
|
|
54
54
|
};
|
|
55
|
-
useUsernameAsId: {
|
|
56
|
-
label: string;
|
|
57
|
-
};
|
|
58
55
|
};
|
|
59
56
|
};
|
|
60
57
|
blacklist: {
|
|
61
58
|
label: string;
|
|
62
59
|
view: string;
|
|
63
60
|
unblock: string;
|
|
61
|
+
empty: string;
|
|
64
62
|
};
|
|
65
63
|
auth: {
|
|
66
64
|
label: string;
|
|
67
65
|
formLabel: string;
|
|
68
66
|
lastUpdated: string;
|
|
69
67
|
buttonLabel: string;
|
|
68
|
+
pw_characteristics: PasswordCharacteristics;
|
|
69
|
+
denyUsernameAsId: {
|
|
70
|
+
label: string;
|
|
71
|
+
};
|
|
70
72
|
form: {
|
|
71
73
|
currentPassword: {
|
|
72
74
|
label: string;
|
|
@@ -82,19 +84,13 @@ export interface UserSecurityPhrases {
|
|
|
82
84
|
};
|
|
83
85
|
};
|
|
84
86
|
};
|
|
85
|
-
passwordGeneration: {
|
|
86
|
-
suggestion: string;
|
|
87
|
-
chromeCase: string;
|
|
88
|
-
safariCase: string;
|
|
89
|
-
pw_characteristics: PasswordCharacteristics;
|
|
90
|
-
};
|
|
91
87
|
}
|
|
92
88
|
export interface BlockedUser {
|
|
93
89
|
UID: string;
|
|
94
90
|
username: string;
|
|
95
91
|
firstname: string;
|
|
96
92
|
lastname: string;
|
|
97
|
-
|
|
93
|
+
has_ppu: boolean;
|
|
98
94
|
}
|
|
99
95
|
export interface UserSecurityResponse extends QueryResponse<UserSecurity, UserSecurityPhrases> {
|
|
100
96
|
}
|