@jealous-robot-dev/shared-types-responses 1.32.14 → 1.32.17
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/index.d.ts +0 -3
- package/build/index.js +0 -3
- package/build/services/common.d.ts +1 -38
- package/build/services/common.js +1 -6
- package/build/services/events/become-host.d.ts +1 -1
- package/build/services/events/customerhub.d.ts +2 -22
- package/build/services/events/customerhub.js +0 -12
- package/build/services/events/event-checkout.d.ts +1 -51
- package/build/services/events/event-impression.d.ts +2 -20
- package/build/services/events/event-search.d.ts +1 -78
- package/build/services/events/event-search.js +0 -11
- package/build/services/events/event.d.ts +1 -158
- package/build/services/events/event.js +0 -38
- package/build/services/events/events.d.ts +1 -66
- package/build/services/events/events.js +0 -42
- package/build/services/events/host-an-event.d.ts +1 -179
- package/build/services/events/host-an-event.js +1 -31
- package/build/services/events/host.d.ts +1 -33
- package/build/services/events/index.d.ts +0 -4
- package/build/services/events/index.js +0 -4
- package/build/services/events/manage-events.d.ts +3 -220
- package/build/services/events/manage-events.js +0 -61
- package/build/services/events/seance-join.d.ts +0 -30
- package/build/services/events/seance-join.js +1 -6
- package/build/services/events/tag-search.d.ts +0 -19
- package/build/services/events/urgent-event.d.ts +1 -10
- package/build/services/forms/authentication.d.ts +1 -119
- package/build/services/forms/authentication.js +1 -15
- package/build/services/forms/index.d.ts +0 -3
- package/build/services/forms/index.js +0 -3
- package/build/services/landing-page.d.ts +8 -4
- package/build/services/main-data.d.ts +4 -38
- package/build/services/main-data.js +0 -11
- package/build/services/messenger/user-inbox.d.ts +2 -28
- package/build/services/payments/cancellation.d.ts +1 -17
- package/build/services/payments/index.d.ts +0 -3
- package/build/services/payments/index.js +0 -3
- package/build/services/static-components/index.d.ts +0 -3
- package/build/services/static-components/index.js +0 -3
- package/build/services/static-components/searchbar.d.ts +2 -30
- package/build/services/stats/host-payouts.d.ts +1 -41
- package/build/services/stats/host-payouts.js +0 -8
- package/build/services/stats/index.d.ts +0 -1
- package/build/services/stats/index.js +0 -1
- package/build/services/stats/payment-history.d.ts +1 -45
- package/build/services/stats/payment-history.js +0 -8
- package/build/services/stats/schedule.d.ts +0 -24
- package/build/services/stats/schedule.js +0 -6
- package/build/services/stats/user-notifications.d.ts +3 -84
- package/build/services/stats/user-notifications.js +0 -121
- package/build/services/stats/user-performance.d.ts +1 -27
- package/build/services/stats/user-performance.js +0 -8
- package/build/services/stats/user-reviews.d.ts +4 -10
- package/build/services/stats/user-visitors.d.ts +0 -10
- package/build/services/user/collections.d.ts +2 -12
- package/build/services/user/index.d.ts +0 -5
- package/build/services/user/index.js +0 -5
- package/build/services/user/profile-basic-data.d.ts +2 -90
- package/build/services/user/profile-basic-data.js +1 -18
- package/build/services/user/search-user.d.ts +0 -24
- package/build/services/user/search-user.js +0 -17
- package/build/services/user-settings/event-settings.d.ts +2 -40
- package/build/services/user-settings/event-settings.js +0 -17
- package/build/services/user-settings/index.d.ts +3 -7
- package/build/services/user-settings/index.js +3 -7
- package/build/services/user-settings/user-notifications-settings.d.ts +2 -26
- package/build/services/user-settings/user-notifications-settings.js +0 -20
- package/build/services/user-settings/user-payments.d.ts +2 -55
- package/build/services/user-settings/user-payments.js +0 -7
- package/build/services/user-settings/user-personal-info.d.ts +2 -68
- package/build/services/user-settings/user-personal-info.js +0 -21
- package/build/services/user-settings/user-privacy.d.ts +2 -20
- package/build/services/user-settings/user-privacy.js +1 -12
- package/build/services/user-settings/user-security.d.ts +2 -69
- package/build/services/user-settings/user-security.js +0 -21
- package/package.json +3 -1
- package/build/services/cookies.d.ts +0 -32
- package/build/services/cookies.js +0 -53
- package/build/services/events/meetings.d.ts +0 -23
- package/build/services/events/meetings.js +0 -31
- package/build/services/events/not-found.d.ts +0 -6
- package/build/services/events/not-found.js +0 -2
- package/build/services/events/reviews.d.ts +0 -24
- package/build/services/events/reviews.js +0 -2
- package/build/services/events/timing.d.ts +0 -30
- package/build/services/events/timing.js +0 -2
- package/build/services/forms/forgot-password.d.ts +0 -20
- package/build/services/forms/forgot-password.js +0 -2
- package/build/services/forms/set-new-password.d.ts +0 -21
- package/build/services/forms/set-new-password.js +0 -2
- package/build/services/forms/sharer.d.ts +0 -25
- package/build/services/forms/sharer.js +0 -2
- package/build/services/headers.d.ts +0 -13
- package/build/services/headers.js +0 -17
- package/build/services/media.d.ts +0 -12
- package/build/services/media.js +0 -36
- package/build/services/payments/common.d.ts +0 -16
- package/build/services/payments/common.js +0 -22
- package/build/services/payments/mail-cancellation.d.ts +0 -13
- package/build/services/payments/mail-cancellation.js +0 -2
- package/build/services/payments/personal-refund-offer.d.ts +0 -17
- package/build/services/payments/personal-refund-offer.js +0 -2
- package/build/services/static-components/calculator.d.ts +0 -26
- package/build/services/static-components/calculator.js +0 -5
- package/build/services/static-components/footer.d.ts +0 -20
- package/build/services/static-components/footer.js +0 -2
- package/build/services/static-components/smart-header.d.ts +0 -50
- package/build/services/static-components/smart-header.js +0 -2
- package/build/services/stats/user-booking.d.ts +0 -10
- package/build/services/stats/user-booking.js +0 -2
- package/build/services/user/404.d.ts +0 -12
- package/build/services/user/404.js +0 -2
- package/build/services/user/cancellations.d.ts +0 -9
- package/build/services/user/cancellations.js +0 -2
- package/build/services/user/invite.d.ts +0 -14
- package/build/services/user/invite.js +0 -2
- package/build/services/user/not-found.d.ts +0 -6
- package/build/services/user/not-found.js +0 -2
- package/build/services/user/unavailable-in-region.d.ts +0 -6
- package/build/services/user/unavailable-in-region.js +0 -2
- package/build/services/user-settings/account-settings.d.ts +0 -38
- package/build/services/user-settings/account-settings.js +0 -2
- package/build/services/user-settings/deactivate-account.d.ts +0 -47
- package/build/services/user-settings/deactivate-account.js +0 -8
- package/build/services/user-settings/reset-email-verification.d.ts +0 -9
- package/build/services/user-settings/reset-email-verification.js +0 -2
- package/build/services/user-settings/user-preferences.d.ts +0 -15
- package/build/services/user-settings/user-preferences.js +0 -9
@@ -1,123 +1,2 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.NotificationIcons = exports.HOST_NOTIFS = exports.CUSTOMER_NOTIFS = exports.NotificationTypes = exports.NotificationCategory = void 0;
|
4
|
-
var NotificationCategory;
|
5
|
-
(function (NotificationCategory) {
|
6
|
-
NotificationCategory["CUSTOMER"] = "CUSTOMER";
|
7
|
-
NotificationCategory["HOST"] = "HOST";
|
8
|
-
})(NotificationCategory = exports.NotificationCategory || (exports.NotificationCategory = {}));
|
9
|
-
var NotificationTypes;
|
10
|
-
(function (NotificationTypes) {
|
11
|
-
//host management
|
12
|
-
NotificationTypes["SEANCE_RESCHEDULED"] = "SEANCE_RESCHEDULED";
|
13
|
-
NotificationTypes["SEANCE_REMOVED_BY_HOST"] = "SEANCE_REMOVED_BY_HOST";
|
14
|
-
NotificationTypes["NEW_SERVICE_REGISTRED"] = "NEW_SERVICE_REGISTRED";
|
15
|
-
NotificationTypes["SERVICE_DELETION"] = "SERVICE_DELETION";
|
16
|
-
//hosting
|
17
|
-
NotificationTypes["NEW_CUSTOMER"] = "NEW_CUSTOMER";
|
18
|
-
NotificationTypes["NO_CUSTOMERS"] = "NO_CUSTOMERS";
|
19
|
-
NotificationTypes["MISSED_HOSTING"] = "MISSED_HOSTING";
|
20
|
-
NotificationTypes["SEANCE_UTILIZED"] = "SEANCE_UTILIZED";
|
21
|
-
NotificationTypes["REVIEW_RECEIVED"] = "REVIEW_RECEIVED";
|
22
|
-
NotificationTypes["GOLD_BADGE_LOST"] = "GOLD_BADGE_LOST";
|
23
|
-
NotificationTypes["REMOVED_CUSTOMER"] = "REMOVED_CUSTOMER";
|
24
|
-
NotificationTypes["GOLD_BADGE_EARNED"] = "GOLD_BADGE_EARNED";
|
25
|
-
NotificationTypes["BOOKING_CANCELLATION"] = "BOOKING_CANCELLATION";
|
26
|
-
NotificationTypes["REFUNDED_CANCELLATION"] = "REFUNDED_CANCELLATION";
|
27
|
-
//customer
|
28
|
-
NotificationTypes["PERSONAL_REFUND_OFFERED"] = "PERSONAL_REFUND_OFFERED";
|
29
|
-
NotificationTypes["BOOKING_CANCELLED_BY_CUSTOMER"] = "CANCELLED_BY_CUSTOMER";
|
30
|
-
NotificationTypes["BOOKING_CANCELLED_BY_HOST"] = "CANCELLED_BY_HOST";
|
31
|
-
NotificationTypes["SUCCESSFULL_BOOKING"] = "SUCCESSFULL_BOOKING";
|
32
|
-
NotificationTypes["UPDATES_FROM_HOST"] = "UPDATES_FROM_HOST";
|
33
|
-
NotificationTypes["WELCOME_MEMBER"] = "WELCOME_MEMBER";
|
34
|
-
//reminders
|
35
|
-
NotificationTypes["CUSTOMER_SEANCE_REMINDER"] = "PRESCHEDULED_CUSTOMER_SEANCE_REMINDER";
|
36
|
-
NotificationTypes["HOST_SEANCE_REMINDER"] = "PRESCHEDULED_HOST_SEANCE_REMINDER";
|
37
|
-
NotificationTypes["ENABLE_PAYOUTS"] = "ENABLE_PAYOUTS";
|
38
|
-
//tips for hosts
|
39
|
-
NotificationTypes["WELCOME_TO_COMMUNITY"] = "WELCOME_TO_COMMUNITY";
|
40
|
-
NotificationTypes["CUSTOMER_HESISTANCY"] = "CUSTOMER_HESISTANCY";
|
41
|
-
NotificationTypes["TAKEN_TIME_CHOSEN"] = "TAKEN_TIME_CHOSEN";
|
42
|
-
//for customers
|
43
|
-
NotificationTypes["COMPLETE_BOOKING_NOTIF"] = "COMPLETE_BOOKING_NOTIF";
|
44
|
-
//security
|
45
|
-
NotificationTypes["NEW_DEVICE"] = "NEW_DEVICE";
|
46
|
-
//payments
|
47
|
-
NotificationTypes["PAYOUT_SENT"] = "PAYOUT_SENT";
|
48
|
-
NotificationTypes["PAYOUT_MADE"] = "PAYOUT_MADE";
|
49
|
-
NotificationTypes["PAYOFF_SENT"] = "PAYOFF_SENT";
|
50
|
-
NotificationTypes["PAYOFF_MADE"] = "PAYOFF_MADE";
|
51
|
-
NotificationTypes["PAYOUT_LATER"] = "PAYOUT_LATER";
|
52
|
-
NotificationTypes["REFUND_FAILED"] = "REFUND_FAILED";
|
53
|
-
NotificationTypes["PAYOUT_FAILED"] = "PAYOUT_FAILED";
|
54
|
-
NotificationTypes["PAYOFF_FAILED"] = "PAYOFF_FAILED";
|
55
|
-
NotificationTypes["PAYOFF_TRANSFER_FAILED"] = "PAYOFF_TRANSFER_FAILED";
|
56
|
-
NotificationTypes["PAYOUT_TRANSFER_FAILED"] = "PAYOUT_TRANSFER_FAILED";
|
57
|
-
NotificationTypes["STRIPE_DISCONNECTION"] = "STRIPE_DISCONNECTION";
|
58
|
-
NotificationTypes["STRIPE_CONNECTION_SUCCESS"] = "STRIPE_CONNECTION_SUCCESS";
|
59
|
-
NotificationTypes["STRIPE_CONNECTION_FAILURE"] = "STRIPE_CONNECTION_FAILURE";
|
60
|
-
})(NotificationTypes = exports.NotificationTypes || (exports.NotificationTypes = {}));
|
61
|
-
exports.CUSTOMER_NOTIFS = [
|
62
|
-
NotificationTypes.BOOKING_CANCELLED_BY_CUSTOMER,
|
63
|
-
NotificationTypes.BOOKING_CANCELLED_BY_HOST,
|
64
|
-
NotificationTypes.CUSTOMER_SEANCE_REMINDER,
|
65
|
-
NotificationTypes.PERSONAL_REFUND_OFFERED,
|
66
|
-
NotificationTypes.COMPLETE_BOOKING_NOTIF,
|
67
|
-
NotificationTypes.SUCCESSFULL_BOOKING,
|
68
|
-
NotificationTypes.UPDATES_FROM_HOST,
|
69
|
-
NotificationTypes.WELCOME_MEMBER,
|
70
|
-
NotificationTypes.REFUND_FAILED,
|
71
|
-
NotificationTypes.NEW_DEVICE
|
72
|
-
];
|
73
|
-
exports.HOST_NOTIFS = [
|
74
|
-
NotificationTypes.PAYOUT_SENT,
|
75
|
-
NotificationTypes.PAYOFF_SENT,
|
76
|
-
NotificationTypes.PAYOUT_MADE,
|
77
|
-
NotificationTypes.PAYOFF_MADE,
|
78
|
-
NotificationTypes.NO_CUSTOMERS,
|
79
|
-
NotificationTypes.PAYOUT_LATER,
|
80
|
-
NotificationTypes.NEW_CUSTOMER,
|
81
|
-
NotificationTypes.PAYOUT_FAILED,
|
82
|
-
NotificationTypes.PAYOFF_FAILED,
|
83
|
-
NotificationTypes.ENABLE_PAYOUTS,
|
84
|
-
NotificationTypes.MISSED_HOSTING,
|
85
|
-
NotificationTypes.REVIEW_RECEIVED,
|
86
|
-
NotificationTypes.GOLD_BADGE_LOST,
|
87
|
-
NotificationTypes.SEANCE_UTILIZED,
|
88
|
-
NotificationTypes.SERVICE_DELETION,
|
89
|
-
NotificationTypes.REMOVED_CUSTOMER,
|
90
|
-
NotificationTypes.TAKEN_TIME_CHOSEN,
|
91
|
-
NotificationTypes.GOLD_BADGE_EARNED,
|
92
|
-
NotificationTypes.SEANCE_RESCHEDULED,
|
93
|
-
NotificationTypes.CUSTOMER_HESISTANCY,
|
94
|
-
NotificationTypes.BOOKING_CANCELLATION,
|
95
|
-
NotificationTypes.WELCOME_TO_COMMUNITY,
|
96
|
-
NotificationTypes.HOST_SEANCE_REMINDER,
|
97
|
-
NotificationTypes.REFUNDED_CANCELLATION,
|
98
|
-
NotificationTypes.NEW_SERVICE_REGISTRED,
|
99
|
-
NotificationTypes.SEANCE_REMOVED_BY_HOST,
|
100
|
-
NotificationTypes.PAYOFF_TRANSFER_FAILED,
|
101
|
-
NotificationTypes.PAYOUT_TRANSFER_FAILED,
|
102
|
-
NotificationTypes.STRIPE_CONNECTION_SUCCESS,
|
103
|
-
NotificationTypes.STRIPE_CONNECTION_FAILURE
|
104
|
-
];
|
105
|
-
var NotificationIcons;
|
106
|
-
(function (NotificationIcons) {
|
107
|
-
NotificationIcons["DISCONNECTION"] = "DISCONNECTION";
|
108
|
-
NotificationIcons["CANCELLATION"] = "CANCELLATION";
|
109
|
-
NotificationIcons["NO_CUSTOMERS"] = "NO_CUSTOMERS";
|
110
|
-
NotificationIcons["MINUS_USER"] = "MINUS_USER";
|
111
|
-
NotificationIcons["CONNECTION"] = "CONNECTION";
|
112
|
-
NotificationIcons["GOLD_BADGE"] = "GOLD_BADGE";
|
113
|
-
NotificationIcons["CALENDAR"] = "CALENDAR";
|
114
|
-
NotificationIcons["CONGRATS"] = "CONGRATS";
|
115
|
-
NotificationIcons["SECURITY"] = "SECURITY";
|
116
|
-
NotificationIcons["MAGICIAN"] = "MAGICIAN";
|
117
|
-
NotificationIcons["NEW_USER"] = "NEW_USER";
|
118
|
-
NotificationIcons["PADLOCK"] = "PADLOCK";
|
119
|
-
NotificationIcons["BOOKING"] = "BOOKING";
|
120
|
-
NotificationIcons["PAYMENT"] = "PAYMENT";
|
121
|
-
NotificationIcons["REVIEW"] = "REVIEW";
|
122
|
-
NotificationIcons["POLICY"] = "POLICY";
|
123
|
-
})(NotificationIcons = exports.NotificationIcons || (exports.NotificationIcons = {}));
|
@@ -1,30 +1,4 @@
|
|
1
|
-
import { EventTypes
|
2
|
-
export declare enum PerformanceCategories {
|
3
|
-
REVIEWS = "reviews",
|
4
|
-
PAYOUTS = "payouts",
|
5
|
-
BOOKING = "booking",
|
6
|
-
VISITORS = "visitors"
|
7
|
-
}
|
8
|
-
export interface UserPerformancePhrases {
|
9
|
-
title: string;
|
10
|
-
cancel: string;
|
11
|
-
seances: string;
|
12
|
-
load_more: string;
|
13
|
-
show_more: string;
|
14
|
-
show_less: string;
|
15
|
-
view_user: string;
|
16
|
-
view_event: string;
|
17
|
-
show_results: string;
|
18
|
-
select_period: string;
|
19
|
-
event_types: PhrasedEventType[];
|
20
|
-
timing_modes: EventPhrasedTimemode[];
|
21
|
-
categories: {
|
22
|
-
reviews: string;
|
23
|
-
visitors: string;
|
24
|
-
booking: string;
|
25
|
-
payouts: string;
|
26
|
-
};
|
27
|
-
}
|
1
|
+
import { EventTypes } from '@jealous-robot-dev/drophr-common';
|
28
2
|
export interface EventInPerformance {
|
29
3
|
id: string;
|
30
4
|
name: string;
|
@@ -1,10 +1,2 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PerformanceCategories = void 0;
|
4
|
-
var PerformanceCategories;
|
5
|
-
(function (PerformanceCategories) {
|
6
|
-
PerformanceCategories["REVIEWS"] = "reviews";
|
7
|
-
PerformanceCategories["PAYOUTS"] = "payouts";
|
8
|
-
PerformanceCategories["BOOKING"] = "booking";
|
9
|
-
PerformanceCategories["VISITORS"] = "visitors";
|
10
|
-
})(PerformanceCategories = exports.PerformanceCategories || (exports.PerformanceCategories = {}));
|
@@ -1,5 +1,7 @@
|
|
1
|
-
import {
|
2
|
-
import { EventTypes
|
1
|
+
import { UserReviewPhrases } from '@jealous-robot-dev/shared-phrases';
|
2
|
+
import { EventTypes } from '@jealous-robot-dev/drophr-common';
|
3
|
+
import { QueryResponse } from '../common';
|
4
|
+
import { UserInEvent } from '../events';
|
3
5
|
export interface HostReview {
|
4
6
|
event: {
|
5
7
|
id: string;
|
@@ -18,13 +20,5 @@ export interface UserReviewData {
|
|
18
20
|
entries: HostReview[];
|
19
21
|
has_more: boolean;
|
20
22
|
}
|
21
|
-
export interface UserReviewPhrases {
|
22
|
-
title: string;
|
23
|
-
average_rate: string;
|
24
|
-
total_reviews: string;
|
25
|
-
no_reviews_with: string;
|
26
|
-
no_reviews: LND;
|
27
|
-
all: string;
|
28
|
-
}
|
29
23
|
export interface UserReviewsResponse extends QueryResponse<UserReviewData, UserReviewPhrases> {
|
30
24
|
}
|
@@ -1,16 +1,6 @@
|
|
1
|
-
import { LND } from '../common';
|
2
1
|
export interface ShortEventVisitor {
|
3
2
|
UID: string;
|
4
3
|
firstname: string;
|
5
4
|
lastname: string;
|
6
5
|
ppu: string;
|
7
6
|
}
|
8
|
-
export interface PerformanceGuestsPhrases {
|
9
|
-
title: string;
|
10
|
-
total_guests: string;
|
11
|
-
description: string;
|
12
|
-
no_events_yet: LND;
|
13
|
-
no_guests: LND;
|
14
|
-
who_visited: string;
|
15
|
-
guests: string;
|
16
|
-
}
|
@@ -1,15 +1,5 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
export interface EventCollectionPhrases {
|
4
|
-
title: string;
|
5
|
-
label: string;
|
6
|
-
no_collections: LND | null;
|
7
|
-
collections: {
|
8
|
-
load_more: string;
|
9
|
-
hosted_by: string;
|
10
|
-
event_types: PhrasedEventType[];
|
11
|
-
} | null;
|
12
|
-
}
|
1
|
+
import { EventTypes } from '@jealous-robot-dev/drophr-common';
|
2
|
+
import { UserInEvent } from "../events";
|
13
3
|
export interface EventInCollection {
|
14
4
|
pic: string;
|
15
5
|
id: string;
|
@@ -10,11 +10,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
10
|
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
|
11
11
|
};
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
13
|
-
__exportStar(require("./unavailable-in-region"), exports);
|
14
13
|
__exportStar(require("./profile-basic-data"), exports);
|
15
|
-
__exportStar(require("./invite"), exports);
|
16
14
|
__exportStar(require("./collections"), exports);
|
17
|
-
__exportStar(require("./cancellations"), exports);
|
18
15
|
__exportStar(require("./search-user"), exports);
|
19
|
-
__exportStar(require("./not-found"), exports);
|
20
|
-
__exportStar(require("./404"), exports);
|
@@ -1,18 +1,7 @@
|
|
1
|
-
import {
|
1
|
+
import { UserProfilePhrases } from '@jealous-robot-dev/shared-phrases';
|
2
2
|
import { ConciseEventData, EventReview } from '../events/events';
|
3
3
|
import { PersonalInfoBirthday } from '../user-settings';
|
4
|
-
|
5
|
-
code: string;
|
6
|
-
value: string;
|
7
|
-
}
|
8
|
-
export interface UserFollower {
|
9
|
-
UID: string;
|
10
|
-
username: string;
|
11
|
-
lastname: string;
|
12
|
-
firstname: string;
|
13
|
-
ppu: string;
|
14
|
-
youFollow?: boolean;
|
15
|
-
}
|
4
|
+
import { QueryResponse } from '../common';
|
16
5
|
export interface CountableItems<ItemType> {
|
17
6
|
count: number;
|
18
7
|
data: ItemType[];
|
@@ -37,13 +26,6 @@ export interface UserProfileData {
|
|
37
26
|
isCurrentUser: boolean;
|
38
27
|
isHost: boolean;
|
39
28
|
}
|
40
|
-
export interface UserReportForm {
|
41
|
-
label: string;
|
42
|
-
pickareason: string;
|
43
|
-
customreason: string;
|
44
|
-
reasons: SuspensionReason[];
|
45
|
-
successfull: LND;
|
46
|
-
}
|
47
29
|
export interface UserEventsInProfile {
|
48
30
|
events: ConciseEventData[];
|
49
31
|
}
|
@@ -52,76 +34,6 @@ export interface UserReviewsInProfile {
|
|
52
34
|
has_more: boolean;
|
53
35
|
pages: number;
|
54
36
|
}
|
55
|
-
export interface UserProfileCurrentUserPhrases {
|
56
|
-
updateProfile: string;
|
57
|
-
invalidWebsite: string;
|
58
|
-
invalidTwitter: string;
|
59
|
-
resetAvatar: string;
|
60
|
-
done: string;
|
61
|
-
languagesispeak: string;
|
62
|
-
choicelanguages: Language[];
|
63
|
-
whyLanguages: string;
|
64
|
-
addMore: string;
|
65
|
-
save: string;
|
66
|
-
location: string;
|
67
|
-
twitterUsername: string;
|
68
|
-
websiteUrl: string;
|
69
|
-
addMoreInfo: {
|
70
|
-
title: string;
|
71
|
-
description: string;
|
72
|
-
add_more: string;
|
73
|
-
};
|
74
|
-
update_avatar: {
|
75
|
-
title: string;
|
76
|
-
description: string;
|
77
|
-
upload_photo: string;
|
78
|
-
delete_photo: string;
|
79
|
-
get_from_fb: string;
|
80
|
-
};
|
81
|
-
}
|
82
|
-
export interface ViewerProfilePhrases {
|
83
|
-
block: string;
|
84
|
-
contact: string;
|
85
|
-
are_you_sure: string;
|
86
|
-
block_description: string;
|
87
|
-
}
|
88
|
-
export interface UserProfilePhrases {
|
89
|
-
common: {
|
90
|
-
languages_spoken: string;
|
91
|
-
joinedIn: string;
|
92
|
-
about: string;
|
93
|
-
suggested: string;
|
94
|
-
viewMore: string;
|
95
|
-
cancel: string;
|
96
|
-
showMore: string;
|
97
|
-
showLess: string;
|
98
|
-
load_more: string;
|
99
|
-
alternative_about: string;
|
100
|
-
};
|
101
|
-
is_host: {
|
102
|
-
hosted_events: string;
|
103
|
-
hosted_by: string;
|
104
|
-
reviews: string;
|
105
|
-
};
|
106
|
-
share: {
|
107
|
-
label: string;
|
108
|
-
title: string;
|
109
|
-
message: string;
|
110
|
-
subject: string;
|
111
|
-
};
|
112
|
-
}
|
113
|
-
export declare enum ProfileInfoFiels {
|
114
|
-
TWTR_USERNAME = "twitterUsername",
|
115
|
-
LOCATION = "location",
|
116
|
-
WEBSITE = "website",
|
117
|
-
ABOUT = "about",
|
118
|
-
LANGS = "languagesSpoken"
|
119
|
-
}
|
120
|
-
export declare enum PeerRestriction {
|
121
|
-
BLOCK = "BLOCK",
|
122
|
-
UNBLOCK = "UNBLOCK"
|
123
|
-
}
|
124
|
-
export declare const PIFListed: ProfileInfoFiels[];
|
125
37
|
export declare enum ProfileShowResponses {
|
126
38
|
FOUND = "FOUND",
|
127
39
|
NOT_FOUND = "NOT_FOUND",
|
@@ -1,23 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ProfileShowResponses =
|
4
|
-
var ProfileInfoFiels;
|
5
|
-
(function (ProfileInfoFiels) {
|
6
|
-
ProfileInfoFiels["TWTR_USERNAME"] = "twitterUsername";
|
7
|
-
ProfileInfoFiels["LOCATION"] = "location";
|
8
|
-
ProfileInfoFiels["WEBSITE"] = "website";
|
9
|
-
ProfileInfoFiels["ABOUT"] = "about";
|
10
|
-
ProfileInfoFiels["LANGS"] = "languagesSpoken";
|
11
|
-
})(ProfileInfoFiels = exports.ProfileInfoFiels || (exports.ProfileInfoFiels = {}));
|
12
|
-
var PeerRestriction;
|
13
|
-
(function (PeerRestriction) {
|
14
|
-
PeerRestriction["BLOCK"] = "BLOCK";
|
15
|
-
PeerRestriction["UNBLOCK"] = "UNBLOCK";
|
16
|
-
})(PeerRestriction = exports.PeerRestriction || (exports.PeerRestriction = {}));
|
17
|
-
exports.PIFListed = [
|
18
|
-
ProfileInfoFiels.TWTR_USERNAME, ProfileInfoFiels.LOCATION,
|
19
|
-
ProfileInfoFiels.ABOUT, ProfileInfoFiels.WEBSITE, ProfileInfoFiels.LANGS
|
20
|
-
];
|
3
|
+
exports.ProfileShowResponses = void 0;
|
21
4
|
var ProfileShowResponses;
|
22
5
|
(function (ProfileShowResponses) {
|
23
6
|
ProfileShowResponses["FOUND"] = "FOUND";
|
@@ -1,17 +1,3 @@
|
|
1
|
-
export interface SearchUserPhrases {
|
2
|
-
title: string;
|
3
|
-
languages: any;
|
4
|
-
load_more: string;
|
5
|
-
no_matches: {
|
6
|
-
label: string;
|
7
|
-
description: string;
|
8
|
-
};
|
9
|
-
matches: {
|
10
|
-
joined_in: string;
|
11
|
-
matches: string;
|
12
|
-
speaking: string;
|
13
|
-
};
|
14
|
-
}
|
15
1
|
export interface UserInSearch {
|
16
2
|
UID: string;
|
17
3
|
firstname: string;
|
@@ -24,13 +10,3 @@ export interface UserInSearch {
|
|
24
10
|
joined_in: string;
|
25
11
|
ppu: string;
|
26
12
|
}
|
27
|
-
export declare enum UserSearchCtxType {
|
28
|
-
USERNAME = "USERNAME",
|
29
|
-
NAMES = "NAMES"
|
30
|
-
}
|
31
|
-
export declare const USCTlist: UserSearchCtxType[];
|
32
|
-
export declare enum UserSearchQueryTypes {
|
33
|
-
SEARCHBAR = "SEARCHBAR",
|
34
|
-
PAGE = "PAGE"
|
35
|
-
}
|
36
|
-
export declare const USQTlist: UserSearchQueryTypes[];
|
@@ -1,19 +1,2 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.USQTlist = exports.UserSearchQueryTypes = exports.USCTlist = exports.UserSearchCtxType = void 0;
|
4
|
-
var UserSearchCtxType;
|
5
|
-
(function (UserSearchCtxType) {
|
6
|
-
UserSearchCtxType["USERNAME"] = "USERNAME";
|
7
|
-
UserSearchCtxType["NAMES"] = "NAMES";
|
8
|
-
})(UserSearchCtxType = exports.UserSearchCtxType || (exports.UserSearchCtxType = {}));
|
9
|
-
exports.USCTlist = [
|
10
|
-
UserSearchCtxType.NAMES, UserSearchCtxType.USERNAME
|
11
|
-
];
|
12
|
-
var UserSearchQueryTypes;
|
13
|
-
(function (UserSearchQueryTypes) {
|
14
|
-
UserSearchQueryTypes["SEARCHBAR"] = "SEARCHBAR";
|
15
|
-
UserSearchQueryTypes["PAGE"] = "PAGE";
|
16
|
-
})(UserSearchQueryTypes = exports.UserSearchQueryTypes || (exports.UserSearchQueryTypes = {}));
|
17
|
-
exports.USQTlist = [
|
18
|
-
UserSearchQueryTypes.PAGE, UserSearchQueryTypes.SEARCHBAR
|
19
|
-
];
|
@@ -1,10 +1,5 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
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[];
|
1
|
+
import { UserEventSettingsPhrases } from '@jealous-robot-dev/shared-phrases';
|
2
|
+
import { QueryResponse } from '../common';
|
8
3
|
export interface UserEventSettingsData {
|
9
4
|
guest: {
|
10
5
|
updatedEventNotifs: boolean;
|
@@ -23,38 +18,5 @@ export interface UserEventSettingsData {
|
|
23
18
|
urgentEventReminder: boolean;
|
24
19
|
};
|
25
20
|
}
|
26
|
-
export declare enum UserEventsSettingsReminders {
|
27
|
-
FOR_GUEST = "FOR_GUEST",
|
28
|
-
FOR_HOST = "FOR_HOST"
|
29
|
-
}
|
30
|
-
export declare const UserEventsSettingsRemindersList: UserEventsSettingsReminders[];
|
31
|
-
export interface UserEventSettingsPhrases {
|
32
|
-
FAQ: FAQ[];
|
33
|
-
settings: {
|
34
|
-
eventHost: {
|
35
|
-
title: string;
|
36
|
-
upcomingEvents: {
|
37
|
-
label: string;
|
38
|
-
description: string;
|
39
|
-
time: {
|
40
|
-
label: string;
|
41
|
-
};
|
42
|
-
};
|
43
|
-
updatedEvents: LND;
|
44
|
-
};
|
45
|
-
forms: {
|
46
|
-
hours: string;
|
47
|
-
minutes: string;
|
48
|
-
};
|
49
|
-
urgentEventReminder: LND;
|
50
|
-
eventOrganizer: {
|
51
|
-
title: string;
|
52
|
-
upcomingEvents: {
|
53
|
-
label: string;
|
54
|
-
description: string;
|
55
|
-
};
|
56
|
-
};
|
57
|
-
};
|
58
|
-
}
|
59
21
|
export interface UserEventSettingsResponse extends QueryResponse<UserEventSettingsData, UserEventSettingsPhrases> {
|
60
22
|
}
|
@@ -1,19 +1,2 @@
|
|
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,10 +1,6 @@
|
|
1
|
-
export * from './account-settings';
|
2
|
-
export * from './event-settings';
|
3
|
-
export * from './deactivate-account';
|
4
1
|
export * from './user-notifications-settings';
|
5
|
-
export * from './reset-email-verification';
|
6
|
-
export * from './user-payments';
|
7
2
|
export * from './user-personal-info';
|
8
|
-
export * from './
|
9
|
-
export * from './user-privacy';
|
3
|
+
export * from './event-settings';
|
10
4
|
export * from './user-security';
|
5
|
+
export * from './user-payments';
|
6
|
+
export * from './user-privacy';
|
@@ -10,13 +10,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
10
|
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
|
11
11
|
};
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
13
|
-
__exportStar(require("./account-settings"), exports);
|
14
|
-
__exportStar(require("./event-settings"), exports);
|
15
|
-
__exportStar(require("./deactivate-account"), exports);
|
16
13
|
__exportStar(require("./user-notifications-settings"), exports);
|
17
|
-
__exportStar(require("./reset-email-verification"), exports);
|
18
|
-
__exportStar(require("./user-payments"), exports);
|
19
14
|
__exportStar(require("./user-personal-info"), exports);
|
20
|
-
__exportStar(require("./
|
21
|
-
__exportStar(require("./user-privacy"), exports);
|
15
|
+
__exportStar(require("./event-settings"), exports);
|
22
16
|
__exportStar(require("./user-security"), exports);
|
17
|
+
__exportStar(require("./user-payments"), exports);
|
18
|
+
__exportStar(require("./user-privacy"), exports);
|
@@ -1,18 +1,6 @@
|
|
1
|
+
import { Channels, UserNotificationDataSettingID } from '@jealous-robot-dev/drophr-common';
|
2
|
+
import { UserNotificationPhrases } from '@jealous-robot-dev/shared-phrases';
|
1
3
|
import { QueryResponse } from '../common';
|
2
|
-
import { FAQ } from '@jealous-robot-dev/shared-ui-lib';
|
3
|
-
export declare enum Channels {
|
4
|
-
EMAIL = "email",
|
5
|
-
PUSH = "push"
|
6
|
-
}
|
7
|
-
export declare const UNCL: Channels[];
|
8
|
-
export declare enum UserNotificationDataSettingID {
|
9
|
-
ACTIVITY = "activity",
|
10
|
-
RECOMENDATIONS = "recomendations",
|
11
|
-
POLICY_UPDATES = "policy_updates",
|
12
|
-
SECURITY = "security",
|
13
|
-
REMINDERS = "reminders"
|
14
|
-
}
|
15
|
-
export declare const UNDSIDs: UserNotificationDataSettingID[];
|
16
4
|
export interface UserNotificationsDataPreferences {
|
17
5
|
channel: Channels;
|
18
6
|
enabled: boolean;
|
@@ -25,17 +13,5 @@ export interface UserNotificationDataSetting {
|
|
25
13
|
export interface UserNotificationData {
|
26
14
|
settings: UserNotificationDataSetting[];
|
27
15
|
}
|
28
|
-
export interface UserNotificationPhrases {
|
29
|
-
channels: {
|
30
|
-
id: Channels;
|
31
|
-
value: string;
|
32
|
-
}[];
|
33
|
-
FAQ: FAQ[];
|
34
|
-
settings: {
|
35
|
-
id: UserNotificationDataSettingID;
|
36
|
-
title: string;
|
37
|
-
description: string;
|
38
|
-
}[];
|
39
|
-
}
|
40
16
|
export interface UserNotificationResponse extends QueryResponse<UserNotificationData, UserNotificationPhrases> {
|
41
17
|
}
|
@@ -1,22 +1,2 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.UNDSIDs = exports.UserNotificationDataSettingID = exports.UNCL = exports.Channels = void 0;
|
4
|
-
var Channels;
|
5
|
-
(function (Channels) {
|
6
|
-
Channels["EMAIL"] = "email";
|
7
|
-
Channels["PUSH"] = "push";
|
8
|
-
})(Channels = exports.Channels || (exports.Channels = {}));
|
9
|
-
exports.UNCL = [Channels.EMAIL, Channels.PUSH];
|
10
|
-
var UserNotificationDataSettingID;
|
11
|
-
(function (UserNotificationDataSettingID) {
|
12
|
-
UserNotificationDataSettingID["ACTIVITY"] = "activity";
|
13
|
-
UserNotificationDataSettingID["RECOMENDATIONS"] = "recomendations";
|
14
|
-
UserNotificationDataSettingID["POLICY_UPDATES"] = "policy_updates";
|
15
|
-
UserNotificationDataSettingID["SECURITY"] = "security";
|
16
|
-
UserNotificationDataSettingID["REMINDERS"] = "reminders";
|
17
|
-
})(UserNotificationDataSettingID = exports.UserNotificationDataSettingID || (exports.UserNotificationDataSettingID = {}));
|
18
|
-
exports.UNDSIDs = [
|
19
|
-
UserNotificationDataSettingID.ACTIVITY, UserNotificationDataSettingID.POLICY_UPDATES,
|
20
|
-
UserNotificationDataSettingID.RECOMENDATIONS, UserNotificationDataSettingID.SECURITY,
|
21
|
-
UserNotificationDataSettingID.REMINDERS
|
22
|
-
];
|
@@ -1,61 +1,8 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
export declare enum CAVStatus {
|
4
|
-
VERIFIED = "VERIFIED",
|
5
|
-
PENDING = "PENDING",
|
6
|
-
FAILED = "FAILED"
|
7
|
-
}
|
1
|
+
import { UserPaymentSettingsPhrases } from '@jealous-robot-dev/shared-phrases';
|
2
|
+
import { QueryResponse } from '../common';
|
8
3
|
export interface UserPaymentSettingsData {
|
9
4
|
connected_account?: string;
|
10
5
|
last_update: string;
|
11
6
|
}
|
12
|
-
export interface UserPaymentSettingsPhrases {
|
13
|
-
FAQ: FAQ[];
|
14
|
-
settings: {
|
15
|
-
dialogs: {
|
16
|
-
enter_password: {
|
17
|
-
title: string;
|
18
|
-
description: string;
|
19
|
-
input: {
|
20
|
-
label: string;
|
21
|
-
warnings: {
|
22
|
-
invalid: string;
|
23
|
-
};
|
24
|
-
};
|
25
|
-
submit: string;
|
26
|
-
};
|
27
|
-
};
|
28
|
-
title: string;
|
29
|
-
on_payouts: string;
|
30
|
-
payout_solutions: {
|
31
|
-
label: string;
|
32
|
-
learn_more: string;
|
33
|
-
description: string;
|
34
|
-
};
|
35
|
-
last_update: string;
|
36
|
-
connected_account: {
|
37
|
-
title: string;
|
38
|
-
create: string;
|
39
|
-
disconnect: string;
|
40
|
-
description: string;
|
41
|
-
statuses: {
|
42
|
-
id: CAVStatus;
|
43
|
-
phrases: LND;
|
44
|
-
}[];
|
45
|
-
};
|
46
|
-
session_expired: LND;
|
47
|
-
preferred_currency: {
|
48
|
-
form: {
|
49
|
-
select_currency: string;
|
50
|
-
cancel: string;
|
51
|
-
submit: string;
|
52
|
-
};
|
53
|
-
label: string;
|
54
|
-
learn_more: string;
|
55
|
-
description: string;
|
56
|
-
currencies: Currency[];
|
57
|
-
};
|
58
|
-
};
|
59
|
-
}
|
60
7
|
export interface UserPaymentSettingsResponse extends QueryResponse<UserPaymentSettingsData, UserPaymentSettingsPhrases> {
|
61
8
|
}
|