@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
@@ -1,11 +1,57 @@
1
1
  /**
2
- * This file was automatically generated by json-schema-to-typescript.
3
- * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
4
- * and run json-schema-to-typescript to regenerate this file.
2
+ * 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.
3
+ */
4
+ export interface User {
5
+ /**
6
+ * Name of the [User](#schema_user)
7
+ */
8
+ name?: string;
9
+ /**
10
+ * Picture url of the [User](#schema_user)
11
+ */
12
+ pictureUrl?: string;
13
+ /**
14
+ * Id of the [User](#schema_user)
15
+ */
16
+ id: string;
17
+ /**
18
+ * Creation date of the [User](#schema_user) in ISO 8601 format
19
+ */
20
+ createdAt: string;
21
+ /**
22
+ * Updating date of the [User](#schema_user) in ISO 8601 format
23
+ */
24
+ updatedAt: string;
25
+ }
26
+ export interface Conversation {
27
+ /**
28
+ * Id of the [Conversation](#schema_conversation)
29
+ */
30
+ id: string;
31
+ /**
32
+ * Creation date of the [Conversation](#schema_conversation) in ISO 8601 format
33
+ */
34
+ createdAt: string;
35
+ /**
36
+ * Updating date of the [Conversation](#schema_conversation) in ISO 8601 format
37
+ */
38
+ updatedAt: string;
39
+ }
40
+ /**
41
+ * The Message object represents a message in a [Conversation](#schema_conversation) for a specific [User](#schema_user).
5
42
  */
