@jealous-robot-dev/shared-types-responses 1.54.3 → 1.54.5
Sign up to get free protection for your applications and to get access to all the features.
- package/build/services/events/event.d.ts +3 -1
- package/build/services/stats/creator-payouts.d.ts +1 -1
- package/build/services/user-settings/personal-info.d.ts +6 -0
- package/build/services/user-settings/privacy.d.ts +5 -5
- package/build/services/user-settings/privacy.js +0 -1
- package/package.json +1 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import { EventSectionIDs, EventTypes, HostEventPics, ServiceAudience, MasterContactReasons } from '@jealous-robot-dev/drophr-common';
|
1
|
+
import { EventSectionIDs, EventTypes, HostEventPics, ServiceAudience, MasterContactReasons, PhoneNumber } from '@jealous-robot-dev/drophr-common';
|
2
2
|
export interface ViewEventCommonData {
|
3
3
|
id: string;
|
4
4
|
host: string;
|
@@ -28,6 +28,7 @@ export interface ViewEventHostData {
|
|
28
28
|
about?: string;
|
29
29
|
ppu?: string;
|
30
30
|
UID?: string;
|
31
|
+
email?: string;
|
31
32
|
website?: string;
|
32
33
|
reviews?: number;
|
33
34
|
raiting?: number;
|
@@ -36,6 +37,7 @@ export interface ViewEventHostData {
|
|
36
37
|
firstname?: string;
|
37
38
|
lastname?: string;
|
38
39
|
instagram?: string;
|
40
|
+
phone?: PhoneNumber;
|
39
41
|
has_gold_badge?: boolean;
|
40
42
|
cancellation_rate?: number;
|
41
43
|
}
|
@@ -6,9 +6,9 @@ export interface HostPayoutSeance {
|
|
6
6
|
earnings: number;
|
7
7
|
starts_at: number;
|
8
8
|
customers: number;
|
9
|
+
connect_fee: number;
|
9
10
|
with_fx_fee: boolean;
|
10
11
|
availability: number;
|
11
|
-
with_connect_fee: boolean;
|
12
12
|
status: PerformancePayoutStatus;
|
13
13
|
}
|
14
14
|
export interface HostPayoutsEvt {
|
@@ -8,8 +8,14 @@ export interface PersonalInfoBirthday {
|
|
8
8
|
}
|
9
9
|
export interface UserPersonalInfo {
|
10
10
|
email: string;
|
11
|
+
address: boolean;
|
11
12
|
lastname: string;
|
12
13
|
firstname: string;
|
14
|
+
idVerification: {
|
15
|
+
isActual: boolean;
|
16
|
+
isVerified: boolean;
|
17
|
+
};
|
18
|
+
INFORMCompliant: boolean;
|
13
19
|
phone: PhoneNumber | null;
|
14
20
|
birthday: PersonalInfoBirthday | null;
|
15
21
|
}
|
@@ -2,11 +2,11 @@ import { UserPrivacyCheckboxes } from '@jealous-robot-dev/drophr-common';
|
|
2
2
|
import { UserPrivacyPhrases } from '@jealous-robot-dev/shared-phrases';
|
3
3
|
import { QueryResponse } from '../common';
|
4
4
|
export interface UserPrivacy {
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
[
|
5
|
+
channels: {
|
6
|
+
id: UserPrivacyCheckboxes;
|
7
|
+
canToggle: boolean;
|
8
|
+
value: boolean;
|
9
|
+
}[];
|
10
10
|
}
|
11
11
|
export interface UserPrivacyResponse extends QueryResponse<UserPrivacy, UserPrivacyPhrases> {
|
12
12
|
}
|