@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.
- package/build/services/common.d.ts +14 -0
- package/build/services/common.js +15 -1
- package/build/services/user-settings/event-settings.d.ts +1 -1
- package/build/services/user-settings/index.d.ts +1 -0
- package/build/services/user-settings/index.js +1 -0
- package/build/services/user-settings/user-notifications-settings.d.ts +2 -5
- package/build/services/user-settings/user-payments.d.ts +1 -3
- package/build/services/user-settings/user-personal-info.d.ts +1 -6
- package/build/services/user-settings/user-preferences.d.ts +11 -9
- package/build/services/user-settings/user-preferences.js +7 -0
- package/build/services/user-settings/user-privacy.d.ts +1 -3
- package/build/services/user-settings/user-security.d.ts +1 -4
- package/package.json +1 -1
|
@@ -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
|
}
|
package/build/services/common.js
CHANGED
|
@@ -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";
|
|
@@ -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;
|
|
@@ -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
|
|
3
|
-
|
|
4
|
-
|
|
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 = {}));
|