@jealous-robot-dev/shared-types-responses 1.19.10 → 1.19.14

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.
Files changed (30) hide show
  1. package/build/services/common.d.ts +2 -38
  2. package/build/services/common.js +2 -15
  3. package/build/services/cookies.d.ts +4 -3
  4. package/build/services/cookies.js +11 -5
  5. package/build/services/forms/authentication.d.ts +3 -12
  6. package/build/services/forms/authentication.js +2 -14
  7. package/build/services/forms/forgot-password.d.ts +2 -1
  8. package/build/services/main-data.d.ts +6 -54
  9. package/build/services/main-data.js +1 -72
  10. package/build/services/static-components/calculator.js +3 -0
  11. package/build/services/static-components/footer.d.ts +1 -6
  12. package/build/services/static-components/footer.js +0 -8
  13. package/build/services/static-components/searchbar.d.ts +0 -5
  14. package/build/services/static-components/searchbar.js +0 -7
  15. package/build/services/static-components/smart-header.d.ts +1 -10
  16. package/build/services/static-components/smart-header.js +0 -12
  17. package/build/services/stats/user-notifications.d.ts +3 -2
  18. package/build/services/stats/user-notifications.js +3 -2
  19. package/build/services/user/cancellations.d.ts +9 -0
  20. package/build/services/user/cancellations.js +2 -0
  21. package/build/services/user/index.d.ts +1 -0
  22. package/build/services/user/index.js +1 -0
  23. package/build/services/user-settings/event-settings.d.ts +2 -1
  24. package/build/services/user-settings/user-notifications-settings.d.ts +2 -1
  25. package/build/services/user-settings/user-payments.d.ts +2 -1
  26. package/build/services/user-settings/user-personal-info.d.ts +2 -1
  27. package/build/services/user-settings/user-preferences.d.ts +2 -1
  28. package/build/services/user-settings/user-privacy.d.ts +2 -1
  29. package/build/services/user-settings/user-security.d.ts +8 -2
  30. package/package.json +4 -2
@@ -3,38 +3,10 @@ export interface QueryResponse<Data, Phrases = any> {
3
3
  data: Data;
4
4
  phrases: Phrases;
5
5
  }
6
- export interface ObjectWithTimeStamp<Type> {
7
- timestamp: string;
8
- data: Type;
9
- }
10
- export declare enum ASSIcons {
11
- PREFS = "PREFS",
12
- SECURITY = "SECURITY",
13
- MAKE_SECURE = "MAKE_SECURE",
14
- PRIVACY = "PRIVACY",
15
- PAYMENTS = "PAYMENTS",
16
- TRANSACTIONS = "TRANSACTIONS",
17
- NOTIFS = "NOTIFS",
18
- EVTS = "EVTS",
19
- EVTS_FAQ = "EVTS_FAQ",
20
- PERSONAL_INFO = "PERSONAL_INFO",
21
- MSG = "MSG"
22
- }
23
- export interface FAQ {
24
- question: string;
25
- icon: ASSIcons;
26
- answer: string;
27
- linkText?: string;
28
- }
29
6
  export interface Country {
30
7
  domain: string;
31
8
  name: string;
32
9
  }
