@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.
@@ -86,6 +86,7 @@ export interface VerifyEmailPhrases {
86
86
  title: string;
87
87
  description: string;
88
88
  input: AuthFormInputField;
89
+ resend: LND;
89
90
  }
90
91
  export interface VerifyDevicePhrases {
91
92
  title: string;
@@ -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
- eventVisitor: {
5
- updatedEvents: boolean;
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);
@@ -0,0 +1,9 @@
1
+ import { LND } from "../common";
2
+ import { AuthFormInputField } from "../forms";
3
+ export interface AccountSettingsEmailReset {
4
+ title: string;
5
+ description: string;
6
+ code: AuthFormInputField;
7
+ cancel: string;
8
+ resend: LND;
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -5,7 +5,7 @@ export declare enum Channels {
5
5
  PUSH = "push-notifications"
6
6
  }
7
7
  export declare enum UserNotificationDataSettingID {
8
- MESSAGE = "messages",
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["MESSAGE"] = "messages";
11
+ UserNotificationDataSettingID["ACTIVITY"] = "activity";
12
12
  UserNotificationDataSettingID["RECOMENDATIONS"] = "recomendations";
13
13
  UserNotificationDataSettingID["POLICY_UPDATES"] = "policy-updates";
14
14
  UserNotificationDataSettingID["SECURITY"] = "security";
@@ -28,7 +28,7 @@ export interface UserPersonalInfo {
28
28
  firstname: string;
29
29
  lastname: string;
30
30
  email: string;
31
- gender: Sex;
31
+ gender: Sex | null;
32
32
  birthday: PersonalInfoBirthday | null;
33
33
  }
34
34
  export interface UserPersonalInfoInputField {
@@ -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
- connectedGoogle: boolean;
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
- connections: string;
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
+ ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.20.7",
3
+ "version": "1.20.12",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",