@jealous-robot-dev/shared-types-responses 1.53.0 → 1.53.2

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.
@@ -3,8 +3,8 @@ export interface CreatorActivityData {
3
3
  id: string;
4
4
  pic: string;
5
5
  name: string;
6
- lang: string;
7
6
  rating: number;
7
+ langs: string[];
8
8
  reviews: number;
9
9
  type: EventTypes;
10
10
  is_active: boolean;
@@ -20,9 +20,9 @@ export interface CheckoutEventDetails {
20
20
  event_details: {
21
21
  pic: string;
22
22
  name: string;
23
+ langs: string[];
23
24
  raiting: number;
24
25
  reviews: number;
25
- language: string;
26
26
  duration: number;
27
27
  type: EventTypes;
28
28
  starts_at: number;
@@ -7,10 +7,10 @@ export interface EventImpressionData {
7
7
  rid: string;
8
8
  pic: string;
9
9
  name: string;
10
+ langs: string[];
10
11
  reviews: number;
11
12
  raiting: number;
12
13
  duration: number;
13
- language: string;
14
14
  type: EventTypes;
15
15
  starts_at: number;
16
16
  host: UserInEvent;
@@ -2,7 +2,7 @@ import { EventSectionIDs, EventTypes, HostEventPics, ServiceAudience, MasterCont
2
2
  export interface ViewEventCommonData {
3
3
  id: string;
4
4
  host: string;
5
- language: string;
5
+ langs: string[];
6
6
  type: EventTypes;
7
7
  name: string;
8
8
  description: string;
@@ -20,7 +20,7 @@ export interface HEDraft {
20
20
  [FormEventFields.NAME]?: string;
21
21
  [FormEventFields.DESCRIPTION]?: string;
22
22
  [FormEventFields.PICTURES]?: HostEventPics[];
23
- [FormEventFields.LANG]?: string;
23
+ [FormEventFields.LANG]?: string[];
24
24
  [FormEventFields.FEE]?: HostEventFee;
25
25
  [FormEventFields.TYPE]?: EventTypes;
26
26
  [FormEventFields.TIME]?: HostEventTime;
@@ -34,7 +34,7 @@ export interface HEShortcut {
34
34
  name: string;
35
35
  fee: number;
36
36
  pic: string;
37
- lang: string;
37
+ langs: string[];
38
38
  type: EventTypes;
39
39
  duration: number;
40
40
  }
@@ -4,7 +4,7 @@ export interface HostHubEventData {
4
4
  id: string;
5
5
  pic: string;
6
6
  name: string;
7
- lang: string;
7
+ langs: string[];
8
8
  type: EventTypes;
9
9
  }
10
10
  export interface HostHubTodayEvtClient {
@@ -6,7 +6,7 @@ export interface EventInManager {
6
6
  id: string;
7
7
  name: string;
8
8
  pic: string;
9
- language: string;
9
+ langs: string[];
10
10
  type: EventTypes;
11
11
  capacity: number;
12
12
  registred: number;
@@ -7,7 +7,7 @@ export interface UrgentEvent {
7
7
  }
8
8
  export interface UrgentEventData {
9
9
  name: string;
10
- lang: string;
10
+ langs: string[];
11
11
  type: EventTypes;
12
12
  duration: number;
13
13
  pic: string;
@@ -1,9 +1,10 @@
1
- import { AuthenticationProviders, DropHRUserAgents, UserDevice } from '@jealous-robot-dev/drophr-common';
1
+ import { AuthenticationProviders, DropHRUserAgents, PhoneNumber, UserDevice } from '@jealous-robot-dev/drophr-common';
2
2
  export interface ShortAuthFormData {
3
3
  UID: string;
4
- email: string;
5
4
  ppu: string;
5
+ email: string;
6
6
  firstname: string;
7
+ phone?: PhoneNumber;
7
8
  auth_provider: AuthenticationProviders;
8
9
  }
9
10
  export interface AuthFormData {
@@ -3,9 +3,9 @@ export interface LiveRoomStandartSessionResponse {
3
3
  listing: {
4
4
  id: string;
5
5
  pic: string;
6
- lang: string;
7
6
  name: string;
8
7
  host: string;
8
+ langs: string[];
9
9
  type: EventTypes;
10
10
  session: {
11
11
  sid: string;
@@ -9,7 +9,7 @@ export interface GuestBookingCancellationData {
9
9
  amount: number;
10
10
  fee: number;
11
11
  };
12
- lang: string;
12
+ langs: string[];
13
13
  name: string;
14
14
  pic: string;
15
15
  sid: string;
@@ -1,4 +1,5 @@
1
1
  import { UserPersonalInfoPhrases } from '@jealous-robot-dev/shared-phrases';
2
+ import { PhoneNumber } from '@jealous-robot-dev/drophr-common';
2
3
  import { QueryResponse } from '../common';
3
4
  export interface PersonalInfoBirthday {
4
5
  year: string;
@@ -9,7 +10,7 @@ export interface UserPersonalInfo {
9
10
  email: string;
10
11
  lastname: string;
11
12
  firstname: string;
12
- phone: string | null;
13
+ phone: PhoneNumber | null;
13
14
  birthday: PersonalInfoBirthday | null;
14
15
  }
15
16
  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.53.0",
3
+ "version": "1.53.2",
4
4
  "description": "Meetle common types of API responses",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",