@jealous-robot-dev/shared-types-responses 1.20.6 → 1.20.11
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/forms/authentication.d.ts +1 -0
- package/build/services/user-settings/event-settings.d.ts +18 -6
- package/build/services/user-settings/event-settings.js +17 -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/reset-email-verification.d.ts +9 -0
- package/build/services/user-settings/reset-email-verification.js +2 -0
- package/build/services/user-settings/user-notifications-settings.d.ts +1 -1
- package/build/services/user-settings/user-notifications-settings.js +1 -1
- package/build/services/user-settings/user-personal-info.d.ts +15 -6
- package/build/services/user-settings/user-personal-info.js +14 -1
- package/build/services/user-settings/user-privacy.d.ts +4 -15
- package/build/services/user-settings/user-privacy.js +1 -0
- package/package.json +1 -1
|
@@ -1,8 +1,19 @@
|
|
|
1
1
|
import { QueryResponse, LND } from '../common';
|
|
2
2
|
import { FAQ } from '@jealous-robot-dev/shared-ui-lib';
|
|
3
|
+
export declare enum EventSettingsCheckboxes {
|
|
4
|
+
UPDATED_EVENTS_NOTIFS = "UPDATED_EVENTS_NOTIFS",
|
|
5
|
+
URGENT_EVENT_REMINDER = "URGENT_EVENT_REMINDER"
|
|
6
|
+
}
|
|
7
|
+
export declare const EventSettingsCheckboxesList: EventSettingsCheckboxes[];
|
|
3
8
|
export interface UserEventSettingsData {
|
|
4
|
-
|
|
5
|
-
|
|
9
|
+
guest: {
|
|
10
|
+
updatedEventNotifs: boolean;
|
|
11
|
+
upcomingEvents: {
|
|
12
|
+
remind: boolean;
|
|
13
|
+
interval: number;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
host: {
|
|
6
17
|
upcomingEvents: {
|
|
7
18
|
remind: boolean;
|
|
8
19
|
interval: number;
|
|
@@ -11,11 +22,12 @@ export interface UserEventSettingsData {
|
|
|
11
22
|
common: {
|
|
12
23
|
urgentEventReminder: boolean;
|
|
13
24
|
};
|
|
14
|
-
eventOrganizer: {
|
|
15
|
-
upcomingEvents: boolean;
|
|
16
|
-
remindBefore: number;
|
|
17
|
-
};
|
|
18
25
|
}
|
|
26
|
+
export declare enum UserEventsSettingsReminders {
|
|
27
|
+
FOR_GUEST = "FOR_GUEST",
|
|
28
|
+
FOR_HOST = "FOR_HOST"
|
|
29
|
+
}
|
|
30
|
+
export declare const UserEventsSettingsRemindersList: UserEventsSettingsReminders[];
|
|
19
31
|
export interface UserEventSettingsPhrases {
|
|
20
32
|
FAQ: FAQ[];
|
|
21
33
|
settings: {
|
|
@@ -1,2 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UserEventsSettingsRemindersList = exports.UserEventsSettingsReminders = exports.EventSettingsCheckboxesList = exports.EventSettingsCheckboxes = void 0;
|
|
4
|
+
var EventSettingsCheckboxes;
|
|
5
|
+
(function (EventSettingsCheckboxes) {
|
|
6
|
+
EventSettingsCheckboxes["UPDATED_EVENTS_NOTIFS"] = "UPDATED_EVENTS_NOTIFS";
|
|
7
|
+
EventSettingsCheckboxes["URGENT_EVENT_REMINDER"] = "URGENT_EVENT_REMINDER";
|
|
8
|
+
})(EventSettingsCheckboxes = exports.EventSettingsCheckboxes || (exports.EventSettingsCheckboxes = {}));
|
|
9
|
+
exports.EventSettingsCheckboxesList = [
|
|
10
|
+
EventSettingsCheckboxes.UPDATED_EVENTS_NOTIFS, EventSettingsCheckboxes.URGENT_EVENT_REMINDER
|
|
11
|
+
];
|
|
12
|
+
var UserEventsSettingsReminders;
|
|
13
|
+
(function (UserEventsSettingsReminders) {
|
|
14
|
+
UserEventsSettingsReminders["FOR_GUEST"] = "FOR_GUEST";
|
|
15
|
+
UserEventsSettingsReminders["FOR_HOST"] = "FOR_HOST";
|
|
16
|
+
})(UserEventsSettingsReminders = exports.UserEventsSettingsReminders || (exports.UserEventsSettingsReminders = {}));
|
|
17
|
+
exports.UserEventsSettingsRemindersList = [
|
|
18
|
+
UserEventsSettingsReminders.FOR_GUEST, UserEventsSettingsReminders.FOR_HOST
|
|
19
|
+
];
|
|
@@ -2,6 +2,7 @@ export * from './account-settings';
|
|
|
2
2
|
export * from './event-settings';
|
|
3
3
|
export * from './deactivate-account';
|
|
4
4
|
export * from './user-notifications-settings';
|
|
5
|
+
export * from './reset-email-verification';
|
|
5
6
|
export * from './user-payments';
|
|
6
7
|
export * from './user-personal-info';
|
|
7
8
|
export * from './user-preferences';
|
|
@@ -14,6 +14,7 @@ __exportStar(require("./account-settings"), exports);
|
|
|
14
14
|
__exportStar(require("./event-settings"), exports);
|
|
15
15
|
__exportStar(require("./deactivate-account"), exports);
|
|
16
16
|
__exportStar(require("./user-notifications-settings"), exports);
|
|
17
|
+
__exportStar(require("./reset-email-verification"), exports);
|
|
17
18
|
__exportStar(require("./user-payments"), exports);
|
|
18
19
|
__exportStar(require("./user-personal-info"), exports);
|
|
19
20
|
__exportStar(require("./user-preferences"), exports);
|
|
@@ -5,7 +5,7 @@ export declare enum Channels {
|
|
|
5
5
|
PUSH = "push-notifications"
|
|
6
6
|
}
|
|
7
7
|
export declare enum UserNotificationDataSettingID {
|
|
8
|
-
|
|
8
|
+
ACTIVITY = "activity",
|
|
9
9
|
RECOMENDATIONS = "recomendations",
|
|
10
10
|
POLICY_UPDATES = "policy-updates",
|
|
11
11
|
SECURITY = "security",
|
|
@@ -8,7 +8,7 @@ var Channels;
|
|
|
8
8
|
})(Channels = exports.Channels || (exports.Channels = {}));
|
|
9
9
|
var UserNotificationDataSettingID;
|
|
10
10
|
(function (UserNotificationDataSettingID) {
|
|
11
|
-
UserNotificationDataSettingID["
|
|
11
|
+
UserNotificationDataSettingID["ACTIVITY"] = "activity";
|
|
12
12
|
UserNotificationDataSettingID["RECOMENDATIONS"] = "recomendations";
|
|
13
13
|
UserNotificationDataSettingID["POLICY_UPDATES"] = "policy-updates";
|
|
14
14
|
UserNotificationDataSettingID["SECURITY"] = "security";
|
|
@@ -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
|
-
gender: Sex;
|
|
19
|
-
birthday:
|
|
20
|
-
year: string;
|
|
21
|
-
month: string;
|
|
22
|
-
day: string;
|
|
23
|
-
};
|
|
31
|
+
gender: Sex | null;
|
|
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
|
+
];
|
|
@@ -3,14 +3,14 @@ import { QueryResponse } from '../common';
|
|
|
3
3
|
export declare enum UserPrivacyCheckboxes {
|
|
4
4
|
AFOAU = "appearForOnlyAuthenticatedUsers",
|
|
5
5
|
PE = "publicEmail",
|
|
6
|
-
PL = "publicLocation"
|
|
6
|
+
PL = "publicLocation",
|
|
7
|
+
PBD = "publicBirthday"
|
|
7
8
|
}
|
|
8
9
|
export interface UserPrivacy {
|
|
9
10
|
[UserPrivacyCheckboxes.AFOAU]: boolean;
|
|
10
11
|
[UserPrivacyCheckboxes.PE]: boolean;
|
|
11
12
|
[UserPrivacyCheckboxes.PL]: boolean;
|
|
12
|
-
|
|
13
|
-
connectedFacebook: boolean;
|
|
13
|
+
[UserPrivacyCheckboxes.PBD]: boolean;
|
|
14
14
|
}
|
|
15
15
|
export interface UserPrivacyCheckboxSectionPhrases<ID extends UserPrivacyCheckboxes> {
|
|
16
16
|
id: ID;
|
|
@@ -20,18 +20,7 @@ export interface UserPrivacyCheckboxSectionPhrases<ID extends UserPrivacyCheckbo
|
|
|
20
20
|
export interface UserPrivacyPhrases {
|
|
21
21
|
settings: {
|
|
22
22
|
privacy: string;
|
|
23
|
-
|
|
24
|
-
checkboxfields: [UserPrivacyCheckboxSectionPhrases<UserPrivacyCheckboxes.AFOAU>, UserPrivacyCheckboxSectionPhrases<UserPrivacyCheckboxes.PE>, UserPrivacyCheckboxSectionPhrases<UserPrivacyCheckboxes.PL>];
|
|
25
|
-
authProviders: {
|
|
26
|
-
connectedgoogle: {
|
|
27
|
-
title: string;
|
|
28
|
-
};
|
|
29
|
-
connectedfacebook: {
|
|
30
|
-
title: string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
connect: string;
|
|
34
|
-
disconnect: string;
|
|
23
|
+
checkboxfields: [UserPrivacyCheckboxSectionPhrases<UserPrivacyCheckboxes.AFOAU>, UserPrivacyCheckboxSectionPhrases<UserPrivacyCheckboxes.PBD>, UserPrivacyCheckboxSectionPhrases<UserPrivacyCheckboxes.PE>, UserPrivacyCheckboxSectionPhrases<UserPrivacyCheckboxes.PL>];
|
|
35
24
|
};
|
|
36
25
|
FAQ: FAQ[];
|
|
37
26
|
}
|
|
@@ -6,4 +6,5 @@ var UserPrivacyCheckboxes;
|
|
|
6
6
|
UserPrivacyCheckboxes["AFOAU"] = "appearForOnlyAuthenticatedUsers";
|
|
7
7
|
UserPrivacyCheckboxes["PE"] = "publicEmail";
|
|
8
8
|
UserPrivacyCheckboxes["PL"] = "publicLocation";
|
|
9
|
+
UserPrivacyCheckboxes["PBD"] = "publicBirthday";
|
|
9
10
|
})(UserPrivacyCheckboxes = exports.UserPrivacyCheckboxes || (exports.UserPrivacyCheckboxes = {}));
|