@jealous-robot-dev/shared-types-responses 1.54.4 → 1.54.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
  }
@@ -16,7 +16,10 @@ export interface UserPersonalInfo {
16
16
  isVerified: boolean;
17
17
  };
18
18
  INFORMCompliant: boolean;
19
- phone: PhoneNumber | null;
19
+ phone: {
20
+ isEligible: boolean;
21
+ value: PhoneNumber | null;
22
+ };
20
23
  birthday: PersonalInfoBirthday | null;
21
24
  }
22
25
  export interface UserPersonalInfoResponse extends QueryResponse<UserPersonalInfo, UserPersonalInfoPhrases> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.54.4",
3
+ "version": "1.54.6",
4
4
  "description": "Meetle common types of API responses",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",