6
43
  export interface Message {
44
+ /**
45
+ * Id of the [Message](#schema_message)
46
+ */
7
47
  id: string;
48
+ /**
49
+ * Creation date of the [Message](#schema_message) in ISO 8601 format
50
+ */
8
51
  createdAt: string;
52
+ /**
53
+ * Payload is the content type of the message.
54
+ */
9
55
  payload: {
10
56
  audioUrl: string;
11
57
  /**
@@ -117,6 +163,48 @@ export interface Message {
117
163
  className?: string;
118
164
  type: "video";
119
165
  };
166
+ /**
167
+ * ID of the [User](#schema_user)
168
+ */
120
169
  userId: string;
170
+ /**
171
+ * ID of the [Conversation](#schema_conversation)
172
+ */
121
173
  conversationId: string;
122
174
  }
175
+ export interface Event {
176
+ /**
177
+ * ID of the [Event](#schema_event).
178
+ */
179
+ id: string;
180
+ /**
181
+ * Creation date of the [Event](#schema_event) in ISO 8601 format
182
+ */
183
+ createdAt: string;
184
+ /**
185
+ * Payload is the content of the event.
186
+ */
187
+ payload: {
188
+ type: "custom";
189
+ data: {
190
+ [k: string]: {
191
+ [k: string]: any;
192
+ };
193
+ };
194
+ } | {
195
+ type: "conversation_started";
196
+ data: {
197
+ [k: string]: {
198
+ [k: string]: any;
199
+ };
200
+ };
201
+ };
202
+ /**
203
+ * ID of the [Conversation](#schema_conversation).
204
+ */
205
+ conversationId: string;
206
+ /**
207
+ * ID of the [User](#schema_user).
208
+ */
209
+ userId: string;
210
+ }
@@ -0,0 +1,51 @@
1
+ export interface AddParticipantRequestHeaders {
2
+ "x-user-key": string;
3
+ }
4
+ export interface AddParticipantRequestQuery {
5
+ }
6
+ export interface AddParticipantRequestParams {
7
+ id: string;
8
+ }
9
+ export interface AddParticipantRequestBody {
10
+ /**
11
+ * User id
12
+ */
13
+ userId: string;
14
+ }
15
+ export type AddParticipantInput = AddParticipantRequestBody & AddParticipantRequestHeaders & AddParticipantRequestQuery & AddParticipantRequestParams;
16
+ export type AddParticipantRequest = {
17
+ headers: AddParticipantRequestHeaders;
18
+ query: AddParticipantRequestQuery;
19
+ params: AddParticipantRequestParams;
20
+ body: AddParticipantRequestBody;
21
+ };
22
+ export declare const parseReq: (input: AddParticipantInput) => AddParticipantRequest & {
23
+ path: string;
24
+ };
25
+ export interface AddParticipantResponse {
26
+ /**
27
+ * 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.
28
+ */
29
+ participant: {
30
+ /**
31
+ * Name of the [User](#schema_user)
32
+ */
33
+ name?: string;
34
+ /**
35
+ * Picture url of the [User](#schema_user)
36
+ */
37
+ pictureUrl?: string;
38
+ /**
39
+ * Id of the [User](#schema_user)
40
+ */
41
+ id: string;
42
+ /**
43
+ * Creation date of the [User](#schema_user) in ISO 8601 format
44
+ */
45
+ createdAt: string;
46
+ /**
47
+ * Updating date of the [User](#schema_user) in ISO 8601 format
48
+ */
49
+ updatedAt: string;
50
+ };
51
+ }
@@ -0,0 +1,39 @@
1
+ export interface CreateConversationRequestHeaders {
2
+ "x-user-key": string;
3
+ }
4
+ export interface CreateConversationRequestQuery {
5
+ }
6
+ export interface CreateConversationRequestParams {
7
+ }
8
+ /**
9
+ * Conversation properties
10
+ */
11
+ export interface CreateConversationRequestBody {
12
+ _?: string;
13
+ }
14
+ export type CreateConversationInput = CreateConversationRequestBody & CreateConversationRequestHeaders & CreateConversationRequestQuery & CreateConversationRequestParams;
15
+ export type CreateConversationRequest = {
16
+ headers: CreateConversationRequestHeaders;
17
+ query: CreateConversationRequestQuery;
18
+ params: CreateConversationRequestParams;
19
+ body: CreateConversationRequestBody;
20
+ };
21
+ export declare const parseReq: (input: CreateConversationInput) => CreateConversationRequest & {
22
+ path: string;
23
+ };
24
+ export interface CreateConversationResponse {
25
+ conversation: {
26
+ /**
27
+ * Id of the [Conversation](#schema_conversation)
28
+ */
29
+ id: string;
30
+ /**
31
+ * Creation date of the [Conversation](#schema_conversation) in ISO 8601 format
32
+ */
33
+ createdAt: string;
34
+ /**
35
+ * Updating date of the [Conversation](#schema_conversation) in ISO 8601 format
36
+ */
37
+ updatedAt: string;
38
+ };
39
+ }
@@ -0,0 +1,79 @@
1
+ export interface CreateEventRequestHeaders {
2
+ "x-user-key": string;
3
+ }
4
+ export interface CreateEventRequestQuery {
5
+ }
6
+ export interface CreateEventRequestParams {
7
+ }
8
+ export interface CreateEventRequestBody {
9
+ /**
10
+ * Payload is the content type of the event.
11
+ */
12
+ payload: {
13
+ type: "custom";
14
+ data: {
15
+ [k: string]: {
16
+ [k: string]: any;
17
+ };
18
+ };
19
+ } | {
20
+ type: "conversation_started";
21
+ data: {
22
+ [k: string]: {
23
+ [k: string]: any;
24
+ };
25
+ };
26
+ };
27
+ /**
28
+ * ID of the [Conversation](#schema_conversation)
29
+ */
30
+ conversationId: string;
31
+ }
32
+ export type CreateEventInput = CreateEventRequestBody & CreateEventRequestHeaders & CreateEventRequestQuery & CreateEventRequestParams;
33
+ export type CreateEventRequest = {
34
+ headers: CreateEventRequestHeaders;
35
+ query: CreateEventRequestQuery;
36
+ params: CreateEventRequestParams;
37
+ body: CreateEventRequestBody;
38
+ };
39
+ export declare const parseReq: (input: CreateEventInput) => CreateEventRequest & {
40
+ path: string;
41
+ };
42
+ export interface CreateEventResponse {
43
+ event: {
44
+ /**
45
+ * ID of the [Event](#schema_event).
46
+ */
47
+ id: string;
48
+ /**
49
+ * Creation date of the [Event](#schema_event) in ISO 8601 format
50
+ */
51
+ createdAt: string;
52
+ /**
53
+ * Payload is the content of the event.
54
+ */
55
+ payload: {
56
+ type: "custom";
57
+ data: {
58
+ [k: string]: {
59
+ [k: string]: any;
60
+ };
61
+ };
62
+ } | {
63
+ type: "conversation_started";
64
+ data: {
65
+ [k: string]: {
66
+ [k: string]: any;
67
+ };
68
+ };
69
+ };
70
+ /**
71
+ * ID of the [Conversation](#schema_conversation).
72
+ */
73
+ conversationId: string;
74
+ /**
75
+ * ID of the [User](#schema_user).
76
+ */
77
+ userId: string;
78
+ };
79
+ }
@@ -0,0 +1,274 @@
1
+ export interface CreateMessageRequestHeaders {
2
+ "x-user-key": string;
3
+ }
4
+ export interface CreateMessageRequestQuery {
5
+ }
6
+ export interface CreateMessageRequestParams {
7
+ }
8
+ export interface CreateMessageRequestBody {
9
+ /**
10
+ * Payload is the content type of the message.
11
+ */
12
+ payload: {
13
+ audioUrl: string;
14
+ /**
15
+ * CSS className to apply to the message
16
+ */
17
+ className?: string;
18
+ type: "audio";
19
+ } | {
20
+ title: string;
21
+ subtitle?: string;
22
+ imageUrl?: string;
23
+ actions: {
24
+ action: "postback" | "url" | "say";
25
+ label: string;
26
+ value: string;
27
+ }[];
28
+ type: "card";
29
+ /**
30
+ * CSS className to apply to the message
31
+ */
32
+ className?: string;
33
+ } | {
34
+ items: {
35
+ title: string;
36
+ subtitle?: string;
37
+ imageUrl?: string;
38
+ actions: {
39
+ action: "postback" | "url" | "say";
40
+ label: string;
41
+ value: string;
42
+ }[];
43
+ /**
44
+ * CSS className to apply to the message
45
+ */
46
+ className?: string;
47
+ }[];
48
+ /**
49
+ * CSS className to apply to the message
50
+ */
51
+ className?: string;
52
+ type: "carousel";
53
+ } | {
54
+ text: string;
55
+ options: {
56
+ label: string;
57
+ value: string;
58
+ }[];
59
+ /**
60
+ * CSS className to apply to the message
61
+ */
62
+ className?: string;
63
+ type: "choice";
64
+ disableFreeText?: boolean;
65
+ } | {
66
+ text: string;
67
+ options: {
68
+ label: string;
69
+ value: string;
70
+ }[];
71
+ /**
72
+ * CSS className to apply to the message
73
+ */
74
+ className?: string;
75
+ type: "dropdown";
76
+ } | {
77
+ fileUrl: string;
78
+ title?: string;
79
+ /**
80
+ * CSS className to apply to the message
81
+ */
82
+ className?: string;
83
+ type: "file";
84
+ } | {
85
+ imageUrl: string;
86
+ /**
87
+ * CSS className to apply to the message
88
+ */
89
+ className?: string;
90
+ type: "image";
91
+ } | {
92
+ latitude: number;
93
+ longitude: number;
94
+ address?: string;
95
+ title?: string;
96
+ /**
97
+ * CSS className to apply to the message
98
+ */
99
+ className?: string;
100
+ type: "location";
101
+ } | {
102
+ markdown: string;
103
+ /**
104
+ * CSS className to apply to the message
105
+ */
106
+ className?: string;
107
+ type: "markdown";
108
+ } | {
109
+ text: string;
110
+ /**
111
+ * CSS className to apply to the message
112
+ */
113
+ className?: string;
114
+ type: "text";
115
+ } | {
116
+ videoUrl: string;
117
+ /**
118
+ * CSS className to apply to the message
119
+ */
120
+ className?: string;
121
+ type: "video";
122
+ };
123
+ /**
124
+ * ID of the [Conversation](#schema_conversation)
125
+ */
126
+ conversationId: string;
127
+ }
128
+ export type CreateMessageInput = CreateMessageRequestBody & CreateMessageRequestHeaders & CreateMessageRequestQuery & CreateMessageRequestParams;
129
+ export type CreateMessageRequest = {
130
+ headers: CreateMessageRequestHeaders;
131
+ query: CreateMessageRequestQuery;
132
+ params: CreateMessageRequestParams;
133
+ body: CreateMessageRequestBody;
134
+ };
135
+ export declare const parseReq: (input: CreateMessageInput) => CreateMessageRequest & {
136
+ path: string;
137
+ };
138
+ export interface CreateMessageResponse {
139
+ /**
140
+ * The Message object represents a message in a [Conversation](#schema_conversation) for a specific [User](#schema_user).
141
+ */
142
+ message: {
143
+ /**
144
+ * Id of the [Message](#schema_message)
145
+ */
146
+ id: string;
147
+ /**
148
+ * Creation date of the [Message](#schema_message) in ISO 8601 format
149
+ */
150
+ createdAt: string;
151
+ /**
152
+ * Payload is the content type of the message.
153
+ */
154
+ payload: {
155
+ audioUrl: string;
156
+ /**
157
+ * CSS className to apply to the message
158
+ */
159
+ className?: string;
160
+ type: "audio";
161
+ } | {
162
+ title: string;
163
+ subtitle?: string;
164
+ imageUrl?: string;
165
+ actions: {
166
+ action: "postback" | "url" | "say";
167
+ label: string;
168
+ value: string;
169
+ }[];
170
+ type: "card";
171
+ /**
172
+ * CSS className to apply to the message
173
+ */
174
+ className?: string;
175
+ } | {
176
+ items: {
177
+ title: string;
178
+ subtitle?: string;
179
+ imageUrl?: string;
180
+ actions: {
181
+ action: "postback" | "url" | "say";
182
+ label: string;
183
+ value: string;
184
+ }[];
185
+ /**
186
+ * CSS className to apply to the message
187
+ */
188
+ className?: string;
189
+ }[];
190
+ /**
191
+ * CSS className to apply to the message
192
+ */
193
+ className?: string;
194
+ type: "carousel";
195
+ } | {
196
+ text: string;
197
+ options: {
198
+ label: string;
199
+ value: string;
200
+ }[];
201
+ /**
202
+ * CSS className to apply to the message
203
+ */
204
+ className?: string;
205
+ type: "choice";
206
+ disableFreeText?: boolean;
207
+ } | {
208
+ text: string;
209
+ options: {
210
+ label: string;
211
+ value: string;
212
+ }[];
213
+ /**
214
+ * CSS className to apply to the message
215
+ */
216
+ className?: string;
217
+ type: "dropdown";
218
+ } | {
219
+ fileUrl: string;
220
+ title?: string;
221
+ /**
222
+ * CSS className to apply to the message
223
+ */
224
+ className?: string;
225
+ type: "file";
226
+ } | {
227
+ imageUrl: string;
228
+ /**
229
+ * CSS className to apply to the message
230
+ */
231
+ className?: string;
232
+ type: "image";
233
+ } | {
234
+ latitude: number;
235
+ longitude: number;
236
+ address?: string;
237
+ title?: string;
238
+ /**
239
+ * CSS className to apply to the message
240
+ */
241
+ className?: string;
242
+ type: "location";
243
+ } | {
244
+ markdown: string;
245
+ /**
246
+ * CSS className to apply to the message
247
+ */
248
+ className?: string;
249
+ type: "markdown";
250
+ } | {
251
+ text: string;
252
+ /**
253
+ * CSS className to apply to the message
254
+ */
255
+ className?: string;
256
+ type: "text";
257
+ } | {
258
+ videoUrl: string;
259
+ /**
260
+ * CSS className to apply to the message
261
+ */
262
+ className?: string;
263
+ type: "video";
264
+ };
265
+ /**
266
+ * ID of the [User](#schema_user)
267
+ */
268
+ userId: string;
269
+ /**
270
+ * ID of the [Conversation](#schema_conversation)
271
+ */
272
+ conversationId: string;
273
+ };
274
+ }
@@ -0,0 +1,60 @@
1
+ export interface CreateUserRequestHeaders {
2
+ }
3
+ export interface CreateUserRequestQuery {
4
+ }
5
+ export interface CreateUserRequestParams {
6
+ }
7
+ export interface CreateUserRequestBody {
8
+ /**
9
+ * Name of the [User](#schema_user) (not a unique identifier)
10
+ */
11
+ name?: string;
12
+ /**
13
+ * Picture url of the [User](#schema_user)
14
+ */
15
+ pictureUrl?: string;
16
+ /**
17
+ * User data
18
+ */
19
+ userData?: {
20
+ [k: string]: any;
21
+ };
22
+ }
23
+ export type CreateUserInput = CreateUserRequestBody & CreateUserRequestHeaders & CreateUserRequestQuery & CreateUserRequestParams;
24
+ export type CreateUserRequest = {
25
+ headers: CreateUserRequestHeaders;
26
+ query: CreateUserRequestQuery;
27
+ params: CreateUserRequestParams;
28
+ body: CreateUserRequestBody;
29
+ };
30
+ export declare const parseReq: (input: CreateUserInput) => CreateUserRequest & {
31
+ path: string;
32
+ };
33
+ export interface CreateUserResponse {
34
+ /**
35
+ * 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.
36
+ */
37
+ user: {
38
+ /**
39
+ * Name of the [User](#schema_user)
40
+ */
41
+ name?: string;
42
+ /**
43
+ * Picture url of the [User](#schema_user)
44
+ */
45
+ pictureUrl?: string;
46
+ /**
47
+ * Id of the [User](#schema_user)
48
+ */
49
+ id: string;
50
+ /**
51
+ * Creation date of the [User](#schema_user) in ISO 8601 format
52
+ */
53
+ createdAt: string;
54
+ /**
55
+ * Updating date of the [User](#schema_user) in ISO 8601 format
56
+ */
57
+ updatedAt: string;
58
+ };
59
+ key: string;
60
+ }
@@ -0,0 +1,22 @@
1
+ export interface DeleteConversationRequestHeaders {
2
+ "x-user-key": string;
3
+ }
4
+ export interface DeleteConversationRequestQuery {
5
+ }
6
+ export interface DeleteConversationRequestParams {
7
+ id: string;
8
+ }
9
+ export interface DeleteConversationRequestBody {
10
+ }
11
+ export type DeleteConversationInput = DeleteConversationRequestBody & DeleteConversationRequestHeaders & DeleteConversationRequestQuery & DeleteConversationRequestParams;
12
+ export type DeleteConversationRequest = {
13
+ headers: DeleteConversationRequestHeaders;
14
+ query: DeleteConversationRequestQuery;
15
+ params: DeleteConversationRequestParams;
16
+ body: DeleteConversationRequestBody;
17
+ };
18
+ export declare const parseReq: (input: DeleteConversationInput) => DeleteConversationRequest & {
19
+ path: string;
20
+ };
21
+ export interface DeleteConversationResponse {
22
+ }
@@ -0,0 +1,22 @@
1
+ export interface DeleteMessageRequestHeaders {
2
+ "x-user-key": string;
3
+ }
4
+ export interface DeleteMessageRequestQuery {
5
+ }
6
+ export interface DeleteMessageRequestParams {
7
+ id: string;
8
+ }
9
+ export interface DeleteMessageRequestBody {
10
+ }
11
+ export type DeleteMessageInput = DeleteMessageRequestBody & DeleteMessageRequestHeaders & DeleteMessageRequestQuery & DeleteMessageRequestParams;
12
+ export type DeleteMessageRequest = {
13
+ headers: DeleteMessageRequestHeaders;
14
+ query: DeleteMessageRequestQuery;
15
+ params: DeleteMessageRequestParams;
16
+ body: DeleteMessageRequestBody;
17
+ };
18
+ export declare const parseReq: (input: DeleteMessageInput) => DeleteMessageRequest & {
19
+ path: string;
20
+ };
21
+ export interface DeleteMessageResponse {
22
+ }
@@ -0,0 +1,21 @@
1
+ export interface DeleteUserRequestHeaders {
2
+ "x-user-key": string;
3
+ }
4
+ export interface DeleteUserRequestQuery {
5
+ }
6
+ export interface DeleteUserRequestParams {
7
+ }
8
+ export interface DeleteUserRequestBody {
9
+ }
10
+ export type DeleteUserInput = DeleteUserRequestBody & DeleteUserRequestHeaders & DeleteUserRequestQuery & DeleteUserRequestParams;
11
+ export type DeleteUserRequest = {
12
+ headers: DeleteUserRequestHeaders;
13
+ query: DeleteUserRequestQuery;
14
+ params: DeleteUserRequestParams;
15
+ body: DeleteUserRequestBody;
16
+ };
17
+ export declare const parseReq: (input: DeleteUserInput) => DeleteUserRequest & {
18
+ path: string;
19
+ };
20
+ export interface DeleteUserResponse {
21
+ }