33
- export interface FormWarning {
34
- enter?: string;
35
- inUse?: string;
36
- invalid?: string;
37
- }
38
10
  export interface Currency {
39
11
  code: string;
40
12
  name: string;
@@ -64,16 +36,8 @@ export declare enum CurrencyPosition {
64
36
  }
65
37
  export declare enum UserPreferences {
66
38
  CURRENCY = "CURRENCY",
67
- LANGUAGE = "LANGUAGE"
68
- }
69
- export interface CurrencyPhrased {
70
- code: string;
71
- id: string;
72
- name: string;
73
- symbol: string;
74
- unicode_symbol: string;
75
- space_between_price_and_symbol: boolean;
76
- position: CurrencyPosition;
39
+ LANGUAGE = "LANGUAGE",
40
+ THEME = "THEME"
77
41
  }
78
42
  export declare enum Languages {
79
43
  BENGAL = "Bengali",
@@ -1,20 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Languages = exports.UserPreferences = exports.CurrencyPosition = exports.ASSIcons = void 0;
4
- var ASSIcons;
5
- (function (ASSIcons) {
6
- ASSIcons["PREFS"] = "PREFS";
7
- ASSIcons["SECURITY"] = "SECURITY";
8
- ASSIcons["MAKE_SECURE"] = "MAKE_SECURE";
9
- ASSIcons["PRIVACY"] = "PRIVACY";
10
- ASSIcons["PAYMENTS"] = "PAYMENTS";
11
- ASSIcons["TRANSACTIONS"] = "TRANSACTIONS";
12
- ASSIcons["NOTIFS"] = "NOTIFS";
13
- ASSIcons["EVTS"] = "EVTS";
14
- ASSIcons["EVTS_FAQ"] = "EVTS_FAQ";
15
- ASSIcons["PERSONAL_INFO"] = "PERSONAL_INFO";
16
- ASSIcons["MSG"] = "MSG";
17
- })(ASSIcons = exports.ASSIcons || (exports.ASSIcons = {}));
3
+ exports.Languages = exports.UserPreferences = exports.CurrencyPosition = void 0;
18
4
  var CurrencyPosition;
19
5
  (function (CurrencyPosition) {
20
6
  CurrencyPosition["BEFORE"] = "before";
@@ -24,6 +10,7 @@ var UserPreferences;
24
10
  (function (UserPreferences) {
25
11
  UserPreferences["CURRENCY"] = "CURRENCY";
26
12
  UserPreferences["LANGUAGE"] = "LANGUAGE";
13
+ UserPreferences["THEME"] = "THEME";
27
14
  })(UserPreferences = exports.UserPreferences || (exports.UserPreferences = {}));
28
15
  var Languages;
29
16
  (function (Languages) {
@@ -10,6 +10,7 @@ export declare enum Cookies {
10
10
  NEW_MEMBER = "_nm",
11
11
  AUTH_CTX = "a_ctx"
12
12
  }
13
+ export declare const ListedCookes: Cookies[];
13
14
  export declare enum PermissionCookies {
14
15
  PW_RESET_VERIFICATION = "pwrv",
15
16
  DELETE_ACCOUNT = "_da",
@@ -18,8 +19,8 @@ export declare enum PermissionCookies {
18
19
  DELETE_EVENT = "_de"
19
20
  }
20
21
  export declare enum CookieAges {
21
- SHORT = 3600,
22
- MEDIUM = 43200,
23
- LARGE = 2592000
22
+ SHORT = 3600000,
23
+ MEDIUM = 43200000,
24
+ LARGE = 2592000000
24
25
  }
25
26
  export declare const PWRequiringPermissionsList: PermissionCookies[];
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PWRequiringPermissionsList = exports.CookieAges = exports.PermissionCookies = exports.Cookies = void 0;
3
+ exports.PWRequiringPermissionsList = exports.CookieAges = exports.PermissionCookies = exports.ListedCookes = exports.Cookies = void 0;
4
4
  var Cookies;
5
5
  (function (Cookies) {
6
6
  Cookies["CSFR_TOKEN"] = "_csrf";
@@ -14,6 +14,12 @@ var Cookies;
14
14
  Cookies["NEW_MEMBER"] = "_nm";
15
15
  Cookies["AUTH_CTX"] = "a_ctx";
16
16
  })(Cookies = exports.Cookies || (exports.Cookies = {}));
17
+ exports.ListedCookes = [
18
+ Cookies.AUTH_CTX, Cookies.CONSENT, Cookies.CSFR_TOKEN,
19
+ Cookies.CURRENCY, Cookies.DEVICE_ID, Cookies.LOCALE_ID,
20
+ Cookies.NEW_MEMBER, Cookies.REMEMBERED_USER, Cookies.SESSION_PASS,
21
+ Cookies.UITHEME
22
+ ];
17
23
  var PermissionCookies;
18
24
  (function (PermissionCookies) {
19
25
  PermissionCookies["PW_RESET_VERIFICATION"] = "pwrv";
@@ -24,13 +30,13 @@ var PermissionCookies;
24
30
  })(PermissionCookies = exports.PermissionCookies || (exports.PermissionCookies = {}));
25
31
  var CookieAges;
26
32
  (function (CookieAges) {
27
- CookieAges[CookieAges["SHORT"] = 3600] = "SHORT";
28
- CookieAges[CookieAges["MEDIUM"] = 43200] = "MEDIUM";
29
- CookieAges[CookieAges["LARGE"] = 2592000] = "LARGE";
33
+ CookieAges[CookieAges["SHORT"] = 3600000] = "SHORT";
34
+ CookieAges[CookieAges["MEDIUM"] = 43200000] = "MEDIUM";
35
+ CookieAges[CookieAges["LARGE"] = 2592000000] = "LARGE";
30
36
  })(CookieAges = exports.CookieAges || (exports.CookieAges = {}));
31
37
  exports.PWRequiringPermissionsList = [
32
38
  PermissionCookies.DELETE_ACCOUNT,
33
39
  PermissionCookies.SUSPEND_EVENT,
34
40
  PermissionCookies.RESUME_EVENT,
35
- PermissionCookies.DELETE_ACCOUNT,
41
+ PermissionCookies.DELETE_EVENT,
36
42
  ];
@@ -1,4 +1,5 @@
1
- import { FormWarning, LND, PasswordCharacteristics } from '../common';
1
+ import { LND, PasswordCharacteristics } from '../common';
2
+ import { FormWarning } from '@jealous-robot-dev/shared-ui-lib';
2
3
  export declare enum AuthenticationProviders {
3
4
  GOOGLE = "google",
4
5
  FACEBOOK = "facebook",
@@ -10,13 +11,7 @@ export declare enum AuthID {
10
11
  EMAIL = "email",
11
12
  USERNAME = "username"
12
13
  }
13
- export declare enum AuthenticationWindows {
14
- WELCOME_BACK = "welcome back",
15
- FINISH_SIGNUP = "finish sign up",
16
- VERIFY_EMAIL = "verify email",
17
- VERIFY_DEVICE = "verify device",
18
- WELCOME = "welcome"
19
- }
14
+ export declare const authIDList: AuthID[];
20
15
  export interface AuthFormExternalLinks {
21
16
  label: string;
22
17
  button: string;
@@ -120,10 +115,6 @@ export interface ShortAuthFormData {
120
115
  export interface AuthFormData {
121
116
  prev_session?: ShortAuthFormData;
122
117
  }
123
- export declare enum AUTH_ID_TYPE {
124
- EMAIL = "EMAIL",
125
- USERNAME = "USERNAME"
126
- }
127
118
  export declare enum PositiveAuthResponse {
128
119
  NEW_USER = "NEW_USER",
129
120
  WELCOME_BACK = "WELCOME_BACK",
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeviceVerificationResults = exports.PositiveAuthResponse = exports.AUTH_ID_TYPE = exports.AuthenticationWindows = exports.AuthID = exports.AuthInstrumentsList = exports.AuthenticationProviders = void 0;
3
+ exports.DeviceVerificationResults = exports.PositiveAuthResponse = exports.authIDList = exports.AuthID = exports.AuthInstrumentsList = exports.AuthenticationProviders = void 0;
4
4
  var AuthenticationProviders;
5
5
  (function (AuthenticationProviders) {
6
6
  AuthenticationProviders["GOOGLE"] = "google";
@@ -14,19 +14,7 @@ var AuthID;
14
14
  AuthID["EMAIL"] = "email";
15
15
  AuthID["USERNAME"] = "username";
16
16
  })(AuthID = exports.AuthID || (exports.AuthID = {}));
17
- var AuthenticationWindows;
18
- (function (AuthenticationWindows) {
19
- AuthenticationWindows["WELCOME_BACK"] = "welcome back";
20
- AuthenticationWindows["FINISH_SIGNUP"] = "finish sign up";
21
- AuthenticationWindows["VERIFY_EMAIL"] = "verify email";
22
- AuthenticationWindows["VERIFY_DEVICE"] = "verify device";
23
- AuthenticationWindows["WELCOME"] = "welcome";
24
- })(AuthenticationWindows = exports.AuthenticationWindows || (exports.AuthenticationWindows = {}));
25
- var AUTH_ID_TYPE;
26
- (function (AUTH_ID_TYPE) {
27
- AUTH_ID_TYPE["EMAIL"] = "EMAIL";
28
- AUTH_ID_TYPE["USERNAME"] = "USERNAME";
29
- })(AUTH_ID_TYPE = exports.AUTH_ID_TYPE || (exports.AUTH_ID_TYPE = {}));
17
+ exports.authIDList = [AuthID.EMAIL, AuthID.USERNAME];
30
18
  var PositiveAuthResponse;
31
19
  (function (PositiveAuthResponse) {
32
20
  PositiveAuthResponse["NEW_USER"] = "NEW_USER";
@@ -1,5 +1,6 @@
1
- import { FormWarning, LND } from '../common';
1
+ import { LND } from '../common';
2
2
  import { AuthFormExternalLinks } from './authentication';
3
+ import { FormWarning } from '@jealous-robot-dev/shared-ui-lib';
3
4
  export interface ForgotPasswordFormPhrases {
4
5
  title: string;
5
6
  description: string;
@@ -1,36 +1,6 @@
1
+ import { DropWebEnv, Pages } from '@jealous-robot-dev/shared-ui-lib';
1
2
  import { UrgentEvent } from '..';
2
3
  import { Currency, Locale, QueryResponse } from './common';
3
- export declare enum Pages {
4
- NOTIFICATIONS = "notifications",
5
- MESSENGER = "messenger",
6
- PROFILE = "profile",
7
- EVENT_MANAGER = "event-manager",
8
- SCHEDULE = "schedule",
9
- HOST = "host",
10
- EXPLORER = "explorer",
11
- USER_SETTINGS = "user-settings",
12
- PERFORMANCE = "performance",
13
- PAYMENT_HISTORY = "payment-history",
14
- COLLECTIONS = "collections",
15
- INVITE = "invite",
16
- IMPRESSIONS = "impressions",
17
- HOST_AN_EVENT = "host-an-event",
18
- BECOME_A_HOST = "become-a-host",
19
- VISITING_EVENTS = "visiting-events",
20
- LOGIN_OR_SIGNUP = "login-or-signup",
21
- FORGOT_PASSWORD = "forgot-password",
22
- RESET_PASSWORD = "reset-password",
23
- VIEW_EVENT = "view-event",
24
- CHECKOUT = "checkout",
25
- SEARCH_USERS = "search-users",
26
- SEARCH_EVENTS = "search-events",
27
- VERIFY_DEVICE = "verify-device",
28
- HELP = "help"
29
- }
30
- export declare const GUEST_EXPERIENCE_PAGES: Pages[];
31
- export declare const HOST_EXPERIENCE_PAGES: Pages[];
32
- export declare const SHARED_EXPERIENCE_PAGES: Pages[];
33
- export declare const EVENT_EXPERIENCE_PAGES: Pages[];
34
4
  export declare enum UITHEME {
35
5
  DARK = "dark",
36
6
  LIGHT = "light"
@@ -59,36 +29,18 @@ export interface MainUserData {
59
29
  is_organiser: boolean;
60
30
  urgent_event?: UrgentEvent;
61
31
  }
62
- export declare enum Paths {
63
- MAIN = "/",
64
- BECOME_A_HOST = "/become-a-host",
65
- CHECKOUT = "/events/booking",
66
- NOTIFICATIONS = "/notifications",
67
- MANAGE_EVENTS = "/scheduling/events",
68
- COLLECTIONS = "/collections",
69
- PROFILE = "/profile/",
70
- ACCOUNT_SETTINGS = "/account-settings",
71
- VISITOR_EVENT = "/visiting-events",
72
- HOST_AN_EVENT = "/schedule-event/intro",
73
- VIEW_EVENT = "/events/",
74
- RESET_PASSWORD = "/set_new_password",
75
- MESSENGER = "/inbox",
76
- HOST_HUB = "/host",
77
- SCHEDULE = "/schedule",
78
- INVITE = "/invite",
79
- LOGIN_OR_SIGNUP = "/login_or_signup",
80
- FORGOT_PASSWORD = "/forgot_password",
81
- SEARCH_USERS = "/search/users",
82
- SEARCH_EVENTS = "/search/events",
83
- PAYMENT_HISTORY = "/payment-history",
84
- PERFORMANCE = "/performance/reviews"
32
+ export interface API {
33
+ googleOAuthClient: string;
34
+ fbAuthClient: string;
85
35
  }
86
36
  export interface CommonData {
87
37
  currentUser: MainUserData | null;
88
38
  no_consent?: boolean;
89
39
  device_id: string | null;
90
40
  page: Pages;
41
+ dropWebEnv: DropWebEnv;
91
42
  direction: TextDirection;
43
+ API: API;
92
44
  preferences: {
93
45
  locale: Locale;
94
46
  currency: Currency;
@@ -1,52 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Paths = exports.TextDirection = exports.UITHEME = exports.EVENT_EXPERIENCE_PAGES = exports.SHARED_EXPERIENCE_PAGES = exports.HOST_EXPERIENCE_PAGES = exports.GUEST_EXPERIENCE_PAGES = exports.Pages = void 0;
4
- var Pages;
5
- (function (Pages) {
6
- Pages["NOTIFICATIONS"] = "notifications";
7
- Pages["MESSENGER"] = "messenger";
8
- Pages["PROFILE"] = "profile";
9
- Pages["EVENT_MANAGER"] = "event-manager";
10
- Pages["SCHEDULE"] = "schedule";
11
- Pages["HOST"] = "host";
12
- Pages["EXPLORER"] = "explorer";
13
- Pages["USER_SETTINGS"] = "user-settings";
14
- Pages["PERFORMANCE"] = "performance";
15
- Pages["PAYMENT_HISTORY"] = "payment-history";
16
- Pages["COLLECTIONS"] = "collections";
17
- Pages["INVITE"] = "invite";
18
- Pages["IMPRESSIONS"] = "impressions";
19
- Pages["HOST_AN_EVENT"] = "host-an-event";
20
- Pages["BECOME_A_HOST"] = "become-a-host";
21
- Pages["VISITING_EVENTS"] = "visiting-events";
22
- Pages["LOGIN_OR_SIGNUP"] = "login-or-signup";
23
- Pages["FORGOT_PASSWORD"] = "forgot-password";
24
- Pages["RESET_PASSWORD"] = "reset-password";
25
- Pages["VIEW_EVENT"] = "view-event";
26
- Pages["CHECKOUT"] = "checkout";
27
- Pages["SEARCH_USERS"] = "search-users";
28
- Pages["SEARCH_EVENTS"] = "search-events";
29
- Pages["VERIFY_DEVICE"] = "verify-device";
30
- Pages["HELP"] = "help";
31
- })(Pages = exports.Pages || (exports.Pages = {}));
32
- exports.GUEST_EXPERIENCE_PAGES = [
33
- Pages.COLLECTIONS, Pages.EXPLORER,
34
- Pages.PROFILE, Pages.SEARCH_USERS,
35
- Pages.USER_SETTINGS, Pages.VISITING_EVENTS,
36
- Pages.SEARCH_EVENTS, Pages.INVITE,
37
- Pages.LOGIN_OR_SIGNUP, Pages.FORGOT_PASSWORD,
38
- Pages.RESET_PASSWORD
39
- ];
40
- exports.HOST_EXPERIENCE_PAGES = [
41
- Pages.EVENT_MANAGER, Pages.HOST, Pages.PERFORMANCE
42
- ];
43
- exports.SHARED_EXPERIENCE_PAGES = [
44
- Pages.PAYMENT_HISTORY, Pages.NOTIFICATIONS,
45
- Pages.MESSENGER, Pages.SCHEDULE
46
- ];
47
- exports.EVENT_EXPERIENCE_PAGES = [
48
- Pages.VIEW_EVENT, Pages.CHECKOUT
49
- ];
3
+ exports.TextDirection = exports.UITHEME = void 0;
50
4
  var UITHEME;
51
5
  (function (UITHEME) {
52
6
  UITHEME["DARK"] = "dark";
@@ -57,28 +11,3 @@ var TextDirection;
57
11
  TextDirection["RIGHT"] = "rtl";
58
12
  TextDirection["LEFT"] = "ltr";
59
13
  })(TextDirection = exports.TextDirection || (exports.TextDirection = {}));
60
- var Paths;
61
- (function (Paths) {
62
- Paths["MAIN"] = "/";
63
- Paths["BECOME_A_HOST"] = "/become-a-host";
64
- Paths["CHECKOUT"] = "/events/booking";
65
- Paths["NOTIFICATIONS"] = "/notifications";
66
- Paths["MANAGE_EVENTS"] = "/scheduling/events";
67
- Paths["COLLECTIONS"] = "/collections";
68
- Paths["PROFILE"] = "/profile/";
69
- Paths["ACCOUNT_SETTINGS"] = "/account-settings";
70
- Paths["VISITOR_EVENT"] = "/visiting-events";
71
- Paths["HOST_AN_EVENT"] = "/schedule-event/intro";
72
- Paths["VIEW_EVENT"] = "/events/";
73
- Paths["RESET_PASSWORD"] = "/set_new_password";
74
- Paths["MESSENGER"] = "/inbox";
75
- Paths["HOST_HUB"] = "/host";
76
- Paths["SCHEDULE"] = "/schedule";
77
- Paths["INVITE"] = "/invite";
78
- Paths["LOGIN_OR_SIGNUP"] = "/login_or_signup";
79
- Paths["FORGOT_PASSWORD"] = "/forgot_password";
80
- Paths["SEARCH_USERS"] = "/search/users";
81
- Paths["SEARCH_EVENTS"] = "/search/events";
82
- Paths["PAYMENT_HISTORY"] = "/payment-history";
83
- Paths["PERFORMANCE"] = "/performance/reviews";
84
- })(Paths = exports.Paths || (exports.Paths = {}));
@@ -1,2 +1,5 @@
1
1
  "use strict";
2
+ /*
3
+ Projected Income Calculator
4
+ */
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +1,4 @@
1
- export declare enum FooterSections {
2
- ABOUT = "about",
3
- COMMUNITY = "community",
4
- VISITOR = "visitor",
5
- HOST = "host"
6
- }
1
+ import { FooterSections } from '@jealous-robot-dev/shared-ui-lib';
7
2
  export interface FooterSection {
8
3
  id: FooterSections;
9
4
  index: number;
@@ -1,10 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FooterSections = void 0;
4
- var FooterSections;
5
- (function (FooterSections) {
6
- FooterSections["ABOUT"] = "about";
7
- FooterSections["COMMUNITY"] = "community";
8
- FooterSections["VISITOR"] = "visitor";
9
- FooterSections["HOST"] = "host";
10
- })(FooterSections = exports.FooterSections || (exports.FooterSections = {}));
@@ -1,10 +1,5 @@
1
1
  import { Language, LND, QueryResponse } from "../common";
2
2
  import { PhrasedEventType } from "../events";
3
- export declare enum SearchCategories {
4
- EVENTS = "events",
5
- USERS = "users",
6
- TAGS = "tags"
7
- }
8
3
  export interface SearchbarPhrases {
9
4
  category_labels: {
10
5
  events: string;
@@ -1,9 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SearchCategories = void 0;
4
- var SearchCategories;
5
- (function (SearchCategories) {
6
- SearchCategories["EVENTS"] = "events";
7
- SearchCategories["USERS"] = "users";
8
- SearchCategories["TAGS"] = "tags";
9
- })(SearchCategories = exports.SearchCategories || (exports.SearchCategories = {}));
@@ -1,8 +1,4 @@
1
- import { Pages } from "../main-data";
2
- export declare enum MobileNavTypes {
3
- HOST = "host",
4
- GUEST = "guest"
5
- }
1
+ import { Pages, SHFieldLinkType } from "@jealous-robot-dev/shared-ui-lib";
6
2
  export interface SmartHeaderPhrases {
7
3
  sections: {
8
4
  activity: string;
@@ -38,11 +34,6 @@ export interface SmartHeaderPhrases {
38
34
  more: string;
39
35
  };
40
36
  }
41
- export declare enum SHFieldLinkType {
42
- SPA = "SPA",
43
- SHARP = "SHARP",
44
- EXTERNAL = "EXTERNAL"
45
- }
46
37
  export interface SHField {
47
38
  href: string;
48
39
  label: string;
@@ -1,14 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SHFieldLinkType = exports.MobileNavTypes = void 0;
4
- var MobileNavTypes;
5
- (function (MobileNavTypes) {
6
- MobileNavTypes["HOST"] = "host";
7
- MobileNavTypes["GUEST"] = "guest";
8
- })(MobileNavTypes = exports.MobileNavTypes || (exports.MobileNavTypes = {}));
9
- var SHFieldLinkType;
10
- (function (SHFieldLinkType) {
11
- SHFieldLinkType["SPA"] = "SPA";
12
- SHFieldLinkType["SHARP"] = "SHARP";
13
- SHFieldLinkType["EXTERNAL"] = "EXTERNAL";
14
- })(SHFieldLinkType = exports.SHFieldLinkType || (exports.SHFieldLinkType = {}));
@@ -5,15 +5,16 @@ export declare enum NotificationCategory {
5
5
  }
6
6
  export declare enum NotificationTypes {
7
7
  VISITOR_EVENT_REMINDER = "visit event reminder",
8
+ PASSWORD_RESET = "password reset",
8
9
  FOLLOWING_ORGANISED_EVENT = "following organised event",
9
- SECURITY = "security",
10
10
  EVENT_UPDATES = "event updates",
11
11
  POLICY = "policy",
12
12
  RECOMENDATIONS = "recomendations",
13
13
  NEW_FOLLOWER = "new follower",
14
+ REVIEW_RECEIVED = "review received",
14
15
  PAYOUT_RECIEVED = "payout received",
15
16
  NEW_BOOKING = "new booking",
16
- ORGANISER_EVENT_REMINDER = "organiser event reminder"
17
+ HOST_EVENT_REMINDER = "host event reminder"
17
18
  }
18
19
  export interface WebNotification {
19
20
  notification_id: string;
@@ -9,13 +9,14 @@ var NotificationCategory;
9
9
  var NotificationTypes;
10
10
  (function (NotificationTypes) {
11
11
  NotificationTypes["VISITOR_EVENT_REMINDER"] = "visit event reminder";
12
+ NotificationTypes["PASSWORD_RESET"] = "password reset";
12
13
  NotificationTypes["FOLLOWING_ORGANISED_EVENT"] = "following organised event";
13
- NotificationTypes["SECURITY"] = "security";
14
14
  NotificationTypes["EVENT_UPDATES"] = "event updates";
15
15
  NotificationTypes["POLICY"] = "policy";
16
16
  NotificationTypes["RECOMENDATIONS"] = "recomendations";
17
17
  NotificationTypes["NEW_FOLLOWER"] = "new follower";
18
+ NotificationTypes["REVIEW_RECEIVED"] = "review received";
18
19
  NotificationTypes["PAYOUT_RECIEVED"] = "payout received";
19
20
  NotificationTypes["NEW_BOOKING"] = "new booking";
20
- NotificationTypes["ORGANISER_EVENT_REMINDER"] = "organiser event reminder";
21
+ NotificationTypes["HOST_EVENT_REMINDER"] = "host event reminder";
21
22
  })(NotificationTypes = exports.NotificationTypes || (exports.NotificationTypes = {}));
@@ -0,0 +1,9 @@
1
+ export interface PasswordResetCancelation {
2
+ loading_title: string;
3
+ title: string;
4
+ error: string;
5
+ success: string;
6
+ go_to_main: string;
7
+ }
8
+ export interface DeviceVerificationCencelation extends PasswordResetCancelation {
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,6 @@
1
1
  export * from './profile-basic-data';
2
2
  export * from './invite';
3
3
  export * from './collections';
4
+ export * from './cancellations';
4
5
  export * from './search-user';
5
6
  export * from './404';
@@ -13,5 +13,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
13
13
  __exportStar(require("./profile-basic-data"), exports);
14
14
  __exportStar(require("./invite"), exports);
15
15
  __exportStar(require("./collections"), exports);
16
+ __exportStar(require("./cancellations"), exports);
16
17
  __exportStar(require("./search-user"), exports);
17
18
  __exportStar(require("./404"), exports);
@@ -1,4 +1,5 @@
1
- import { QueryResponse, FAQ, LND } from '../common';
1
+ import { QueryResponse, LND } from '../common';
2
+ import { FAQ } from '@jealous-robot-dev/shared-ui-lib';
2
3
  export interface UserEventSettingsData {
3
4
  eventVisitor: {
4
5
  updatedEvents: boolean;
@@ -1,4 +1,5 @@
1
- import { FAQ, QueryResponse } from '../common';
1
+ import { QueryResponse } from '../common';
2
+ import { FAQ } from '@jealous-robot-dev/shared-ui-lib';
2
3
  export declare enum Channels {
3
4
  EMAIL = "email",
4
5
  PUSH = "push-notifications"
@@ -1,4 +1,5 @@
1
- import { FAQ, LND, QueryResponse } from '../common';
1
+ import { LND, QueryResponse } from '../common';
2
+ import { FAQ } from '@jealous-robot-dev/shared-ui-lib';
2
3
  export interface PaypalAccount {
3
4
  id: string;
4
5
  email: string;
@@ -1,4 +1,5 @@
1
- import { FAQ, FormWarning, QueryResponse } from '../common';
1
+ import { QueryResponse } from '../common';
2
+ import { FAQ, FormWarning } from '@jealous-robot-dev/shared-ui-lib';
2
3
  export declare enum Sex {
3
4
  MALE = "male",
4
5
  FEMALE = "female",
@@ -1,4 +1,5 @@
1
- import { FAQ, LND } from '../common';
1
+ import { FAQ } from '@jealous-robot-dev/shared-ui-lib';
2
+ import { LND } from '../common';
2
3
  export declare enum UserPreferenceSections {
3
4
  LANG = "LANG",
4
5
  CURRENCY = "CURRENCY",
@@ -1,4 +1,5 @@
1
- import { FAQ, QueryResponse } from '../common';
1
+ import { FAQ } from '@jealous-robot-dev/shared-ui-lib';
2
+ import { QueryResponse } from '../common';
2
3
  export declare enum UserPrivacyCheckboxes {
3
4
  AFOAU = "appearForOnlyAuthenticatedUsers",
4
5
  PE = "publicEmail",
@@ -1,6 +1,7 @@
1
- import { FAQ, FormWarning, QueryResponse, PasswordCharacteristics } from '../common';
1
+ import { QueryResponse, PasswordCharacteristics } from '../common';
2
+ import { FAQ, FormWarning } from '@jealous-robot-dev/shared-ui-lib';
2
3
  export interface UserDevice {
3
- DUID: string;
4
+ deviceId: string;
4
5
  os: {
5
6
  osName: string;
6
7
  osVersion: string;
@@ -11,11 +12,13 @@ export interface UserDevice {
11
12
  country?: string;
12
13
  city?: string;
13
14
  lastLoggedIn: string;
15
+ isLoggedIn: boolean;
14
16
  current: boolean;
15
17
  }
16
18
  export interface UserSecurity {
17
19
  lastUpdateOfPassword: string;
18
20
  secureAuth: boolean;
21
+ useUsernameAsId: boolean;
19
22
  notifyAboutNewDevice: boolean;
20
23
  devices: UserDevice[];
21
24
  blacklist: {
@@ -37,6 +40,9 @@ export interface UserSecurityPhrases {
37
40
  secureAuth: {
38
41
  label: string;
39
42
  };
43
+ useUsernameAsId: {
44
+ label: string;
45
+ };
40
46
  };
41
47
  };
42
48
  blacklist: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.19.10",
3
+ "version": "1.19.14",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -23,5 +23,7 @@
23
23
  "del-cli": "^3.0.0",
24
24
  "typescript": "^3.8.3"
25
25
  },
26
- "dependencies": {}
26
+ "dependencies": {
27
+ "@jealous-robot-dev/shared-ui-lib": "^1.0.6"
28
+ }
27
29
  }