@jealous-robot-dev/shared-types-responses 1.46.3 → 1.46.5
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/package.json +2 -2
- package/build/index.d.ts +0 -14
- package/build/index.js +0 -26
- package/build/services/common.d.ts +0 -39
- package/build/services/common.js +0 -33
- package/build/services/errors.d.ts +0 -21
- package/build/services/errors.js +0 -26
- package/build/services/events/customerhub.d.ts +0 -39
- package/build/services/events/customerhub.js +0 -2
- package/build/services/events/event-checkout.d.ts +0 -51
- package/build/services/events/event-checkout.js +0 -15
- package/build/services/events/event-impression.d.ts +0 -19
- package/build/services/events/event-impression.js +0 -2
- package/build/services/events/event-search.d.ts +0 -15
- package/build/services/events/event-search.js +0 -2
- package/build/services/events/event.d.ts +0 -85
- package/build/services/events/event.js +0 -2
- package/build/services/events/events.d.ts +0 -58
- package/build/services/events/events.js +0 -2
- package/build/services/events/host-an-event.d.ts +0 -42
- package/build/services/events/host-an-event.js +0 -3
- package/build/services/events/host.d.ts +0 -62
- package/build/services/events/host.js +0 -2
- package/build/services/events/index.d.ts +0 -14
- package/build/services/events/index.js +0 -26
- package/build/services/events/manage-events.d.ts +0 -33
- package/build/services/events/manage-events.js +0 -2
- package/build/services/events/pic.d.ts +0 -27
- package/build/services/events/pic.js +0 -2
- package/build/services/events/seance-join.d.ts +0 -20
- package/build/services/events/seance-join.js +0 -10
- package/build/services/events/shorcuts.d.ts +0 -17
- package/build/services/events/shorcuts.js +0 -2
- package/build/services/events/tag-search.d.ts +0 -13
- package/build/services/events/tag-search.js +0 -2
- package/build/services/events/urgent-event.d.ts +0 -20
- package/build/services/events/urgent-event.js +0 -8
- package/build/services/forms/authentication.d.ts +0 -43
- package/build/services/forms/authentication.js +0 -20
- package/build/services/forms/index.d.ts +0 -1
- package/build/services/forms/index.js +0 -13
- package/build/services/landing-page.d.ts +0 -50
- package/build/services/landing-page.js +0 -11
- package/build/services/live-room/client.d.ts +0 -58
- package/build/services/live-room/client.js +0 -2
- package/build/services/live-room/conference.d.ts +0 -0
- package/build/services/live-room/conference.js +0 -1
- package/build/services/live-room/fallback.d.ts +0 -63
- package/build/services/live-room/fallback.js +0 -13
- package/build/services/live-room/index.d.ts +0 -4
- package/build/services/live-room/index.js +0 -16
- package/build/services/live-room/server.d.ts +0 -143
- package/build/services/live-room/server.js +0 -2
- package/build/services/live-room/upload.d.ts +0 -8
- package/build/services/live-room/upload.js +0 -2
- package/build/services/main-data.d.ts +0 -48
- package/build/services/main-data.js +0 -2
- package/build/services/messenger/conversations.d.ts +0 -61
- package/build/services/messenger/conversations.js +0 -2
- package/build/services/messenger/index.d.ts +0 -10
- package/build/services/messenger/index.js +0 -16
- package/build/services/messenger/live-channel.d.ts +0 -65
- package/build/services/messenger/live-channel.js +0 -19
- package/build/services/messenger/messages.d.ts +0 -17
- package/build/services/messenger/messages.js +0 -10
- package/build/services/messenger/user-inbox.d.ts +0 -16
- package/build/services/messenger/user-inbox.js +0 -2
- package/build/services/payments/cancellation.d.ts +0 -53
- package/build/services/payments/cancellation.js +0 -2
- package/build/services/payments/index.d.ts +0 -1
- package/build/services/payments/index.js +0 -13
- package/build/services/permissions.d.ts +0 -7
- package/build/services/permissions.js +0 -11
- package/build/services/static-components/index.d.ts +0 -1
- package/build/services/static-components/index.js +0 -13
- package/build/services/static-components/searchbar.d.ts +0 -17
- package/build/services/static-components/searchbar.js +0 -2
- package/build/services/stats/host-payouts.d.ts +0 -35
- package/build/services/stats/host-payouts.js +0 -2
- package/build/services/stats/index.d.ts +0 -7
- package/build/services/stats/index.js +0 -19
- package/build/services/stats/payment-history.d.ts +0 -43
- package/build/services/stats/payment-history.js +0 -3
- package/build/services/stats/schedule.d.ts +0 -19
- package/build/services/stats/schedule.js +0 -2
- package/build/services/stats/user-notifications.d.ts +0 -24
- package/build/services/stats/user-notifications.js +0 -2
- package/build/services/stats/user-performance.d.ts +0 -13
- package/build/services/stats/user-performance.js +0 -2
- package/build/services/stats/user-reviews.d.ts +0 -24
- package/build/services/stats/user-reviews.js +0 -2
- package/build/services/stats/user-visitors.d.ts +0 -39
- package/build/services/stats/user-visitors.js +0 -2
- package/build/services/sync.d.ts +0 -39
- package/build/services/sync.js +0 -44
- package/build/services/user/collections.d.ts +0 -17
- package/build/services/user/collections.js +0 -2
- package/build/services/user/index.d.ts +0 -4
- package/build/services/user/index.js +0 -16
- package/build/services/user/ppu.d.ts +0 -14
- package/build/services/user/ppu.js +0 -2
- package/build/services/user/profile-basic-data.d.ts +0 -47
- package/build/services/user/profile-basic-data.js +0 -10
- package/build/services/user/search-user.d.ts +0 -12
- package/build/services/user/search-user.js +0 -2
- package/build/services/user-settings/deactivate-account.d.ts +0 -10
- package/build/services/user-settings/deactivate-account.js +0 -2
- package/build/services/user-settings/event-settings.d.ts +0 -22
- package/build/services/user-settings/event-settings.js +0 -2
- package/build/services/user-settings/index.d.ts +0 -7
- package/build/services/user-settings/index.js +0 -19
- package/build/services/user-settings/user-notifications-settings.d.ts +0 -18
- package/build/services/user-settings/user-notifications-settings.js +0 -2
- package/build/services/user-settings/user-payments.d.ts +0 -8
- package/build/services/user-settings/user-payments.js +0 -2
- package/build/services/user-settings/user-personal-info.d.ts +0 -18
- package/build/services/user-settings/user-personal-info.js +0 -2
- package/build/services/user-settings/user-privacy.d.ts +0 -12
- package/build/services/user-settings/user-privacy.js +0 -3
- package/build/services/user-settings/user-security.d.ts +0 -38
- package/build/services/user-settings/user-security.js +0 -2
@@ -1,39 +0,0 @@
|
|
1
|
-
import { EventTypes } from "@jealous-robot-dev/drophr-common";
|
2
|
-
export interface ShortEventVisitor {
|
3
|
-
UID: string;
|
4
|
-
firstname: string;
|
5
|
-
lastname: string;
|
6
|
-
ppu: string;
|
7
|
-
}
|
8
|
-
export interface PerformanceCustomersSession {
|
9
|
-
sid: string;
|
10
|
-
duration: number;
|
11
|
-
starts_at: number;
|
12
|
-
customers: string[];
|
13
|
-
}
|
14
|
-
export interface PerformanceCustomersEvt {
|
15
|
-
event_id: string;
|
16
|
-
pic: string;
|
17
|
-
name: string;
|
18
|
-
type: EventTypes;
|
19
|
-
bookings: number;
|
20
|
-
last_updated: number;
|
21
|
-
cancellations: number;
|
22
|
-
sessions: PerformanceCustomersSession[];
|
23
|
-
}
|
24
|
-
export interface PerformanceCustomersMonth {
|
25
|
-
id: number;
|
26
|
-
bookings: number;
|
27
|
-
customers: number;
|
28
|
-
cancellations: number;
|
29
|
-
hosted_sessions: number;
|
30
|
-
events: PerformanceCustomersEvt[];
|
31
|
-
}
|
32
|
-
export interface PerformanceCustomersInitial {
|
33
|
-
cancellations: number;
|
34
|
-
bookings_total: number;
|
35
|
-
hosted_sessions: number;
|
36
|
-
available_months: number[];
|
37
|
-
customers: ShortEventVisitor[];
|
38
|
-
months: PerformanceCustomersMonth[];
|
39
|
-
}
|
package/build/services/sync.d.ts
DELETED
@@ -1,39 +0,0 @@
|
|
1
|
-
export declare enum Pages {
|
2
|
-
NOTIFICATIONS = "notifications",
|
3
|
-
MESSENGER = "messenger",
|
4
|
-
PROFILE = "profile",
|
5
|
-
EVENT_MANAGER = "event-manager",
|
6
|
-
SCHEDULE = "schedule",
|
7
|
-
HOST = "host",
|
8
|
-
EXPLORER = "explorer",
|
9
|
-
USER_SETTINGS = "user-settings",
|
10
|
-
PERFORMANCE = "performance",
|
11
|
-
PAYMENT_HISTORY = "payment-history",
|
12
|
-
COLLECTIONS = "collections",
|
13
|
-
INVITE = "invite",
|
14
|
-
IMPRESSIONS = "impressions",
|
15
|
-
HOST_AN_EVENT = "host-an-event",
|
16
|
-
BECOME_A_HOST = "become-a-host",
|
17
|
-
VISITING_EVENTS = "visiting-events",
|
18
|
-
LOGIN_OR_SIGNUP = "login-or-signup",
|
19
|
-
FORGOT_PASSWORD = "forgot-password",
|
20
|
-
RESET_PASSWORD = "reset-password",
|
21
|
-
VIEW_EVENT = "view-event",
|
22
|
-
CHECKOUT = "checkout",
|
23
|
-
SEARCH_TAGS = "search-tags",
|
24
|
-
SEARCH_USERS = "search-users",
|
25
|
-
SEARCH_EVENTS = "search-events",
|
26
|
-
VERIFY_DEVICE = "verify-device",
|
27
|
-
PERSONAL_REFUND = "personal-refund",
|
28
|
-
MAIL_CANCELLATION = "mail-cancellation",
|
29
|
-
BOOKING_CANCLLEATION = "booking-cancellation",
|
30
|
-
BOOKING_RESULT = "booking-result",
|
31
|
-
CUSTOMER_JOIN = "customer-join",
|
32
|
-
HOST_JOIN = "host-join",
|
33
|
-
HELP = "help"
|
34
|
-
}
|
35
|
-
export declare enum DropWebEnv {
|
36
|
-
DEVELOPMENT = "development",
|
37
|
-
CI = "ci",
|
38
|
-
PRODUCTION = "production"
|
39
|
-
}
|
package/build/services/sync.js
DELETED
@@ -1,44 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.DropWebEnv = 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_TAGS"] = "search-tags";
|
28
|
-
Pages["SEARCH_USERS"] = "search-users";
|
29
|
-
Pages["SEARCH_EVENTS"] = "search-events";
|
30
|
-
Pages["VERIFY_DEVICE"] = "verify-device";
|
31
|
-
Pages["PERSONAL_REFUND"] = "personal-refund";
|
32
|
-
Pages["MAIL_CANCELLATION"] = "mail-cancellation";
|
33
|
-
Pages["BOOKING_CANCLLEATION"] = "booking-cancellation";
|
34
|
-
Pages["BOOKING_RESULT"] = "booking-result";
|
35
|
-
Pages["CUSTOMER_JOIN"] = "customer-join";
|
36
|
-
Pages["HOST_JOIN"] = "host-join";
|
37
|
-
Pages["HELP"] = "help";
|
38
|
-
})(Pages = exports.Pages || (exports.Pages = {}));
|
39
|
-
var DropWebEnv;
|
40
|
-
(function (DropWebEnv) {
|
41
|
-
DropWebEnv["DEVELOPMENT"] = "development";
|
42
|
-
DropWebEnv["CI"] = "ci";
|
43
|
-
DropWebEnv["PRODUCTION"] = "production";
|
44
|
-
})(DropWebEnv = exports.DropWebEnv || (exports.DropWebEnv = {}));
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import { EventTypes } from '@jealous-robot-dev/drophr-common';
|
2
|
-
import { UserInEvent } from "../events";
|
3
|
-
export interface EventInCollection {
|
4
|
-
pic: string;
|
5
|
-
id: string;
|
6
|
-
name: string;
|
7
|
-
type: EventTypes;
|
8
|
-
raiting: number;
|
9
|
-
reviews: number;
|
10
|
-
organizer: UserInEvent;
|
11
|
-
}
|
12
|
-
export interface EventCollectionData {
|
13
|
-
page: number;
|
14
|
-
total: number;
|
15
|
-
noMoreEntries: boolean;
|
16
|
-
entries: EventInCollection[];
|
17
|
-
}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
-
if (k2 === undefined) k2 = k;
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
5
|
-
}) : (function(o, m, k, k2) {
|
6
|
-
if (k2 === undefined) k2 = k;
|
7
|
-
o[k2] = m[k];
|
8
|
-
}));
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
10
|
-
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
|
11
|
-
};
|
12
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
13
|
-
__exportStar(require("./profile-basic-data"), exports);
|
14
|
-
__exportStar(require("./collections"), exports);
|
15
|
-
__exportStar(require("./search-user"), exports);
|
16
|
-
__exportStar(require("./ppu"), exports);
|
@@ -1,47 +0,0 @@
|
|
1
|
-
import { UserProfilePhrases } from '@jealous-robot-dev/shared-phrases';
|
2
|
-
import { ConciseEventData, EventReview } from '../events/events';
|
3
|
-
import { PersonalInfoBirthday } from '../user-settings';
|
4
|
-
import { QueryResponse } from '../common';
|
5
|
-
export interface CountableItems<ItemType> {
|
6
|
-
count: number;
|
7
|
-
data: ItemType[];
|
8
|
-
}
|
9
|
-
export interface UserProfileData {
|
10
|
-
username: string;
|
11
|
-
firstname: string;
|
12
|
-
lastname: string;
|
13
|
-
email?: string;
|
14
|
-
ppu: string;
|
15
|
-
UID: string;
|
16
|
-
work?: string;
|
17
|
-
about?: string;
|
18
|
-
location?: string;
|
19
|
-
linkedin?: string;
|
20
|
-
instagram?: string;
|
21
|
-
twiterUsername?: string;
|
22
|
-
website?: string;
|
23
|
-
average_raiting?: number;
|
24
|
-
birthday?: PersonalInfoBirthday;
|
25
|
-
has_gold_badge?: boolean;
|
26
|
-
review_count?: number;
|
27
|
-
languagesSpoken: string[];
|
28
|
-
joinedIn: number;
|
29
|
-
isCurrentUser: boolean;
|
30
|
-
isHost: boolean;
|
31
|
-
}
|
32
|
-
export interface UserEventsInProfile {
|
33
|
-
events: ConciseEventData[];
|
34
|
-
}
|
35
|
-
export interface UserReviewsInProfile {
|
36
|
-
reviews: EventReview[];
|
37
|
-
has_more: boolean;
|
38
|
-
pages: number;
|
39
|
-
}
|
40
|
-
export declare enum ProfileShowResponses {
|
41
|
-
FOUND = "FOUND",
|
42
|
-
NOT_FOUND = "NOT_FOUND",
|
43
|
-
BAD_REQUEST = "BAD_REQUEST",
|
44
|
-
PLEASE_LOGIN = "PLEASE_LOGIN"
|
45
|
-
}
|
46
|
-
export interface UserProfileResponse extends QueryResponse<UserProfileData, UserProfilePhrases> {
|
47
|
-
}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ProfileShowResponses = void 0;
|
4
|
-
var ProfileShowResponses;
|
5
|
-
(function (ProfileShowResponses) {
|
6
|
-
ProfileShowResponses["FOUND"] = "FOUND";
|
7
|
-
ProfileShowResponses["NOT_FOUND"] = "NOT_FOUND";
|
8
|
-
ProfileShowResponses["BAD_REQUEST"] = "BAD_REQUEST";
|
9
|
-
ProfileShowResponses["PLEASE_LOGIN"] = "PLEASE_LOGIN";
|
10
|
-
})(ProfileShowResponses = exports.ProfileShowResponses || (exports.ProfileShowResponses = {}));
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import { UserObligation } from '@jealous-robot-dev/drophr-common';
|
2
|
-
export interface DeactivationRequestResponse {
|
3
|
-
can_deactivate: boolean;
|
4
|
-
can_deactivate_at?: number;
|
5
|
-
reasons: {
|
6
|
-
id: UserObligation;
|
7
|
-
cancellable: number;
|
8
|
-
non_cancellable: number;
|
9
|
-
}[];
|
10
|
-
}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
import { UserEventSettingsPhrases } from '@jealous-robot-dev/shared-phrases';
|
2
|
-
import { QueryResponse } from '../common';
|
3
|
-
export interface UserEventSettingsData {
|
4
|
-
guest: {
|
5
|
-
updatedEventNotifs: boolean;
|
6
|
-
upcomingEvents: {
|
7
|
-
enabled: boolean;
|
8
|
-
interval: number;
|
9
|
-
};
|
10
|
-
};
|
11
|
-
host: {
|
12
|
-
upcomingEvents: {
|
13
|
-
enabled: boolean;
|
14
|
-
interval: number;
|
15
|
-
};
|
16
|
-
};
|
17
|
-
common: {
|
18
|
-
urgentEventReminder: boolean;
|
19
|
-
};
|
20
|
-
}
|
21
|
-
export interface UserEventSettingsResponse extends QueryResponse<UserEventSettingsData, UserEventSettingsPhrases> {
|
22
|
-
}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
-
if (k2 === undefined) k2 = k;
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
5
|
-
}) : (function(o, m, k, k2) {
|
6
|
-
if (k2 === undefined) k2 = k;
|
7
|
-
o[k2] = m[k];
|
8
|
-
}));
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
10
|
-
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
|
11
|
-
};
|
12
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
13
|
-
__exportStar(require("./user-notifications-settings"), exports);
|
14
|
-
__exportStar(require("./user-personal-info"), exports);
|
15
|
-
__exportStar(require("./deactivate-account"), exports);
|
16
|
-
__exportStar(require("./event-settings"), exports);
|
17
|
-
__exportStar(require("./user-security"), exports);
|
18
|
-
__exportStar(require("./user-payments"), exports);
|
19
|
-
__exportStar(require("./user-privacy"), exports);
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import { Channels, UserNotificationTopicID, UserNotificationCategories } from '@jealous-robot-dev/drophr-common';
|
2
|
-
import { NotificationSettingsPhrases } from '@jealous-robot-dev/shared-phrases';
|
3
|
-
import { QueryResponse } from '../common';
|
4
|
-
export interface UserNotificationsDataPreferences {
|
5
|
-
channel: Channels;
|
6
|
-
enabled: boolean;
|
7
|
-
canDisable: boolean;
|
8
|
-
}
|
9
|
-
export interface UserNotificationDataSetting {
|
10
|
-
id: UserNotificationTopicID;
|
11
|
-
category: UserNotificationCategories;
|
12
|
-
preferences: UserNotificationsDataPreferences[];
|
13
|
-
}
|
14
|
-
export interface UserNotificationData {
|
15
|
-
settings: UserNotificationDataSetting[];
|
16
|
-
}
|
17
|
-
export interface UserNotificationResponse extends QueryResponse<UserNotificationData, NotificationSettingsPhrases> {
|
18
|
-
}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { UserPaymentSettingsPhrases } from '@jealous-robot-dev/shared-phrases';
|
2
|
-
import { QueryResponse } from '../common';
|
3
|
-
export interface UserPaymentSettingsData {
|
4
|
-
connected_account?: string;
|
5
|
-
last_update: number;
|
6
|
-
}
|
7
|
-
export interface UserPaymentSettingsResponse extends QueryResponse<UserPaymentSettingsData, UserPaymentSettingsPhrases> {
|
8
|
-
}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import { UserPersonalInfoPhrases } from '@jealous-robot-dev/shared-phrases';
|
2
|
-
import { Sex } from '@jealous-robot-dev/drophr-common';
|
3
|
-
import { QueryResponse } from '../common';
|
4
|
-
export interface PersonalInfoBirthday {
|
5
|
-
year: string;
|
6
|
-
month: string;
|
7
|
-
day: string;
|
8
|
-
}
|
9
|
-
export interface UserPersonalInfo {
|
10
|
-
username: string;
|
11
|
-
firstname: string;
|
12
|
-
lastname: string;
|
13
|
-
email: string;
|
14
|
-
gender: Sex | null;
|
15
|
-
birthday: PersonalInfoBirthday | null;
|
16
|
-
}
|
17
|
-
export interface UserPersonalInfoResponse extends QueryResponse<UserPersonalInfo, UserPersonalInfoPhrases> {
|
18
|
-
}
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import { UserPrivacyCheckboxes } from '@jealous-robot-dev/drophr-common';
|
2
|
-
import { UserPrivacyPhrases } from '@jealous-robot-dev/shared-phrases';
|
3
|
-
import { QueryResponse } from '../common';
|
4
|
-
export interface UserPrivacy {
|
5
|
-
[UserPrivacyCheckboxes.AFOAU]: boolean;
|
6
|
-
[UserPrivacyCheckboxes.PBD]: boolean;
|
7
|
-
[UserPrivacyCheckboxes.PM]: boolean;
|
8
|
-
[UserPrivacyCheckboxes.PE]: boolean;
|
9
|
-
[UserPrivacyCheckboxes.PL]: boolean;
|
10
|
-
}
|
11
|
-
export interface UserPrivacyResponse extends QueryResponse<UserPrivacy, UserPrivacyPhrases> {
|
12
|
-
}
|
@@ -1,38 +0,0 @@
|
|
1
|
-
import { UserSecurityPhrases } from '@jealous-robot-dev/shared-phrases';
|
2
|
-
import { AuthenticationProviders, UserDevice as Dev } from '@jealous-robot-dev/drophr-common';
|
3
|
-
import { QueryResponse } from '../common';
|
4
|
-
export interface UserDevice {
|
5
|
-
deviceId: string;
|
6
|
-
platform: {
|
7
|
-
name: string;
|
8
|
-
version: string;
|
9
|
-
};
|
10
|
-
agent: Dev;
|
11
|
-
ip: string;
|
12
|
-
location: string;
|
13
|
-
last_logged_in: number;
|
14
|
-
is_logged_in: boolean;
|
15
|
-
current: boolean;
|
16
|
-
}
|
17
|
-
export interface UserSecurity {
|
18
|
-
lastUpdateOfPassword: number;
|
19
|
-
secureAuth: boolean;
|
20
|
-
twoFactorAuth: boolean;
|
21
|
-
denyUsernameAsId: boolean;
|
22
|
-
notifyAboutNewDevice: boolean;
|
23
|
-
devices: UserDevice[];
|
24
|
-
blacklist: {
|
25
|
-
total: number;
|
26
|
-
entries: BlockedUser[];
|
27
|
-
};
|
28
|
-
authInstruments: AuthenticationProviders[];
|
29
|
-
}
|
30
|
-
export interface BlockedUser {
|
31
|
-
UID: string;
|
32
|
-
username: string;
|
33
|
-
firstname: string;
|
34
|
-
lastname: string;
|
35
|
-
ppu: string;
|
36
|
-
}
|
37
|
-
export interface UserSecurityResponse extends QueryResponse<UserSecurity, UserSecurityPhrases> {
|
38
|
-
}
|