@jealous-robot-dev/shared-types-responses 1.20.4 → 1.20.8

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.
@@ -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
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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
+ ];
@@ -1,6 +1,8 @@
1
1
  export * from './account-settings';
2
2
  export * from './event-settings';
3
+ export * from './deactivate-account';
3
4
  export * from './user-notifications-settings';
5
+ export * from './reset-email-verification';
4
6
  export * from './user-payments';
5
7
  export * from './user-personal-info';
6
8
  export * from './user-preferences';
@@ -12,7 +12,9 @@ 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);
17
+ __exportStar(require("./reset-email-verification"), exports);
16
18
  __exportStar(require("./user-payments"), exports);
17
19
  __exportStar(require("./user-personal-info"), exports);
18
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";
@@ -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
+ ];
@@ -9,8 +9,6 @@ export interface UserPrivacy {
9
9
  [UserPrivacyCheckboxes.AFOAU]: boolean;
10
10
  [UserPrivacyCheckboxes.PE]: boolean;
11
11
  [UserPrivacyCheckboxes.PL]: boolean;
12
- connectedGoogle: boolean;
13
- connectedFacebook: boolean;
14
12
  }
15
13
  export interface UserPrivacyCheckboxSectionPhrases<ID extends UserPrivacyCheckboxes> {
16
14
  id: ID;
@@ -22,14 +20,6 @@ export interface UserPrivacyPhrases {
22
20
  privacy: string;
23
21
  connections: string;
24
22
  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
23
  connect: string;
34
24
  disconnect: string;
35
25
  };
@@ -63,6 +63,7 @@ export interface UserSecurityPhrases {
63
63
  auth: {
64
64
  label: string;
65
65
  formLabel: string;
66
+ deactivate_account: string;
66
67
  lastUpdated: string;
67
68
  buttonLabel: string;
68
69
  pw_characteristics: PasswordCharacteristics;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.20.4",
3
+ "version": "1.20.8",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",