@botpress/webchat 1.3.2 → 1.3.4

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.
Files changed (62) hide show
  1. package/.turbo/turbo-build.log +23 -0
  2. package/dist/adapters/messaging-to-target.d.ts +72 -40
  3. package/dist/adapters/target.d.ts +5 -0
  4. package/dist/adapters/webchat-to-target.d.ts +58 -34
  5. package/dist/client/MessagingClient/client.d.ts +1 -0
  6. package/dist/client/PushpinClient/inner-client/index.d.ts +2 -2
  7. package/dist/client/types.d.ts +1 -0
  8. package/dist/components/Block.d.ts +7 -5
  9. package/dist/contexts/WebchatContext.d.ts +3 -7
  10. package/dist/gen/client/index.d.ts +78 -13
  11. package/dist/gen/{models/message.t.d.ts → client/models.d.ts} +91 -3
  12. package/dist/gen/client/operations/addParticipant.d.ts +51 -0
  13. package/dist/gen/client/operations/createConversation.d.ts +39 -0
  14. package/dist/gen/client/operations/createEvent.d.ts +79 -0
  15. package/dist/gen/client/operations/createMessage.d.ts +274 -0
  16. package/dist/gen/client/operations/createUser.d.ts +60 -0
  17. package/dist/gen/client/operations/deleteConversation.d.ts +22 -0
  18. package/dist/gen/client/operations/deleteMessage.d.ts +22 -0
  19. package/dist/gen/client/operations/deleteUser.d.ts +21 -0
  20. package/dist/gen/client/operations/getConversation.d.ts +36 -0
  21. package/dist/gen/client/operations/getEvent.d.ts +58 -0
  22. package/dist/gen/client/operations/getMessage.d.ts +157 -0
  23. package/dist/gen/client/operations/getParticipant.d.ts +48 -0
  24. package/dist/gen/client/operations/getUser.d.ts +46 -0
  25. package/dist/gen/client/operations/listConversationMessages.d.ts +161 -0
  26. package/dist/gen/client/operations/listConversations.d.ts +42 -0
  27. package/dist/gen/client/operations/listParticipants.d.ts +51 -0
  28. package/dist/gen/client/operations/listenConversation.d.ts +22 -0
  29. package/dist/gen/client/operations/removeParticipant.d.ts +23 -0
  30. package/dist/gen/client/operations/updateUser.d.ts +60 -0
  31. package/dist/gen/signals/{customSignal.t.d.ts → custom.t.d.ts} +1 -1
  32. package/dist/gen/signals/index.d.ts +16 -16
  33. package/dist/gen/signals/{messageCreatedSignal.t.d.ts → messageCreated.t.d.ts} +1 -1
  34. package/dist/gen/signals/{webchatConfigSignal.t.d.ts → webchatConfig.t.d.ts} +1 -1
  35. package/dist/gen/signals/{webchatVisibilitySignal.t.d.ts → webchatVisibility.t.d.ts} +1 -1
  36. package/dist/index.js +32913 -21174
  37. package/dist/index.umd.cjs +278 -95
  38. package/dist/types/block-type.d.ts +3 -3
  39. package/openapi.ts +6 -11
  40. package/package.json +4 -1
  41. package/dist/gen/client/api.d.ts +0 -2012
  42. package/dist/gen/client/base.d.ts +0 -54
  43. package/dist/gen/client/client.d.ts +0 -61
  44. package/dist/gen/client/common.d.ts +0 -65
  45. package/dist/gen/client/configuration.d.ts +0 -83
  46. package/dist/gen/models/conversation.j.d.ts +0 -20
  47. package/dist/gen/models/conversation.t.d.ts +0 -10
  48. package/dist/gen/models/conversation.z.d.ts +0 -15
  49. package/dist/gen/models/index.d.ts +0 -1014
  50. package/dist/gen/models/message.j.d.ts +0 -490
  51. package/dist/gen/models/message.z.d.ts +0 -439
  52. package/dist/gen/models/user.j.d.ts +0 -26
  53. package/dist/gen/models/user.t.d.ts +0 -12
  54. package/dist/gen/models/user.z.d.ts +0 -21
  55. /package/dist/gen/signals/{customSignal.j.d.ts → custom.j.d.ts} +0 -0
  56. /package/dist/gen/signals/{customSignal.z.d.ts → custom.z.d.ts} +0 -0
  57. /package/dist/gen/signals/{messageCreatedSignal.j.d.ts → messageCreated.j.d.ts} +0 -0
  58. /package/dist/gen/signals/{messageCreatedSignal.z.d.ts → messageCreated.z.d.ts} +0 -0
  59. /package/dist/gen/signals/{webchatConfigSignal.j.d.ts → webchatConfig.j.d.ts} +0 -0
  60. /package/dist/gen/signals/{webchatConfigSignal.z.d.ts → webchatConfig.z.d.ts} +0 -0
  61. /package/dist/gen/signals/{webchatVisibilitySignal.j.d.ts → webchatVisibility.j.d.ts} +0 -0
  62. /package/dist/gen/signals/{webchatVisibilitySignal.z.d.ts → webchatVisibility.z.d.ts} +0 -0
