@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
@@ -1,11 +1,11 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PasswordRequiringPermissions = void 0;
|
4
|
-
var PasswordRequiringPermissions;
|
5
|
-
(function (PasswordRequiringPermissions) {
|
6
|
-
PasswordRequiringPermissions["RESET_PASSWORD"] = "RESET_PASSWORD";
|
7
|
-
PasswordRequiringPermissions["DELETE_ACCOUNT"] = "DELETE_ACCOUNT";
|
8
|
-
PasswordRequiringPermissions["SUSPEND_EVENT"] = "SUSPEND_EVENT";
|
9
|
-
PasswordRequiringPermissions["RESUME_EVENT"] = "RESUME_EVENT";
|
10
|
-
PasswordRequiringPermissions["DELETE_EVENT"] = "DELETE_EVENT";
|
11
|
-
})(PasswordRequiringPermissions = exports.PasswordRequiringPermissions || (exports.PasswordRequiringPermissions = {}));
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PasswordRequiringPermissions = void 0;
|
4
|
+
var PasswordRequiringPermissions;
|
5
|
+
(function (PasswordRequiringPermissions) {
|
6
|
+
PasswordRequiringPermissions["RESET_PASSWORD"] = "RESET_PASSWORD";
|
7
|
+
PasswordRequiringPermissions["DELETE_ACCOUNT"] = "DELETE_ACCOUNT";
|
8
|
+
PasswordRequiringPermissions["SUSPEND_EVENT"] = "SUSPEND_EVENT";
|
9
|
+
PasswordRequiringPermissions["RESUME_EVENT"] = "RESUME_EVENT";
|
10
|
+
PasswordRequiringPermissions["DELETE_EVENT"] = "DELETE_EVENT";
|
11
|
+
})(PasswordRequiringPermissions = exports.PasswordRequiringPermissions || (exports.PasswordRequiringPermissions = {}));
|
@@ -1 +1 @@
|
|
1
|
-
export * from './searchbar';
|
1
|
+
export * from './searchbar';
|
@@ -1,13 +1,17 @@
|
|
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(
|
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("./searchbar"), exports);
|
@@ -1,17 +1,17 @@
|
|
1
|
-
import { SearchbarPhrases } from "@jealous-robot-dev/shared-phrases";
|
2
|
-
import { QueryResponse } from "../common";
|
3
|
-
export interface SearchUser {
|
4
|
-
username: string;
|
5
|
-
firstname: string;
|
6
|
-
lastname: string;
|
7
|
-
ppu: string;
|
8
|
-
UID: string;
|
9
|
-
}
|
10
|
-
export interface SearchbarData {
|
11
|
-
recent_searches: {
|
12
|
-
users: SearchUser[];
|
13
|
-
tags: string[];
|
14
|
-
};
|
15
|
-
}
|
16
|
-
export interface SearchbarResponse extends QueryResponse<SearchbarData, SearchbarPhrases> {
|
17
|
-
}
|
1
|
+
import { SearchbarPhrases } from "@jealous-robot-dev/shared-phrases";
|
2
|
+
import { QueryResponse } from "../common";
|
3
|
+
export interface SearchUser {
|
4
|
+
username: string;
|
5
|
+
firstname: string;
|
6
|
+
lastname: string;
|
7
|
+
ppu: string;
|
8
|
+
UID: string;
|
9
|
+
}
|
10
|
+
export interface SearchbarData {
|
11
|
+
recent_searches: {
|
12
|
+
users: SearchUser[];
|
13
|
+
tags: string[];
|
14
|
+
};
|
15
|
+
}
|
16
|
+
export interface SearchbarResponse extends QueryResponse<SearchbarData, SearchbarPhrases> {
|
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,27 +1,34 @@
|
|
1
|
-
import { EventTypes, PerformancePayoutStatus } from '@jealous-robot-dev/drophr-common';
|
2
|
-
export interface HostPayoutSeance {
|
3
|
-
sid: string;
|
4
|
-
|
5
|
-
duration: number;
|
6
|
-
earnings: number;
|
7
|
-
starts_at: number;
|
8
|
-
customers: number;
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
1
|
+
import { EventTypes, PerformancePayoutStatus } from '@jealous-robot-dev/drophr-common';
|
2
|
+
export interface HostPayoutSeance {
|
3
|
+
sid: string;
|
4
|
+
total: number;
|
5
|
+
duration: number;
|
6
|
+
earnings: number;
|
7
|
+
starts_at: number;
|
8
|
+
customers: number;
|
9
|
+
fee_updated: boolean;
|
10
|
+
availability: number;
|
11
|
+
with_connect_fee: boolean;
|
12
|
+
status: PerformancePayoutStatus;
|
13
|
+
}
|
14
|
+
export interface HostPayoutsEvt {
|
15
|
+
event_id: string;
|
16
|
+
pic: string;
|
17
|
+
name: string;
|
18
|
+
type: EventTypes;
|
19
|
+
total_income: number;
|
20
|
+
last_updated: number;
|
21
|
+
seances: HostPayoutSeance[];
|
22
|
+
}
|
23
|
+
export interface HostPayoutsMonth {
|
24
|
+
id: number;
|
25
|
+
total_income: number;
|
26
|
+
payouts_received: number;
|
27
|
+
services: HostPayoutsEvt[];
|
28
|
+
}
|
29
|
+
export interface InitialHostPayoutsData {
|
30
|
+
total_income: number;
|
31
|
+
month: HostPayoutsMonth;
|
32
|
+
payouts_received: number;
|
33
|
+
available_months: number[];
|
34
|
+
}
|
@@ -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';
|
2
|
-
export * from './user-performance';
|
3
|
-
export * from './payment-history';
|
4
|
-
export * from './user-visitors';
|
5
|
-
export * from './host-payouts';
|
6
|
-
export * from './user-reviews';
|
7
|
-
export * from './schedule';
|
1
|
+
export * from './user-notifications';
|
2
|
+
export * from './user-performance';
|
3
|
+
export * from './payment-history';
|
4
|
+
export * from './user-visitors';
|
5
|
+
export * from './host-payouts';
|
6
|
+
export * from './user-reviews';
|
7
|
+
export * from './schedule';
|
@@ -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("./
|
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"), exports);
|
18
|
+
__exportStar(require("./user-performance"), exports);
|
19
|
+
__exportStar(require("./payment-history"), exports);
|
20
|
+
__exportStar(require("./user-visitors"), exports);
|
21
|
+
__exportStar(require("./host-payouts"), exports);
|
22
|
+
__exportStar(require("./user-reviews"), exports);
|
23
|
+
__exportStar(require("./schedule"), exports);
|
@@ -1,16 +1,16 @@
|
|
1
|
-
import { PaymentType } from '@jealous-robot-dev/drophr-common';
|
2
|
-
export interface PaymentHistoryTransaction {
|
3
|
-
id: string;
|
4
|
-
amount: number;
|
5
|
-
made_at: number;
|
6
|
-
currency: string;
|
7
|
-
reason: PaymentType;
|
8
|
-
}
|
9
|
-
export interface PaymentHistoryData {
|
10
|
-
transactions: PaymentHistoryTransaction[];
|
11
|
-
has_more: boolean;
|
12
|
-
}
|
13
|
-
export interface PaymentHistoryInitialResponse extends PaymentHistoryData {
|
14
|
-
total_transactions: number;
|
15
|
-
is_connected: boolean;
|
16
|
-
}
|
1
|
+
import { PaymentType } from '@jealous-robot-dev/drophr-common';
|
2
|
+
export interface PaymentHistoryTransaction {
|
3
|
+
id: string;
|
4
|
+
amount: number;
|
5
|
+
made_at: number;
|
6
|
+
currency: string;
|
7
|
+
reason: PaymentType;
|
8
|
+
}
|
9
|
+
export interface PaymentHistoryData {
|
10
|
+
transactions: PaymentHistoryTransaction[];
|
11
|
+
has_more: boolean;
|
12
|
+
}
|
13
|
+
export interface PaymentHistoryInitialResponse extends PaymentHistoryData {
|
14
|
+
total_transactions: number;
|
15
|
+
is_connected: boolean;
|
16
|
+
}
|
@@ -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,19 +1,19 @@
|
|
1
|
-
export interface ScheduleEvent {
|
2
|
-
id: string;
|
3
|
-
pic: string;
|
4
|
-
name: string;
|
5
|
-
host: {
|
6
|
-
UID: string;
|
7
|
-
names: {
|
8
|
-
first: string;
|
9
|
-
last: string;
|
10
|
-
};
|
11
|
-
};
|
12
|
-
session: {
|
13
|
-
sid: string;
|
14
|
-
ps: boolean;
|
15
|
-
duration: number;
|
16
|
-
starts_at: number;
|
17
|
-
is_cancellable: boolean;
|
18
|
-
};
|
19
|
-
}
|
1
|
+
export interface ScheduleEvent {
|
2
|
+
id: string;
|
3
|
+
pic: string;
|
4
|
+
name: string;
|
5
|
+
host: {
|
6
|
+
UID: string;
|
7
|
+
names: {
|
8
|
+
first: string;
|
9
|
+
last: string;
|
10
|
+
};
|
11
|
+
};
|
12
|
+
session: {
|
13
|
+
sid: string;
|
14
|
+
ps: boolean;
|
15
|
+
duration: number;
|
16
|
+
starts_at: number;
|
17
|
+
is_cancellable: boolean;
|
18
|
+
};
|
19
|
+
}
|
@@ -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,25 +1,25 @@
|
|
1
|
-
import { NotificationTypes, NotificationCategory } from '@jealous-robot-dev/drophr-common';
|
2
|
-
import { UserNotificationsPhrases } from '@jealous-robot-dev/shared-phrases';
|
3
|
-
import { QueryResponse } from '../common';
|
4
|
-
export interface WebNotification {
|
5
|
-
id: string;
|
6
|
-
type: NotificationTypes;
|
7
|
-
category: NotificationCategory;
|
8
|
-
seen: boolean;
|
9
|
-
time: number;
|
10
|
-
url?: string;
|
11
|
-
metadata: any;
|
12
|
-
}
|
13
|
-
export interface Notifications {
|
14
|
-
unseen: boolean;
|
15
|
-
has_more: boolean;
|
16
|
-
entries: WebNotification[];
|
17
|
-
}
|
18
|
-
export interface UserNotificationsData {
|
19
|
-
notifs: {
|
20
|
-
host: Notifications;
|
21
|
-
customer: Notifications;
|
22
|
-
};
|
23
|
-
}
|
24
|
-
export interface UserNotificationsResponse extends QueryResponse<UserNotificationsData, UserNotificationsPhrases> {
|
25
|
-
}
|
1
|
+
import { NotificationTypes, NotificationCategory } from '@jealous-robot-dev/drophr-common';
|
2
|
+
import { UserNotificationsPhrases } from '@jealous-robot-dev/shared-phrases';
|
3
|
+
import { QueryResponse } from '../common';
|
4
|
+
export interface WebNotification {
|
5
|
+
id: string;
|
6
|
+
type: NotificationTypes;
|
7
|
+
category: NotificationCategory;
|
8
|
+
seen: boolean;
|
9
|
+
time: number;
|
10
|
+
url?: string;
|
11
|
+
metadata: any;
|
12
|
+
}
|
13
|
+
export interface Notifications {
|
14
|
+
unseen: boolean;
|
15
|
+
has_more: boolean;
|
16
|
+
entries: WebNotification[];
|
17
|
+
}
|
18
|
+
export interface UserNotificationsData {
|
19
|
+
notifs: {
|
20
|
+
host: Notifications;
|
21
|
+
customer: Notifications;
|
22
|
+
};
|
23
|
+
}
|
24
|
+
export interface UserNotificationsResponse extends QueryResponse<UserNotificationsData, UserNotificationsPhrases> {
|
25
|
+
}
|
@@ -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 { EventTypes } from '@jealous-robot-dev/drophr-common';
|
2
|
-
export interface EventInPerformance {
|
3
|
-
id: string;
|
4
|
-
name: string;
|
5
|
-
type: EventTypes;
|
6
|
-
duration: number;
|
7
|
-
picture: string;
|
8
|
-
seances: {
|
9
|
-
sid: string;
|
10
|
-
duration: number;
|
11
|
-
starts_at: number;
|
12
|
-
}[];
|
13
|
-
}
|
1
|
+
import { EventTypes } from '@jealous-robot-dev/drophr-common';
|
2
|
+
export interface EventInPerformance {
|
3
|
+
id: string;
|
4
|
+
name: string;
|
5
|
+
type: EventTypes;
|
6
|
+
duration: number;
|
7
|
+
picture: string;
|
8
|
+
seances: {
|
9
|
+
sid: string;
|
10
|
+
duration: number;
|
11
|
+
starts_at: number;
|
12
|
+
}[];
|
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,24 +1,24 @@
|
|
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';
|
5
|
-
export interface HostReview {
|
6
|
-
event: {
|
7
|
-
id: string;
|
8
|
-
name: string;
|
9
|
-
type: EventTypes;
|
10
|
-
};
|
11
|
-
rid: string;
|
12
|
-
rate: number;
|
13
|
-
comment: string;
|
14
|
-
written_at: number;
|
15
|
-
author: UserInEvent;
|
16
|
-
}
|
17
|
-
export interface UserReviewData {
|
18
|
-
avg_rate: number;
|
19
|
-
reviews_count: number;
|
20
|
-
entries: HostReview[];
|
21
|
-
has_more: boolean;
|
22
|
-
}
|
23
|
-
export interface UserReviewsResponse extends QueryResponse<UserReviewData, UserReviewPhrases> {
|
24
|
-
}
|
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';
|
5
|
+
export interface HostReview {
|
6
|
+
event: {
|
7
|
+
id: string;
|
8
|
+
name: string;
|
9
|
+
type: EventTypes;
|
10
|
+
};
|
11
|
+
rid: string;
|
12
|
+
rate: number;
|
13
|
+
comment: string;
|
14
|
+
written_at: number;
|
15
|
+
author: UserInEvent;
|
16
|
+
}
|
17
|
+
export interface UserReviewData {
|
18
|
+
avg_rate: number;
|
19
|
+
reviews_count: number;
|
20
|
+
entries: HostReview[];
|
21
|
+
has_more: boolean;
|
22
|
+
}
|
23
|
+
export interface UserReviewsResponse extends QueryResponse<UserReviewData, UserReviewPhrases> {
|
24
|
+
}
|
@@ -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,6 +1,6 @@
|
|
1
|
-
export interface ShortEventVisitor {
|
2
|
-
UID: string;
|
3
|
-
firstname: string;
|
4
|
-
lastname: string;
|
5
|
-
ppu: string;
|
6
|
-
}
|
1
|
+
export interface ShortEventVisitor {
|
2
|
+
UID: string;
|
3
|
+
firstname: string;
|
4
|
+
lastname: string;
|
5
|
+
ppu: string;
|
6
|
+
}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/build/services/sync.d.ts
CHANGED
@@ -1,39 +1,39 @@
|
|
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
|
-
}
|
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
|
+
}
|