@jealous-robot-dev/shared-types-responses 1.35.4 → 1.35.7
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 +13 -13
- package/build/index.js +29 -25
- package/build/services/common.d.ts +39 -39
- package/build/services/common.js +33 -33
- package/build/services/errors.d.ts +21 -21
- package/build/services/errors.js +26 -26
- package/build/services/events/become-host.d.ts +34 -34
- package/build/services/events/become-host.js +2 -2
- package/build/services/events/customerhub.d.ts +39 -39
- package/build/services/events/customerhub.js +2 -2
- package/build/services/events/event-checkout.d.ts +50 -50
- package/build/services/events/event-checkout.js +15 -15
- package/build/services/events/event-impression.d.ts +19 -19
- package/build/services/events/event-impression.js +2 -2
- package/build/services/events/event-search.d.ts +14 -14
- package/build/services/events/event-search.js +2 -2
- package/build/services/events/event.d.ts +70 -70
- package/build/services/events/event.js +2 -2
- package/build/services/events/events.d.ts +57 -57
- package/build/services/events/events.js +2 -2
- package/build/services/events/host-an-event.d.ts +39 -39
- package/build/services/events/host-an-event.js +3 -3
- package/build/services/events/host.d.ts +62 -62
- package/build/services/events/host.js +2 -2
- package/build/services/events/index.d.ts +14 -14
- package/build/services/events/index.js +30 -26
- package/build/services/events/live-channel.d.ts +56 -56
- package/build/services/events/live-channel.js +13 -13
- package/build/services/events/manage-events.d.ts +30 -30
- package/build/services/events/manage-events.js +2 -2
- package/build/services/events/seance-join.d.ts +20 -20
- package/build/services/events/seance-join.js +10 -10
- package/build/services/events/tag-search.d.ts +13 -13
- package/build/services/events/tag-search.js +2 -2
- package/build/services/events/urgent-event.d.ts +20 -20
- package/build/services/events/urgent-event.js +8 -8
- package/build/services/forms/authentication.d.ts +37 -37
- package/build/services/forms/authentication.js +19 -19
- package/build/services/forms/index.d.ts +1 -1
- package/build/services/forms/index.js +17 -13
- package/build/services/landing-page.d.ts +50 -50
- package/build/services/landing-page.js +11 -11
- package/build/services/main-data.d.ts +48 -47
- package/build/services/main-data.js +2 -2
- package/build/services/messenger/conversations.d.ts +43 -43
- package/build/services/messenger/conversations.js +2 -2
- package/build/services/messenger/index.d.ts +4 -4
- package/build/services/messenger/index.js +20 -16
- package/build/services/messenger/live-channel.d.ts +60 -60
- package/build/services/messenger/live-channel.js +19 -19
- package/build/services/messenger/messages.d.ts +15 -15
- package/build/services/messenger/messages.js +10 -10
- package/build/services/messenger/user-inbox.d.ts +16 -16
- package/build/services/messenger/user-inbox.js +2 -2
- package/build/services/payments/cancellation.d.ts +48 -48
- package/build/services/payments/cancellation.js +2 -2
- package/build/services/payments/index.d.ts +1 -1
- package/build/services/payments/index.js +17 -13
- package/build/services/permissions.d.ts +7 -7
- package/build/services/permissions.js +11 -11
- package/build/services/static-components/index.d.ts +1 -1
- package/build/services/static-components/index.js +17 -13
- package/build/services/static-components/searchbar.d.ts +17 -17
- package/build/services/static-components/searchbar.js +2 -2
- package/build/services/stats/host-payouts.d.ts +34 -27
- package/build/services/stats/host-payouts.js +2 -2
- package/build/services/stats/index.d.ts +7 -7
- package/build/services/stats/index.js +23 -19
- package/build/services/stats/payment-history.d.ts +16 -16
- package/build/services/stats/payment-history.js +2 -2
- package/build/services/stats/schedule.d.ts +19 -19
- package/build/services/stats/schedule.js +2 -2
- package/build/services/stats/user-notifications.d.ts +25 -25
- package/build/services/stats/user-notifications.js +2 -2
- package/build/services/stats/user-performance.d.ts +13 -13
- package/build/services/stats/user-performance.js +2 -2
- package/build/services/stats/user-reviews.d.ts +24 -24
- package/build/services/stats/user-reviews.js +2 -2
- package/build/services/stats/user-visitors.d.ts +6 -6
- package/build/services/stats/user-visitors.js +2 -2
- package/build/services/sync.d.ts +39 -39
- package/build/services/sync.js +44 -44
- package/build/services/user/collections.d.ts +17 -17
- package/build/services/user/collections.js +2 -2
- package/build/services/user/index.d.ts +3 -3
- package/build/services/user/index.js +19 -15
- package/build/services/user/profile-basic-data.d.ts +44 -44
- package/build/services/user/profile-basic-data.js +10 -10
- package/build/services/user/search-user.d.ts +12 -12
- package/build/services/user/search-user.js +2 -2
- package/build/services/user-settings/deactivate-account.d.ts +13 -13
- package/build/services/user-settings/deactivate-account.js +2 -2
- package/build/services/user-settings/event-settings.d.ts +22 -22
- package/build/services/user-settings/event-settings.js +2 -2
- package/build/services/user-settings/index.d.ts +7 -7
- package/build/services/user-settings/index.js +23 -19
- package/build/services/user-settings/user-notifications-settings.d.ts +17 -17
- package/build/services/user-settings/user-notifications-settings.js +2 -2
- package/build/services/user-settings/user-payments.d.ts +8 -8
- package/build/services/user-settings/user-payments.js +2 -2
- package/build/services/user-settings/user-personal-info.d.ts +18 -18
- package/build/services/user-settings/user-personal-info.js +2 -2
- package/build/services/user-settings/user-privacy.d.ts +11 -11
- package/build/services/user-settings/user-privacy.js +3 -3
- package/build/services/user-settings/user-security.d.ts +37 -37
- package/build/services/user-settings/user-security.js +2 -2
- package/package.json +31 -31
package/build/services/sync.js
CHANGED
@@ -1,44 +1,44 @@
|
|
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
|
+
"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 +1,17 @@
|
|
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
|
+
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,2 +1,2 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -1,3 +1,3 @@
|
|
1
|
-
export * from './profile-basic-data';
|
2
|
-
export * from './collections';
|
3
|
-
export * from './search-user';
|
1
|
+
export * from './profile-basic-data';
|
2
|
+
export * from './collections';
|
3
|
+
export * from './search-user';
|
@@ -1,15 +1,19 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
-
if (k2 === undefined) k2 = k;
|
4
|
-
Object.
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
__exportStar(
|
14
|
-
|
15
|
-
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./profile-basic-data"), exports);
|
18
|
+
__exportStar(require("./collections"), exports);
|
19
|
+
__exportStar(require("./search-user"), exports);
|
@@ -1,44 +1,44 @@
|
|
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
|
-
about?: string;
|
17
|
-
location?: string;
|
18
|
-
twiterUsername?: string;
|
19
|
-
website?: string;
|
20
|
-
average_raiting?: number;
|
21
|
-
birthday?: PersonalInfoBirthday;
|
22
|
-
has_gold_badge?: boolean;
|
23
|
-
review_count?: number;
|
24
|
-
languagesSpoken: string[];
|
25
|
-
joinedIn: number;
|
26
|
-
isCurrentUser: boolean;
|
27
|
-
isHost: boolean;
|
28
|
-
}
|
29
|
-
export interface UserEventsInProfile {
|
30
|
-
events: ConciseEventData[];
|
31
|
-
}
|
32
|
-
export interface UserReviewsInProfile {
|
33
|
-
reviews: EventReview[];
|
34
|
-
has_more: boolean;
|
35
|
-
pages: number;
|
36
|
-
}
|
37
|
-
export declare enum ProfileShowResponses {
|
38
|
-
FOUND = "FOUND",
|
39
|
-
NOT_FOUND = "NOT_FOUND",
|
40
|
-
BAD_REQUEST = "BAD_REQUEST",
|
41
|
-
PLEASE_LOGIN = "PLEASE_LOGIN"
|
42
|
-
}
|
43
|
-
export interface UserProfileResponse extends QueryResponse<UserProfileData, UserProfilePhrases> {
|
44
|
-
}
|
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
|
+
about?: string;
|
17
|
+
location?: string;
|
18
|
+
twiterUsername?: string;
|
19
|
+
website?: string;
|
20
|
+
average_raiting?: number;
|
21
|
+
birthday?: PersonalInfoBirthday;
|
22
|
+
has_gold_badge?: boolean;
|
23
|
+
review_count?: number;
|
24
|
+
languagesSpoken: string[];
|
25
|
+
joinedIn: number;
|
26
|
+
isCurrentUser: boolean;
|
27
|
+
isHost: boolean;
|
28
|
+
}
|
29
|
+
export interface UserEventsInProfile {
|
30
|
+
events: ConciseEventData[];
|
31
|
+
}
|
32
|
+
export interface UserReviewsInProfile {
|
33
|
+
reviews: EventReview[];
|
34
|
+
has_more: boolean;
|
35
|
+
pages: number;
|
36
|
+
}
|
37
|
+
export declare enum ProfileShowResponses {
|
38
|
+
FOUND = "FOUND",
|
39
|
+
NOT_FOUND = "NOT_FOUND",
|
40
|
+
BAD_REQUEST = "BAD_REQUEST",
|
41
|
+
PLEASE_LOGIN = "PLEASE_LOGIN"
|
42
|
+
}
|
43
|
+
export interface UserProfileResponse extends QueryResponse<UserProfileData, UserProfilePhrases> {
|
44
|
+
}
|
@@ -1,10 +1,10 @@
|
|
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
|
+
"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,12 +1,12 @@
|
|
1
|
-
export interface UserInSearch {
|
2
|
-
UID: string;
|
3
|
-
firstname: string;
|
4
|
-
lastname: string;
|
5
|
-
username: string;
|
6
|
-
raiting?: number;
|
7
|
-
review_count?: number;
|
8
|
-
languages_spoken: string[];
|
9
|
-
has_gold_badge: boolean;
|
10
|
-
joined_in: number;
|
11
|
-
ppu: string;
|
12
|
-
}
|
1
|
+
export interface UserInSearch {
|
2
|
+
UID: string;
|
3
|
+
firstname: string;
|
4
|
+
lastname: string;
|
5
|
+
username: string;
|
6
|
+
raiting?: number;
|
7
|
+
review_count?: number;
|
8
|
+
languages_spoken: string[];
|
9
|
+
has_gold_badge: boolean;
|
10
|
+
joined_in: number;
|
11
|
+
ppu: string;
|
12
|
+
}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -1,13 +1,13 @@
|
|
1
|
-
import { DeactivationBlockReason } from '@jealous-robot-dev/drophr-common';
|
2
|
-
export interface DeactivationRequestResponse {
|
3
|
-
can_deactivate: boolean;
|
4
|
-
hosting?: {
|
5
|
-
cancellable: number;
|
6
|
-
non_cancellable: number;
|
7
|
-
};
|
8
|
-
booking?: {
|
9
|
-
cancellable: number;
|
10
|
-
non_cancellable: number;
|
11
|
-
};
|
12
|
-
reason?: DeactivationBlockReason;
|
13
|
-
}
|
1
|
+
import { DeactivationBlockReason } from '@jealous-robot-dev/drophr-common';
|
2
|
+
export interface DeactivationRequestResponse {
|
3
|
+
can_deactivate: boolean;
|
4
|
+
hosting?: {
|
5
|
+
cancellable: number;
|
6
|
+
non_cancellable: number;
|
7
|
+
};
|
8
|
+
booking?: {
|
9
|
+
cancellable: number;
|
10
|
+
non_cancellable: number;
|
11
|
+
};
|
12
|
+
reason?: DeactivationBlockReason;
|
13
|
+
}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -1,22 +1,22 @@
|
|
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
|
+
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,2 +1,2 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -1,7 +1,7 @@
|
|
1
|
-
export * from './user-notifications-settings';
|
2
|
-
export * from './user-personal-info';
|
3
|
-
export * from './deactivate-account';
|
4
|
-
export * from './event-settings';
|
5
|
-
export * from './user-security';
|
6
|
-
export * from './user-payments';
|
7
|
-
export * from './user-privacy';
|
1
|
+
export * from './user-notifications-settings';
|
2
|
+
export * from './user-personal-info';
|
3
|
+
export * from './deactivate-account';
|
4
|
+
export * from './event-settings';
|
5
|
+
export * from './user-security';
|
6
|
+
export * from './user-payments';
|
7
|
+
export * from './user-privacy';
|
@@ -1,19 +1,23 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
-
if (k2 === undefined) k2 = k;
|
4
|
-
Object.
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
__exportStar(
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
__exportStar(require("./user-
|
18
|
-
__exportStar(require("./user-
|
19
|
-
__exportStar(require("./
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./user-notifications-settings"), exports);
|
18
|
+
__exportStar(require("./user-personal-info"), exports);
|
19
|
+
__exportStar(require("./deactivate-account"), exports);
|
20
|
+
__exportStar(require("./event-settings"), exports);
|
21
|
+
__exportStar(require("./user-security"), exports);
|
22
|
+
__exportStar(require("./user-payments"), exports);
|
23
|
+
__exportStar(require("./user-privacy"), exports);
|
@@ -1,17 +1,17 @@
|
|
1
|
-
import { Channels, UserNotificationDataSettingID } from '@jealous-robot-dev/drophr-common';
|
2
|
-
import { UserNotificationPhrases } 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: UserNotificationDataSettingID;
|
11
|
-
preferences: UserNotificationsDataPreferences[];
|
12
|
-
}
|
13
|
-
export interface UserNotificationData {
|
14
|
-
settings: UserNotificationDataSetting[];
|
15
|
-
}
|
16
|
-
export interface UserNotificationResponse extends QueryResponse<UserNotificationData, UserNotificationPhrases> {
|
17
|
-
}
|
1
|
+
import { Channels, UserNotificationDataSettingID } from '@jealous-robot-dev/drophr-common';
|
2
|
+
import { UserNotificationPhrases } 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: UserNotificationDataSettingID;
|
11
|
+
preferences: UserNotificationsDataPreferences[];
|
12
|
+
}
|
13
|
+
export interface UserNotificationData {
|
14
|
+
settings: UserNotificationDataSetting[];
|
15
|
+
}
|
16
|
+
export interface UserNotificationResponse extends QueryResponse<UserNotificationData, UserNotificationPhrases> {
|
17
|
+
}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -1,8 +1,8 @@
|
|
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
|
+
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,2 +1,2 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -1,18 +1,18 @@
|
|
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
|
+
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,2 +1,2 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -1,11 +1,11 @@
|
|
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.PE]: boolean;
|
7
|
-
[UserPrivacyCheckboxes.PL]: boolean;
|
8
|
-
[UserPrivacyCheckboxes.PBD]: boolean;
|
9
|
-
}
|
10
|
-
export interface UserPrivacyResponse extends QueryResponse<UserPrivacy, UserPrivacyPhrases> {
|
11
|
-
}
|
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.PE]: boolean;
|
7
|
+
[UserPrivacyCheckboxes.PL]: boolean;
|
8
|
+
[UserPrivacyCheckboxes.PBD]: boolean;
|
9
|
+
}
|
10
|
+
export interface UserPrivacyResponse extends QueryResponse<UserPrivacy, UserPrivacyPhrases> {
|
11
|
+
}
|
@@ -1,3 +1,3 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
var drophr_common_1 = require("@jealous-robot-dev/drophr-common");
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
var drophr_common_1 = require("@jealous-robot-dev/drophr-common");
|