@@ -0,0 +1,36 @@
1
+ export interface GetConversationRequestHeaders {
2
+ "x-user-key": string;
3
+ }
4
+ export interface GetConversationRequestQuery {
5
+ }
6
+ export interface GetConversationRequestParams {
7
+ id: string;
8
+ }
9
+ export interface GetConversationRequestBody {
10
+ }
11
+ export type GetConversationInput = GetConversationRequestBody & GetConversationRequestHeaders & GetConversationRequestQuery & GetConversationRequestParams;
12
+ export type GetConversationRequest = {
13
+ headers: GetConversationRequestHeaders;
14
+ query: GetConversationRequestQuery;
15
+ params: GetConversationRequestParams;
16
+ body: GetConversationRequestBody;
17
+ };
18
+ export declare const parseReq: (input: GetConversationInput) => GetConversationRequest & {
19
+ path: string;
20
+ };
21
+ export interface GetConversationResponse {
22
+ conversation: {
23
+ /**
24
+ * Id of the [Conversation](#schema_conversation)
25
+ */
26
+ id: string;
27
+ /**
28
+ * Creation date of the [Conversation](#schema_conversation) in ISO 8601 format
29
+ */
30
+ createdAt: string;
31
+ /**
32
+ * Updating date of the [Conversation](#schema_conversation) in ISO 8601 format
33
+ */
34
+ updatedAt: string;
35
+ };
36
+ }
@@ -0,0 +1,58 @@
1
+ export interface GetEventRequestHeaders {
2
+ "x-user-key": string;
3
+ }
4
+ export interface GetEventRequestQuery {
5
+ }
6
+ export interface GetEventRequestParams {
7
+ id: string;
8
+ }
9
+ export interface GetEventRequestBody {
10
+ }
11
+ export type GetEventInput = GetEventRequestBody & GetEventRequestHeaders & GetEventRequestQuery & GetEventRequestParams;
12
+ export type GetEventRequest = {
13
+ headers: GetEventRequestHeaders;
14
+ query: GetEventRequestQuery;
15
+ params: GetEventRequestParams;
16
+ body: GetEventRequestBody;
17
+ };
18
+ export declare const parseReq: (input: GetEventInput) => GetEventRequest & {
19
+ path: string;
20
+ };
21
+ export interface GetEventResponse {
22
+ event: {
23
+ /**
24
+ * ID of the [Event](#schema_event).
25
+ */
26
+ id: string;
27
+ /**
28
+ * Creation date of the [Event](#schema_event) in ISO 8601 format
29
+ */
30
+ createdAt: string;
31
+ /**
32
+ * Payload is the content of the event.
33
+ */
34
+ payload: {
35
+ type: "custom";
36
+ data: {
37
+ [k: string]: {
38
+ [k: string]: any;
39
+ };
40
+ };
41
+ } | {
42
+ type: "conversation_started";
43
+ data: {
44
+ [k: string]: {
45
+ [k: string]: any;
46
+ };
47
+ };
48
+ };
49
+ /**
50
+ * ID of the [Conversation](#schema_conversation).
51
+ */
52
+ conversationId: string;
53
+ /**
54
+ * ID of the [User](#schema_user).
55
+ */
56
+ userId: string;
57
+ };
58
+ }
@@ -0,0 +1,157 @@
1
+ export interface GetMessageRequestHeaders {
2
+ "x-user-key": string;
3
+ }
4
+ export interface GetMessageRequestQuery {
5
+ }
6
+ export interface GetMessageRequestParams {
7
+ id: string;
8
+ }
9
+ export interface GetMessageRequestBody {
10
+ }
11
+ export type GetMessageInput = GetMessageRequestBody & GetMessageRequestHeaders & GetMessageRequestQuery & GetMessageRequestParams;
12
+ export type GetMessageRequest = {
13
+ headers: GetMessageRequestHeaders;
14
+ query: GetMessageRequestQuery;
15
+ params: GetMessageRequestParams;
16
+ body: GetMessageRequestBody;
17
+ };
18
+ export declare const parseReq: (input: GetMessageInput) => GetMessageRequest & {
19
+ path: string;
20
+ };
21
+ export interface GetMessageResponse {
22
+ /**
23
+ * The Message object represents a message in a [Conversation](#schema_conversation) for a specific [User](#schema_user).
24
+ */
25
+ message: {
26
+ /**
27
+ * Id of the [Message](#schema_message)
28
+ */
29
+ id: string;
30
+ /**
31
+ * Creation date of the [Message](#schema_message) in ISO 8601 format
32
+ */
33
+ createdAt: string;
34
+ /**
35
+ * Payload is the content type of the message.
36
+ */
37
+ payload: {
38
+ audioUrl: string;
39
+ /**
40
+ * CSS className to apply to the message
41
+ */
42
+ className?: string;
43
+ type: "audio";
44
+ } | {
45
+ title: string;
46
+ subtitle?: string;
47
+ imageUrl?: string;
48
+ actions: {
49
+ action: "postback" | "url" | "say";
50
+ label: string;
51
+ value: string;
52
+ }[];
53
+ type: "card";
54
+ /**
55
+ * CSS className to apply to the message
56
+ */
57
+ className?: string;
58
+ } | {
59
+ items: {
60
+ title: string;
61
+ subtitle?: string;
62
+ imageUrl?: string;
63
+ actions: {
64
+ action: "postback" | "url" | "say";
65
+ label: string;
66
+ value: string;
67
+ }[];
68
+ /**
69
+ * CSS className to apply to the message
70
+ */
71
+ className?: string;
72
+ }[];
73
+ /**
74
+ * CSS className to apply to the message
75
+ */
76
+ className?: string;
77
+ type: "carousel";
78
+ } | {
79
+ text: string;
80
+ options: {
81
+ label: string;
82
+ value: string;
83
+ }[];
84
+ /**
85
+ * CSS className to apply to the message
86
+ */
87
+ className?: string;
88
+ type: "choice";
89
+ disableFreeText?: boolean;
90
+ } | {
91
+ text: string;
92
+ options: {
93
+ label: string;
94
+ value: string;
95
+ }[];
96
+ /**
97
+ * CSS className to apply to the message
98
+ */
99
+ className?: string;
100
+ type: "dropdown";
101
+ } | {
102
+ fileUrl: string;
103
+ title?: string;
104
+ /**
105
+ * CSS className to apply to the message
106
+ */
107
+ className?: string;
108
+ type: "file";
109
+ } | {
110
+ imageUrl: string;
111
+ /**
112
+ * CSS className to apply to the message
113
+ */
114
+ className?: string;
115
+ type: "image";
116
+ } | {
117
+ latitude: number;
118
+ longitude: number;
119
+ address?: string;
120
+ title?: string;
121
+ /**
122
+ * CSS className to apply to the message
123
+ */
124
+ className?: string;
125
+ type: "location";
126
+ } | {
127
+ markdown: string;
128
+ /**
129
+ * CSS className to apply to the message
130
+ */
131
+ className?: string;
132
+ type: "markdown";
133
+ } | {
134
+ text: string;
135
+ /**
136
+ * CSS className to apply to the message
137
+ */
138
+ className?: string;
139
+ type: "text";
140
+ } | {
141
+ videoUrl: string;
142
+ /**
143
+ * CSS className to apply to the message
144
+ */
145
+ className?: string;
146
+ type: "video";
147
+ };
148
+ /**
149
+ * ID of the [User](#schema_user)
150
+ */
151
+ userId: string;
152
+ /**
153
+ * ID of the [Conversation](#schema_conversation)
154
+ */
155
+ conversationId: string;
156
+ };
157
+ }
@@ -0,0 +1,48 @@
1
+ export interface GetParticipantRequestHeaders {
2
+ "x-user-key": string;
3
+ }
4
+ export interface GetParticipantRequestQuery {
5
+ }
6
+ export interface GetParticipantRequestParams {
7
+ id: string;
8
+ userId: string;
9
+ }
10
+ export interface GetParticipantRequestBody {
11
+ }
12
+ export type GetParticipantInput = GetParticipantRequestBody & GetParticipantRequestHeaders & GetParticipantRequestQuery & GetParticipantRequestParams;
13
+ export type GetParticipantRequest = {
14
+ headers: GetParticipantRequestHeaders;
15
+ query: GetParticipantRequestQuery;
16
+ params: GetParticipantRequestParams;
17
+ body: GetParticipantRequestBody;
18
+ };
19
+ export declare const parseReq: (input: GetParticipantInput) => GetParticipantRequest & {
20
+ path: string;
21
+ };
22
+ export interface GetParticipantResponse {
23
+ /**
24
+ * The user object represents someone interacting with the bot within a specific integration. The same person interacting with a bot in slack and messenger will be represented with two different users.
25
+ */
26
+ participant: {
27
+ /**
28
+ * Name of the [User](#schema_user)
29
+ */
30
+ name?: string;
31
+ /**
32
+ * Picture url of the [User](#schema_user)
33
+ */
34
+ pictureUrl?: string;
35
+ /**
36
+ * Id of the [User](#schema_user)
37
+ */
38
+ id: string;
39
+ /**
40
+ * Creation date of the [User](#schema_user) in ISO 8601 format
41
+ */
42
+ createdAt: string;
43
+ /**
44
+ * Updating date of the [User](#schema_user) in ISO 8601 format
45
+ */
46
+ updatedAt: string;
47
+ };
48
+ }
@@ -0,0 +1,46 @@
1
+ export interface GetUserRequestHeaders {
2
+ "x-user-key": string;
3
+ }
4
+ export interface GetUserRequestQuery {
5
+ }
6
+ export interface GetUserRequestParams {
7
+ }
8
+ export interface GetUserRequestBody {
9
+ }
10
+ export type GetUserInput = GetUserRequestBody & GetUserRequestHeaders & GetUserRequestQuery & GetUserRequestParams;
11
+ export type GetUserRequest = {
12
+ headers: GetUserRequestHeaders;
13
+ query: GetUserRequestQuery;
14
+ params: GetUserRequestParams;
15
+ body: GetUserRequestBody;
16
+ };
17
+ export declare const parseReq: (input: GetUserInput) => GetUserRequest & {
18
+ path: string;
19
+ };
20
+ export interface GetUserResponse {
21
+ /**
22
+ * The user object represents someone interacting with the bot within a specific integration. The same person interacting with a bot in slack and messenger will be represented with two different users.
23
+ */
24
+ user: {
25
+ /**
26
+ * Name of the [User](#schema_user)
27
+ */
28
+ name?: string;
29
+ /**
30
+ * Picture url of the [User](#schema_user)
31
+ */
32
+ pictureUrl?: string;
33
+ /**
34
+ * Id of the [User](#schema_user)
35
+ */
36
+ id: string;
37
+ /**
38
+ * Creation date of the [User](#schema_user) in ISO 8601 format
39
+ */
40
+ createdAt: string;
41
+ /**
42
+ * Updating date of the [User](#schema_user) in ISO 8601 format
43
+ */
44
+ updatedAt: string;
45
+ };
46
+ }
@@ -0,0 +1,161 @@
1
+ export interface ListConversationMessagesRequestHeaders {
2
+ "x-user-key": string;
3
+ }
4
+ export interface ListConversationMessagesRequestQuery {
5
+ nextToken?: string;
6
+ }
7
+ export interface ListConversationMessagesRequestParams {
8
+ id: string;
9
+ }
10
+ export interface ListConversationMessagesRequestBody {
11
+ }
12
+ export type ListConversationMessagesInput = ListConversationMessagesRequestBody & ListConversationMessagesRequestHeaders & ListConversationMessagesRequestQuery & ListConversationMessagesRequestParams;
13
+ export type ListConversationMessagesRequest = {
14
+ headers: ListConversationMessagesRequestHeaders;
15
+ query: ListConversationMessagesRequestQuery;
16
+ params: ListConversationMessagesRequestParams;
17
+ body: ListConversationMessagesRequestBody;
18
+ };
19
+ export declare const parseReq: (input: ListConversationMessagesInput) => ListConversationMessagesRequest & {
20
+ path: string;
21
+ };
22
+ export interface ListConversationMessagesResponse {
23
+ messages: {
24
+ /**
25
+ * Id of the [Message](#schema_message)
26
+ */
27
+ id: string;
28
+ /**
29
+ * Creation date of the [Message](#schema_message) in ISO 8601 format
30
+ */
31
+ createdAt: string;
32
+ /**
33
+ * Payload is the content type of the message.
34
+ */
35
+ payload: {
36
+ audioUrl: string;
37
+ /**
38
+ * CSS className to apply to the message
39
+ */
40
+ className?: string;
41
+ type: "audio";
42
+ } | {
43
+ title: string;
44
+ subtitle?: string;
45
+ imageUrl?: string;
46
+ actions: {
47
+ action: "postback" | "url" | "say";
48
+ label: string;
49
+ value: string;
50
+ }[];
51
+ type: "card";
52
+ /**
53
+ * CSS className to apply to the message
54
+ */
55
+ className?: string;
56
+ } | {
57
+ items: {
58
+ title: string;
59
+ subtitle?: string;
60
+ imageUrl?: string;
61
+ actions: {
62
+ action: "postback" | "url" | "say";
63
+ label: string;
64
+ value: string;
65
+ }[];
66
+ /**
67
+ * CSS className to apply to the message
68
+ */
69
+ className?: string;
70
+ }[];
71
+ /**
72
+ * CSS className to apply to the message
73
+ */
74
+ className?: string;
75
+ type: "carousel";
76
+ } | {
77
+ text: string;
78
+ options: {
79
+ label: string;
80
+ value: string;
81
+ }[];
82
+ /**
83
+ * CSS className to apply to the message
84
+ */
85
+ className?: string;
86
+ type: "choice";
87
+ disableFreeText?: boolean;
88
+ } | {
89
+ text: string;
90
+ options: {
91
+ label: string;
92
+ value: string;
93
+ }[];
94
+ /**
95
+ * CSS className to apply to the message
96
+ */
97
+ className?: string;
98
+ type: "dropdown";
99
+ } | {
100
+ fileUrl: string;
101
+ title?: string;
102
+ /**
103
+ * CSS className to apply to the message
104
+ */
105
+ className?: string;
106
+ type: "file";
107
+ } | {
108
+ imageUrl: string;
109
+ /**
110
+ * CSS className to apply to the message
111
+ */
112
+ className?: string;
113
+ type: "image";
114
+ } | {
115
+ latitude: number;
116
+ longitude: number;
117
+ address?: string;
118
+ title?: string;
119
+ /**
120
+ * CSS className to apply to the message
121
+ */
122
+ className?: string;
123
+ type: "location";
124
+ } | {
125
+ markdown: string;
126
+ /**
127
+ * CSS className to apply to the message
128
+ */
129
+ className?: string;
130
+ type: "markdown";
131
+ } | {
132
+ text: string;
133
+ /**
134
+ * CSS className to apply to the message
135
+ */
136
+ className?: string;
137
+ type: "text";
138
+ } | {
139
+ videoUrl: string;
140
+ /**
141
+ * CSS className to apply to the message
142
+ */
143
+ className?: string;
144
+ type: "video";
145
+ };
146
+ /**
147
+ * ID of the [User](#schema_user)
148
+ */
149
+ userId: string;
150
+ /**
151
+ * ID of the [Conversation](#schema_conversation)
152
+ */
153
+ conversationId: string;
154
+ }[];
155
+ meta: {
156
+ /**
157
+ * The token to use to retrieve the next page of results, passed as a query string parameter (value should be URL-encoded) to this API endpoint.
158
+ */
159
+ nextToken?: string;
160
+ };
161
+ }
@@ -0,0 +1,42 @@
1
+ export interface ListConversationsRequestHeaders {
2
+ "x-user-key": string;
3
+ }
4
+ export interface ListConversationsRequestQuery {
5
+ nextToken?: string;
6
+ }
7
+ export interface ListConversationsRequestParams {
8
+ }
9
+ export interface ListConversationsRequestBody {
10
+ }
11
+ export type ListConversationsInput = ListConversationsRequestBody & ListConversationsRequestHeaders & ListConversationsRequestQuery & ListConversationsRequestParams;
12
+ export type ListConversationsRequest = {
13
+ headers: ListConversationsRequestHeaders;
14
+ query: ListConversationsRequestQuery;
15
+ params: ListConversationsRequestParams;
16
+ body: ListConversationsRequestBody;
17
+ };
18
+ export declare const parseReq: (input: ListConversationsInput) => ListConversationsRequest & {
19
+ path: string;
20
+ };
21
+ export interface ListConversationsResponse {
22
+ conversations: {
23
+ /**
24
+ * Id of the [Conversation](#schema_conversation)
25
+ */
26
+ id: string;
27
+ /**
28
+ * Creation date of the [Conversation](#schema_conversation) in ISO 8601 format
29
+ */
30
+ createdAt: string;
31
+ /**
32
+ * Updating date of the [Conversation](#schema_conversation) in ISO 8601 format
33
+ */
34
+ updatedAt: string;
35
+ }[];
36
+ meta: {
37
+ /**
38
+ * The token to use to retrieve the next page of results, passed as a query string parameter (value should be URL-encoded) to this API endpoint.
39
+ */
40
+ nextToken?: string;
41
+ };
42
+ }
@@ -0,0 +1,51 @@
1
+ export interface ListParticipantsRequestHeaders {
2
+ "x-user-key": string;
3
+ }
4
+ export interface ListParticipantsRequestQuery {
5
+ nextToken?: string;
6
+ }
7
+ export interface ListParticipantsRequestParams {
8
+ id: string;
9
+ }
10
+ export interface ListParticipantsRequestBody {
11
+ }
12
+ export type ListParticipantsInput = ListParticipantsRequestBody & ListParticipantsRequestHeaders & ListParticipantsRequestQuery & ListParticipantsRequestParams;
13
+ export type ListParticipantsRequest = {
14
+ headers: ListParticipantsRequestHeaders;
15
+ query: ListParticipantsRequestQuery;
16
+ params: ListParticipantsRequestParams;
17
+ body: ListParticipantsRequestBody;
18
+ };
19
+ export declare const parseReq: (input: ListParticipantsInput) => ListParticipantsRequest & {
20
+ path: string;
21
+ };
22
+ export interface ListParticipantsResponse {
23
+ participants: {
24
+ /**
25
+ * Name of the [User](#schema_user)
26
+ */
27
+ name?: string;
28
+ /**
29
+ * Picture url of the [User](#schema_user)
30
+ */
31
+ pictureUrl?: string;
32
+ /**
33
+ * Id of the [User](#schema_user)
34
+ */
35
+ id: string;
36
+ /**
37
+ * Creation date of the [User](#schema_user) in ISO 8601 format
38
+ */
39
+ createdAt: string;
40
+ /**
41
+ * Updating date of the [User](#schema_user) in ISO 8601 format
42
+ */
43
+ updatedAt: string;
44
+ }[];
45
+ meta: {
46
+ /**
47
+ * The token to use to retrieve the next page of results, passed as a query string parameter (value should be URL-encoded) to this API endpoint.
48
+ */
49
+ nextToken?: string;
50
+ };
51
+ }
@@ -0,0 +1,22 @@
1
+ export interface ListenConversationRequestHeaders {
2
+ "x-user-key": string;
3
+ }
4
+ export interface ListenConversationRequestQuery {
5
+ }
6
+ export interface ListenConversationRequestParams {
7
+ id: string;
8
+ }
9
+ export interface ListenConversationRequestBody {
10
+ }
11
+ export type ListenConversationInput = ListenConversationRequestBody & ListenConversationRequestHeaders & ListenConversationRequestQuery & ListenConversationRequestParams;
12
+ export type ListenConversationRequest = {
13
+ headers: ListenConversationRequestHeaders;
14
+ query: ListenConversationRequestQuery;
15
+ params: ListenConversationRequestParams;
16
+ body: ListenConversationRequestBody;
17
+ };
18
+ export declare const parseReq: (input: ListenConversationInput) => ListenConversationRequest & {
19
+ path: string;
20
+ };
21
+ export interface ListenConversationResponse {
22
+ }
@@ -0,0 +1,23 @@
1
+ export interface RemoveParticipantRequestHeaders {
2
+ "x-user-key": string;
3
+ }
4
+ export interface RemoveParticipantRequestQuery {
5
+ }
6
+ export interface RemoveParticipantRequestParams {
7
+ id: string;
8
+ userId: string;
9
+ }
10
+ export interface RemoveParticipantRequestBody {
11
+ }
12
+ export type RemoveParticipantInput = RemoveParticipantRequestBody & RemoveParticipantRequestHeaders & RemoveParticipantRequestQuery & RemoveParticipantRequestParams;
13
+ export type RemoveParticipantRequest = {
14
+ headers: RemoveParticipantRequestHeaders;
15
+ query: RemoveParticipantRequestQuery;
16
+ params: RemoveParticipantRequestParams;
17
+ body: RemoveParticipantRequestBody;
18
+ };
19
+ export declare const parseReq: (input: RemoveParticipantInput) => RemoveParticipantRequest & {
20
+ path: string;
21
+ };
22
+ export interface RemoveParticipantResponse {
23
+ }