@jealous-robot-dev/shared-types-responses 1.17.36 → 1.18.1

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.
@@ -7,8 +7,22 @@ export interface ObjectWithTimeStamp<Type> {
7
7
  timestamp: string;
8
8
  data: Type;
9
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
+ }
10
23
  export interface FAQ {
11
24
  question: string;
25
+ icon: ASSIcons;
12
26
  answer: string;
13
27
  linkText?: string;
14
28
  }
@@ -1,6 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Languages = exports.UserPreferences = exports.CurrencyPosition = void 0;
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 = {}));
4
18
  var CurrencyPosition;
5
19
  (function (CurrencyPosition) {
6
20
  CurrencyPosition["BEFORE"] = "before";
@@ -16,7 +16,7 @@ export interface UserEventSettingsData {
16
16
  };
17
17
  }
18
18
  export interface UserEventSettingsPhrases {
19
- FAQ: FAQ;
19
+ FAQ: FAQ[];
20
20
  settings: {
21
21
  eventHost: {
22
22
  title: string;
@@ -3,5 +3,6 @@ export * from './event-settings';
3
3
  export * from './user-notifications-settings';
4
4
  export * from './user-payments';
5
5
  export * from './user-personal-info';
6
+ export * from './user-preferences';
6
7
  export * from './user-privacy';
7
8
  export * from './user-security';
@@ -15,5 +15,6 @@ __exportStar(require("./event-settings"), exports);
15
15
  __exportStar(require("./user-notifications-settings"), exports);
16
16
  __exportStar(require("./user-payments"), exports);
17
17
  __exportStar(require("./user-personal-info"), exports);
18
+ __exportStar(require("./user-preferences"), exports);
18
19
  __exportStar(require("./user-privacy"), exports);
19
20
  __exportStar(require("./user-security"), exports);
@@ -1,4 +1,4 @@
1
- import { QueryResponse } from '../common';
1
+ import { FAQ, QueryResponse } from '../common';
2
2
  export declare enum Channels {
3
3
  EMAIL = "email",
4
4
  PUSH = "push-notifications"
@@ -27,10 +27,7 @@ export interface UserNotificationPhrases {
27
27
  id: Channels;
28
28
  value: string;
29
29
  }[];
30
- FAQ: {
31
- question: string;
32
- answer: string;
33
- };
30
+ FAQ: FAQ[];
34
31
  settings: {
35
32
  id: UserNotificationDataSettingID;
36
33
  title: string;
@@ -9,9 +9,7 @@ export interface UserPaymentSettingsData {
9
9
  paypals: PaypalAccount[];
10
10
  }
11
11
  export interface UserPaymentSettingsPhrases {
12
- FAQ: {
13
- usePaypal: FAQ;
14
- };
12
+ FAQ: FAQ[];
15
13
  settings: {
16
14
  dialogs: {
17
15
  common: {
@@ -27,12 +27,7 @@ export interface UserPersonalInfoInputField {
27
27
  }
28
28
  export interface UserPersonalInfoPhrases {
29
29
  genders: Gender[];
30
- FAQ: {
31
- fields: {
32
- publicFields: FAQ;
33
- emailChanged: FAQ;
34
- };
35
- };
30
+ FAQ: FAQ[];
36
31
  notSpecified: string;
37
32
  SectionNames: {
38
33
  names: string;
@@ -1,12 +1,14 @@
1
1
  import { FAQ, LND } from '../common';
2
- export interface UserPreferences {
3
- FAQ: {
4
- notice_on_currencies: FAQ;
5
- };
2
+ export declare enum UserPreferenceSections {
3
+ LANG = "LANG",
4
+ CURRENCY = "CURRENCY",
5
+ THEME = "THEME"
6
+ }
7
+ export interface UserPreferenceSection extends LND {
8
+ type: UserPreferenceSections;
9
+ }
10
+ export interface UserPreferencePhrases {
11
+ FAQ: FAQ[];
6
12
  title: string;
7
- sections: {
8
- theme: LND;
9
- currency: LND;
10
- language: LND;
11
- };
13
+ sections: UserPreferenceSection[];
12
14
  }
@@ -1,2 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UserPreferenceSections = void 0;
4
+ var UserPreferenceSections;
5
+ (function (UserPreferenceSections) {
6
+ UserPreferenceSections["LANG"] = "LANG";
7
+ UserPreferenceSections["CURRENCY"] = "CURRENCY";
8
+ UserPreferenceSections["THEME"] = "THEME";
9
+ })(UserPreferenceSections = exports.UserPreferenceSections || (exports.UserPreferenceSections = {}));
@@ -32,9 +32,7 @@ export interface UserPrivacyPhrases {
32
32
  connect: string;
33
33
  disconnect: string;
34
34
  };
35
- FAQ: {
36
- enablingPrivacy: FAQ;
37
- };
35
+ FAQ: FAQ[];
38
36
  }
39
37
  export interface UserPrivacyResponse extends QueryResponse<UserPrivacy, UserPrivacyPhrases> {
40
38
  }
@@ -24,10 +24,7 @@ export interface UserSecurity {
24
24
  };
25
25
  }
26
26
  export interface UserSecurityPhrases {
27
- FAQ: {
28
- secureAuth: FAQ;
29
- makeSecure: FAQ;
30
- };
27
+ FAQ: FAQ[];
31
28
  device: {
32
29
  label: string;
33
30
  currentDevice: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.17.36",
3
+ "version": "1.18.1",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",