@jealous-robot-dev/shared-types-responses 1.20.7 → 1.20.12
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 +1 -1
- package/build/services/user-settings/user-privacy.d.ts +5 -15
- package/build/services/user-settings/user-privacy.js +6 -1
- 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";
|
|
@@ -3,15 +3,16 @@ 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
|
+
export declare const UPCL: UserPrivacyCheckboxes[];
|
|
15
16
|
export interface UserPrivacyCheckboxSectionPhrases<ID extends UserPrivacyCheckboxes> {
|
|
16
17
|
id: ID;
|
|
17
18
|
title: string;
|
|
@@ -20,18 +21,7 @@ export interface UserPrivacyCheckboxSectionPhrases<ID extends UserPrivacyCheckbo
|
|
|
20
21
|
export interface UserPrivacyPhrases {
|
|
21
22
|
settings: {
|
|
22
23
|
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;
|
|
24
|
+
checkboxfields: [UserPrivacyCheckboxSectionPhrases<UserPrivacyCheckboxes.AFOAU>, UserPrivacyCheckboxSectionPhrases<UserPrivacyCheckboxes.PBD>, UserPrivacyCheckboxSectionPhrases<UserPrivacyCheckboxes.PE>, UserPrivacyCheckboxSectionPhrases<UserPrivacyCheckboxes.PL>];
|
|
35
25
|
};
|
|
36
26
|
FAQ: FAQ[];
|
|
37
27
|
}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UserPrivacyCheckboxes = void 0;
|
|
3
|
+
exports.UPCL = exports.UserPrivacyCheckboxes = void 0;
|
|
4
4
|
var UserPrivacyCheckboxes;
|
|
5
5
|
(function (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 = {}));
|
|
11
|
+
exports.UPCL = [
|
|
12
|
+
UserPrivacyCheckboxes.AFOAU, UserPrivacyCheckboxes.PBD,
|
|
13
|
+
UserPrivacyCheckboxes.PE, UserPrivacyCheckboxes.PL
|
|
14
|
+
];
|