@jealous-robot-dev/shared-types-responses 1.38.9 → 1.39.0

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.
@@ -32,10 +32,10 @@ export interface CheckoutEventDetails {
32
32
  expires: number;
33
33
  event_id: string;
34
34
  fee: {
35
+ tax: number;
35
36
  net: number;
36
37
  app_fee: number;
37
38
  currency: string;
38
- processing_fee: number;
39
39
  };
40
40
  };
41
41
  stripe: {
@@ -1,4 +1,4 @@
1
- import { EventSectionIDs, EventTypes, HostEventPics, ServiceConnectionInstrument, ServiceAudience } from '@jealous-robot-dev/drophr-common';
1
+ import { EventSectionIDs, EventTypes, HostEventPics, ServiceConnectionInstrument, ServiceAudience, MasterContactReasons } from '@jealous-robot-dev/drophr-common';
2
2
  export interface ViewEventCommonData {
3
3
  id: string;
4
4
  host: string;
@@ -72,3 +72,13 @@ export interface ViewEventResponse {
72
72
  sections: EventSectionIDs[];
73
73
  host: ViewEventHostData;
74
74
  }
75
+ export interface CreateListingInquiryInput {
76
+ type: MasterContactReasons;
77
+ listing: {
78
+ id: string;
79
+ sids: string[];
80
+ master: string;
81
+ };
82
+ comment: string;
83
+ timestamps?: number[];
84
+ }
@@ -1,7 +1,9 @@
1
+ import { MessengerMedia } from '.';
1
2
  import { Message } from './messages';
2
3
  export interface MessengerUser {
3
4
  ppu: string;
4
5
  UID: string;
6
+ gb?: boolean;
5
7
  username: string;
6
8
  lastname: string;
7
9
  firstname: string;
@@ -11,6 +13,7 @@ export interface MessengerUser {
11
13
  export interface ShortMessengerUser {
12
14
  ppu: string;
13
15
  UID: string;
16
+ gb?: boolean;
14
17
  username: string;
15
18
  lastname: string;
16
19
  firstname: string;
@@ -20,7 +23,7 @@ export interface Conversation {
20
23
  id: string;
21
24
  index: number;
22
25
  latest_msgs: Message[];
23
- media: string[];
26
+ media: MessengerMedia[];
24
27
  msg_count: number;
25
28
  members: MessengerUser[];
26
29
  }
@@ -28,7 +31,7 @@ export interface ShortConversation {
28
31
  id: string;
29
32
  index: number;
30
33
  latest_msgs: Message[];
31
- media: string[];
34
+ media: MessengerMedia[];
32
35
  no_more_msgs: boolean;
33
36
  member: ShortMessengerUser;
34
37
  available: boolean;
@@ -2,3 +2,7 @@ export * from './messages';
2
2
  export * from './user-inbox';
3
3
  export * from './live-channel';
4
4
  export * from './conversations';
5
+ export interface MessengerMedia {
6
+ id: string;
7
+ extension: string;
8
+ }
@@ -1,3 +1,4 @@
1
+ import { MessengerMedia } from ".";
1
2
  export declare enum LiveChannelClientMsgs {
2
3
  DELETE_MSG = "msg:delete",
3
4
  EDIT_MSG = "msg:edit",
@@ -17,7 +18,7 @@ export interface SendMsgPayload {
17
18
  conv_id: string;
18
19
  author: string;
19
20
  text?: string;
20
- attachment?: string;
21
+ attachment?: MessengerMedia;
21
22
  }
22
23
  export interface MsgSentPayload {
23
24
  new_id: number;
@@ -26,7 +27,7 @@ export interface MsgSentPayload {
26
27
  author: string;
27
28
  text?: string;
28
29
  written_at: number;
29
- attachment?: string;
30
+ attachment?: MessengerMedia;
30
31
  }
31
32
  export interface MsgEditionPayload {
32
33
  id: number;
@@ -1,3 +1,4 @@
1
+ import { MessengerMedia } from ".";
1
2
  export declare enum MessageStatus {
2
3
  SENDING = "sending",
3
4
  SENT = "sent",
@@ -10,6 +11,6 @@ export interface Message {
10
11
  conv_id: string;
11
12
  written_at: number;
12
13
  text?: string;
13
- attachment?: string;
14
+ attachment?: MessengerMedia;
14
15
  status: MessageStatus;
15
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.38.9",
3
+ "version": "1.39.0",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -24,8 +24,8 @@
24
24
  "typescript": "^3.8.3"
25
25
  },
26
26
  "dependencies": {
27
- "@jealous-robot-dev/drophr-common": "^1.4.12",
27
+ "@jealous-robot-dev/drophr-common": "^1.6.4",
28
28
  "@jealous-robot-dev/shared-phrases": "^1.5.10",
29
29
  "@jealous-robot-dev/shared-ui-lib": "^1.11.1"
30
30
  }
31
- }
31
+ }