@jealous-robot-dev/shared-types-responses 1.20.3 → 1.20.7
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/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-personal-info.d.ts +14 -5
- package/build/services/user-settings/user-personal-info.js +14 -1
- package/build/services/user-settings/user-security.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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);
|
|
@@ -10,17 +10,26 @@ export interface Gender {
|
|
|
10
10
|
id: Sex;
|
|
11
11
|
value: string;
|
|
12
12
|
}
|
|
13
|
+
export declare enum UserPersonlInfoChannels {
|
|
14
|
+
USERNAME = "USERNAME",
|
|
15
|
+
NAMES = "NAMES",
|
|
16
|
+
EMAIL = "EMAIL",
|
|
17
|
+
GENDER = "GENDER",
|
|
18
|
+
BIRTHDAY = "BIRTHDAY"
|
|
19
|
+
}
|
|
20
|
+
export declare const UserPersonlInfoChannelsList: UserPersonlInfoChannels[];
|
|
21
|
+
export interface PersonalInfoBirthday {
|
|
22
|
+
year: string;
|
|
23
|
+
month: string;
|
|
24
|
+
day: string;
|
|
25
|
+
}
|
|
13
26
|
export interface UserPersonalInfo {
|
|
14
27
|
username: string;
|
|
15
28
|
firstname: string;
|
|
16
29
|
lastname: string;
|
|
17
30
|
email: string;
|
|
18
31
|
gender: Sex;
|
|
19
|
-
birthday:
|
|
20
|
-
year: string;
|
|
21
|
-
month: string;
|
|
22
|
-
day: string;
|
|
23
|
-
};
|
|
32
|
+
birthday: PersonalInfoBirthday | null;
|
|
24
33
|
}
|
|
25
34
|
export interface UserPersonalInfoInputField {
|
|
26
35
|
label: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Sex = void 0;
|
|
3
|
+
exports.UserPersonlInfoChannelsList = exports.UserPersonlInfoChannels = exports.Sex = void 0;
|
|
4
4
|
var Sex;
|
|
5
5
|
(function (Sex) {
|
|
6
6
|
Sex["MALE"] = "male";
|
|
@@ -8,3 +8,16 @@ var Sex;
|
|
|
8
8
|
Sex["OTHER"] = "other";
|
|
9
9
|
Sex["UNSET"] = "unset";
|
|
10
10
|
})(Sex = exports.Sex || (exports.Sex = {}));
|
|
11
|
+
var UserPersonlInfoChannels;
|
|
12
|
+
(function (UserPersonlInfoChannels) {
|
|
13
|
+
UserPersonlInfoChannels["USERNAME"] = "USERNAME";
|
|
14
|
+
UserPersonlInfoChannels["NAMES"] = "NAMES";
|
|
15
|
+
UserPersonlInfoChannels["EMAIL"] = "EMAIL";
|
|
16
|
+
UserPersonlInfoChannels["GENDER"] = "GENDER";
|
|
17
|
+
UserPersonlInfoChannels["BIRTHDAY"] = "BIRTHDAY";
|
|
18
|
+
})(UserPersonlInfoChannels = exports.UserPersonlInfoChannels || (exports.UserPersonlInfoChannels = {}));
|
|
19
|
+
exports.UserPersonlInfoChannelsList = [
|
|
20
|
+
UserPersonlInfoChannels.BIRTHDAY, UserPersonlInfoChannels.EMAIL,
|
|
21
|
+
UserPersonlInfoChannels.GENDER, UserPersonlInfoChannels.USERNAME,
|
|
22
|
+
UserPersonlInfoChannels.NAMES
|
|
23
|
+
];
|