@saltify/milky-types 1.1.0-rc.1 → 1.1.0-rc.3
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.
- package/dist/api-endpoints.d.mts +19 -0
- package/dist/api-endpoints.mjs +422 -0
- package/dist/api-endpoints.mjs.map +1 -0
- package/dist/index-DDpuCo8n.d.mts +3358 -0
- package/dist/index.d.mts +2 -0
- package/dist/index.mjs +908 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +2 -2
- package/dist/api-endpoints.d.ts +0 -18
- package/dist/api-endpoints.js +0 -423
- package/dist/api-endpoints.js.map +0 -1
- package/dist/index-C8U_2B7C.d.ts +0 -3475
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -1140
- package/dist/index.js.map +0 -1
|
@@ -0,0 +1,3358 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region rolldown:runtime
|
|
4
|
+
//#endregion
|
|
5
|
+
//#region src/scalar.d.ts
|
|
6
|
+
declare const ZInt32: z.ZodNumber;
|
|
7
|
+
declare const ZInt64: z.ZodNumber;
|
|
8
|
+
declare const ZBoolean: z.ZodBoolean;
|
|
9
|
+
declare const ZString: z.ZodString;
|
|
10
|
+
declare const ZUin: z.ZodNumber;
|
|
11
|
+
declare const ZInt32WithDefault: (defaultValue: number) => z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>, z.ZodTransform<number, number | null>>;
|
|
12
|
+
declare const ZInt64WithDefault: (defaultValue: number) => z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>, z.ZodTransform<number, number | null>>;
|
|
13
|
+
declare const ZBooleanWithDefault: (defaultValue: boolean) => z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>, z.ZodTransform<boolean, boolean | null>>;
|
|
14
|
+
declare const ZStringWithDefault: (defaultValue: string) => z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>, z.ZodTransform<string, string | null>>;
|
|
15
|
+
//#endregion
|
|
16
|
+
//#region src/common.d.ts
|
|
17
|
+
declare const FriendCategoryEntity: z.ZodObject<{
|
|
18
|
+
category_id: z.ZodNumber;
|
|
19
|
+
category_name: z.ZodString;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
declare const FriendEntity: z.ZodObject<{
|
|
22
|
+
user_id: z.ZodNumber;
|
|
23
|
+
nickname: z.ZodString;
|
|
24
|
+
sex: z.ZodEnum<{
|
|
25
|
+
male: "male";
|
|
26
|
+
female: "female";
|
|
27
|
+
unknown: "unknown";
|
|
28
|
+
}>;
|
|
29
|
+
qid: z.ZodString;
|
|
30
|
+
remark: z.ZodString;
|
|
31
|
+
category: z.ZodLazy<z.ZodObject<{
|
|
32
|
+
category_id: z.ZodNumber;
|
|
33
|
+
category_name: z.ZodString;
|
|
34
|
+
}, z.core.$strip>>;
|
|
35
|
+
}, z.core.$strip>;
|
|
36
|
+
declare const GroupEntity: z.ZodObject<{
|
|
37
|
+
group_id: z.ZodNumber;
|
|
38
|
+
group_name: z.ZodString;
|
|
39
|
+
member_count: z.ZodNumber;
|
|
40
|
+
max_member_count: z.ZodNumber;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
declare const GroupMemberEntity: z.ZodObject<{
|
|
43
|
+
user_id: z.ZodNumber;
|
|
44
|
+
nickname: z.ZodString;
|
|
45
|
+
sex: z.ZodEnum<{
|
|
46
|
+
male: "male";
|
|
47
|
+
female: "female";
|
|
48
|
+
unknown: "unknown";
|
|
49
|
+
}>;
|
|
50
|
+
group_id: z.ZodNumber;
|
|
51
|
+
card: z.ZodString;
|
|
52
|
+
title: z.ZodString;
|
|
53
|
+
level: z.ZodNumber;
|
|
54
|
+
role: z.ZodEnum<{
|
|
55
|
+
owner: "owner";
|
|
56
|
+
admin: "admin";
|
|
57
|
+
member: "member";
|
|
58
|
+
}>;
|
|
59
|
+
join_time: z.ZodNumber;
|
|
60
|
+
last_sent_time: z.ZodNumber;
|
|
61
|
+
shut_up_end_time: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
62
|
+
}, z.core.$strip>;
|
|
63
|
+
declare const GroupAnnouncementEntity: z.ZodObject<{
|
|
64
|
+
group_id: z.ZodNumber;
|
|
65
|
+
announcement_id: z.ZodString;
|
|
66
|
+
user_id: z.ZodNumber;
|
|
67
|
+
time: z.ZodNumber;
|
|
68
|
+
content: z.ZodString;
|
|
69
|
+
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
70
|
+
}, z.core.$strip>;
|
|
71
|
+
declare const GroupFileEntity: z.ZodObject<{
|
|
72
|
+
group_id: z.ZodNumber;
|
|
73
|
+
file_id: z.ZodString;
|
|
74
|
+
file_name: z.ZodString;
|
|
75
|
+
parent_folder_id: z.ZodString;
|
|
76
|
+
file_size: z.ZodNumber;
|
|
77
|
+
uploaded_time: z.ZodNumber;
|
|
78
|
+
expire_time: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
79
|
+
uploader_id: z.ZodNumber;
|
|
80
|
+
downloaded_times: z.ZodNumber;
|
|
81
|
+
}, z.core.$strip>;
|
|
82
|
+
declare const GroupFolderEntity: z.ZodObject<{
|
|
83
|
+
group_id: z.ZodNumber;
|
|
84
|
+
folder_id: z.ZodString;
|
|
85
|
+
parent_folder_id: z.ZodString;
|
|
86
|
+
folder_name: z.ZodString;
|
|
87
|
+
created_time: z.ZodNumber;
|
|
88
|
+
last_modified_time: z.ZodNumber;
|
|
89
|
+
creator_id: z.ZodNumber;
|
|
90
|
+
file_count: z.ZodNumber;
|
|
91
|
+
}, z.core.$strip>;
|
|
92
|
+
declare const FriendRequest: z.ZodObject<{
|
|
93
|
+
time: z.ZodNumber;
|
|
94
|
+
initiator_id: z.ZodNumber;
|
|
95
|
+
initiator_uid: z.ZodString;
|
|
96
|
+
target_user_id: z.ZodNumber;
|
|
97
|
+
target_user_uid: z.ZodString;
|
|
98
|
+
state: z.ZodEnum<{
|
|
99
|
+
pending: "pending";
|
|
100
|
+
accepted: "accepted";
|
|
101
|
+
rejected: "rejected";
|
|
102
|
+
ignored: "ignored";
|
|
103
|
+
}>;
|
|
104
|
+
comment: z.ZodString;
|
|
105
|
+
via: z.ZodString;
|
|
106
|
+
is_filtered: z.ZodBoolean;
|
|
107
|
+
}, z.core.$strip>;
|
|
108
|
+
declare const GroupNotification: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
109
|
+
type: z.ZodLiteral<"join_request">;
|
|
110
|
+
group_id: z.ZodNumber;
|
|
111
|
+
notification_seq: z.ZodNumber;
|
|
112
|
+
is_filtered: z.ZodBoolean;
|
|
113
|
+
initiator_id: z.ZodNumber;
|
|
114
|
+
state: z.ZodEnum<{
|
|
115
|
+
pending: "pending";
|
|
116
|
+
accepted: "accepted";
|
|
117
|
+
rejected: "rejected";
|
|
118
|
+
ignored: "ignored";
|
|
119
|
+
}>;
|
|
120
|
+
operator_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
121
|
+
comment: z.ZodString;
|
|
122
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
123
|
+
type: z.ZodLiteral<"admin_change">;
|
|
124
|
+
group_id: z.ZodNumber;
|
|
125
|
+
notification_seq: z.ZodNumber;
|
|
126
|
+
target_user_id: z.ZodNumber;
|
|
127
|
+
is_set: z.ZodBoolean;
|
|
128
|
+
operator_id: z.ZodNumber;
|
|
129
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
130
|
+
type: z.ZodLiteral<"kick">;
|
|
131
|
+
group_id: z.ZodNumber;
|
|
132
|
+
notification_seq: z.ZodNumber;
|
|
133
|
+
target_user_id: z.ZodNumber;
|
|
134
|
+
operator_id: z.ZodNumber;
|
|
135
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
136
|
+
type: z.ZodLiteral<"quit">;
|
|
137
|
+
group_id: z.ZodNumber;
|
|
138
|
+
notification_seq: z.ZodNumber;
|
|
139
|
+
target_user_id: z.ZodNumber;
|
|
140
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
141
|
+
type: z.ZodLiteral<"invited_join_request">;
|
|
142
|
+
group_id: z.ZodNumber;
|
|
143
|
+
notification_seq: z.ZodNumber;
|
|
144
|
+
initiator_id: z.ZodNumber;
|
|
145
|
+
target_user_id: z.ZodNumber;
|
|
146
|
+
state: z.ZodEnum<{
|
|
147
|
+
pending: "pending";
|
|
148
|
+
accepted: "accepted";
|
|
149
|
+
rejected: "rejected";
|
|
150
|
+
ignored: "ignored";
|
|
151
|
+
}>;
|
|
152
|
+
operator_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
153
|
+
}, z.core.$strip>], "type">;
|
|
154
|
+
type FriendCategoryEntity = z.infer<typeof FriendCategoryEntity>;
|
|
155
|
+
type FriendEntity = z.infer<typeof FriendEntity>;
|
|
156
|
+
type GroupEntity = z.infer<typeof GroupEntity>;
|
|
157
|
+
type GroupMemberEntity = z.infer<typeof GroupMemberEntity>;
|
|
158
|
+
type GroupAnnouncementEntity = z.infer<typeof GroupAnnouncementEntity>;
|
|
159
|
+
type GroupFileEntity = z.infer<typeof GroupFileEntity>;
|
|
160
|
+
type GroupFolderEntity = z.infer<typeof GroupFolderEntity>;
|
|
161
|
+
type FriendRequest = z.infer<typeof FriendRequest>;
|
|
162
|
+
type GroupNotification = z.infer<typeof GroupNotification>;
|
|
163
|
+
//#endregion
|
|
164
|
+
//#region src/message.d.ts
|
|
165
|
+
declare const IncomingResourceSegmentBase: z.ZodObject<{
|
|
166
|
+
resource_id: z.ZodString;
|
|
167
|
+
temp_url: z.ZodString;
|
|
168
|
+
}, z.core.$strip>;
|
|
169
|
+
declare const OutgoingResourceSegmentBase: z.ZodObject<{
|
|
170
|
+
uri: z.ZodString;
|
|
171
|
+
}, z.core.$strip>;
|
|
172
|
+
declare const IncomingSegment: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
173
|
+
type: z.ZodLiteral<"text">;
|
|
174
|
+
data: z.ZodObject<{
|
|
175
|
+
text: z.ZodString;
|
|
176
|
+
}, z.core.$strip>;
|
|
177
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
178
|
+
type: z.ZodLiteral<"mention">;
|
|
179
|
+
data: z.ZodObject<{
|
|
180
|
+
user_id: z.ZodNumber;
|
|
181
|
+
}, z.core.$strip>;
|
|
182
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
183
|
+
type: z.ZodLiteral<"mention_all">;
|
|
184
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
185
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
186
|
+
type: z.ZodLiteral<"face">;
|
|
187
|
+
data: z.ZodObject<{
|
|
188
|
+
face_id: z.ZodString;
|
|
189
|
+
is_large: z.ZodBoolean;
|
|
190
|
+
}, z.core.$strip>;
|
|
191
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
192
|
+
type: z.ZodLiteral<"reply">;
|
|
193
|
+
data: z.ZodObject<{
|
|
194
|
+
message_seq: z.ZodNumber;
|
|
195
|
+
}, z.core.$strip>;
|
|
196
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
197
|
+
type: z.ZodLiteral<"image">;
|
|
198
|
+
data: z.ZodObject<{
|
|
199
|
+
resource_id: z.ZodString;
|
|
200
|
+
temp_url: z.ZodString;
|
|
201
|
+
width: z.ZodNumber;
|
|
202
|
+
height: z.ZodNumber;
|
|
203
|
+
summary: z.ZodString;
|
|
204
|
+
sub_type: z.ZodEnum<{
|
|
205
|
+
normal: "normal";
|
|
206
|
+
sticker: "sticker";
|
|
207
|
+
}>;
|
|
208
|
+
}, z.core.$strip>;
|
|
209
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
210
|
+
type: z.ZodLiteral<"record">;
|
|
211
|
+
data: z.ZodObject<{
|
|
212
|
+
resource_id: z.ZodString;
|
|
213
|
+
temp_url: z.ZodString;
|
|
214
|
+
duration: z.ZodNumber;
|
|
215
|
+
}, z.core.$strip>;
|
|
216
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
217
|
+
type: z.ZodLiteral<"video">;
|
|
218
|
+
data: z.ZodObject<{
|
|
219
|
+
resource_id: z.ZodString;
|
|
220
|
+
temp_url: z.ZodString;
|
|
221
|
+
width: z.ZodNumber;
|
|
222
|
+
height: z.ZodNumber;
|
|
223
|
+
duration: z.ZodNumber;
|
|
224
|
+
}, z.core.$strip>;
|
|
225
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
226
|
+
type: z.ZodLiteral<"file">;
|
|
227
|
+
data: z.ZodObject<{
|
|
228
|
+
file_id: z.ZodString;
|
|
229
|
+
file_name: z.ZodString;
|
|
230
|
+
file_size: z.ZodNumber;
|
|
231
|
+
file_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
232
|
+
}, z.core.$strip>;
|
|
233
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
234
|
+
type: z.ZodLiteral<"forward">;
|
|
235
|
+
data: z.ZodObject<{
|
|
236
|
+
forward_id: z.ZodString;
|
|
237
|
+
title: z.ZodString;
|
|
238
|
+
preview: z.ZodArray<z.ZodString>;
|
|
239
|
+
summary: z.ZodString;
|
|
240
|
+
}, z.core.$strip>;
|
|
241
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
242
|
+
type: z.ZodLiteral<"market_face">;
|
|
243
|
+
data: z.ZodObject<{
|
|
244
|
+
emoji_package_id: z.ZodNumber;
|
|
245
|
+
emoji_id: z.ZodString;
|
|
246
|
+
key: z.ZodString;
|
|
247
|
+
summary: z.ZodString;
|
|
248
|
+
url: z.ZodString;
|
|
249
|
+
}, z.core.$strip>;
|
|
250
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
251
|
+
type: z.ZodLiteral<"light_app">;
|
|
252
|
+
data: z.ZodObject<{
|
|
253
|
+
app_name: z.ZodString;
|
|
254
|
+
json_payload: z.ZodString;
|
|
255
|
+
}, z.core.$strip>;
|
|
256
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
257
|
+
type: z.ZodLiteral<"xml">;
|
|
258
|
+
data: z.ZodObject<{
|
|
259
|
+
service_id: z.ZodNumber;
|
|
260
|
+
xml_payload: z.ZodString;
|
|
261
|
+
}, z.core.$strip>;
|
|
262
|
+
}, z.core.$strip>], "type">;
|
|
263
|
+
declare const IncomingForwardedMessage: z.ZodObject<{
|
|
264
|
+
sender_name: z.ZodString;
|
|
265
|
+
avatar_url: z.ZodString;
|
|
266
|
+
time: z.ZodNumber;
|
|
267
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
268
|
+
type: z.ZodLiteral<"text">;
|
|
269
|
+
data: z.ZodObject<{
|
|
270
|
+
text: z.ZodString;
|
|
271
|
+
}, z.core.$strip>;
|
|
272
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
273
|
+
type: z.ZodLiteral<"mention">;
|
|
274
|
+
data: z.ZodObject<{
|
|
275
|
+
user_id: z.ZodNumber;
|
|
276
|
+
}, z.core.$strip>;
|
|
277
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
278
|
+
type: z.ZodLiteral<"mention_all">;
|
|
279
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
280
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
281
|
+
type: z.ZodLiteral<"face">;
|
|
282
|
+
data: z.ZodObject<{
|
|
283
|
+
face_id: z.ZodString;
|
|
284
|
+
is_large: z.ZodBoolean;
|
|
285
|
+
}, z.core.$strip>;
|
|
286
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
287
|
+
type: z.ZodLiteral<"reply">;
|
|
288
|
+
data: z.ZodObject<{
|
|
289
|
+
message_seq: z.ZodNumber;
|
|
290
|
+
}, z.core.$strip>;
|
|
291
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
292
|
+
type: z.ZodLiteral<"image">;
|
|
293
|
+
data: z.ZodObject<{
|
|
294
|
+
resource_id: z.ZodString;
|
|
295
|
+
temp_url: z.ZodString;
|
|
296
|
+
width: z.ZodNumber;
|
|
297
|
+
height: z.ZodNumber;
|
|
298
|
+
summary: z.ZodString;
|
|
299
|
+
sub_type: z.ZodEnum<{
|
|
300
|
+
normal: "normal";
|
|
301
|
+
sticker: "sticker";
|
|
302
|
+
}>;
|
|
303
|
+
}, z.core.$strip>;
|
|
304
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
305
|
+
type: z.ZodLiteral<"record">;
|
|
306
|
+
data: z.ZodObject<{
|
|
307
|
+
resource_id: z.ZodString;
|
|
308
|
+
temp_url: z.ZodString;
|
|
309
|
+
duration: z.ZodNumber;
|
|
310
|
+
}, z.core.$strip>;
|
|
311
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
312
|
+
type: z.ZodLiteral<"video">;
|
|
313
|
+
data: z.ZodObject<{
|
|
314
|
+
resource_id: z.ZodString;
|
|
315
|
+
temp_url: z.ZodString;
|
|
316
|
+
width: z.ZodNumber;
|
|
317
|
+
height: z.ZodNumber;
|
|
318
|
+
duration: z.ZodNumber;
|
|
319
|
+
}, z.core.$strip>;
|
|
320
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
321
|
+
type: z.ZodLiteral<"file">;
|
|
322
|
+
data: z.ZodObject<{
|
|
323
|
+
file_id: z.ZodString;
|
|
324
|
+
file_name: z.ZodString;
|
|
325
|
+
file_size: z.ZodNumber;
|
|
326
|
+
file_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
327
|
+
}, z.core.$strip>;
|
|
328
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
329
|
+
type: z.ZodLiteral<"forward">;
|
|
330
|
+
data: z.ZodObject<{
|
|
331
|
+
forward_id: z.ZodString;
|
|
332
|
+
title: z.ZodString;
|
|
333
|
+
preview: z.ZodArray<z.ZodString>;
|
|
334
|
+
summary: z.ZodString;
|
|
335
|
+
}, z.core.$strip>;
|
|
336
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
337
|
+
type: z.ZodLiteral<"market_face">;
|
|
338
|
+
data: z.ZodObject<{
|
|
339
|
+
emoji_package_id: z.ZodNumber;
|
|
340
|
+
emoji_id: z.ZodString;
|
|
341
|
+
key: z.ZodString;
|
|
342
|
+
summary: z.ZodString;
|
|
343
|
+
url: z.ZodString;
|
|
344
|
+
}, z.core.$strip>;
|
|
345
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
346
|
+
type: z.ZodLiteral<"light_app">;
|
|
347
|
+
data: z.ZodObject<{
|
|
348
|
+
app_name: z.ZodString;
|
|
349
|
+
json_payload: z.ZodString;
|
|
350
|
+
}, z.core.$strip>;
|
|
351
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
352
|
+
type: z.ZodLiteral<"xml">;
|
|
353
|
+
data: z.ZodObject<{
|
|
354
|
+
service_id: z.ZodNumber;
|
|
355
|
+
xml_payload: z.ZodString;
|
|
356
|
+
}, z.core.$strip>;
|
|
357
|
+
}, z.core.$strip>], "type">>>;
|
|
358
|
+
}, z.core.$strip>;
|
|
359
|
+
declare const OutgoingSegment: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
360
|
+
type: z.ZodLiteral<"text">;
|
|
361
|
+
data: z.ZodObject<{
|
|
362
|
+
text: z.ZodString;
|
|
363
|
+
}, z.core.$strip>;
|
|
364
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
365
|
+
type: z.ZodLiteral<"mention">;
|
|
366
|
+
data: z.ZodObject<{
|
|
367
|
+
user_id: z.ZodNumber;
|
|
368
|
+
}, z.core.$strip>;
|
|
369
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
370
|
+
type: z.ZodLiteral<"mention_all">;
|
|
371
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
372
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
373
|
+
type: z.ZodLiteral<"face">;
|
|
374
|
+
data: z.ZodObject<{
|
|
375
|
+
face_id: z.ZodString;
|
|
376
|
+
is_large: z.ZodDefault<z.ZodBoolean>;
|
|
377
|
+
}, z.core.$strip>;
|
|
378
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
379
|
+
type: z.ZodLiteral<"reply">;
|
|
380
|
+
data: z.ZodObject<{
|
|
381
|
+
message_seq: z.ZodNumber;
|
|
382
|
+
}, z.core.$strip>;
|
|
383
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
384
|
+
type: z.ZodLiteral<"image">;
|
|
385
|
+
data: z.ZodObject<{
|
|
386
|
+
uri: z.ZodString;
|
|
387
|
+
sub_type: z.ZodDefault<z.ZodEnum<{
|
|
388
|
+
normal: "normal";
|
|
389
|
+
sticker: "sticker";
|
|
390
|
+
}>>;
|
|
391
|
+
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
392
|
+
}, z.core.$strip>;
|
|
393
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
394
|
+
type: z.ZodLiteral<"record">;
|
|
395
|
+
data: z.ZodObject<{
|
|
396
|
+
uri: z.ZodString;
|
|
397
|
+
}, z.core.$strip>;
|
|
398
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
399
|
+
type: z.ZodLiteral<"video">;
|
|
400
|
+
data: z.ZodObject<{
|
|
401
|
+
uri: z.ZodString;
|
|
402
|
+
thumb_uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
403
|
+
}, z.core.$strip>;
|
|
404
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
405
|
+
type: z.ZodLiteral<"forward">;
|
|
406
|
+
data: z.ZodObject<{
|
|
407
|
+
messages: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
408
|
+
user_id: z.ZodNumber;
|
|
409
|
+
sender_name: z.ZodString;
|
|
410
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
411
|
+
type: z.ZodLiteral<"text">;
|
|
412
|
+
data: z.ZodObject<{
|
|
413
|
+
text: z.ZodString;
|
|
414
|
+
}, z.core.$strip>;
|
|
415
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
416
|
+
type: z.ZodLiteral<"mention">;
|
|
417
|
+
data: z.ZodObject<{
|
|
418
|
+
user_id: z.ZodNumber;
|
|
419
|
+
}, z.core.$strip>;
|
|
420
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
421
|
+
type: z.ZodLiteral<"mention_all">;
|
|
422
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
423
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
424
|
+
type: z.ZodLiteral<"face">;
|
|
425
|
+
data: z.ZodObject<{
|
|
426
|
+
face_id: z.ZodString;
|
|
427
|
+
is_large: z.ZodDefault<z.ZodBoolean>;
|
|
428
|
+
}, z.core.$strip>;
|
|
429
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
430
|
+
type: z.ZodLiteral<"reply">;
|
|
431
|
+
data: z.ZodObject<{
|
|
432
|
+
message_seq: z.ZodNumber;
|
|
433
|
+
}, z.core.$strip>;
|
|
434
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
435
|
+
type: z.ZodLiteral<"image">;
|
|
436
|
+
data: z.ZodObject<{
|
|
437
|
+
uri: z.ZodString;
|
|
438
|
+
sub_type: z.ZodDefault<z.ZodEnum<{
|
|
439
|
+
normal: "normal";
|
|
440
|
+
sticker: "sticker";
|
|
441
|
+
}>>;
|
|
442
|
+
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
443
|
+
}, z.core.$strip>;
|
|
444
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
445
|
+
type: z.ZodLiteral<"record">;
|
|
446
|
+
data: z.ZodObject<{
|
|
447
|
+
uri: z.ZodString;
|
|
448
|
+
}, z.core.$strip>;
|
|
449
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
450
|
+
type: z.ZodLiteral<"video">;
|
|
451
|
+
data: z.ZodObject<{
|
|
452
|
+
uri: z.ZodString;
|
|
453
|
+
thumb_uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
454
|
+
}, z.core.$strip>;
|
|
455
|
+
}, z.core.$strip>, z.ZodObject< /*elided*/any, z.core.$strip>], "type">>>;
|
|
456
|
+
}, z.core.$strip>>>;
|
|
457
|
+
}, z.core.$strip>;
|
|
458
|
+
}, z.core.$strip>], "type">;
|
|
459
|
+
declare const OutgoingForwardedMessage: z.ZodObject<{
|
|
460
|
+
user_id: z.ZodNumber;
|
|
461
|
+
sender_name: z.ZodString;
|
|
462
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
463
|
+
type: z.ZodLiteral<"text">;
|
|
464
|
+
data: z.ZodObject<{
|
|
465
|
+
text: z.ZodString;
|
|
466
|
+
}, z.core.$strip>;
|
|
467
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
468
|
+
type: z.ZodLiteral<"mention">;
|
|
469
|
+
data: z.ZodObject<{
|
|
470
|
+
user_id: z.ZodNumber;
|
|
471
|
+
}, z.core.$strip>;
|
|
472
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
473
|
+
type: z.ZodLiteral<"mention_all">;
|
|
474
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
475
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
476
|
+
type: z.ZodLiteral<"face">;
|
|
477
|
+
data: z.ZodObject<{
|
|
478
|
+
face_id: z.ZodString;
|
|
479
|
+
is_large: z.ZodDefault<z.ZodBoolean>;
|
|
480
|
+
}, z.core.$strip>;
|
|
481
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
482
|
+
type: z.ZodLiteral<"reply">;
|
|
483
|
+
data: z.ZodObject<{
|
|
484
|
+
message_seq: z.ZodNumber;
|
|
485
|
+
}, z.core.$strip>;
|
|
486
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
487
|
+
type: z.ZodLiteral<"image">;
|
|
488
|
+
data: z.ZodObject<{
|
|
489
|
+
uri: z.ZodString;
|
|
490
|
+
sub_type: z.ZodDefault<z.ZodEnum<{
|
|
491
|
+
normal: "normal";
|
|
492
|
+
sticker: "sticker";
|
|
493
|
+
}>>;
|
|
494
|
+
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
495
|
+
}, z.core.$strip>;
|
|
496
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
497
|
+
type: z.ZodLiteral<"record">;
|
|
498
|
+
data: z.ZodObject<{
|
|
499
|
+
uri: z.ZodString;
|
|
500
|
+
}, z.core.$strip>;
|
|
501
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
502
|
+
type: z.ZodLiteral<"video">;
|
|
503
|
+
data: z.ZodObject<{
|
|
504
|
+
uri: z.ZodString;
|
|
505
|
+
thumb_uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
506
|
+
}, z.core.$strip>;
|
|
507
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
508
|
+
type: z.ZodLiteral<"forward">;
|
|
509
|
+
data: z.ZodObject<{
|
|
510
|
+
messages: z.ZodArray<z.ZodLazy<z.ZodObject< /*elided*/any, z.core.$strip>>>;
|
|
511
|
+
}, z.core.$strip>;
|
|
512
|
+
}, z.core.$strip>], "type">>>;
|
|
513
|
+
}, z.core.$strip>;
|
|
514
|
+
declare const IncomingMessage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
515
|
+
message_scene: z.ZodLiteral<"friend">;
|
|
516
|
+
peer_id: z.ZodNumber;
|
|
517
|
+
message_seq: z.ZodNumber;
|
|
518
|
+
sender_id: z.ZodNumber;
|
|
519
|
+
time: z.ZodNumber;
|
|
520
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
521
|
+
type: z.ZodLiteral<"text">;
|
|
522
|
+
data: z.ZodObject<{
|
|
523
|
+
text: z.ZodString;
|
|
524
|
+
}, z.core.$strip>;
|
|
525
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
526
|
+
type: z.ZodLiteral<"mention">;
|
|
527
|
+
data: z.ZodObject<{
|
|
528
|
+
user_id: z.ZodNumber;
|
|
529
|
+
}, z.core.$strip>;
|
|
530
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
531
|
+
type: z.ZodLiteral<"mention_all">;
|
|
532
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
533
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
534
|
+
type: z.ZodLiteral<"face">;
|
|
535
|
+
data: z.ZodObject<{
|
|
536
|
+
face_id: z.ZodString;
|
|
537
|
+
is_large: z.ZodBoolean;
|
|
538
|
+
}, z.core.$strip>;
|
|
539
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
540
|
+
type: z.ZodLiteral<"reply">;
|
|
541
|
+
data: z.ZodObject<{
|
|
542
|
+
message_seq: z.ZodNumber;
|
|
543
|
+
}, z.core.$strip>;
|
|
544
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
545
|
+
type: z.ZodLiteral<"image">;
|
|
546
|
+
data: z.ZodObject<{
|
|
547
|
+
resource_id: z.ZodString;
|
|
548
|
+
temp_url: z.ZodString;
|
|
549
|
+
width: z.ZodNumber;
|
|
550
|
+
height: z.ZodNumber;
|
|
551
|
+
summary: z.ZodString;
|
|
552
|
+
sub_type: z.ZodEnum<{
|
|
553
|
+
normal: "normal";
|
|
554
|
+
sticker: "sticker";
|
|
555
|
+
}>;
|
|
556
|
+
}, z.core.$strip>;
|
|
557
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
558
|
+
type: z.ZodLiteral<"record">;
|
|
559
|
+
data: z.ZodObject<{
|
|
560
|
+
resource_id: z.ZodString;
|
|
561
|
+
temp_url: z.ZodString;
|
|
562
|
+
duration: z.ZodNumber;
|
|
563
|
+
}, z.core.$strip>;
|
|
564
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
565
|
+
type: z.ZodLiteral<"video">;
|
|
566
|
+
data: z.ZodObject<{
|
|
567
|
+
resource_id: z.ZodString;
|
|
568
|
+
temp_url: z.ZodString;
|
|
569
|
+
width: z.ZodNumber;
|
|
570
|
+
height: z.ZodNumber;
|
|
571
|
+
duration: z.ZodNumber;
|
|
572
|
+
}, z.core.$strip>;
|
|
573
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
574
|
+
type: z.ZodLiteral<"file">;
|
|
575
|
+
data: z.ZodObject<{
|
|
576
|
+
file_id: z.ZodString;
|
|
577
|
+
file_name: z.ZodString;
|
|
578
|
+
file_size: z.ZodNumber;
|
|
579
|
+
file_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
580
|
+
}, z.core.$strip>;
|
|
581
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
582
|
+
type: z.ZodLiteral<"forward">;
|
|
583
|
+
data: z.ZodObject<{
|
|
584
|
+
forward_id: z.ZodString;
|
|
585
|
+
title: z.ZodString;
|
|
586
|
+
preview: z.ZodArray<z.ZodString>;
|
|
587
|
+
summary: z.ZodString;
|
|
588
|
+
}, z.core.$strip>;
|
|
589
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
590
|
+
type: z.ZodLiteral<"market_face">;
|
|
591
|
+
data: z.ZodObject<{
|
|
592
|
+
emoji_package_id: z.ZodNumber;
|
|
593
|
+
emoji_id: z.ZodString;
|
|
594
|
+
key: z.ZodString;
|
|
595
|
+
summary: z.ZodString;
|
|
596
|
+
url: z.ZodString;
|
|
597
|
+
}, z.core.$strip>;
|
|
598
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
599
|
+
type: z.ZodLiteral<"light_app">;
|
|
600
|
+
data: z.ZodObject<{
|
|
601
|
+
app_name: z.ZodString;
|
|
602
|
+
json_payload: z.ZodString;
|
|
603
|
+
}, z.core.$strip>;
|
|
604
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
605
|
+
type: z.ZodLiteral<"xml">;
|
|
606
|
+
data: z.ZodObject<{
|
|
607
|
+
service_id: z.ZodNumber;
|
|
608
|
+
xml_payload: z.ZodString;
|
|
609
|
+
}, z.core.$strip>;
|
|
610
|
+
}, z.core.$strip>], "type">>>;
|
|
611
|
+
friend: z.ZodLazy<z.ZodObject<{
|
|
612
|
+
user_id: z.ZodNumber;
|
|
613
|
+
nickname: z.ZodString;
|
|
614
|
+
sex: z.ZodEnum<{
|
|
615
|
+
male: "male";
|
|
616
|
+
female: "female";
|
|
617
|
+
unknown: "unknown";
|
|
618
|
+
}>;
|
|
619
|
+
qid: z.ZodString;
|
|
620
|
+
remark: z.ZodString;
|
|
621
|
+
category: z.ZodLazy<z.ZodObject<{
|
|
622
|
+
category_id: z.ZodNumber;
|
|
623
|
+
category_name: z.ZodString;
|
|
624
|
+
}, z.core.$strip>>;
|
|
625
|
+
}, z.core.$strip>>;
|
|
626
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
627
|
+
message_scene: z.ZodLiteral<"group">;
|
|
628
|
+
peer_id: z.ZodNumber;
|
|
629
|
+
message_seq: z.ZodNumber;
|
|
630
|
+
sender_id: z.ZodNumber;
|
|
631
|
+
time: z.ZodNumber;
|
|
632
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
633
|
+
type: z.ZodLiteral<"text">;
|
|
634
|
+
data: z.ZodObject<{
|
|
635
|
+
text: z.ZodString;
|
|
636
|
+
}, z.core.$strip>;
|
|
637
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
638
|
+
type: z.ZodLiteral<"mention">;
|
|
639
|
+
data: z.ZodObject<{
|
|
640
|
+
user_id: z.ZodNumber;
|
|
641
|
+
}, z.core.$strip>;
|
|
642
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
643
|
+
type: z.ZodLiteral<"mention_all">;
|
|
644
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
645
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
646
|
+
type: z.ZodLiteral<"face">;
|
|
647
|
+
data: z.ZodObject<{
|
|
648
|
+
face_id: z.ZodString;
|
|
649
|
+
is_large: z.ZodBoolean;
|
|
650
|
+
}, z.core.$strip>;
|
|
651
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
652
|
+
type: z.ZodLiteral<"reply">;
|
|
653
|
+
data: z.ZodObject<{
|
|
654
|
+
message_seq: z.ZodNumber;
|
|
655
|
+
}, z.core.$strip>;
|
|
656
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
657
|
+
type: z.ZodLiteral<"image">;
|
|
658
|
+
data: z.ZodObject<{
|
|
659
|
+
resource_id: z.ZodString;
|
|
660
|
+
temp_url: z.ZodString;
|
|
661
|
+
width: z.ZodNumber;
|
|
662
|
+
height: z.ZodNumber;
|
|
663
|
+
summary: z.ZodString;
|
|
664
|
+
sub_type: z.ZodEnum<{
|
|
665
|
+
normal: "normal";
|
|
666
|
+
sticker: "sticker";
|
|
667
|
+
}>;
|
|
668
|
+
}, z.core.$strip>;
|
|
669
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
670
|
+
type: z.ZodLiteral<"record">;
|
|
671
|
+
data: z.ZodObject<{
|
|
672
|
+
resource_id: z.ZodString;
|
|
673
|
+
temp_url: z.ZodString;
|
|
674
|
+
duration: z.ZodNumber;
|
|
675
|
+
}, z.core.$strip>;
|
|
676
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
677
|
+
type: z.ZodLiteral<"video">;
|
|
678
|
+
data: z.ZodObject<{
|
|
679
|
+
resource_id: z.ZodString;
|
|
680
|
+
temp_url: z.ZodString;
|
|
681
|
+
width: z.ZodNumber;
|
|
682
|
+
height: z.ZodNumber;
|
|
683
|
+
duration: z.ZodNumber;
|
|
684
|
+
}, z.core.$strip>;
|
|
685
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
686
|
+
type: z.ZodLiteral<"file">;
|
|
687
|
+
data: z.ZodObject<{
|
|
688
|
+
file_id: z.ZodString;
|
|
689
|
+
file_name: z.ZodString;
|
|
690
|
+
file_size: z.ZodNumber;
|
|
691
|
+
file_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
692
|
+
}, z.core.$strip>;
|
|
693
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
694
|
+
type: z.ZodLiteral<"forward">;
|
|
695
|
+
data: z.ZodObject<{
|
|
696
|
+
forward_id: z.ZodString;
|
|
697
|
+
title: z.ZodString;
|
|
698
|
+
preview: z.ZodArray<z.ZodString>;
|
|
699
|
+
summary: z.ZodString;
|
|
700
|
+
}, z.core.$strip>;
|
|
701
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
702
|
+
type: z.ZodLiteral<"market_face">;
|
|
703
|
+
data: z.ZodObject<{
|
|
704
|
+
emoji_package_id: z.ZodNumber;
|
|
705
|
+
emoji_id: z.ZodString;
|
|
706
|
+
key: z.ZodString;
|
|
707
|
+
summary: z.ZodString;
|
|
708
|
+
url: z.ZodString;
|
|
709
|
+
}, z.core.$strip>;
|
|
710
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
711
|
+
type: z.ZodLiteral<"light_app">;
|
|
712
|
+
data: z.ZodObject<{
|
|
713
|
+
app_name: z.ZodString;
|
|
714
|
+
json_payload: z.ZodString;
|
|
715
|
+
}, z.core.$strip>;
|
|
716
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
717
|
+
type: z.ZodLiteral<"xml">;
|
|
718
|
+
data: z.ZodObject<{
|
|
719
|
+
service_id: z.ZodNumber;
|
|
720
|
+
xml_payload: z.ZodString;
|
|
721
|
+
}, z.core.$strip>;
|
|
722
|
+
}, z.core.$strip>], "type">>>;
|
|
723
|
+
group: z.ZodLazy<z.ZodObject<{
|
|
724
|
+
group_id: z.ZodNumber;
|
|
725
|
+
group_name: z.ZodString;
|
|
726
|
+
member_count: z.ZodNumber;
|
|
727
|
+
max_member_count: z.ZodNumber;
|
|
728
|
+
}, z.core.$strip>>;
|
|
729
|
+
group_member: z.ZodLazy<z.ZodObject<{
|
|
730
|
+
user_id: z.ZodNumber;
|
|
731
|
+
nickname: z.ZodString;
|
|
732
|
+
sex: z.ZodEnum<{
|
|
733
|
+
male: "male";
|
|
734
|
+
female: "female";
|
|
735
|
+
unknown: "unknown";
|
|
736
|
+
}>;
|
|
737
|
+
group_id: z.ZodNumber;
|
|
738
|
+
card: z.ZodString;
|
|
739
|
+
title: z.ZodString;
|
|
740
|
+
level: z.ZodNumber;
|
|
741
|
+
role: z.ZodEnum<{
|
|
742
|
+
owner: "owner";
|
|
743
|
+
admin: "admin";
|
|
744
|
+
member: "member";
|
|
745
|
+
}>;
|
|
746
|
+
join_time: z.ZodNumber;
|
|
747
|
+
last_sent_time: z.ZodNumber;
|
|
748
|
+
shut_up_end_time: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
749
|
+
}, z.core.$strip>>;
|
|
750
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
751
|
+
message_scene: z.ZodLiteral<"temp">;
|
|
752
|
+
peer_id: z.ZodNumber;
|
|
753
|
+
message_seq: z.ZodNumber;
|
|
754
|
+
sender_id: z.ZodNumber;
|
|
755
|
+
time: z.ZodNumber;
|
|
756
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
757
|
+
type: z.ZodLiteral<"text">;
|
|
758
|
+
data: z.ZodObject<{
|
|
759
|
+
text: z.ZodString;
|
|
760
|
+
}, z.core.$strip>;
|
|
761
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
762
|
+
type: z.ZodLiteral<"mention">;
|
|
763
|
+
data: z.ZodObject<{
|
|
764
|
+
user_id: z.ZodNumber;
|
|
765
|
+
}, z.core.$strip>;
|
|
766
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
767
|
+
type: z.ZodLiteral<"mention_all">;
|
|
768
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
769
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
770
|
+
type: z.ZodLiteral<"face">;
|
|
771
|
+
data: z.ZodObject<{
|
|
772
|
+
face_id: z.ZodString;
|
|
773
|
+
is_large: z.ZodBoolean;
|
|
774
|
+
}, z.core.$strip>;
|
|
775
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
776
|
+
type: z.ZodLiteral<"reply">;
|
|
777
|
+
data: z.ZodObject<{
|
|
778
|
+
message_seq: z.ZodNumber;
|
|
779
|
+
}, z.core.$strip>;
|
|
780
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
781
|
+
type: z.ZodLiteral<"image">;
|
|
782
|
+
data: z.ZodObject<{
|
|
783
|
+
resource_id: z.ZodString;
|
|
784
|
+
temp_url: z.ZodString;
|
|
785
|
+
width: z.ZodNumber;
|
|
786
|
+
height: z.ZodNumber;
|
|
787
|
+
summary: z.ZodString;
|
|
788
|
+
sub_type: z.ZodEnum<{
|
|
789
|
+
normal: "normal";
|
|
790
|
+
sticker: "sticker";
|
|
791
|
+
}>;
|
|
792
|
+
}, z.core.$strip>;
|
|
793
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
794
|
+
type: z.ZodLiteral<"record">;
|
|
795
|
+
data: z.ZodObject<{
|
|
796
|
+
resource_id: z.ZodString;
|
|
797
|
+
temp_url: z.ZodString;
|
|
798
|
+
duration: z.ZodNumber;
|
|
799
|
+
}, z.core.$strip>;
|
|
800
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
801
|
+
type: z.ZodLiteral<"video">;
|
|
802
|
+
data: z.ZodObject<{
|
|
803
|
+
resource_id: z.ZodString;
|
|
804
|
+
temp_url: z.ZodString;
|
|
805
|
+
width: z.ZodNumber;
|
|
806
|
+
height: z.ZodNumber;
|
|
807
|
+
duration: z.ZodNumber;
|
|
808
|
+
}, z.core.$strip>;
|
|
809
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
810
|
+
type: z.ZodLiteral<"file">;
|
|
811
|
+
data: z.ZodObject<{
|
|
812
|
+
file_id: z.ZodString;
|
|
813
|
+
file_name: z.ZodString;
|
|
814
|
+
file_size: z.ZodNumber;
|
|
815
|
+
file_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
816
|
+
}, z.core.$strip>;
|
|
817
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
818
|
+
type: z.ZodLiteral<"forward">;
|
|
819
|
+
data: z.ZodObject<{
|
|
820
|
+
forward_id: z.ZodString;
|
|
821
|
+
title: z.ZodString;
|
|
822
|
+
preview: z.ZodArray<z.ZodString>;
|
|
823
|
+
summary: z.ZodString;
|
|
824
|
+
}, z.core.$strip>;
|
|
825
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
826
|
+
type: z.ZodLiteral<"market_face">;
|
|
827
|
+
data: z.ZodObject<{
|
|
828
|
+
emoji_package_id: z.ZodNumber;
|
|
829
|
+
emoji_id: z.ZodString;
|
|
830
|
+
key: z.ZodString;
|
|
831
|
+
summary: z.ZodString;
|
|
832
|
+
url: z.ZodString;
|
|
833
|
+
}, z.core.$strip>;
|
|
834
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
835
|
+
type: z.ZodLiteral<"light_app">;
|
|
836
|
+
data: z.ZodObject<{
|
|
837
|
+
app_name: z.ZodString;
|
|
838
|
+
json_payload: z.ZodString;
|
|
839
|
+
}, z.core.$strip>;
|
|
840
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
841
|
+
type: z.ZodLiteral<"xml">;
|
|
842
|
+
data: z.ZodObject<{
|
|
843
|
+
service_id: z.ZodNumber;
|
|
844
|
+
xml_payload: z.ZodString;
|
|
845
|
+
}, z.core.$strip>;
|
|
846
|
+
}, z.core.$strip>], "type">>>;
|
|
847
|
+
group: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
848
|
+
group_id: z.ZodNumber;
|
|
849
|
+
group_name: z.ZodString;
|
|
850
|
+
member_count: z.ZodNumber;
|
|
851
|
+
max_member_count: z.ZodNumber;
|
|
852
|
+
}, z.core.$strip>>>>;
|
|
853
|
+
}, z.core.$strip>], "message_scene">;
|
|
854
|
+
declare const GroupEssenceMessage: z.ZodObject<{
|
|
855
|
+
group_id: z.ZodNumber;
|
|
856
|
+
message_seq: z.ZodNumber;
|
|
857
|
+
message_time: z.ZodNumber;
|
|
858
|
+
sender_id: z.ZodNumber;
|
|
859
|
+
sender_name: z.ZodString;
|
|
860
|
+
operator_id: z.ZodNumber;
|
|
861
|
+
operator_name: z.ZodString;
|
|
862
|
+
operation_time: z.ZodNumber;
|
|
863
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
864
|
+
type: z.ZodLiteral<"text">;
|
|
865
|
+
data: z.ZodObject<{
|
|
866
|
+
text: z.ZodString;
|
|
867
|
+
}, z.core.$strip>;
|
|
868
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
869
|
+
type: z.ZodLiteral<"mention">;
|
|
870
|
+
data: z.ZodObject<{
|
|
871
|
+
user_id: z.ZodNumber;
|
|
872
|
+
}, z.core.$strip>;
|
|
873
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
874
|
+
type: z.ZodLiteral<"mention_all">;
|
|
875
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
876
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
877
|
+
type: z.ZodLiteral<"face">;
|
|
878
|
+
data: z.ZodObject<{
|
|
879
|
+
face_id: z.ZodString;
|
|
880
|
+
is_large: z.ZodBoolean;
|
|
881
|
+
}, z.core.$strip>;
|
|
882
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
883
|
+
type: z.ZodLiteral<"reply">;
|
|
884
|
+
data: z.ZodObject<{
|
|
885
|
+
message_seq: z.ZodNumber;
|
|
886
|
+
}, z.core.$strip>;
|
|
887
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
888
|
+
type: z.ZodLiteral<"image">;
|
|
889
|
+
data: z.ZodObject<{
|
|
890
|
+
resource_id: z.ZodString;
|
|
891
|
+
temp_url: z.ZodString;
|
|
892
|
+
width: z.ZodNumber;
|
|
893
|
+
height: z.ZodNumber;
|
|
894
|
+
summary: z.ZodString;
|
|
895
|
+
sub_type: z.ZodEnum<{
|
|
896
|
+
normal: "normal";
|
|
897
|
+
sticker: "sticker";
|
|
898
|
+
}>;
|
|
899
|
+
}, z.core.$strip>;
|
|
900
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
901
|
+
type: z.ZodLiteral<"record">;
|
|
902
|
+
data: z.ZodObject<{
|
|
903
|
+
resource_id: z.ZodString;
|
|
904
|
+
temp_url: z.ZodString;
|
|
905
|
+
duration: z.ZodNumber;
|
|
906
|
+
}, z.core.$strip>;
|
|
907
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
908
|
+
type: z.ZodLiteral<"video">;
|
|
909
|
+
data: z.ZodObject<{
|
|
910
|
+
resource_id: z.ZodString;
|
|
911
|
+
temp_url: z.ZodString;
|
|
912
|
+
width: z.ZodNumber;
|
|
913
|
+
height: z.ZodNumber;
|
|
914
|
+
duration: z.ZodNumber;
|
|
915
|
+
}, z.core.$strip>;
|
|
916
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
917
|
+
type: z.ZodLiteral<"file">;
|
|
918
|
+
data: z.ZodObject<{
|
|
919
|
+
file_id: z.ZodString;
|
|
920
|
+
file_name: z.ZodString;
|
|
921
|
+
file_size: z.ZodNumber;
|
|
922
|
+
file_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
923
|
+
}, z.core.$strip>;
|
|
924
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
925
|
+
type: z.ZodLiteral<"forward">;
|
|
926
|
+
data: z.ZodObject<{
|
|
927
|
+
forward_id: z.ZodString;
|
|
928
|
+
title: z.ZodString;
|
|
929
|
+
preview: z.ZodArray<z.ZodString>;
|
|
930
|
+
summary: z.ZodString;
|
|
931
|
+
}, z.core.$strip>;
|
|
932
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
933
|
+
type: z.ZodLiteral<"market_face">;
|
|
934
|
+
data: z.ZodObject<{
|
|
935
|
+
emoji_package_id: z.ZodNumber;
|
|
936
|
+
emoji_id: z.ZodString;
|
|
937
|
+
key: z.ZodString;
|
|
938
|
+
summary: z.ZodString;
|
|
939
|
+
url: z.ZodString;
|
|
940
|
+
}, z.core.$strip>;
|
|
941
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
942
|
+
type: z.ZodLiteral<"light_app">;
|
|
943
|
+
data: z.ZodObject<{
|
|
944
|
+
app_name: z.ZodString;
|
|
945
|
+
json_payload: z.ZodString;
|
|
946
|
+
}, z.core.$strip>;
|
|
947
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
948
|
+
type: z.ZodLiteral<"xml">;
|
|
949
|
+
data: z.ZodObject<{
|
|
950
|
+
service_id: z.ZodNumber;
|
|
951
|
+
xml_payload: z.ZodString;
|
|
952
|
+
}, z.core.$strip>;
|
|
953
|
+
}, z.core.$strip>], "type">>>;
|
|
954
|
+
}, z.core.$strip>;
|
|
955
|
+
type IncomingSegment = z.infer<typeof IncomingSegment>;
|
|
956
|
+
type OutgoingSegment = z.infer<typeof OutgoingSegment>;
|
|
957
|
+
type IncomingMessage = z.infer<typeof IncomingMessage>;
|
|
958
|
+
type GroupEssenceMessage = z.infer<typeof GroupEssenceMessage>;
|
|
959
|
+
type IncomingForwardedMessage = z.infer<typeof IncomingForwardedMessage>;
|
|
960
|
+
type OutgoingForwardedMessage = z.infer<typeof OutgoingForwardedMessage>;
|
|
961
|
+
//#endregion
|
|
962
|
+
//#region src/event.d.ts
|
|
963
|
+
declare const BotOfflineEvent: z.ZodObject<{
|
|
964
|
+
reason: z.ZodString;
|
|
965
|
+
}, z.core.$strip>;
|
|
966
|
+
declare const MessageRecallEvent: z.ZodObject<{
|
|
967
|
+
message_scene: z.ZodEnum<{
|
|
968
|
+
friend: "friend";
|
|
969
|
+
group: "group";
|
|
970
|
+
temp: "temp";
|
|
971
|
+
}>;
|
|
972
|
+
peer_id: z.ZodNumber;
|
|
973
|
+
message_seq: z.ZodNumber;
|
|
974
|
+
sender_id: z.ZodNumber;
|
|
975
|
+
operator_id: z.ZodNumber;
|
|
976
|
+
display_suffix: z.ZodString;
|
|
977
|
+
}, z.core.$strip>;
|
|
978
|
+
declare const FriendRequestEvent: z.ZodObject<{
|
|
979
|
+
initiator_id: z.ZodNumber;
|
|
980
|
+
initiator_uid: z.ZodString;
|
|
981
|
+
comment: z.ZodString;
|
|
982
|
+
via: z.ZodString;
|
|
983
|
+
}, z.core.$strip>;
|
|
984
|
+
declare const GroupJoinRequestEvent: z.ZodObject<{
|
|
985
|
+
group_id: z.ZodNumber;
|
|
986
|
+
notification_seq: z.ZodNumber;
|
|
987
|
+
is_filtered: z.ZodBoolean;
|
|
988
|
+
initiator_id: z.ZodNumber;
|
|
989
|
+
comment: z.ZodString;
|
|
990
|
+
}, z.core.$strip>;
|
|
991
|
+
declare const GroupInvitedJoinRequestEvent: z.ZodObject<{
|
|
992
|
+
group_id: z.ZodNumber;
|
|
993
|
+
notification_seq: z.ZodNumber;
|
|
994
|
+
initiator_id: z.ZodNumber;
|
|
995
|
+
target_user_id: z.ZodNumber;
|
|
996
|
+
}, z.core.$strip>;
|
|
997
|
+
declare const GroupInvitationEvent: z.ZodObject<{
|
|
998
|
+
group_id: z.ZodNumber;
|
|
999
|
+
invitation_seq: z.ZodNumber;
|
|
1000
|
+
initiator_id: z.ZodNumber;
|
|
1001
|
+
}, z.core.$strip>;
|
|
1002
|
+
declare const FriendNudgeEvent: z.ZodObject<{
|
|
1003
|
+
user_id: z.ZodNumber;
|
|
1004
|
+
is_self_send: z.ZodBoolean;
|
|
1005
|
+
is_self_receive: z.ZodBoolean;
|
|
1006
|
+
display_action: z.ZodString;
|
|
1007
|
+
display_suffix: z.ZodString;
|
|
1008
|
+
display_action_img_url: z.ZodString;
|
|
1009
|
+
}, z.core.$strip>;
|
|
1010
|
+
declare const FriendFileUploadEvent: z.ZodObject<{
|
|
1011
|
+
user_id: z.ZodNumber;
|
|
1012
|
+
file_id: z.ZodString;
|
|
1013
|
+
file_name: z.ZodString;
|
|
1014
|
+
file_size: z.ZodNumber;
|
|
1015
|
+
file_hash: z.ZodString;
|
|
1016
|
+
is_self: z.ZodBoolean;
|
|
1017
|
+
}, z.core.$strip>;
|
|
1018
|
+
declare const GroupAdminChangeEvent: z.ZodObject<{
|
|
1019
|
+
group_id: z.ZodNumber;
|
|
1020
|
+
user_id: z.ZodNumber;
|
|
1021
|
+
operator_id: z.ZodNumber;
|
|
1022
|
+
is_set: z.ZodBoolean;
|
|
1023
|
+
}, z.core.$strip>;
|
|
1024
|
+
declare const GroupEssenceMessageChangeEvent: z.ZodObject<{
|
|
1025
|
+
group_id: z.ZodNumber;
|
|
1026
|
+
message_seq: z.ZodNumber;
|
|
1027
|
+
operator_id: z.ZodNumber;
|
|
1028
|
+
is_set: z.ZodBoolean;
|
|
1029
|
+
}, z.core.$strip>;
|
|
1030
|
+
declare const GroupMemberIncreaseEvent: z.ZodObject<{
|
|
1031
|
+
group_id: z.ZodNumber;
|
|
1032
|
+
user_id: z.ZodNumber;
|
|
1033
|
+
operator_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1034
|
+
invitor_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1035
|
+
}, z.core.$strip>;
|
|
1036
|
+
declare const GroupMemberDecreaseEvent: z.ZodObject<{
|
|
1037
|
+
group_id: z.ZodNumber;
|
|
1038
|
+
user_id: z.ZodNumber;
|
|
1039
|
+
operator_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1040
|
+
}, z.core.$strip>;
|
|
1041
|
+
declare const GroupNameChangeEvent: z.ZodObject<{
|
|
1042
|
+
group_id: z.ZodNumber;
|
|
1043
|
+
new_group_name: z.ZodString;
|
|
1044
|
+
operator_id: z.ZodNumber;
|
|
1045
|
+
}, z.core.$strip>;
|
|
1046
|
+
declare const GroupMessageReactionEvent: z.ZodObject<{
|
|
1047
|
+
group_id: z.ZodNumber;
|
|
1048
|
+
user_id: z.ZodNumber;
|
|
1049
|
+
message_seq: z.ZodNumber;
|
|
1050
|
+
face_id: z.ZodString;
|
|
1051
|
+
is_add: z.ZodBoolean;
|
|
1052
|
+
}, z.core.$strip>;
|
|
1053
|
+
declare const GroupMuteEvent: z.ZodObject<{
|
|
1054
|
+
group_id: z.ZodNumber;
|
|
1055
|
+
user_id: z.ZodNumber;
|
|
1056
|
+
operator_id: z.ZodNumber;
|
|
1057
|
+
duration: z.ZodNumber;
|
|
1058
|
+
}, z.core.$strip>;
|
|
1059
|
+
declare const GroupWholeMuteEvent: z.ZodObject<{
|
|
1060
|
+
group_id: z.ZodNumber;
|
|
1061
|
+
operator_id: z.ZodNumber;
|
|
1062
|
+
is_mute: z.ZodBoolean;
|
|
1063
|
+
}, z.core.$strip>;
|
|
1064
|
+
declare const GroupNudgeEvent: z.ZodObject<{
|
|
1065
|
+
group_id: z.ZodNumber;
|
|
1066
|
+
sender_id: z.ZodNumber;
|
|
1067
|
+
receiver_id: z.ZodNumber;
|
|
1068
|
+
display_action: z.ZodString;
|
|
1069
|
+
display_suffix: z.ZodString;
|
|
1070
|
+
display_action_img_url: z.ZodString;
|
|
1071
|
+
}, z.core.$strip>;
|
|
1072
|
+
declare const GroupFileUploadEvent: z.ZodObject<{
|
|
1073
|
+
group_id: z.ZodNumber;
|
|
1074
|
+
user_id: z.ZodNumber;
|
|
1075
|
+
file_id: z.ZodString;
|
|
1076
|
+
file_name: z.ZodString;
|
|
1077
|
+
file_size: z.ZodNumber;
|
|
1078
|
+
}, z.core.$strip>;
|
|
1079
|
+
declare const Event: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1080
|
+
event_type: z.ZodLiteral<"bot_offline">;
|
|
1081
|
+
time: z.ZodNumber;
|
|
1082
|
+
self_id: z.ZodNumber;
|
|
1083
|
+
data: z.ZodObject<{
|
|
1084
|
+
reason: z.ZodString;
|
|
1085
|
+
}, z.core.$strip>;
|
|
1086
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1087
|
+
event_type: z.ZodLiteral<"message_receive">;
|
|
1088
|
+
time: z.ZodNumber;
|
|
1089
|
+
self_id: z.ZodNumber;
|
|
1090
|
+
data: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1091
|
+
message_scene: z.ZodLiteral<"friend">;
|
|
1092
|
+
peer_id: z.ZodNumber;
|
|
1093
|
+
message_seq: z.ZodNumber;
|
|
1094
|
+
sender_id: z.ZodNumber;
|
|
1095
|
+
time: z.ZodNumber;
|
|
1096
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1097
|
+
type: z.ZodLiteral<"text">;
|
|
1098
|
+
data: z.ZodObject<{
|
|
1099
|
+
text: z.ZodString;
|
|
1100
|
+
}, z.core.$strip>;
|
|
1101
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1102
|
+
type: z.ZodLiteral<"mention">;
|
|
1103
|
+
data: z.ZodObject<{
|
|
1104
|
+
user_id: z.ZodNumber;
|
|
1105
|
+
}, z.core.$strip>;
|
|
1106
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1107
|
+
type: z.ZodLiteral<"mention_all">;
|
|
1108
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
1109
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1110
|
+
type: z.ZodLiteral<"face">;
|
|
1111
|
+
data: z.ZodObject<{
|
|
1112
|
+
face_id: z.ZodString;
|
|
1113
|
+
is_large: z.ZodBoolean;
|
|
1114
|
+
}, z.core.$strip>;
|
|
1115
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1116
|
+
type: z.ZodLiteral<"reply">;
|
|
1117
|
+
data: z.ZodObject<{
|
|
1118
|
+
message_seq: z.ZodNumber;
|
|
1119
|
+
}, z.core.$strip>;
|
|
1120
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1121
|
+
type: z.ZodLiteral<"image">;
|
|
1122
|
+
data: z.ZodObject<{
|
|
1123
|
+
resource_id: z.ZodString;
|
|
1124
|
+
temp_url: z.ZodString;
|
|
1125
|
+
width: z.ZodNumber;
|
|
1126
|
+
height: z.ZodNumber;
|
|
1127
|
+
summary: z.ZodString;
|
|
1128
|
+
sub_type: z.ZodEnum<{
|
|
1129
|
+
normal: "normal";
|
|
1130
|
+
sticker: "sticker";
|
|
1131
|
+
}>;
|
|
1132
|
+
}, z.core.$strip>;
|
|
1133
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1134
|
+
type: z.ZodLiteral<"record">;
|
|
1135
|
+
data: z.ZodObject<{
|
|
1136
|
+
resource_id: z.ZodString;
|
|
1137
|
+
temp_url: z.ZodString;
|
|
1138
|
+
duration: z.ZodNumber;
|
|
1139
|
+
}, z.core.$strip>;
|
|
1140
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1141
|
+
type: z.ZodLiteral<"video">;
|
|
1142
|
+
data: z.ZodObject<{
|
|
1143
|
+
resource_id: z.ZodString;
|
|
1144
|
+
temp_url: z.ZodString;
|
|
1145
|
+
width: z.ZodNumber;
|
|
1146
|
+
height: z.ZodNumber;
|
|
1147
|
+
duration: z.ZodNumber;
|
|
1148
|
+
}, z.core.$strip>;
|
|
1149
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1150
|
+
type: z.ZodLiteral<"file">;
|
|
1151
|
+
data: z.ZodObject<{
|
|
1152
|
+
file_id: z.ZodString;
|
|
1153
|
+
file_name: z.ZodString;
|
|
1154
|
+
file_size: z.ZodNumber;
|
|
1155
|
+
file_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1156
|
+
}, z.core.$strip>;
|
|
1157
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1158
|
+
type: z.ZodLiteral<"forward">;
|
|
1159
|
+
data: z.ZodObject<{
|
|
1160
|
+
forward_id: z.ZodString;
|
|
1161
|
+
title: z.ZodString;
|
|
1162
|
+
preview: z.ZodArray<z.ZodString>;
|
|
1163
|
+
summary: z.ZodString;
|
|
1164
|
+
}, z.core.$strip>;
|
|
1165
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1166
|
+
type: z.ZodLiteral<"market_face">;
|
|
1167
|
+
data: z.ZodObject<{
|
|
1168
|
+
emoji_package_id: z.ZodNumber;
|
|
1169
|
+
emoji_id: z.ZodString;
|
|
1170
|
+
key: z.ZodString;
|
|
1171
|
+
summary: z.ZodString;
|
|
1172
|
+
url: z.ZodString;
|
|
1173
|
+
}, z.core.$strip>;
|
|
1174
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1175
|
+
type: z.ZodLiteral<"light_app">;
|
|
1176
|
+
data: z.ZodObject<{
|
|
1177
|
+
app_name: z.ZodString;
|
|
1178
|
+
json_payload: z.ZodString;
|
|
1179
|
+
}, z.core.$strip>;
|
|
1180
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1181
|
+
type: z.ZodLiteral<"xml">;
|
|
1182
|
+
data: z.ZodObject<{
|
|
1183
|
+
service_id: z.ZodNumber;
|
|
1184
|
+
xml_payload: z.ZodString;
|
|
1185
|
+
}, z.core.$strip>;
|
|
1186
|
+
}, z.core.$strip>], "type">>>;
|
|
1187
|
+
friend: z.ZodLazy<z.ZodObject<{
|
|
1188
|
+
user_id: z.ZodNumber;
|
|
1189
|
+
nickname: z.ZodString;
|
|
1190
|
+
sex: z.ZodEnum<{
|
|
1191
|
+
male: "male";
|
|
1192
|
+
female: "female";
|
|
1193
|
+
unknown: "unknown";
|
|
1194
|
+
}>;
|
|
1195
|
+
qid: z.ZodString;
|
|
1196
|
+
remark: z.ZodString;
|
|
1197
|
+
category: z.ZodLazy<z.ZodObject<{
|
|
1198
|
+
category_id: z.ZodNumber;
|
|
1199
|
+
category_name: z.ZodString;
|
|
1200
|
+
}, z.core.$strip>>;
|
|
1201
|
+
}, z.core.$strip>>;
|
|
1202
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1203
|
+
message_scene: z.ZodLiteral<"group">;
|
|
1204
|
+
peer_id: z.ZodNumber;
|
|
1205
|
+
message_seq: z.ZodNumber;
|
|
1206
|
+
sender_id: z.ZodNumber;
|
|
1207
|
+
time: z.ZodNumber;
|
|
1208
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1209
|
+
type: z.ZodLiteral<"text">;
|
|
1210
|
+
data: z.ZodObject<{
|
|
1211
|
+
text: z.ZodString;
|
|
1212
|
+
}, z.core.$strip>;
|
|
1213
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1214
|
+
type: z.ZodLiteral<"mention">;
|
|
1215
|
+
data: z.ZodObject<{
|
|
1216
|
+
user_id: z.ZodNumber;
|
|
1217
|
+
}, z.core.$strip>;
|
|
1218
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1219
|
+
type: z.ZodLiteral<"mention_all">;
|
|
1220
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
1221
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1222
|
+
type: z.ZodLiteral<"face">;
|
|
1223
|
+
data: z.ZodObject<{
|
|
1224
|
+
face_id: z.ZodString;
|
|
1225
|
+
is_large: z.ZodBoolean;
|
|
1226
|
+
}, z.core.$strip>;
|
|
1227
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1228
|
+
type: z.ZodLiteral<"reply">;
|
|
1229
|
+
data: z.ZodObject<{
|
|
1230
|
+
message_seq: z.ZodNumber;
|
|
1231
|
+
}, z.core.$strip>;
|
|
1232
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1233
|
+
type: z.ZodLiteral<"image">;
|
|
1234
|
+
data: z.ZodObject<{
|
|
1235
|
+
resource_id: z.ZodString;
|
|
1236
|
+
temp_url: z.ZodString;
|
|
1237
|
+
width: z.ZodNumber;
|
|
1238
|
+
height: z.ZodNumber;
|
|
1239
|
+
summary: z.ZodString;
|
|
1240
|
+
sub_type: z.ZodEnum<{
|
|
1241
|
+
normal: "normal";
|
|
1242
|
+
sticker: "sticker";
|
|
1243
|
+
}>;
|
|
1244
|
+
}, z.core.$strip>;
|
|
1245
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1246
|
+
type: z.ZodLiteral<"record">;
|
|
1247
|
+
data: z.ZodObject<{
|
|
1248
|
+
resource_id: z.ZodString;
|
|
1249
|
+
temp_url: z.ZodString;
|
|
1250
|
+
duration: z.ZodNumber;
|
|
1251
|
+
}, z.core.$strip>;
|
|
1252
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1253
|
+
type: z.ZodLiteral<"video">;
|
|
1254
|
+
data: z.ZodObject<{
|
|
1255
|
+
resource_id: z.ZodString;
|
|
1256
|
+
temp_url: z.ZodString;
|
|
1257
|
+
width: z.ZodNumber;
|
|
1258
|
+
height: z.ZodNumber;
|
|
1259
|
+
duration: z.ZodNumber;
|
|
1260
|
+
}, z.core.$strip>;
|
|
1261
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1262
|
+
type: z.ZodLiteral<"file">;
|
|
1263
|
+
data: z.ZodObject<{
|
|
1264
|
+
file_id: z.ZodString;
|
|
1265
|
+
file_name: z.ZodString;
|
|
1266
|
+
file_size: z.ZodNumber;
|
|
1267
|
+
file_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1268
|
+
}, z.core.$strip>;
|
|
1269
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1270
|
+
type: z.ZodLiteral<"forward">;
|
|
1271
|
+
data: z.ZodObject<{
|
|
1272
|
+
forward_id: z.ZodString;
|
|
1273
|
+
title: z.ZodString;
|
|
1274
|
+
preview: z.ZodArray<z.ZodString>;
|
|
1275
|
+
summary: z.ZodString;
|
|
1276
|
+
}, z.core.$strip>;
|
|
1277
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1278
|
+
type: z.ZodLiteral<"market_face">;
|
|
1279
|
+
data: z.ZodObject<{
|
|
1280
|
+
emoji_package_id: z.ZodNumber;
|
|
1281
|
+
emoji_id: z.ZodString;
|
|
1282
|
+
key: z.ZodString;
|
|
1283
|
+
summary: z.ZodString;
|
|
1284
|
+
url: z.ZodString;
|
|
1285
|
+
}, z.core.$strip>;
|
|
1286
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1287
|
+
type: z.ZodLiteral<"light_app">;
|
|
1288
|
+
data: z.ZodObject<{
|
|
1289
|
+
app_name: z.ZodString;
|
|
1290
|
+
json_payload: z.ZodString;
|
|
1291
|
+
}, z.core.$strip>;
|
|
1292
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1293
|
+
type: z.ZodLiteral<"xml">;
|
|
1294
|
+
data: z.ZodObject<{
|
|
1295
|
+
service_id: z.ZodNumber;
|
|
1296
|
+
xml_payload: z.ZodString;
|
|
1297
|
+
}, z.core.$strip>;
|
|
1298
|
+
}, z.core.$strip>], "type">>>;
|
|
1299
|
+
group: z.ZodLazy<z.ZodObject<{
|
|
1300
|
+
group_id: z.ZodNumber;
|
|
1301
|
+
group_name: z.ZodString;
|
|
1302
|
+
member_count: z.ZodNumber;
|
|
1303
|
+
max_member_count: z.ZodNumber;
|
|
1304
|
+
}, z.core.$strip>>;
|
|
1305
|
+
group_member: z.ZodLazy<z.ZodObject<{
|
|
1306
|
+
user_id: z.ZodNumber;
|
|
1307
|
+
nickname: z.ZodString;
|
|
1308
|
+
sex: z.ZodEnum<{
|
|
1309
|
+
male: "male";
|
|
1310
|
+
female: "female";
|
|
1311
|
+
unknown: "unknown";
|
|
1312
|
+
}>;
|
|
1313
|
+
group_id: z.ZodNumber;
|
|
1314
|
+
card: z.ZodString;
|
|
1315
|
+
title: z.ZodString;
|
|
1316
|
+
level: z.ZodNumber;
|
|
1317
|
+
role: z.ZodEnum<{
|
|
1318
|
+
owner: "owner";
|
|
1319
|
+
admin: "admin";
|
|
1320
|
+
member: "member";
|
|
1321
|
+
}>;
|
|
1322
|
+
join_time: z.ZodNumber;
|
|
1323
|
+
last_sent_time: z.ZodNumber;
|
|
1324
|
+
shut_up_end_time: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1325
|
+
}, z.core.$strip>>;
|
|
1326
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1327
|
+
message_scene: z.ZodLiteral<"temp">;
|
|
1328
|
+
peer_id: z.ZodNumber;
|
|
1329
|
+
message_seq: z.ZodNumber;
|
|
1330
|
+
sender_id: z.ZodNumber;
|
|
1331
|
+
time: z.ZodNumber;
|
|
1332
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1333
|
+
type: z.ZodLiteral<"text">;
|
|
1334
|
+
data: z.ZodObject<{
|
|
1335
|
+
text: z.ZodString;
|
|
1336
|
+
}, z.core.$strip>;
|
|
1337
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1338
|
+
type: z.ZodLiteral<"mention">;
|
|
1339
|
+
data: z.ZodObject<{
|
|
1340
|
+
user_id: z.ZodNumber;
|
|
1341
|
+
}, z.core.$strip>;
|
|
1342
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1343
|
+
type: z.ZodLiteral<"mention_all">;
|
|
1344
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
1345
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1346
|
+
type: z.ZodLiteral<"face">;
|
|
1347
|
+
data: z.ZodObject<{
|
|
1348
|
+
face_id: z.ZodString;
|
|
1349
|
+
is_large: z.ZodBoolean;
|
|
1350
|
+
}, z.core.$strip>;
|
|
1351
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1352
|
+
type: z.ZodLiteral<"reply">;
|
|
1353
|
+
data: z.ZodObject<{
|
|
1354
|
+
message_seq: z.ZodNumber;
|
|
1355
|
+
}, z.core.$strip>;
|
|
1356
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1357
|
+
type: z.ZodLiteral<"image">;
|
|
1358
|
+
data: z.ZodObject<{
|
|
1359
|
+
resource_id: z.ZodString;
|
|
1360
|
+
temp_url: z.ZodString;
|
|
1361
|
+
width: z.ZodNumber;
|
|
1362
|
+
height: z.ZodNumber;
|
|
1363
|
+
summary: z.ZodString;
|
|
1364
|
+
sub_type: z.ZodEnum<{
|
|
1365
|
+
normal: "normal";
|
|
1366
|
+
sticker: "sticker";
|
|
1367
|
+
}>;
|
|
1368
|
+
}, z.core.$strip>;
|
|
1369
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1370
|
+
type: z.ZodLiteral<"record">;
|
|
1371
|
+
data: z.ZodObject<{
|
|
1372
|
+
resource_id: z.ZodString;
|
|
1373
|
+
temp_url: z.ZodString;
|
|
1374
|
+
duration: z.ZodNumber;
|
|
1375
|
+
}, z.core.$strip>;
|
|
1376
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1377
|
+
type: z.ZodLiteral<"video">;
|
|
1378
|
+
data: z.ZodObject<{
|
|
1379
|
+
resource_id: z.ZodString;
|
|
1380
|
+
temp_url: z.ZodString;
|
|
1381
|
+
width: z.ZodNumber;
|
|
1382
|
+
height: z.ZodNumber;
|
|
1383
|
+
duration: z.ZodNumber;
|
|
1384
|
+
}, z.core.$strip>;
|
|
1385
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1386
|
+
type: z.ZodLiteral<"file">;
|
|
1387
|
+
data: z.ZodObject<{
|
|
1388
|
+
file_id: z.ZodString;
|
|
1389
|
+
file_name: z.ZodString;
|
|
1390
|
+
file_size: z.ZodNumber;
|
|
1391
|
+
file_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1392
|
+
}, z.core.$strip>;
|
|
1393
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1394
|
+
type: z.ZodLiteral<"forward">;
|
|
1395
|
+
data: z.ZodObject<{
|
|
1396
|
+
forward_id: z.ZodString;
|
|
1397
|
+
title: z.ZodString;
|
|
1398
|
+
preview: z.ZodArray<z.ZodString>;
|
|
1399
|
+
summary: z.ZodString;
|
|
1400
|
+
}, z.core.$strip>;
|
|
1401
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1402
|
+
type: z.ZodLiteral<"market_face">;
|
|
1403
|
+
data: z.ZodObject<{
|
|
1404
|
+
emoji_package_id: z.ZodNumber;
|
|
1405
|
+
emoji_id: z.ZodString;
|
|
1406
|
+
key: z.ZodString;
|
|
1407
|
+
summary: z.ZodString;
|
|
1408
|
+
url: z.ZodString;
|
|
1409
|
+
}, z.core.$strip>;
|
|
1410
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1411
|
+
type: z.ZodLiteral<"light_app">;
|
|
1412
|
+
data: z.ZodObject<{
|
|
1413
|
+
app_name: z.ZodString;
|
|
1414
|
+
json_payload: z.ZodString;
|
|
1415
|
+
}, z.core.$strip>;
|
|
1416
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1417
|
+
type: z.ZodLiteral<"xml">;
|
|
1418
|
+
data: z.ZodObject<{
|
|
1419
|
+
service_id: z.ZodNumber;
|
|
1420
|
+
xml_payload: z.ZodString;
|
|
1421
|
+
}, z.core.$strip>;
|
|
1422
|
+
}, z.core.$strip>], "type">>>;
|
|
1423
|
+
group: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
1424
|
+
group_id: z.ZodNumber;
|
|
1425
|
+
group_name: z.ZodString;
|
|
1426
|
+
member_count: z.ZodNumber;
|
|
1427
|
+
max_member_count: z.ZodNumber;
|
|
1428
|
+
}, z.core.$strip>>>>;
|
|
1429
|
+
}, z.core.$strip>], "message_scene">;
|
|
1430
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1431
|
+
event_type: z.ZodLiteral<"message_recall">;
|
|
1432
|
+
time: z.ZodNumber;
|
|
1433
|
+
self_id: z.ZodNumber;
|
|
1434
|
+
data: z.ZodObject<{
|
|
1435
|
+
message_scene: z.ZodEnum<{
|
|
1436
|
+
friend: "friend";
|
|
1437
|
+
group: "group";
|
|
1438
|
+
temp: "temp";
|
|
1439
|
+
}>;
|
|
1440
|
+
peer_id: z.ZodNumber;
|
|
1441
|
+
message_seq: z.ZodNumber;
|
|
1442
|
+
sender_id: z.ZodNumber;
|
|
1443
|
+
operator_id: z.ZodNumber;
|
|
1444
|
+
display_suffix: z.ZodString;
|
|
1445
|
+
}, z.core.$strip>;
|
|
1446
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1447
|
+
event_type: z.ZodLiteral<"friend_request">;
|
|
1448
|
+
time: z.ZodNumber;
|
|
1449
|
+
self_id: z.ZodNumber;
|
|
1450
|
+
data: z.ZodObject<{
|
|
1451
|
+
initiator_id: z.ZodNumber;
|
|
1452
|
+
initiator_uid: z.ZodString;
|
|
1453
|
+
comment: z.ZodString;
|
|
1454
|
+
via: z.ZodString;
|
|
1455
|
+
}, z.core.$strip>;
|
|
1456
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1457
|
+
event_type: z.ZodLiteral<"group_join_request">;
|
|
1458
|
+
time: z.ZodNumber;
|
|
1459
|
+
self_id: z.ZodNumber;
|
|
1460
|
+
data: z.ZodObject<{
|
|
1461
|
+
group_id: z.ZodNumber;
|
|
1462
|
+
notification_seq: z.ZodNumber;
|
|
1463
|
+
is_filtered: z.ZodBoolean;
|
|
1464
|
+
initiator_id: z.ZodNumber;
|
|
1465
|
+
comment: z.ZodString;
|
|
1466
|
+
}, z.core.$strip>;
|
|
1467
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1468
|
+
event_type: z.ZodLiteral<"group_invited_join_request">;
|
|
1469
|
+
time: z.ZodNumber;
|
|
1470
|
+
self_id: z.ZodNumber;
|
|
1471
|
+
data: z.ZodObject<{
|
|
1472
|
+
group_id: z.ZodNumber;
|
|
1473
|
+
notification_seq: z.ZodNumber;
|
|
1474
|
+
initiator_id: z.ZodNumber;
|
|
1475
|
+
target_user_id: z.ZodNumber;
|
|
1476
|
+
}, z.core.$strip>;
|
|
1477
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1478
|
+
event_type: z.ZodLiteral<"group_invitation">;
|
|
1479
|
+
time: z.ZodNumber;
|
|
1480
|
+
self_id: z.ZodNumber;
|
|
1481
|
+
data: z.ZodObject<{
|
|
1482
|
+
group_id: z.ZodNumber;
|
|
1483
|
+
invitation_seq: z.ZodNumber;
|
|
1484
|
+
initiator_id: z.ZodNumber;
|
|
1485
|
+
}, z.core.$strip>;
|
|
1486
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1487
|
+
event_type: z.ZodLiteral<"friend_nudge">;
|
|
1488
|
+
time: z.ZodNumber;
|
|
1489
|
+
self_id: z.ZodNumber;
|
|
1490
|
+
data: z.ZodObject<{
|
|
1491
|
+
user_id: z.ZodNumber;
|
|
1492
|
+
is_self_send: z.ZodBoolean;
|
|
1493
|
+
is_self_receive: z.ZodBoolean;
|
|
1494
|
+
display_action: z.ZodString;
|
|
1495
|
+
display_suffix: z.ZodString;
|
|
1496
|
+
display_action_img_url: z.ZodString;
|
|
1497
|
+
}, z.core.$strip>;
|
|
1498
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1499
|
+
event_type: z.ZodLiteral<"friend_file_upload">;
|
|
1500
|
+
time: z.ZodNumber;
|
|
1501
|
+
self_id: z.ZodNumber;
|
|
1502
|
+
data: z.ZodObject<{
|
|
1503
|
+
user_id: z.ZodNumber;
|
|
1504
|
+
file_id: z.ZodString;
|
|
1505
|
+
file_name: z.ZodString;
|
|
1506
|
+
file_size: z.ZodNumber;
|
|
1507
|
+
file_hash: z.ZodString;
|
|
1508
|
+
is_self: z.ZodBoolean;
|
|
1509
|
+
}, z.core.$strip>;
|
|
1510
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1511
|
+
event_type: z.ZodLiteral<"group_admin_change">;
|
|
1512
|
+
time: z.ZodNumber;
|
|
1513
|
+
self_id: z.ZodNumber;
|
|
1514
|
+
data: z.ZodObject<{
|
|
1515
|
+
group_id: z.ZodNumber;
|
|
1516
|
+
user_id: z.ZodNumber;
|
|
1517
|
+
operator_id: z.ZodNumber;
|
|
1518
|
+
is_set: z.ZodBoolean;
|
|
1519
|
+
}, z.core.$strip>;
|
|
1520
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1521
|
+
event_type: z.ZodLiteral<"group_essence_message_change">;
|
|
1522
|
+
time: z.ZodNumber;
|
|
1523
|
+
self_id: z.ZodNumber;
|
|
1524
|
+
data: z.ZodObject<{
|
|
1525
|
+
group_id: z.ZodNumber;
|
|
1526
|
+
message_seq: z.ZodNumber;
|
|
1527
|
+
operator_id: z.ZodNumber;
|
|
1528
|
+
is_set: z.ZodBoolean;
|
|
1529
|
+
}, z.core.$strip>;
|
|
1530
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1531
|
+
event_type: z.ZodLiteral<"group_member_increase">;
|
|
1532
|
+
time: z.ZodNumber;
|
|
1533
|
+
self_id: z.ZodNumber;
|
|
1534
|
+
data: z.ZodObject<{
|
|
1535
|
+
group_id: z.ZodNumber;
|
|
1536
|
+
user_id: z.ZodNumber;
|
|
1537
|
+
operator_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1538
|
+
invitor_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1539
|
+
}, z.core.$strip>;
|
|
1540
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1541
|
+
event_type: z.ZodLiteral<"group_member_decrease">;
|
|
1542
|
+
time: z.ZodNumber;
|
|
1543
|
+
self_id: z.ZodNumber;
|
|
1544
|
+
data: z.ZodObject<{
|
|
1545
|
+
group_id: z.ZodNumber;
|
|
1546
|
+
user_id: z.ZodNumber;
|
|
1547
|
+
operator_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1548
|
+
}, z.core.$strip>;
|
|
1549
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1550
|
+
event_type: z.ZodLiteral<"group_name_change">;
|
|
1551
|
+
time: z.ZodNumber;
|
|
1552
|
+
self_id: z.ZodNumber;
|
|
1553
|
+
data: z.ZodObject<{
|
|
1554
|
+
group_id: z.ZodNumber;
|
|
1555
|
+
new_group_name: z.ZodString;
|
|
1556
|
+
operator_id: z.ZodNumber;
|
|
1557
|
+
}, z.core.$strip>;
|
|
1558
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1559
|
+
event_type: z.ZodLiteral<"group_message_reaction">;
|
|
1560
|
+
time: z.ZodNumber;
|
|
1561
|
+
self_id: z.ZodNumber;
|
|
1562
|
+
data: z.ZodObject<{
|
|
1563
|
+
group_id: z.ZodNumber;
|
|
1564
|
+
user_id: z.ZodNumber;
|
|
1565
|
+
message_seq: z.ZodNumber;
|
|
1566
|
+
face_id: z.ZodString;
|
|
1567
|
+
is_add: z.ZodBoolean;
|
|
1568
|
+
}, z.core.$strip>;
|
|
1569
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1570
|
+
event_type: z.ZodLiteral<"group_mute">;
|
|
1571
|
+
time: z.ZodNumber;
|
|
1572
|
+
self_id: z.ZodNumber;
|
|
1573
|
+
data: z.ZodObject<{
|
|
1574
|
+
group_id: z.ZodNumber;
|
|
1575
|
+
user_id: z.ZodNumber;
|
|
1576
|
+
operator_id: z.ZodNumber;
|
|
1577
|
+
duration: z.ZodNumber;
|
|
1578
|
+
}, z.core.$strip>;
|
|
1579
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1580
|
+
event_type: z.ZodLiteral<"group_whole_mute">;
|
|
1581
|
+
time: z.ZodNumber;
|
|
1582
|
+
self_id: z.ZodNumber;
|
|
1583
|
+
data: z.ZodObject<{
|
|
1584
|
+
group_id: z.ZodNumber;
|
|
1585
|
+
operator_id: z.ZodNumber;
|
|
1586
|
+
is_mute: z.ZodBoolean;
|
|
1587
|
+
}, z.core.$strip>;
|
|
1588
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1589
|
+
event_type: z.ZodLiteral<"group_nudge">;
|
|
1590
|
+
time: z.ZodNumber;
|
|
1591
|
+
self_id: z.ZodNumber;
|
|
1592
|
+
data: z.ZodObject<{
|
|
1593
|
+
group_id: z.ZodNumber;
|
|
1594
|
+
sender_id: z.ZodNumber;
|
|
1595
|
+
receiver_id: z.ZodNumber;
|
|
1596
|
+
display_action: z.ZodString;
|
|
1597
|
+
display_suffix: z.ZodString;
|
|
1598
|
+
display_action_img_url: z.ZodString;
|
|
1599
|
+
}, z.core.$strip>;
|
|
1600
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1601
|
+
event_type: z.ZodLiteral<"group_file_upload">;
|
|
1602
|
+
time: z.ZodNumber;
|
|
1603
|
+
self_id: z.ZodNumber;
|
|
1604
|
+
data: z.ZodObject<{
|
|
1605
|
+
group_id: z.ZodNumber;
|
|
1606
|
+
user_id: z.ZodNumber;
|
|
1607
|
+
file_id: z.ZodString;
|
|
1608
|
+
file_name: z.ZodString;
|
|
1609
|
+
file_size: z.ZodNumber;
|
|
1610
|
+
}, z.core.$strip>;
|
|
1611
|
+
}, z.core.$strip>], "event_type">;
|
|
1612
|
+
type BotOfflineEvent = z.infer<typeof BotOfflineEvent>;
|
|
1613
|
+
type MessageRecallEvent = z.infer<typeof MessageRecallEvent>;
|
|
1614
|
+
type FriendRequestEvent = z.infer<typeof FriendRequestEvent>;
|
|
1615
|
+
type GroupJoinRequestEvent = z.infer<typeof GroupJoinRequestEvent>;
|
|
1616
|
+
type GroupInvitedJoinRequestEvent = z.infer<typeof GroupInvitedJoinRequestEvent>;
|
|
1617
|
+
type GroupInvitationEvent = z.infer<typeof GroupInvitationEvent>;
|
|
1618
|
+
type FriendNudgeEvent = z.infer<typeof FriendNudgeEvent>;
|
|
1619
|
+
type FriendFileUploadEvent = z.infer<typeof FriendFileUploadEvent>;
|
|
1620
|
+
type GroupAdminChangeEvent = z.infer<typeof GroupAdminChangeEvent>;
|
|
1621
|
+
type GroupEssenceMessageChangeEvent = z.infer<typeof GroupEssenceMessageChangeEvent>;
|
|
1622
|
+
type GroupMemberIncreaseEvent = z.infer<typeof GroupMemberIncreaseEvent>;
|
|
1623
|
+
type GroupMemberDecreaseEvent = z.infer<typeof GroupMemberDecreaseEvent>;
|
|
1624
|
+
type GroupNameChangeEvent = z.infer<typeof GroupNameChangeEvent>;
|
|
1625
|
+
type GroupMessageReactionEvent = z.infer<typeof GroupMessageReactionEvent>;
|
|
1626
|
+
type GroupMuteEvent = z.infer<typeof GroupMuteEvent>;
|
|
1627
|
+
type GroupWholeMuteEvent = z.infer<typeof GroupWholeMuteEvent>;
|
|
1628
|
+
type GroupNudgeEvent = z.infer<typeof GroupNudgeEvent>;
|
|
1629
|
+
type GroupFileUploadEvent = z.infer<typeof GroupFileUploadEvent>;
|
|
1630
|
+
type Event = z.infer<typeof Event>;
|
|
1631
|
+
//#endregion
|
|
1632
|
+
//#region src/api/system.d.ts
|
|
1633
|
+
declare const GetLoginInfoOutput: z.ZodObject<{
|
|
1634
|
+
uin: z.ZodNumber;
|
|
1635
|
+
nickname: z.ZodString;
|
|
1636
|
+
}, z.core.$strip>;
|
|
1637
|
+
declare const GetImplInfoOutput: z.ZodObject<{
|
|
1638
|
+
impl_name: z.ZodString;
|
|
1639
|
+
impl_version: z.ZodString;
|
|
1640
|
+
qq_protocol_version: z.ZodString;
|
|
1641
|
+
qq_protocol_type: z.ZodEnum<{
|
|
1642
|
+
windows: "windows";
|
|
1643
|
+
linux: "linux";
|
|
1644
|
+
macos: "macos";
|
|
1645
|
+
android_pad: "android_pad";
|
|
1646
|
+
android_phone: "android_phone";
|
|
1647
|
+
ipad: "ipad";
|
|
1648
|
+
iphone: "iphone";
|
|
1649
|
+
harmony: "harmony";
|
|
1650
|
+
watch: "watch";
|
|
1651
|
+
}>;
|
|
1652
|
+
milky_version: z.ZodString;
|
|
1653
|
+
}, z.core.$strip>;
|
|
1654
|
+
declare const GetUserProfileInput: z.ZodObject<{
|
|
1655
|
+
user_id: z.ZodNumber;
|
|
1656
|
+
}, z.core.$strip>;
|
|
1657
|
+
declare const GetUserProfileOutput: z.ZodObject<{
|
|
1658
|
+
nickname: z.ZodString;
|
|
1659
|
+
qid: z.ZodString;
|
|
1660
|
+
age: z.ZodNumber;
|
|
1661
|
+
sex: z.ZodEnum<{
|
|
1662
|
+
male: "male";
|
|
1663
|
+
female: "female";
|
|
1664
|
+
unknown: "unknown";
|
|
1665
|
+
}>;
|
|
1666
|
+
remark: z.ZodString;
|
|
1667
|
+
bio: z.ZodString;
|
|
1668
|
+
level: z.ZodNumber;
|
|
1669
|
+
country: z.ZodString;
|
|
1670
|
+
city: z.ZodString;
|
|
1671
|
+
school: z.ZodString;
|
|
1672
|
+
}, z.core.$strip>;
|
|
1673
|
+
declare const GetFriendListInput: z.ZodObject<{
|
|
1674
|
+
no_cache: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>, z.ZodTransform<boolean, boolean | null>>;
|
|
1675
|
+
}, z.core.$strip>;
|
|
1676
|
+
declare const GetFriendListOutput: z.ZodObject<{
|
|
1677
|
+
friends: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
1678
|
+
user_id: z.ZodNumber;
|
|
1679
|
+
nickname: z.ZodString;
|
|
1680
|
+
sex: z.ZodEnum<{
|
|
1681
|
+
male: "male";
|
|
1682
|
+
female: "female";
|
|
1683
|
+
unknown: "unknown";
|
|
1684
|
+
}>;
|
|
1685
|
+
qid: z.ZodString;
|
|
1686
|
+
remark: z.ZodString;
|
|
1687
|
+
category: z.ZodLazy<z.ZodObject<{
|
|
1688
|
+
category_id: z.ZodNumber;
|
|
1689
|
+
category_name: z.ZodString;
|
|
1690
|
+
}, z.core.$strip>>;
|
|
1691
|
+
}, z.core.$strip>>>;
|
|
1692
|
+
}, z.core.$strip>;
|
|
1693
|
+
declare const GetFriendInfoInput: z.ZodObject<{
|
|
1694
|
+
user_id: z.ZodNumber;
|
|
1695
|
+
no_cache: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>, z.ZodTransform<boolean, boolean | null>>;
|
|
1696
|
+
}, z.core.$strip>;
|
|
1697
|
+
declare const GetFriendInfoOutput: z.ZodObject<{
|
|
1698
|
+
friend: z.ZodLazy<z.ZodObject<{
|
|
1699
|
+
user_id: z.ZodNumber;
|
|
1700
|
+
nickname: z.ZodString;
|
|
1701
|
+
sex: z.ZodEnum<{
|
|
1702
|
+
male: "male";
|
|
1703
|
+
female: "female";
|
|
1704
|
+
unknown: "unknown";
|
|
1705
|
+
}>;
|
|
1706
|
+
qid: z.ZodString;
|
|
1707
|
+
remark: z.ZodString;
|
|
1708
|
+
category: z.ZodLazy<z.ZodObject<{
|
|
1709
|
+
category_id: z.ZodNumber;
|
|
1710
|
+
category_name: z.ZodString;
|
|
1711
|
+
}, z.core.$strip>>;
|
|
1712
|
+
}, z.core.$strip>>;
|
|
1713
|
+
}, z.core.$strip>;
|
|
1714
|
+
declare const GetGroupListInput: z.ZodObject<{
|
|
1715
|
+
no_cache: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>, z.ZodTransform<boolean, boolean | null>>;
|
|
1716
|
+
}, z.core.$strip>;
|
|
1717
|
+
declare const GetGroupListOutput: z.ZodObject<{
|
|
1718
|
+
groups: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
1719
|
+
group_id: z.ZodNumber;
|
|
1720
|
+
group_name: z.ZodString;
|
|
1721
|
+
member_count: z.ZodNumber;
|
|
1722
|
+
max_member_count: z.ZodNumber;
|
|
1723
|
+
}, z.core.$strip>>>;
|
|
1724
|
+
}, z.core.$strip>;
|
|
1725
|
+
declare const GetGroupInfoInput: z.ZodObject<{
|
|
1726
|
+
group_id: z.ZodNumber;
|
|
1727
|
+
no_cache: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>, z.ZodTransform<boolean, boolean | null>>;
|
|
1728
|
+
}, z.core.$strip>;
|
|
1729
|
+
declare const GetGroupInfoOutput: z.ZodObject<{
|
|
1730
|
+
group: z.ZodLazy<z.ZodObject<{
|
|
1731
|
+
group_id: z.ZodNumber;
|
|
1732
|
+
group_name: z.ZodString;
|
|
1733
|
+
member_count: z.ZodNumber;
|
|
1734
|
+
max_member_count: z.ZodNumber;
|
|
1735
|
+
}, z.core.$strip>>;
|
|
1736
|
+
}, z.core.$strip>;
|
|
1737
|
+
declare const GetGroupMemberListInput: z.ZodObject<{
|
|
1738
|
+
group_id: z.ZodNumber;
|
|
1739
|
+
no_cache: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>, z.ZodTransform<boolean, boolean | null>>;
|
|
1740
|
+
}, z.core.$strip>;
|
|
1741
|
+
declare const GetGroupMemberListOutput: z.ZodObject<{
|
|
1742
|
+
members: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
1743
|
+
user_id: z.ZodNumber;
|
|
1744
|
+
nickname: z.ZodString;
|
|
1745
|
+
sex: z.ZodEnum<{
|
|
1746
|
+
male: "male";
|
|
1747
|
+
female: "female";
|
|
1748
|
+
unknown: "unknown";
|
|
1749
|
+
}>;
|
|
1750
|
+
group_id: z.ZodNumber;
|
|
1751
|
+
card: z.ZodString;
|
|
1752
|
+
title: z.ZodString;
|
|
1753
|
+
level: z.ZodNumber;
|
|
1754
|
+
role: z.ZodEnum<{
|
|
1755
|
+
owner: "owner";
|
|
1756
|
+
admin: "admin";
|
|
1757
|
+
member: "member";
|
|
1758
|
+
}>;
|
|
1759
|
+
join_time: z.ZodNumber;
|
|
1760
|
+
last_sent_time: z.ZodNumber;
|
|
1761
|
+
shut_up_end_time: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1762
|
+
}, z.core.$strip>>>;
|
|
1763
|
+
}, z.core.$strip>;
|
|
1764
|
+
declare const GetGroupMemberInfoInput: z.ZodObject<{
|
|
1765
|
+
group_id: z.ZodNumber;
|
|
1766
|
+
user_id: z.ZodNumber;
|
|
1767
|
+
no_cache: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>, z.ZodTransform<boolean, boolean | null>>;
|
|
1768
|
+
}, z.core.$strip>;
|
|
1769
|
+
declare const GetGroupMemberInfoOutput: z.ZodObject<{
|
|
1770
|
+
member: z.ZodLazy<z.ZodObject<{
|
|
1771
|
+
user_id: z.ZodNumber;
|
|
1772
|
+
nickname: z.ZodString;
|
|
1773
|
+
sex: z.ZodEnum<{
|
|
1774
|
+
male: "male";
|
|
1775
|
+
female: "female";
|
|
1776
|
+
unknown: "unknown";
|
|
1777
|
+
}>;
|
|
1778
|
+
group_id: z.ZodNumber;
|
|
1779
|
+
card: z.ZodString;
|
|
1780
|
+
title: z.ZodString;
|
|
1781
|
+
level: z.ZodNumber;
|
|
1782
|
+
role: z.ZodEnum<{
|
|
1783
|
+
owner: "owner";
|
|
1784
|
+
admin: "admin";
|
|
1785
|
+
member: "member";
|
|
1786
|
+
}>;
|
|
1787
|
+
join_time: z.ZodNumber;
|
|
1788
|
+
last_sent_time: z.ZodNumber;
|
|
1789
|
+
shut_up_end_time: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1790
|
+
}, z.core.$strip>>;
|
|
1791
|
+
}, z.core.$strip>;
|
|
1792
|
+
declare const SetAvatarInput: z.ZodObject<{
|
|
1793
|
+
uri: z.ZodString;
|
|
1794
|
+
}, z.core.$strip>;
|
|
1795
|
+
declare const SetNicknameInput: z.ZodObject<{
|
|
1796
|
+
new_card: z.ZodString;
|
|
1797
|
+
}, z.core.$strip>;
|
|
1798
|
+
declare const SetBioInput: z.ZodObject<{
|
|
1799
|
+
new_bio: z.ZodString;
|
|
1800
|
+
}, z.core.$strip>;
|
|
1801
|
+
declare const GetCustomFaceUrlListOutput: z.ZodObject<{
|
|
1802
|
+
urls: z.ZodArray<z.ZodString>;
|
|
1803
|
+
}, z.core.$strip>;
|
|
1804
|
+
declare const GetCookiesInput: z.ZodObject<{
|
|
1805
|
+
domain: z.ZodString;
|
|
1806
|
+
}, z.core.$strip>;
|
|
1807
|
+
declare const GetCookiesOutput: z.ZodObject<{
|
|
1808
|
+
cookies: z.ZodString;
|
|
1809
|
+
}, z.core.$strip>;
|
|
1810
|
+
declare const GetCSRFTokenOutput: z.ZodObject<{
|
|
1811
|
+
csrf_token: z.ZodString;
|
|
1812
|
+
}, z.core.$strip>;
|
|
1813
|
+
type GetLoginInfoOutput = z.infer<typeof GetLoginInfoOutput>;
|
|
1814
|
+
type GetImplInfoOutput = z.infer<typeof GetImplInfoOutput>;
|
|
1815
|
+
type GetUserProfileInput = z.infer<typeof GetUserProfileInput>;
|
|
1816
|
+
type GetUserProfileOutput = z.infer<typeof GetUserProfileOutput>;
|
|
1817
|
+
type GetFriendListInput = z.infer<typeof GetFriendListInput>;
|
|
1818
|
+
type GetFriendListOutput = z.infer<typeof GetFriendListOutput>;
|
|
1819
|
+
type GetFriendInfoInput = z.infer<typeof GetFriendInfoInput>;
|
|
1820
|
+
type GetFriendInfoOutput = z.infer<typeof GetFriendInfoOutput>;
|
|
1821
|
+
type GetGroupListInput = z.infer<typeof GetGroupListInput>;
|
|
1822
|
+
type GetGroupListOutput = z.infer<typeof GetGroupListOutput>;
|
|
1823
|
+
type GetGroupInfoInput = z.infer<typeof GetGroupInfoInput>;
|
|
1824
|
+
type GetGroupInfoOutput = z.infer<typeof GetGroupInfoOutput>;
|
|
1825
|
+
type GetGroupMemberListInput = z.infer<typeof GetGroupMemberListInput>;
|
|
1826
|
+
type GetGroupMemberListOutput = z.infer<typeof GetGroupMemberListOutput>;
|
|
1827
|
+
type GetGroupMemberInfoInput = z.infer<typeof GetGroupMemberInfoInput>;
|
|
1828
|
+
type GetGroupMemberInfoOutput = z.infer<typeof GetGroupMemberInfoOutput>;
|
|
1829
|
+
type SetAvatarInput = z.infer<typeof SetAvatarInput>;
|
|
1830
|
+
type SetNicknameInput = z.infer<typeof SetNicknameInput>;
|
|
1831
|
+
type SetBioInput = z.infer<typeof SetBioInput>;
|
|
1832
|
+
type GetCustomFaceUrlListOutput = z.infer<typeof GetCustomFaceUrlListOutput>;
|
|
1833
|
+
type GetCookiesInput = z.infer<typeof GetCookiesInput>;
|
|
1834
|
+
type GetCookiesOutput = z.infer<typeof GetCookiesOutput>;
|
|
1835
|
+
type GetCSRFTokenOutput = z.infer<typeof GetCSRFTokenOutput>;
|
|
1836
|
+
//#endregion
|
|
1837
|
+
//#region src/api/message.d.ts
|
|
1838
|
+
declare const SendPrivateMessageInput: z.ZodObject<{
|
|
1839
|
+
user_id: z.ZodNumber;
|
|
1840
|
+
message: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1841
|
+
type: z.ZodLiteral<"text">;
|
|
1842
|
+
data: z.ZodObject<{
|
|
1843
|
+
text: z.ZodString;
|
|
1844
|
+
}, z.core.$strip>;
|
|
1845
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1846
|
+
type: z.ZodLiteral<"mention">;
|
|
1847
|
+
data: z.ZodObject<{
|
|
1848
|
+
user_id: z.ZodNumber;
|
|
1849
|
+
}, z.core.$strip>;
|
|
1850
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1851
|
+
type: z.ZodLiteral<"mention_all">;
|
|
1852
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
1853
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1854
|
+
type: z.ZodLiteral<"face">;
|
|
1855
|
+
data: z.ZodObject<{
|
|
1856
|
+
face_id: z.ZodString;
|
|
1857
|
+
is_large: z.ZodDefault<z.ZodBoolean>;
|
|
1858
|
+
}, z.core.$strip>;
|
|
1859
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1860
|
+
type: z.ZodLiteral<"reply">;
|
|
1861
|
+
data: z.ZodObject<{
|
|
1862
|
+
message_seq: z.ZodNumber;
|
|
1863
|
+
}, z.core.$strip>;
|
|
1864
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1865
|
+
type: z.ZodLiteral<"image">;
|
|
1866
|
+
data: z.ZodObject<{
|
|
1867
|
+
uri: z.ZodString;
|
|
1868
|
+
sub_type: z.ZodDefault<z.ZodEnum<{
|
|
1869
|
+
normal: "normal";
|
|
1870
|
+
sticker: "sticker";
|
|
1871
|
+
}>>;
|
|
1872
|
+
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1873
|
+
}, z.core.$strip>;
|
|
1874
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1875
|
+
type: z.ZodLiteral<"record">;
|
|
1876
|
+
data: z.ZodObject<{
|
|
1877
|
+
uri: z.ZodString;
|
|
1878
|
+
}, z.core.$strip>;
|
|
1879
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1880
|
+
type: z.ZodLiteral<"video">;
|
|
1881
|
+
data: z.ZodObject<{
|
|
1882
|
+
uri: z.ZodString;
|
|
1883
|
+
thumb_uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1884
|
+
}, z.core.$strip>;
|
|
1885
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1886
|
+
type: z.ZodLiteral<"forward">;
|
|
1887
|
+
data: z.ZodObject<{
|
|
1888
|
+
messages: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
1889
|
+
user_id: z.ZodNumber;
|
|
1890
|
+
sender_name: z.ZodString;
|
|
1891
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1892
|
+
type: z.ZodLiteral<"text">;
|
|
1893
|
+
data: z.ZodObject<{
|
|
1894
|
+
text: z.ZodString;
|
|
1895
|
+
}, z.core.$strip>;
|
|
1896
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1897
|
+
type: z.ZodLiteral<"mention">;
|
|
1898
|
+
data: z.ZodObject<{
|
|
1899
|
+
user_id: z.ZodNumber;
|
|
1900
|
+
}, z.core.$strip>;
|
|
1901
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1902
|
+
type: z.ZodLiteral<"mention_all">;
|
|
1903
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
1904
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1905
|
+
type: z.ZodLiteral<"face">;
|
|
1906
|
+
data: z.ZodObject<{
|
|
1907
|
+
face_id: z.ZodString;
|
|
1908
|
+
is_large: z.ZodDefault<z.ZodBoolean>;
|
|
1909
|
+
}, z.core.$strip>;
|
|
1910
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1911
|
+
type: z.ZodLiteral<"reply">;
|
|
1912
|
+
data: z.ZodObject<{
|
|
1913
|
+
message_seq: z.ZodNumber;
|
|
1914
|
+
}, z.core.$strip>;
|
|
1915
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1916
|
+
type: z.ZodLiteral<"image">;
|
|
1917
|
+
data: z.ZodObject<{
|
|
1918
|
+
uri: z.ZodString;
|
|
1919
|
+
sub_type: z.ZodDefault<z.ZodEnum<{
|
|
1920
|
+
normal: "normal";
|
|
1921
|
+
sticker: "sticker";
|
|
1922
|
+
}>>;
|
|
1923
|
+
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1924
|
+
}, z.core.$strip>;
|
|
1925
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1926
|
+
type: z.ZodLiteral<"record">;
|
|
1927
|
+
data: z.ZodObject<{
|
|
1928
|
+
uri: z.ZodString;
|
|
1929
|
+
}, z.core.$strip>;
|
|
1930
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1931
|
+
type: z.ZodLiteral<"video">;
|
|
1932
|
+
data: z.ZodObject<{
|
|
1933
|
+
uri: z.ZodString;
|
|
1934
|
+
thumb_uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1935
|
+
}, z.core.$strip>;
|
|
1936
|
+
}, z.core.$strip>, z.ZodObject< /*elided*/any, z.core.$strip>], "type">>>;
|
|
1937
|
+
}, z.core.$strip>>>;
|
|
1938
|
+
}, z.core.$strip>;
|
|
1939
|
+
}, z.core.$strip>], "type">>>;
|
|
1940
|
+
}, z.core.$strip>;
|
|
1941
|
+
declare const SendPrivateMessageOutput: z.ZodObject<{
|
|
1942
|
+
message_seq: z.ZodNumber;
|
|
1943
|
+
time: z.ZodNumber;
|
|
1944
|
+
}, z.core.$strip>;
|
|
1945
|
+
declare const SendGroupMessageInput: z.ZodObject<{
|
|
1946
|
+
group_id: z.ZodNumber;
|
|
1947
|
+
message: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1948
|
+
type: z.ZodLiteral<"text">;
|
|
1949
|
+
data: z.ZodObject<{
|
|
1950
|
+
text: z.ZodString;
|
|
1951
|
+
}, z.core.$strip>;
|
|
1952
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1953
|
+
type: z.ZodLiteral<"mention">;
|
|
1954
|
+
data: z.ZodObject<{
|
|
1955
|
+
user_id: z.ZodNumber;
|
|
1956
|
+
}, z.core.$strip>;
|
|
1957
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1958
|
+
type: z.ZodLiteral<"mention_all">;
|
|
1959
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
1960
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1961
|
+
type: z.ZodLiteral<"face">;
|
|
1962
|
+
data: z.ZodObject<{
|
|
1963
|
+
face_id: z.ZodString;
|
|
1964
|
+
is_large: z.ZodDefault<z.ZodBoolean>;
|
|
1965
|
+
}, z.core.$strip>;
|
|
1966
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1967
|
+
type: z.ZodLiteral<"reply">;
|
|
1968
|
+
data: z.ZodObject<{
|
|
1969
|
+
message_seq: z.ZodNumber;
|
|
1970
|
+
}, z.core.$strip>;
|
|
1971
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1972
|
+
type: z.ZodLiteral<"image">;
|
|
1973
|
+
data: z.ZodObject<{
|
|
1974
|
+
uri: z.ZodString;
|
|
1975
|
+
sub_type: z.ZodDefault<z.ZodEnum<{
|
|
1976
|
+
normal: "normal";
|
|
1977
|
+
sticker: "sticker";
|
|
1978
|
+
}>>;
|
|
1979
|
+
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1980
|
+
}, z.core.$strip>;
|
|
1981
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1982
|
+
type: z.ZodLiteral<"record">;
|
|
1983
|
+
data: z.ZodObject<{
|
|
1984
|
+
uri: z.ZodString;
|
|
1985
|
+
}, z.core.$strip>;
|
|
1986
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1987
|
+
type: z.ZodLiteral<"video">;
|
|
1988
|
+
data: z.ZodObject<{
|
|
1989
|
+
uri: z.ZodString;
|
|
1990
|
+
thumb_uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1991
|
+
}, z.core.$strip>;
|
|
1992
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1993
|
+
type: z.ZodLiteral<"forward">;
|
|
1994
|
+
data: z.ZodObject<{
|
|
1995
|
+
messages: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
1996
|
+
user_id: z.ZodNumber;
|
|
1997
|
+
sender_name: z.ZodString;
|
|
1998
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1999
|
+
type: z.ZodLiteral<"text">;
|
|
2000
|
+
data: z.ZodObject<{
|
|
2001
|
+
text: z.ZodString;
|
|
2002
|
+
}, z.core.$strip>;
|
|
2003
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2004
|
+
type: z.ZodLiteral<"mention">;
|
|
2005
|
+
data: z.ZodObject<{
|
|
2006
|
+
user_id: z.ZodNumber;
|
|
2007
|
+
}, z.core.$strip>;
|
|
2008
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2009
|
+
type: z.ZodLiteral<"mention_all">;
|
|
2010
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
2011
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2012
|
+
type: z.ZodLiteral<"face">;
|
|
2013
|
+
data: z.ZodObject<{
|
|
2014
|
+
face_id: z.ZodString;
|
|
2015
|
+
is_large: z.ZodDefault<z.ZodBoolean>;
|
|
2016
|
+
}, z.core.$strip>;
|
|
2017
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2018
|
+
type: z.ZodLiteral<"reply">;
|
|
2019
|
+
data: z.ZodObject<{
|
|
2020
|
+
message_seq: z.ZodNumber;
|
|
2021
|
+
}, z.core.$strip>;
|
|
2022
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2023
|
+
type: z.ZodLiteral<"image">;
|
|
2024
|
+
data: z.ZodObject<{
|
|
2025
|
+
uri: z.ZodString;
|
|
2026
|
+
sub_type: z.ZodDefault<z.ZodEnum<{
|
|
2027
|
+
normal: "normal";
|
|
2028
|
+
sticker: "sticker";
|
|
2029
|
+
}>>;
|
|
2030
|
+
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2031
|
+
}, z.core.$strip>;
|
|
2032
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2033
|
+
type: z.ZodLiteral<"record">;
|
|
2034
|
+
data: z.ZodObject<{
|
|
2035
|
+
uri: z.ZodString;
|
|
2036
|
+
}, z.core.$strip>;
|
|
2037
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2038
|
+
type: z.ZodLiteral<"video">;
|
|
2039
|
+
data: z.ZodObject<{
|
|
2040
|
+
uri: z.ZodString;
|
|
2041
|
+
thumb_uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2042
|
+
}, z.core.$strip>;
|
|
2043
|
+
}, z.core.$strip>, z.ZodObject< /*elided*/any, z.core.$strip>], "type">>>;
|
|
2044
|
+
}, z.core.$strip>>>;
|
|
2045
|
+
}, z.core.$strip>;
|
|
2046
|
+
}, z.core.$strip>], "type">>>;
|
|
2047
|
+
}, z.core.$strip>;
|
|
2048
|
+
declare const SendGroupMessageOutput: z.ZodObject<{
|
|
2049
|
+
message_seq: z.ZodNumber;
|
|
2050
|
+
time: z.ZodNumber;
|
|
2051
|
+
}, z.core.$strip>;
|
|
2052
|
+
declare const RecallPrivateMessageInput: z.ZodObject<{
|
|
2053
|
+
user_id: z.ZodNumber;
|
|
2054
|
+
message_seq: z.ZodNumber;
|
|
2055
|
+
}, z.core.$strip>;
|
|
2056
|
+
declare const RecallGroupMessageInput: z.ZodObject<{
|
|
2057
|
+
group_id: z.ZodNumber;
|
|
2058
|
+
message_seq: z.ZodNumber;
|
|
2059
|
+
}, z.core.$strip>;
|
|
2060
|
+
declare const GetMessageInput: z.ZodObject<{
|
|
2061
|
+
message_scene: z.ZodEnum<{
|
|
2062
|
+
friend: "friend";
|
|
2063
|
+
group: "group";
|
|
2064
|
+
temp: "temp";
|
|
2065
|
+
}>;
|
|
2066
|
+
peer_id: z.ZodNumber;
|
|
2067
|
+
message_seq: z.ZodNumber;
|
|
2068
|
+
}, z.core.$strip>;
|
|
2069
|
+
declare const GetMessageOutput: z.ZodObject<{
|
|
2070
|
+
message: z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2071
|
+
message_scene: z.ZodLiteral<"friend">;
|
|
2072
|
+
peer_id: z.ZodNumber;
|
|
2073
|
+
message_seq: z.ZodNumber;
|
|
2074
|
+
sender_id: z.ZodNumber;
|
|
2075
|
+
time: z.ZodNumber;
|
|
2076
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2077
|
+
type: z.ZodLiteral<"text">;
|
|
2078
|
+
data: z.ZodObject<{
|
|
2079
|
+
text: z.ZodString;
|
|
2080
|
+
}, z.core.$strip>;
|
|
2081
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2082
|
+
type: z.ZodLiteral<"mention">;
|
|
2083
|
+
data: z.ZodObject<{
|
|
2084
|
+
user_id: z.ZodNumber;
|
|
2085
|
+
}, z.core.$strip>;
|
|
2086
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2087
|
+
type: z.ZodLiteral<"mention_all">;
|
|
2088
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
2089
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2090
|
+
type: z.ZodLiteral<"face">;
|
|
2091
|
+
data: z.ZodObject<{
|
|
2092
|
+
face_id: z.ZodString;
|
|
2093
|
+
is_large: z.ZodBoolean;
|
|
2094
|
+
}, z.core.$strip>;
|
|
2095
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2096
|
+
type: z.ZodLiteral<"reply">;
|
|
2097
|
+
data: z.ZodObject<{
|
|
2098
|
+
message_seq: z.ZodNumber;
|
|
2099
|
+
}, z.core.$strip>;
|
|
2100
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2101
|
+
type: z.ZodLiteral<"image">;
|
|
2102
|
+
data: z.ZodObject<{
|
|
2103
|
+
resource_id: z.ZodString;
|
|
2104
|
+
temp_url: z.ZodString;
|
|
2105
|
+
width: z.ZodNumber;
|
|
2106
|
+
height: z.ZodNumber;
|
|
2107
|
+
summary: z.ZodString;
|
|
2108
|
+
sub_type: z.ZodEnum<{
|
|
2109
|
+
normal: "normal";
|
|
2110
|
+
sticker: "sticker";
|
|
2111
|
+
}>;
|
|
2112
|
+
}, z.core.$strip>;
|
|
2113
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2114
|
+
type: z.ZodLiteral<"record">;
|
|
2115
|
+
data: z.ZodObject<{
|
|
2116
|
+
resource_id: z.ZodString;
|
|
2117
|
+
temp_url: z.ZodString;
|
|
2118
|
+
duration: z.ZodNumber;
|
|
2119
|
+
}, z.core.$strip>;
|
|
2120
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2121
|
+
type: z.ZodLiteral<"video">;
|
|
2122
|
+
data: z.ZodObject<{
|
|
2123
|
+
resource_id: z.ZodString;
|
|
2124
|
+
temp_url: z.ZodString;
|
|
2125
|
+
width: z.ZodNumber;
|
|
2126
|
+
height: z.ZodNumber;
|
|
2127
|
+
duration: z.ZodNumber;
|
|
2128
|
+
}, z.core.$strip>;
|
|
2129
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2130
|
+
type: z.ZodLiteral<"file">;
|
|
2131
|
+
data: z.ZodObject<{
|
|
2132
|
+
file_id: z.ZodString;
|
|
2133
|
+
file_name: z.ZodString;
|
|
2134
|
+
file_size: z.ZodNumber;
|
|
2135
|
+
file_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2136
|
+
}, z.core.$strip>;
|
|
2137
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2138
|
+
type: z.ZodLiteral<"forward">;
|
|
2139
|
+
data: z.ZodObject<{
|
|
2140
|
+
forward_id: z.ZodString;
|
|
2141
|
+
title: z.ZodString;
|
|
2142
|
+
preview: z.ZodArray<z.ZodString>;
|
|
2143
|
+
summary: z.ZodString;
|
|
2144
|
+
}, z.core.$strip>;
|
|
2145
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2146
|
+
type: z.ZodLiteral<"market_face">;
|
|
2147
|
+
data: z.ZodObject<{
|
|
2148
|
+
emoji_package_id: z.ZodNumber;
|
|
2149
|
+
emoji_id: z.ZodString;
|
|
2150
|
+
key: z.ZodString;
|
|
2151
|
+
summary: z.ZodString;
|
|
2152
|
+
url: z.ZodString;
|
|
2153
|
+
}, z.core.$strip>;
|
|
2154
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2155
|
+
type: z.ZodLiteral<"light_app">;
|
|
2156
|
+
data: z.ZodObject<{
|
|
2157
|
+
app_name: z.ZodString;
|
|
2158
|
+
json_payload: z.ZodString;
|
|
2159
|
+
}, z.core.$strip>;
|
|
2160
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2161
|
+
type: z.ZodLiteral<"xml">;
|
|
2162
|
+
data: z.ZodObject<{
|
|
2163
|
+
service_id: z.ZodNumber;
|
|
2164
|
+
xml_payload: z.ZodString;
|
|
2165
|
+
}, z.core.$strip>;
|
|
2166
|
+
}, z.core.$strip>], "type">>>;
|
|
2167
|
+
friend: z.ZodLazy<z.ZodObject<{
|
|
2168
|
+
user_id: z.ZodNumber;
|
|
2169
|
+
nickname: z.ZodString;
|
|
2170
|
+
sex: z.ZodEnum<{
|
|
2171
|
+
male: "male";
|
|
2172
|
+
female: "female";
|
|
2173
|
+
unknown: "unknown";
|
|
2174
|
+
}>;
|
|
2175
|
+
qid: z.ZodString;
|
|
2176
|
+
remark: z.ZodString;
|
|
2177
|
+
category: z.ZodLazy<z.ZodObject<{
|
|
2178
|
+
category_id: z.ZodNumber;
|
|
2179
|
+
category_name: z.ZodString;
|
|
2180
|
+
}, z.core.$strip>>;
|
|
2181
|
+
}, z.core.$strip>>;
|
|
2182
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2183
|
+
message_scene: z.ZodLiteral<"group">;
|
|
2184
|
+
peer_id: z.ZodNumber;
|
|
2185
|
+
message_seq: z.ZodNumber;
|
|
2186
|
+
sender_id: z.ZodNumber;
|
|
2187
|
+
time: z.ZodNumber;
|
|
2188
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2189
|
+
type: z.ZodLiteral<"text">;
|
|
2190
|
+
data: z.ZodObject<{
|
|
2191
|
+
text: z.ZodString;
|
|
2192
|
+
}, z.core.$strip>;
|
|
2193
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2194
|
+
type: z.ZodLiteral<"mention">;
|
|
2195
|
+
data: z.ZodObject<{
|
|
2196
|
+
user_id: z.ZodNumber;
|
|
2197
|
+
}, z.core.$strip>;
|
|
2198
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2199
|
+
type: z.ZodLiteral<"mention_all">;
|
|
2200
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
2201
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2202
|
+
type: z.ZodLiteral<"face">;
|
|
2203
|
+
data: z.ZodObject<{
|
|
2204
|
+
face_id: z.ZodString;
|
|
2205
|
+
is_large: z.ZodBoolean;
|
|
2206
|
+
}, z.core.$strip>;
|
|
2207
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2208
|
+
type: z.ZodLiteral<"reply">;
|
|
2209
|
+
data: z.ZodObject<{
|
|
2210
|
+
message_seq: z.ZodNumber;
|
|
2211
|
+
}, z.core.$strip>;
|
|
2212
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2213
|
+
type: z.ZodLiteral<"image">;
|
|
2214
|
+
data: z.ZodObject<{
|
|
2215
|
+
resource_id: z.ZodString;
|
|
2216
|
+
temp_url: z.ZodString;
|
|
2217
|
+
width: z.ZodNumber;
|
|
2218
|
+
height: z.ZodNumber;
|
|
2219
|
+
summary: z.ZodString;
|
|
2220
|
+
sub_type: z.ZodEnum<{
|
|
2221
|
+
normal: "normal";
|
|
2222
|
+
sticker: "sticker";
|
|
2223
|
+
}>;
|
|
2224
|
+
}, z.core.$strip>;
|
|
2225
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2226
|
+
type: z.ZodLiteral<"record">;
|
|
2227
|
+
data: z.ZodObject<{
|
|
2228
|
+
resource_id: z.ZodString;
|
|
2229
|
+
temp_url: z.ZodString;
|
|
2230
|
+
duration: z.ZodNumber;
|
|
2231
|
+
}, z.core.$strip>;
|
|
2232
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2233
|
+
type: z.ZodLiteral<"video">;
|
|
2234
|
+
data: z.ZodObject<{
|
|
2235
|
+
resource_id: z.ZodString;
|
|
2236
|
+
temp_url: z.ZodString;
|
|
2237
|
+
width: z.ZodNumber;
|
|
2238
|
+
height: z.ZodNumber;
|
|
2239
|
+
duration: z.ZodNumber;
|
|
2240
|
+
}, z.core.$strip>;
|
|
2241
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2242
|
+
type: z.ZodLiteral<"file">;
|
|
2243
|
+
data: z.ZodObject<{
|
|
2244
|
+
file_id: z.ZodString;
|
|
2245
|
+
file_name: z.ZodString;
|
|
2246
|
+
file_size: z.ZodNumber;
|
|
2247
|
+
file_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2248
|
+
}, z.core.$strip>;
|
|
2249
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2250
|
+
type: z.ZodLiteral<"forward">;
|
|
2251
|
+
data: z.ZodObject<{
|
|
2252
|
+
forward_id: z.ZodString;
|
|
2253
|
+
title: z.ZodString;
|
|
2254
|
+
preview: z.ZodArray<z.ZodString>;
|
|
2255
|
+
summary: z.ZodString;
|
|
2256
|
+
}, z.core.$strip>;
|
|
2257
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2258
|
+
type: z.ZodLiteral<"market_face">;
|
|
2259
|
+
data: z.ZodObject<{
|
|
2260
|
+
emoji_package_id: z.ZodNumber;
|
|
2261
|
+
emoji_id: z.ZodString;
|
|
2262
|
+
key: z.ZodString;
|
|
2263
|
+
summary: z.ZodString;
|
|
2264
|
+
url: z.ZodString;
|
|
2265
|
+
}, z.core.$strip>;
|
|
2266
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2267
|
+
type: z.ZodLiteral<"light_app">;
|
|
2268
|
+
data: z.ZodObject<{
|
|
2269
|
+
app_name: z.ZodString;
|
|
2270
|
+
json_payload: z.ZodString;
|
|
2271
|
+
}, z.core.$strip>;
|
|
2272
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2273
|
+
type: z.ZodLiteral<"xml">;
|
|
2274
|
+
data: z.ZodObject<{
|
|
2275
|
+
service_id: z.ZodNumber;
|
|
2276
|
+
xml_payload: z.ZodString;
|
|
2277
|
+
}, z.core.$strip>;
|
|
2278
|
+
}, z.core.$strip>], "type">>>;
|
|
2279
|
+
group: z.ZodLazy<z.ZodObject<{
|
|
2280
|
+
group_id: z.ZodNumber;
|
|
2281
|
+
group_name: z.ZodString;
|
|
2282
|
+
member_count: z.ZodNumber;
|
|
2283
|
+
max_member_count: z.ZodNumber;
|
|
2284
|
+
}, z.core.$strip>>;
|
|
2285
|
+
group_member: z.ZodLazy<z.ZodObject<{
|
|
2286
|
+
user_id: z.ZodNumber;
|
|
2287
|
+
nickname: z.ZodString;
|
|
2288
|
+
sex: z.ZodEnum<{
|
|
2289
|
+
male: "male";
|
|
2290
|
+
female: "female";
|
|
2291
|
+
unknown: "unknown";
|
|
2292
|
+
}>;
|
|
2293
|
+
group_id: z.ZodNumber;
|
|
2294
|
+
card: z.ZodString;
|
|
2295
|
+
title: z.ZodString;
|
|
2296
|
+
level: z.ZodNumber;
|
|
2297
|
+
role: z.ZodEnum<{
|
|
2298
|
+
owner: "owner";
|
|
2299
|
+
admin: "admin";
|
|
2300
|
+
member: "member";
|
|
2301
|
+
}>;
|
|
2302
|
+
join_time: z.ZodNumber;
|
|
2303
|
+
last_sent_time: z.ZodNumber;
|
|
2304
|
+
shut_up_end_time: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2305
|
+
}, z.core.$strip>>;
|
|
2306
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2307
|
+
message_scene: z.ZodLiteral<"temp">;
|
|
2308
|
+
peer_id: z.ZodNumber;
|
|
2309
|
+
message_seq: z.ZodNumber;
|
|
2310
|
+
sender_id: z.ZodNumber;
|
|
2311
|
+
time: z.ZodNumber;
|
|
2312
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2313
|
+
type: z.ZodLiteral<"text">;
|
|
2314
|
+
data: z.ZodObject<{
|
|
2315
|
+
text: z.ZodString;
|
|
2316
|
+
}, z.core.$strip>;
|
|
2317
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2318
|
+
type: z.ZodLiteral<"mention">;
|
|
2319
|
+
data: z.ZodObject<{
|
|
2320
|
+
user_id: z.ZodNumber;
|
|
2321
|
+
}, z.core.$strip>;
|
|
2322
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2323
|
+
type: z.ZodLiteral<"mention_all">;
|
|
2324
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
2325
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2326
|
+
type: z.ZodLiteral<"face">;
|
|
2327
|
+
data: z.ZodObject<{
|
|
2328
|
+
face_id: z.ZodString;
|
|
2329
|
+
is_large: z.ZodBoolean;
|
|
2330
|
+
}, z.core.$strip>;
|
|
2331
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2332
|
+
type: z.ZodLiteral<"reply">;
|
|
2333
|
+
data: z.ZodObject<{
|
|
2334
|
+
message_seq: z.ZodNumber;
|
|
2335
|
+
}, z.core.$strip>;
|
|
2336
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2337
|
+
type: z.ZodLiteral<"image">;
|
|
2338
|
+
data: z.ZodObject<{
|
|
2339
|
+
resource_id: z.ZodString;
|
|
2340
|
+
temp_url: z.ZodString;
|
|
2341
|
+
width: z.ZodNumber;
|
|
2342
|
+
height: z.ZodNumber;
|
|
2343
|
+
summary: z.ZodString;
|
|
2344
|
+
sub_type: z.ZodEnum<{
|
|
2345
|
+
normal: "normal";
|
|
2346
|
+
sticker: "sticker";
|
|
2347
|
+
}>;
|
|
2348
|
+
}, z.core.$strip>;
|
|
2349
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2350
|
+
type: z.ZodLiteral<"record">;
|
|
2351
|
+
data: z.ZodObject<{
|
|
2352
|
+
resource_id: z.ZodString;
|
|
2353
|
+
temp_url: z.ZodString;
|
|
2354
|
+
duration: z.ZodNumber;
|
|
2355
|
+
}, z.core.$strip>;
|
|
2356
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2357
|
+
type: z.ZodLiteral<"video">;
|
|
2358
|
+
data: z.ZodObject<{
|
|
2359
|
+
resource_id: z.ZodString;
|
|
2360
|
+
temp_url: z.ZodString;
|
|
2361
|
+
width: z.ZodNumber;
|
|
2362
|
+
height: z.ZodNumber;
|
|
2363
|
+
duration: z.ZodNumber;
|
|
2364
|
+
}, z.core.$strip>;
|
|
2365
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2366
|
+
type: z.ZodLiteral<"file">;
|
|
2367
|
+
data: z.ZodObject<{
|
|
2368
|
+
file_id: z.ZodString;
|
|
2369
|
+
file_name: z.ZodString;
|
|
2370
|
+
file_size: z.ZodNumber;
|
|
2371
|
+
file_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2372
|
+
}, z.core.$strip>;
|
|
2373
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2374
|
+
type: z.ZodLiteral<"forward">;
|
|
2375
|
+
data: z.ZodObject<{
|
|
2376
|
+
forward_id: z.ZodString;
|
|
2377
|
+
title: z.ZodString;
|
|
2378
|
+
preview: z.ZodArray<z.ZodString>;
|
|
2379
|
+
summary: z.ZodString;
|
|
2380
|
+
}, z.core.$strip>;
|
|
2381
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2382
|
+
type: z.ZodLiteral<"market_face">;
|
|
2383
|
+
data: z.ZodObject<{
|
|
2384
|
+
emoji_package_id: z.ZodNumber;
|
|
2385
|
+
emoji_id: z.ZodString;
|
|
2386
|
+
key: z.ZodString;
|
|
2387
|
+
summary: z.ZodString;
|
|
2388
|
+
url: z.ZodString;
|
|
2389
|
+
}, z.core.$strip>;
|
|
2390
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2391
|
+
type: z.ZodLiteral<"light_app">;
|
|
2392
|
+
data: z.ZodObject<{
|
|
2393
|
+
app_name: z.ZodString;
|
|
2394
|
+
json_payload: z.ZodString;
|
|
2395
|
+
}, z.core.$strip>;
|
|
2396
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2397
|
+
type: z.ZodLiteral<"xml">;
|
|
2398
|
+
data: z.ZodObject<{
|
|
2399
|
+
service_id: z.ZodNumber;
|
|
2400
|
+
xml_payload: z.ZodString;
|
|
2401
|
+
}, z.core.$strip>;
|
|
2402
|
+
}, z.core.$strip>], "type">>>;
|
|
2403
|
+
group: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
2404
|
+
group_id: z.ZodNumber;
|
|
2405
|
+
group_name: z.ZodString;
|
|
2406
|
+
member_count: z.ZodNumber;
|
|
2407
|
+
max_member_count: z.ZodNumber;
|
|
2408
|
+
}, z.core.$strip>>>>;
|
|
2409
|
+
}, z.core.$strip>], "message_scene">>;
|
|
2410
|
+
}, z.core.$strip>;
|
|
2411
|
+
declare const GetHistoryMessagesInput: z.ZodObject<{
|
|
2412
|
+
message_scene: z.ZodEnum<{
|
|
2413
|
+
friend: "friend";
|
|
2414
|
+
group: "group";
|
|
2415
|
+
temp: "temp";
|
|
2416
|
+
}>;
|
|
2417
|
+
peer_id: z.ZodNumber;
|
|
2418
|
+
start_message_seq: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2419
|
+
limit: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>, z.ZodTransform<number, number | null>>;
|
|
2420
|
+
}, z.core.$strip>;
|
|
2421
|
+
declare const GetHistoryMessagesOutput: z.ZodObject<{
|
|
2422
|
+
messages: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2423
|
+
message_scene: z.ZodLiteral<"friend">;
|
|
2424
|
+
peer_id: z.ZodNumber;
|
|
2425
|
+
message_seq: z.ZodNumber;
|
|
2426
|
+
sender_id: z.ZodNumber;
|
|
2427
|
+
time: z.ZodNumber;
|
|
2428
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2429
|
+
type: z.ZodLiteral<"text">;
|
|
2430
|
+
data: z.ZodObject<{
|
|
2431
|
+
text: z.ZodString;
|
|
2432
|
+
}, z.core.$strip>;
|
|
2433
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2434
|
+
type: z.ZodLiteral<"mention">;
|
|
2435
|
+
data: z.ZodObject<{
|
|
2436
|
+
user_id: z.ZodNumber;
|
|
2437
|
+
}, z.core.$strip>;
|
|
2438
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2439
|
+
type: z.ZodLiteral<"mention_all">;
|
|
2440
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
2441
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2442
|
+
type: z.ZodLiteral<"face">;
|
|
2443
|
+
data: z.ZodObject<{
|
|
2444
|
+
face_id: z.ZodString;
|
|
2445
|
+
is_large: z.ZodBoolean;
|
|
2446
|
+
}, z.core.$strip>;
|
|
2447
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2448
|
+
type: z.ZodLiteral<"reply">;
|
|
2449
|
+
data: z.ZodObject<{
|
|
2450
|
+
message_seq: z.ZodNumber;
|
|
2451
|
+
}, z.core.$strip>;
|
|
2452
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2453
|
+
type: z.ZodLiteral<"image">;
|
|
2454
|
+
data: z.ZodObject<{
|
|
2455
|
+
resource_id: z.ZodString;
|
|
2456
|
+
temp_url: z.ZodString;
|
|
2457
|
+
width: z.ZodNumber;
|
|
2458
|
+
height: z.ZodNumber;
|
|
2459
|
+
summary: z.ZodString;
|
|
2460
|
+
sub_type: z.ZodEnum<{
|
|
2461
|
+
normal: "normal";
|
|
2462
|
+
sticker: "sticker";
|
|
2463
|
+
}>;
|
|
2464
|
+
}, z.core.$strip>;
|
|
2465
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2466
|
+
type: z.ZodLiteral<"record">;
|
|
2467
|
+
data: z.ZodObject<{
|
|
2468
|
+
resource_id: z.ZodString;
|
|
2469
|
+
temp_url: z.ZodString;
|
|
2470
|
+
duration: z.ZodNumber;
|
|
2471
|
+
}, z.core.$strip>;
|
|
2472
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2473
|
+
type: z.ZodLiteral<"video">;
|
|
2474
|
+
data: z.ZodObject<{
|
|
2475
|
+
resource_id: z.ZodString;
|
|
2476
|
+
temp_url: z.ZodString;
|
|
2477
|
+
width: z.ZodNumber;
|
|
2478
|
+
height: z.ZodNumber;
|
|
2479
|
+
duration: z.ZodNumber;
|
|
2480
|
+
}, z.core.$strip>;
|
|
2481
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2482
|
+
type: z.ZodLiteral<"file">;
|
|
2483
|
+
data: z.ZodObject<{
|
|
2484
|
+
file_id: z.ZodString;
|
|
2485
|
+
file_name: z.ZodString;
|
|
2486
|
+
file_size: z.ZodNumber;
|
|
2487
|
+
file_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2488
|
+
}, z.core.$strip>;
|
|
2489
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2490
|
+
type: z.ZodLiteral<"forward">;
|
|
2491
|
+
data: z.ZodObject<{
|
|
2492
|
+
forward_id: z.ZodString;
|
|
2493
|
+
title: z.ZodString;
|
|
2494
|
+
preview: z.ZodArray<z.ZodString>;
|
|
2495
|
+
summary: z.ZodString;
|
|
2496
|
+
}, z.core.$strip>;
|
|
2497
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2498
|
+
type: z.ZodLiteral<"market_face">;
|
|
2499
|
+
data: z.ZodObject<{
|
|
2500
|
+
emoji_package_id: z.ZodNumber;
|
|
2501
|
+
emoji_id: z.ZodString;
|
|
2502
|
+
key: z.ZodString;
|
|
2503
|
+
summary: z.ZodString;
|
|
2504
|
+
url: z.ZodString;
|
|
2505
|
+
}, z.core.$strip>;
|
|
2506
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2507
|
+
type: z.ZodLiteral<"light_app">;
|
|
2508
|
+
data: z.ZodObject<{
|
|
2509
|
+
app_name: z.ZodString;
|
|
2510
|
+
json_payload: z.ZodString;
|
|
2511
|
+
}, z.core.$strip>;
|
|
2512
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2513
|
+
type: z.ZodLiteral<"xml">;
|
|
2514
|
+
data: z.ZodObject<{
|
|
2515
|
+
service_id: z.ZodNumber;
|
|
2516
|
+
xml_payload: z.ZodString;
|
|
2517
|
+
}, z.core.$strip>;
|
|
2518
|
+
}, z.core.$strip>], "type">>>;
|
|
2519
|
+
friend: z.ZodLazy<z.ZodObject<{
|
|
2520
|
+
user_id: z.ZodNumber;
|
|
2521
|
+
nickname: z.ZodString;
|
|
2522
|
+
sex: z.ZodEnum<{
|
|
2523
|
+
male: "male";
|
|
2524
|
+
female: "female";
|
|
2525
|
+
unknown: "unknown";
|
|
2526
|
+
}>;
|
|
2527
|
+
qid: z.ZodString;
|
|
2528
|
+
remark: z.ZodString;
|
|
2529
|
+
category: z.ZodLazy<z.ZodObject<{
|
|
2530
|
+
category_id: z.ZodNumber;
|
|
2531
|
+
category_name: z.ZodString;
|
|
2532
|
+
}, z.core.$strip>>;
|
|
2533
|
+
}, z.core.$strip>>;
|
|
2534
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2535
|
+
message_scene: z.ZodLiteral<"group">;
|
|
2536
|
+
peer_id: z.ZodNumber;
|
|
2537
|
+
message_seq: z.ZodNumber;
|
|
2538
|
+
sender_id: z.ZodNumber;
|
|
2539
|
+
time: z.ZodNumber;
|
|
2540
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2541
|
+
type: z.ZodLiteral<"text">;
|
|
2542
|
+
data: z.ZodObject<{
|
|
2543
|
+
text: z.ZodString;
|
|
2544
|
+
}, z.core.$strip>;
|
|
2545
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2546
|
+
type: z.ZodLiteral<"mention">;
|
|
2547
|
+
data: z.ZodObject<{
|
|
2548
|
+
user_id: z.ZodNumber;
|
|
2549
|
+
}, z.core.$strip>;
|
|
2550
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2551
|
+
type: z.ZodLiteral<"mention_all">;
|
|
2552
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
2553
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2554
|
+
type: z.ZodLiteral<"face">;
|
|
2555
|
+
data: z.ZodObject<{
|
|
2556
|
+
face_id: z.ZodString;
|
|
2557
|
+
is_large: z.ZodBoolean;
|
|
2558
|
+
}, z.core.$strip>;
|
|
2559
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2560
|
+
type: z.ZodLiteral<"reply">;
|
|
2561
|
+
data: z.ZodObject<{
|
|
2562
|
+
message_seq: z.ZodNumber;
|
|
2563
|
+
}, z.core.$strip>;
|
|
2564
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2565
|
+
type: z.ZodLiteral<"image">;
|
|
2566
|
+
data: z.ZodObject<{
|
|
2567
|
+
resource_id: z.ZodString;
|
|
2568
|
+
temp_url: z.ZodString;
|
|
2569
|
+
width: z.ZodNumber;
|
|
2570
|
+
height: z.ZodNumber;
|
|
2571
|
+
summary: z.ZodString;
|
|
2572
|
+
sub_type: z.ZodEnum<{
|
|
2573
|
+
normal: "normal";
|
|
2574
|
+
sticker: "sticker";
|
|
2575
|
+
}>;
|
|
2576
|
+
}, z.core.$strip>;
|
|
2577
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2578
|
+
type: z.ZodLiteral<"record">;
|
|
2579
|
+
data: z.ZodObject<{
|
|
2580
|
+
resource_id: z.ZodString;
|
|
2581
|
+
temp_url: z.ZodString;
|
|
2582
|
+
duration: z.ZodNumber;
|
|
2583
|
+
}, z.core.$strip>;
|
|
2584
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2585
|
+
type: z.ZodLiteral<"video">;
|
|
2586
|
+
data: z.ZodObject<{
|
|
2587
|
+
resource_id: z.ZodString;
|
|
2588
|
+
temp_url: z.ZodString;
|
|
2589
|
+
width: z.ZodNumber;
|
|
2590
|
+
height: z.ZodNumber;
|
|
2591
|
+
duration: z.ZodNumber;
|
|
2592
|
+
}, z.core.$strip>;
|
|
2593
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2594
|
+
type: z.ZodLiteral<"file">;
|
|
2595
|
+
data: z.ZodObject<{
|
|
2596
|
+
file_id: z.ZodString;
|
|
2597
|
+
file_name: z.ZodString;
|
|
2598
|
+
file_size: z.ZodNumber;
|
|
2599
|
+
file_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2600
|
+
}, z.core.$strip>;
|
|
2601
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2602
|
+
type: z.ZodLiteral<"forward">;
|
|
2603
|
+
data: z.ZodObject<{
|
|
2604
|
+
forward_id: z.ZodString;
|
|
2605
|
+
title: z.ZodString;
|
|
2606
|
+
preview: z.ZodArray<z.ZodString>;
|
|
2607
|
+
summary: z.ZodString;
|
|
2608
|
+
}, z.core.$strip>;
|
|
2609
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2610
|
+
type: z.ZodLiteral<"market_face">;
|
|
2611
|
+
data: z.ZodObject<{
|
|
2612
|
+
emoji_package_id: z.ZodNumber;
|
|
2613
|
+
emoji_id: z.ZodString;
|
|
2614
|
+
key: z.ZodString;
|
|
2615
|
+
summary: z.ZodString;
|
|
2616
|
+
url: z.ZodString;
|
|
2617
|
+
}, z.core.$strip>;
|
|
2618
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2619
|
+
type: z.ZodLiteral<"light_app">;
|
|
2620
|
+
data: z.ZodObject<{
|
|
2621
|
+
app_name: z.ZodString;
|
|
2622
|
+
json_payload: z.ZodString;
|
|
2623
|
+
}, z.core.$strip>;
|
|
2624
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2625
|
+
type: z.ZodLiteral<"xml">;
|
|
2626
|
+
data: z.ZodObject<{
|
|
2627
|
+
service_id: z.ZodNumber;
|
|
2628
|
+
xml_payload: z.ZodString;
|
|
2629
|
+
}, z.core.$strip>;
|
|
2630
|
+
}, z.core.$strip>], "type">>>;
|
|
2631
|
+
group: z.ZodLazy<z.ZodObject<{
|
|
2632
|
+
group_id: z.ZodNumber;
|
|
2633
|
+
group_name: z.ZodString;
|
|
2634
|
+
member_count: z.ZodNumber;
|
|
2635
|
+
max_member_count: z.ZodNumber;
|
|
2636
|
+
}, z.core.$strip>>;
|
|
2637
|
+
group_member: z.ZodLazy<z.ZodObject<{
|
|
2638
|
+
user_id: z.ZodNumber;
|
|
2639
|
+
nickname: z.ZodString;
|
|
2640
|
+
sex: z.ZodEnum<{
|
|
2641
|
+
male: "male";
|
|
2642
|
+
female: "female";
|
|
2643
|
+
unknown: "unknown";
|
|
2644
|
+
}>;
|
|
2645
|
+
group_id: z.ZodNumber;
|
|
2646
|
+
card: z.ZodString;
|
|
2647
|
+
title: z.ZodString;
|
|
2648
|
+
level: z.ZodNumber;
|
|
2649
|
+
role: z.ZodEnum<{
|
|
2650
|
+
owner: "owner";
|
|
2651
|
+
admin: "admin";
|
|
2652
|
+
member: "member";
|
|
2653
|
+
}>;
|
|
2654
|
+
join_time: z.ZodNumber;
|
|
2655
|
+
last_sent_time: z.ZodNumber;
|
|
2656
|
+
shut_up_end_time: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2657
|
+
}, z.core.$strip>>;
|
|
2658
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2659
|
+
message_scene: z.ZodLiteral<"temp">;
|
|
2660
|
+
peer_id: z.ZodNumber;
|
|
2661
|
+
message_seq: z.ZodNumber;
|
|
2662
|
+
sender_id: z.ZodNumber;
|
|
2663
|
+
time: z.ZodNumber;
|
|
2664
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2665
|
+
type: z.ZodLiteral<"text">;
|
|
2666
|
+
data: z.ZodObject<{
|
|
2667
|
+
text: z.ZodString;
|
|
2668
|
+
}, z.core.$strip>;
|
|
2669
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2670
|
+
type: z.ZodLiteral<"mention">;
|
|
2671
|
+
data: z.ZodObject<{
|
|
2672
|
+
user_id: z.ZodNumber;
|
|
2673
|
+
}, z.core.$strip>;
|
|
2674
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2675
|
+
type: z.ZodLiteral<"mention_all">;
|
|
2676
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
2677
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2678
|
+
type: z.ZodLiteral<"face">;
|
|
2679
|
+
data: z.ZodObject<{
|
|
2680
|
+
face_id: z.ZodString;
|
|
2681
|
+
is_large: z.ZodBoolean;
|
|
2682
|
+
}, z.core.$strip>;
|
|
2683
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2684
|
+
type: z.ZodLiteral<"reply">;
|
|
2685
|
+
data: z.ZodObject<{
|
|
2686
|
+
message_seq: z.ZodNumber;
|
|
2687
|
+
}, z.core.$strip>;
|
|
2688
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2689
|
+
type: z.ZodLiteral<"image">;
|
|
2690
|
+
data: z.ZodObject<{
|
|
2691
|
+
resource_id: z.ZodString;
|
|
2692
|
+
temp_url: z.ZodString;
|
|
2693
|
+
width: z.ZodNumber;
|
|
2694
|
+
height: z.ZodNumber;
|
|
2695
|
+
summary: z.ZodString;
|
|
2696
|
+
sub_type: z.ZodEnum<{
|
|
2697
|
+
normal: "normal";
|
|
2698
|
+
sticker: "sticker";
|
|
2699
|
+
}>;
|
|
2700
|
+
}, z.core.$strip>;
|
|
2701
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2702
|
+
type: z.ZodLiteral<"record">;
|
|
2703
|
+
data: z.ZodObject<{
|
|
2704
|
+
resource_id: z.ZodString;
|
|
2705
|
+
temp_url: z.ZodString;
|
|
2706
|
+
duration: z.ZodNumber;
|
|
2707
|
+
}, z.core.$strip>;
|
|
2708
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2709
|
+
type: z.ZodLiteral<"video">;
|
|
2710
|
+
data: z.ZodObject<{
|
|
2711
|
+
resource_id: z.ZodString;
|
|
2712
|
+
temp_url: z.ZodString;
|
|
2713
|
+
width: z.ZodNumber;
|
|
2714
|
+
height: z.ZodNumber;
|
|
2715
|
+
duration: z.ZodNumber;
|
|
2716
|
+
}, z.core.$strip>;
|
|
2717
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2718
|
+
type: z.ZodLiteral<"file">;
|
|
2719
|
+
data: z.ZodObject<{
|
|
2720
|
+
file_id: z.ZodString;
|
|
2721
|
+
file_name: z.ZodString;
|
|
2722
|
+
file_size: z.ZodNumber;
|
|
2723
|
+
file_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2724
|
+
}, z.core.$strip>;
|
|
2725
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2726
|
+
type: z.ZodLiteral<"forward">;
|
|
2727
|
+
data: z.ZodObject<{
|
|
2728
|
+
forward_id: z.ZodString;
|
|
2729
|
+
title: z.ZodString;
|
|
2730
|
+
preview: z.ZodArray<z.ZodString>;
|
|
2731
|
+
summary: z.ZodString;
|
|
2732
|
+
}, z.core.$strip>;
|
|
2733
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2734
|
+
type: z.ZodLiteral<"market_face">;
|
|
2735
|
+
data: z.ZodObject<{
|
|
2736
|
+
emoji_package_id: z.ZodNumber;
|
|
2737
|
+
emoji_id: z.ZodString;
|
|
2738
|
+
key: z.ZodString;
|
|
2739
|
+
summary: z.ZodString;
|
|
2740
|
+
url: z.ZodString;
|
|
2741
|
+
}, z.core.$strip>;
|
|
2742
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2743
|
+
type: z.ZodLiteral<"light_app">;
|
|
2744
|
+
data: z.ZodObject<{
|
|
2745
|
+
app_name: z.ZodString;
|
|
2746
|
+
json_payload: z.ZodString;
|
|
2747
|
+
}, z.core.$strip>;
|
|
2748
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2749
|
+
type: z.ZodLiteral<"xml">;
|
|
2750
|
+
data: z.ZodObject<{
|
|
2751
|
+
service_id: z.ZodNumber;
|
|
2752
|
+
xml_payload: z.ZodString;
|
|
2753
|
+
}, z.core.$strip>;
|
|
2754
|
+
}, z.core.$strip>], "type">>>;
|
|
2755
|
+
group: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
2756
|
+
group_id: z.ZodNumber;
|
|
2757
|
+
group_name: z.ZodString;
|
|
2758
|
+
member_count: z.ZodNumber;
|
|
2759
|
+
max_member_count: z.ZodNumber;
|
|
2760
|
+
}, z.core.$strip>>>>;
|
|
2761
|
+
}, z.core.$strip>], "message_scene">>>;
|
|
2762
|
+
next_message_seq: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2763
|
+
}, z.core.$strip>;
|
|
2764
|
+
declare const GetResourceTempUrlInput: z.ZodObject<{
|
|
2765
|
+
resource_id: z.ZodString;
|
|
2766
|
+
}, z.core.$strip>;
|
|
2767
|
+
declare const GetResourceTempUrlOutput: z.ZodObject<{
|
|
2768
|
+
url: z.ZodString;
|
|
2769
|
+
}, z.core.$strip>;
|
|
2770
|
+
declare const GetForwardedMessagesInput: z.ZodObject<{
|
|
2771
|
+
forward_id: z.ZodString;
|
|
2772
|
+
}, z.core.$strip>;
|
|
2773
|
+
declare const GetForwardedMessagesOutput: z.ZodObject<{
|
|
2774
|
+
messages: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
2775
|
+
sender_name: z.ZodString;
|
|
2776
|
+
avatar_url: z.ZodString;
|
|
2777
|
+
time: z.ZodNumber;
|
|
2778
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2779
|
+
type: z.ZodLiteral<"text">;
|
|
2780
|
+
data: z.ZodObject<{
|
|
2781
|
+
text: z.ZodString;
|
|
2782
|
+
}, z.core.$strip>;
|
|
2783
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2784
|
+
type: z.ZodLiteral<"mention">;
|
|
2785
|
+
data: z.ZodObject<{
|
|
2786
|
+
user_id: z.ZodNumber;
|
|
2787
|
+
}, z.core.$strip>;
|
|
2788
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2789
|
+
type: z.ZodLiteral<"mention_all">;
|
|
2790
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
2791
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2792
|
+
type: z.ZodLiteral<"face">;
|
|
2793
|
+
data: z.ZodObject<{
|
|
2794
|
+
face_id: z.ZodString;
|
|
2795
|
+
is_large: z.ZodBoolean;
|
|
2796
|
+
}, z.core.$strip>;
|
|
2797
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2798
|
+
type: z.ZodLiteral<"reply">;
|
|
2799
|
+
data: z.ZodObject<{
|
|
2800
|
+
message_seq: z.ZodNumber;
|
|
2801
|
+
}, z.core.$strip>;
|
|
2802
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2803
|
+
type: z.ZodLiteral<"image">;
|
|
2804
|
+
data: z.ZodObject<{
|
|
2805
|
+
resource_id: z.ZodString;
|
|
2806
|
+
temp_url: z.ZodString;
|
|
2807
|
+
width: z.ZodNumber;
|
|
2808
|
+
height: z.ZodNumber;
|
|
2809
|
+
summary: z.ZodString;
|
|
2810
|
+
sub_type: z.ZodEnum<{
|
|
2811
|
+
normal: "normal";
|
|
2812
|
+
sticker: "sticker";
|
|
2813
|
+
}>;
|
|
2814
|
+
}, z.core.$strip>;
|
|
2815
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2816
|
+
type: z.ZodLiteral<"record">;
|
|
2817
|
+
data: z.ZodObject<{
|
|
2818
|
+
resource_id: z.ZodString;
|
|
2819
|
+
temp_url: z.ZodString;
|
|
2820
|
+
duration: z.ZodNumber;
|
|
2821
|
+
}, z.core.$strip>;
|
|
2822
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2823
|
+
type: z.ZodLiteral<"video">;
|
|
2824
|
+
data: z.ZodObject<{
|
|
2825
|
+
resource_id: z.ZodString;
|
|
2826
|
+
temp_url: z.ZodString;
|
|
2827
|
+
width: z.ZodNumber;
|
|
2828
|
+
height: z.ZodNumber;
|
|
2829
|
+
duration: z.ZodNumber;
|
|
2830
|
+
}, z.core.$strip>;
|
|
2831
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2832
|
+
type: z.ZodLiteral<"file">;
|
|
2833
|
+
data: z.ZodObject<{
|
|
2834
|
+
file_id: z.ZodString;
|
|
2835
|
+
file_name: z.ZodString;
|
|
2836
|
+
file_size: z.ZodNumber;
|
|
2837
|
+
file_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2838
|
+
}, z.core.$strip>;
|
|
2839
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2840
|
+
type: z.ZodLiteral<"forward">;
|
|
2841
|
+
data: z.ZodObject<{
|
|
2842
|
+
forward_id: z.ZodString;
|
|
2843
|
+
title: z.ZodString;
|
|
2844
|
+
preview: z.ZodArray<z.ZodString>;
|
|
2845
|
+
summary: z.ZodString;
|
|
2846
|
+
}, z.core.$strip>;
|
|
2847
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2848
|
+
type: z.ZodLiteral<"market_face">;
|
|
2849
|
+
data: z.ZodObject<{
|
|
2850
|
+
emoji_package_id: z.ZodNumber;
|
|
2851
|
+
emoji_id: z.ZodString;
|
|
2852
|
+
key: z.ZodString;
|
|
2853
|
+
summary: z.ZodString;
|
|
2854
|
+
url: z.ZodString;
|
|
2855
|
+
}, z.core.$strip>;
|
|
2856
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2857
|
+
type: z.ZodLiteral<"light_app">;
|
|
2858
|
+
data: z.ZodObject<{
|
|
2859
|
+
app_name: z.ZodString;
|
|
2860
|
+
json_payload: z.ZodString;
|
|
2861
|
+
}, z.core.$strip>;
|
|
2862
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2863
|
+
type: z.ZodLiteral<"xml">;
|
|
2864
|
+
data: z.ZodObject<{
|
|
2865
|
+
service_id: z.ZodNumber;
|
|
2866
|
+
xml_payload: z.ZodString;
|
|
2867
|
+
}, z.core.$strip>;
|
|
2868
|
+
}, z.core.$strip>], "type">>>;
|
|
2869
|
+
}, z.core.$strip>>>;
|
|
2870
|
+
}, z.core.$strip>;
|
|
2871
|
+
declare const MarkMessageAsReadInput: z.ZodObject<{
|
|
2872
|
+
message_scene: z.ZodEnum<{
|
|
2873
|
+
friend: "friend";
|
|
2874
|
+
group: "group";
|
|
2875
|
+
temp: "temp";
|
|
2876
|
+
}>;
|
|
2877
|
+
peer_id: z.ZodNumber;
|
|
2878
|
+
message_seq: z.ZodNumber;
|
|
2879
|
+
}, z.core.$strip>;
|
|
2880
|
+
type SendPrivateMessageInput = z.infer<typeof SendPrivateMessageInput>;
|
|
2881
|
+
type SendPrivateMessageOutput = z.infer<typeof SendPrivateMessageOutput>;
|
|
2882
|
+
type SendGroupMessageInput = z.infer<typeof SendGroupMessageInput>;
|
|
2883
|
+
type SendGroupMessageOutput = z.infer<typeof SendGroupMessageOutput>;
|
|
2884
|
+
type RecallPrivateMessageInput = z.infer<typeof RecallPrivateMessageInput>;
|
|
2885
|
+
type RecallGroupMessageInput = z.infer<typeof RecallGroupMessageInput>;
|
|
2886
|
+
type GetMessageInput = z.infer<typeof GetMessageInput>;
|
|
2887
|
+
type GetMessageOutput = z.infer<typeof GetMessageOutput>;
|
|
2888
|
+
type GetHistoryMessagesInput = z.infer<typeof GetHistoryMessagesInput>;
|
|
2889
|
+
type GetHistoryMessagesOutput = z.infer<typeof GetHistoryMessagesOutput>;
|
|
2890
|
+
type GetResourceTempUrlInput = z.infer<typeof GetResourceTempUrlInput>;
|
|
2891
|
+
type GetResourceTempUrlOutput = z.infer<typeof GetResourceTempUrlOutput>;
|
|
2892
|
+
type GetForwardedMessagesInput = z.infer<typeof GetForwardedMessagesInput>;
|
|
2893
|
+
type GetForwardedMessagesOutput = z.infer<typeof GetForwardedMessagesOutput>;
|
|
2894
|
+
type MarkMessageAsReadInput = z.infer<typeof MarkMessageAsReadInput>;
|
|
2895
|
+
//#endregion
|
|
2896
|
+
//#region src/api/friend.d.ts
|
|
2897
|
+
declare const SendFriendNudgeInput: z.ZodObject<{
|
|
2898
|
+
user_id: z.ZodNumber;
|
|
2899
|
+
is_self: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>, z.ZodTransform<boolean, boolean | null>>;
|
|
2900
|
+
}, z.core.$strip>;
|
|
2901
|
+
declare const SendProfileLikeInput: z.ZodObject<{
|
|
2902
|
+
user_id: z.ZodNumber;
|
|
2903
|
+
count: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>, z.ZodTransform<number, number | null>>;
|
|
2904
|
+
}, z.core.$strip>;
|
|
2905
|
+
declare const DeleteFriendInput: z.ZodObject<{
|
|
2906
|
+
user_id: z.ZodNumber;
|
|
2907
|
+
}, z.core.$strip>;
|
|
2908
|
+
declare const GetFriendRequestsInput: z.ZodObject<{
|
|
2909
|
+
limit: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>, z.ZodTransform<number, number | null>>;
|
|
2910
|
+
is_filtered: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>, z.ZodTransform<boolean, boolean | null>>;
|
|
2911
|
+
}, z.core.$strip>;
|
|
2912
|
+
declare const GetFriendRequestsOutput: z.ZodObject<{
|
|
2913
|
+
requests: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
2914
|
+
time: z.ZodNumber;
|
|
2915
|
+
initiator_id: z.ZodNumber;
|
|
2916
|
+
initiator_uid: z.ZodString;
|
|
2917
|
+
target_user_id: z.ZodNumber;
|
|
2918
|
+
target_user_uid: z.ZodString;
|
|
2919
|
+
state: z.ZodEnum<{
|
|
2920
|
+
pending: "pending";
|
|
2921
|
+
accepted: "accepted";
|
|
2922
|
+
rejected: "rejected";
|
|
2923
|
+
ignored: "ignored";
|
|
2924
|
+
}>;
|
|
2925
|
+
comment: z.ZodString;
|
|
2926
|
+
via: z.ZodString;
|
|
2927
|
+
is_filtered: z.ZodBoolean;
|
|
2928
|
+
}, z.core.$strip>>>;
|
|
2929
|
+
}, z.core.$strip>;
|
|
2930
|
+
declare const AcceptFriendRequestInput: z.ZodObject<{
|
|
2931
|
+
initiator_uid: z.ZodString;
|
|
2932
|
+
is_filtered: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>, z.ZodTransform<boolean, boolean | null>>;
|
|
2933
|
+
}, z.core.$strip>;
|
|
2934
|
+
declare const RejectFriendRequestInput: z.ZodObject<{
|
|
2935
|
+
initiator_uid: z.ZodString;
|
|
2936
|
+
is_filtered: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>, z.ZodTransform<boolean, boolean | null>>;
|
|
2937
|
+
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2938
|
+
}, z.core.$strip>;
|
|
2939
|
+
type SendFriendNudgeInput = z.infer<typeof SendFriendNudgeInput>;
|
|
2940
|
+
type SendProfileLikeInput = z.infer<typeof SendProfileLikeInput>;
|
|
2941
|
+
type DeleteFriendInput = z.infer<typeof DeleteFriendInput>;
|
|
2942
|
+
type GetFriendRequestsInput = z.infer<typeof GetFriendRequestsInput>;
|
|
2943
|
+
type GetFriendRequestsOutput = z.infer<typeof GetFriendRequestsOutput>;
|
|
2944
|
+
type AcceptFriendRequestInput = z.infer<typeof AcceptFriendRequestInput>;
|
|
2945
|
+
type RejectFriendRequestInput = z.infer<typeof RejectFriendRequestInput>;
|
|
2946
|
+
//#endregion
|
|
2947
|
+
//#region src/api/group.d.ts
|
|
2948
|
+
declare const SetGroupNameInput: z.ZodObject<{
|
|
2949
|
+
group_id: z.ZodNumber;
|
|
2950
|
+
new_group_name: z.ZodString;
|
|
2951
|
+
}, z.core.$strip>;
|
|
2952
|
+
declare const SetGroupAvatarInput: z.ZodObject<{
|
|
2953
|
+
group_id: z.ZodNumber;
|
|
2954
|
+
image_uri: z.ZodString;
|
|
2955
|
+
}, z.core.$strip>;
|
|
2956
|
+
declare const SetGroupMemberCardInput: z.ZodObject<{
|
|
2957
|
+
group_id: z.ZodNumber;
|
|
2958
|
+
user_id: z.ZodNumber;
|
|
2959
|
+
card: z.ZodString;
|
|
2960
|
+
}, z.core.$strip>;
|
|
2961
|
+
declare const SetGroupMemberSpecialTitleInput: z.ZodObject<{
|
|
2962
|
+
group_id: z.ZodNumber;
|
|
2963
|
+
user_id: z.ZodNumber;
|
|
2964
|
+
special_title: z.ZodString;
|
|
2965
|
+
}, z.core.$strip>;
|
|
2966
|
+
declare const SetGroupMemberAdminInput: z.ZodObject<{
|
|
2967
|
+
group_id: z.ZodNumber;
|
|
2968
|
+
user_id: z.ZodNumber;
|
|
2969
|
+
is_set: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>, z.ZodTransform<boolean, boolean | null>>;
|
|
2970
|
+
}, z.core.$strip>;
|
|
2971
|
+
declare const SetGroupMemberMuteInput: z.ZodObject<{
|
|
2972
|
+
group_id: z.ZodNumber;
|
|
2973
|
+
user_id: z.ZodNumber;
|
|
2974
|
+
duration: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>, z.ZodTransform<number, number | null>>;
|
|
2975
|
+
}, z.core.$strip>;
|
|
2976
|
+
declare const SetGroupWholeMuteInput: z.ZodObject<{
|
|
2977
|
+
group_id: z.ZodNumber;
|
|
2978
|
+
is_mute: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>, z.ZodTransform<boolean, boolean | null>>;
|
|
2979
|
+
}, z.core.$strip>;
|
|
2980
|
+
declare const KickGroupMemberInput: z.ZodObject<{
|
|
2981
|
+
group_id: z.ZodNumber;
|
|
2982
|
+
user_id: z.ZodNumber;
|
|
2983
|
+
reject_add_request: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>, z.ZodTransform<boolean, boolean | null>>;
|
|
2984
|
+
}, z.core.$strip>;
|
|
2985
|
+
declare const GetGroupAnnouncementsInput: z.ZodObject<{
|
|
2986
|
+
group_id: z.ZodNumber;
|
|
2987
|
+
}, z.core.$strip>;
|
|
2988
|
+
declare const GetGroupAnnouncementsOutput: z.ZodObject<{
|
|
2989
|
+
announcements: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
2990
|
+
group_id: z.ZodNumber;
|
|
2991
|
+
announcement_id: z.ZodString;
|
|
2992
|
+
user_id: z.ZodNumber;
|
|
2993
|
+
time: z.ZodNumber;
|
|
2994
|
+
content: z.ZodString;
|
|
2995
|
+
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2996
|
+
}, z.core.$strip>>>;
|
|
2997
|
+
}, z.core.$strip>;
|
|
2998
|
+
declare const SendGroupAnnouncementInput: z.ZodObject<{
|
|
2999
|
+
group_id: z.ZodNumber;
|
|
3000
|
+
content: z.ZodString;
|
|
3001
|
+
image_uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3002
|
+
}, z.core.$strip>;
|
|
3003
|
+
declare const DeleteGroupAnnouncementInput: z.ZodObject<{
|
|
3004
|
+
group_id: z.ZodNumber;
|
|
3005
|
+
announcement_id: z.ZodString;
|
|
3006
|
+
}, z.core.$strip>;
|
|
3007
|
+
declare const GetGroupEssenceMessagesInput: z.ZodObject<{
|
|
3008
|
+
group_id: z.ZodNumber;
|
|
3009
|
+
page_index: z.ZodNumber;
|
|
3010
|
+
page_size: z.ZodNumber;
|
|
3011
|
+
}, z.core.$strip>;
|
|
3012
|
+
declare const GetGroupEssenceMessagesOutput: z.ZodObject<{
|
|
3013
|
+
messages: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
3014
|
+
group_id: z.ZodNumber;
|
|
3015
|
+
message_seq: z.ZodNumber;
|
|
3016
|
+
message_time: z.ZodNumber;
|
|
3017
|
+
sender_id: z.ZodNumber;
|
|
3018
|
+
sender_name: z.ZodString;
|
|
3019
|
+
operator_id: z.ZodNumber;
|
|
3020
|
+
operator_name: z.ZodString;
|
|
3021
|
+
operation_time: z.ZodNumber;
|
|
3022
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3023
|
+
type: z.ZodLiteral<"text">;
|
|
3024
|
+
data: z.ZodObject<{
|
|
3025
|
+
text: z.ZodString;
|
|
3026
|
+
}, z.core.$strip>;
|
|
3027
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3028
|
+
type: z.ZodLiteral<"mention">;
|
|
3029
|
+
data: z.ZodObject<{
|
|
3030
|
+
user_id: z.ZodNumber;
|
|
3031
|
+
}, z.core.$strip>;
|
|
3032
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3033
|
+
type: z.ZodLiteral<"mention_all">;
|
|
3034
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
3035
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3036
|
+
type: z.ZodLiteral<"face">;
|
|
3037
|
+
data: z.ZodObject<{
|
|
3038
|
+
face_id: z.ZodString;
|
|
3039
|
+
is_large: z.ZodBoolean;
|
|
3040
|
+
}, z.core.$strip>;
|
|
3041
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3042
|
+
type: z.ZodLiteral<"reply">;
|
|
3043
|
+
data: z.ZodObject<{
|
|
3044
|
+
message_seq: z.ZodNumber;
|
|
3045
|
+
}, z.core.$strip>;
|
|
3046
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3047
|
+
type: z.ZodLiteral<"image">;
|
|
3048
|
+
data: z.ZodObject<{
|
|
3049
|
+
resource_id: z.ZodString;
|
|
3050
|
+
temp_url: z.ZodString;
|
|
3051
|
+
width: z.ZodNumber;
|
|
3052
|
+
height: z.ZodNumber;
|
|
3053
|
+
summary: z.ZodString;
|
|
3054
|
+
sub_type: z.ZodEnum<{
|
|
3055
|
+
normal: "normal";
|
|
3056
|
+
sticker: "sticker";
|
|
3057
|
+
}>;
|
|
3058
|
+
}, z.core.$strip>;
|
|
3059
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3060
|
+
type: z.ZodLiteral<"record">;
|
|
3061
|
+
data: z.ZodObject<{
|
|
3062
|
+
resource_id: z.ZodString;
|
|
3063
|
+
temp_url: z.ZodString;
|
|
3064
|
+
duration: z.ZodNumber;
|
|
3065
|
+
}, z.core.$strip>;
|
|
3066
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3067
|
+
type: z.ZodLiteral<"video">;
|
|
3068
|
+
data: z.ZodObject<{
|
|
3069
|
+
resource_id: z.ZodString;
|
|
3070
|
+
temp_url: z.ZodString;
|
|
3071
|
+
width: z.ZodNumber;
|
|
3072
|
+
height: z.ZodNumber;
|
|
3073
|
+
duration: z.ZodNumber;
|
|
3074
|
+
}, z.core.$strip>;
|
|
3075
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3076
|
+
type: z.ZodLiteral<"file">;
|
|
3077
|
+
data: z.ZodObject<{
|
|
3078
|
+
file_id: z.ZodString;
|
|
3079
|
+
file_name: z.ZodString;
|
|
3080
|
+
file_size: z.ZodNumber;
|
|
3081
|
+
file_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3082
|
+
}, z.core.$strip>;
|
|
3083
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3084
|
+
type: z.ZodLiteral<"forward">;
|
|
3085
|
+
data: z.ZodObject<{
|
|
3086
|
+
forward_id: z.ZodString;
|
|
3087
|
+
title: z.ZodString;
|
|
3088
|
+
preview: z.ZodArray<z.ZodString>;
|
|
3089
|
+
summary: z.ZodString;
|
|
3090
|
+
}, z.core.$strip>;
|
|
3091
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3092
|
+
type: z.ZodLiteral<"market_face">;
|
|
3093
|
+
data: z.ZodObject<{
|
|
3094
|
+
emoji_package_id: z.ZodNumber;
|
|
3095
|
+
emoji_id: z.ZodString;
|
|
3096
|
+
key: z.ZodString;
|
|
3097
|
+
summary: z.ZodString;
|
|
3098
|
+
url: z.ZodString;
|
|
3099
|
+
}, z.core.$strip>;
|
|
3100
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3101
|
+
type: z.ZodLiteral<"light_app">;
|
|
3102
|
+
data: z.ZodObject<{
|
|
3103
|
+
app_name: z.ZodString;
|
|
3104
|
+
json_payload: z.ZodString;
|
|
3105
|
+
}, z.core.$strip>;
|
|
3106
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3107
|
+
type: z.ZodLiteral<"xml">;
|
|
3108
|
+
data: z.ZodObject<{
|
|
3109
|
+
service_id: z.ZodNumber;
|
|
3110
|
+
xml_payload: z.ZodString;
|
|
3111
|
+
}, z.core.$strip>;
|
|
3112
|
+
}, z.core.$strip>], "type">>>;
|
|
3113
|
+
}, z.core.$strip>>>;
|
|
3114
|
+
is_end: z.ZodBoolean;
|
|
3115
|
+
}, z.core.$strip>;
|
|
3116
|
+
declare const SetGroupEssenceMessageInput: z.ZodObject<{
|
|
3117
|
+
group_id: z.ZodNumber;
|
|
3118
|
+
message_seq: z.ZodNumber;
|
|
3119
|
+
is_set: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>, z.ZodTransform<boolean, boolean | null>>;
|
|
3120
|
+
}, z.core.$strip>;
|
|
3121
|
+
declare const QuitGroupInput: z.ZodObject<{
|
|
3122
|
+
group_id: z.ZodNumber;
|
|
3123
|
+
}, z.core.$strip>;
|
|
3124
|
+
declare const SendGroupMessageReactionInput: z.ZodObject<{
|
|
3125
|
+
group_id: z.ZodNumber;
|
|
3126
|
+
message_seq: z.ZodNumber;
|
|
3127
|
+
reaction: z.ZodString;
|
|
3128
|
+
is_add: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>, z.ZodTransform<boolean, boolean | null>>;
|
|
3129
|
+
}, z.core.$strip>;
|
|
3130
|
+
declare const SendGroupNudgeInput: z.ZodObject<{
|
|
3131
|
+
group_id: z.ZodNumber;
|
|
3132
|
+
user_id: z.ZodNumber;
|
|
3133
|
+
}, z.core.$strip>;
|
|
3134
|
+
declare const GetGroupNotificationsInput: z.ZodObject<{
|
|
3135
|
+
start_notification_seq: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3136
|
+
is_filtered: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>, z.ZodTransform<boolean, boolean | null>>;
|
|
3137
|
+
limit: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>, z.ZodTransform<number, number | null>>;
|
|
3138
|
+
}, z.core.$strip>;
|
|
3139
|
+
declare const GetGroupNotificationsOutput: z.ZodObject<{
|
|
3140
|
+
notifications: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3141
|
+
type: z.ZodLiteral<"join_request">;
|
|
3142
|
+
group_id: z.ZodNumber;
|
|
3143
|
+
notification_seq: z.ZodNumber;
|
|
3144
|
+
is_filtered: z.ZodBoolean;
|
|
3145
|
+
initiator_id: z.ZodNumber;
|
|
3146
|
+
state: z.ZodEnum<{
|
|
3147
|
+
pending: "pending";
|
|
3148
|
+
accepted: "accepted";
|
|
3149
|
+
rejected: "rejected";
|
|
3150
|
+
ignored: "ignored";
|
|
3151
|
+
}>;
|
|
3152
|
+
operator_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3153
|
+
comment: z.ZodString;
|
|
3154
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3155
|
+
type: z.ZodLiteral<"admin_change">;
|
|
3156
|
+
group_id: z.ZodNumber;
|
|
3157
|
+
notification_seq: z.ZodNumber;
|
|
3158
|
+
target_user_id: z.ZodNumber;
|
|
3159
|
+
is_set: z.ZodBoolean;
|
|
3160
|
+
operator_id: z.ZodNumber;
|
|
3161
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3162
|
+
type: z.ZodLiteral<"kick">;
|
|
3163
|
+
group_id: z.ZodNumber;
|
|
3164
|
+
notification_seq: z.ZodNumber;
|
|
3165
|
+
target_user_id: z.ZodNumber;
|
|
3166
|
+
operator_id: z.ZodNumber;
|
|
3167
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3168
|
+
type: z.ZodLiteral<"quit">;
|
|
3169
|
+
group_id: z.ZodNumber;
|
|
3170
|
+
notification_seq: z.ZodNumber;
|
|
3171
|
+
target_user_id: z.ZodNumber;
|
|
3172
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3173
|
+
type: z.ZodLiteral<"invited_join_request">;
|
|
3174
|
+
group_id: z.ZodNumber;
|
|
3175
|
+
notification_seq: z.ZodNumber;
|
|
3176
|
+
initiator_id: z.ZodNumber;
|
|
3177
|
+
target_user_id: z.ZodNumber;
|
|
3178
|
+
state: z.ZodEnum<{
|
|
3179
|
+
pending: "pending";
|
|
3180
|
+
accepted: "accepted";
|
|
3181
|
+
rejected: "rejected";
|
|
3182
|
+
ignored: "ignored";
|
|
3183
|
+
}>;
|
|
3184
|
+
operator_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3185
|
+
}, z.core.$strip>], "type">>>;
|
|
3186
|
+
next_notification_seq: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3187
|
+
}, z.core.$strip>;
|
|
3188
|
+
declare const AcceptGroupRequestInput: z.ZodObject<{
|
|
3189
|
+
notification_seq: z.ZodNumber;
|
|
3190
|
+
notification_type: z.ZodEnum<{
|
|
3191
|
+
join_request: "join_request";
|
|
3192
|
+
invited_join_request: "invited_join_request";
|
|
3193
|
+
}>;
|
|
3194
|
+
group_id: z.ZodNumber;
|
|
3195
|
+
is_filtered: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>, z.ZodTransform<boolean, boolean | null>>;
|
|
3196
|
+
}, z.core.$strip>;
|
|
3197
|
+
declare const RejectGroupRequestInput: z.ZodObject<{
|
|
3198
|
+
notification_seq: z.ZodNumber;
|
|
3199
|
+
notification_type: z.ZodEnum<{
|
|
3200
|
+
join_request: "join_request";
|
|
3201
|
+
invited_join_request: "invited_join_request";
|
|
3202
|
+
}>;
|
|
3203
|
+
group_id: z.ZodNumber;
|
|
3204
|
+
is_filtered: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>, z.ZodTransform<boolean, boolean | null>>;
|
|
3205
|
+
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3206
|
+
}, z.core.$strip>;
|
|
3207
|
+
declare const AcceptGroupInvitationInput: z.ZodObject<{
|
|
3208
|
+
group_id: z.ZodNumber;
|
|
3209
|
+
invitation_seq: z.ZodNumber;
|
|
3210
|
+
}, z.core.$strip>;
|
|
3211
|
+
declare const RejectGroupInvitationInput: z.ZodObject<{
|
|
3212
|
+
group_id: z.ZodNumber;
|
|
3213
|
+
invitation_seq: z.ZodNumber;
|
|
3214
|
+
}, z.core.$strip>;
|
|
3215
|
+
type SetGroupNameInput = z.infer<typeof SetGroupNameInput>;
|
|
3216
|
+
type SetGroupAvatarInput = z.infer<typeof SetGroupAvatarInput>;
|
|
3217
|
+
type SetGroupMemberCardInput = z.infer<typeof SetGroupMemberCardInput>;
|
|
3218
|
+
type SetGroupMemberSpecialTitleInput = z.infer<typeof SetGroupMemberSpecialTitleInput>;
|
|
3219
|
+
type SetGroupMemberAdminInput = z.infer<typeof SetGroupMemberAdminInput>;
|
|
3220
|
+
type SetGroupMemberMuteInput = z.infer<typeof SetGroupMemberMuteInput>;
|
|
3221
|
+
type SetGroupWholeMuteInput = z.infer<typeof SetGroupWholeMuteInput>;
|
|
3222
|
+
type KickGroupMemberInput = z.infer<typeof KickGroupMemberInput>;
|
|
3223
|
+
type GetGroupAnnouncementsInput = z.infer<typeof GetGroupAnnouncementsInput>;
|
|
3224
|
+
type GetGroupAnnouncementsOutput = z.infer<typeof GetGroupAnnouncementsOutput>;
|
|
3225
|
+
type SendGroupAnnouncementInput = z.infer<typeof SendGroupAnnouncementInput>;
|
|
3226
|
+
type DeleteGroupAnnouncementInput = z.infer<typeof DeleteGroupAnnouncementInput>;
|
|
3227
|
+
type GetGroupEssenceMessagesInput = z.infer<typeof GetGroupEssenceMessagesInput>;
|
|
3228
|
+
type GetGroupEssenceMessagesOutput = z.infer<typeof GetGroupEssenceMessagesOutput>;
|
|
3229
|
+
type SetGroupEssenceMessageInput = z.infer<typeof SetGroupEssenceMessageInput>;
|
|
3230
|
+
type QuitGroupInput = z.infer<typeof QuitGroupInput>;
|
|
3231
|
+
type SendGroupMessageReactionInput = z.infer<typeof SendGroupMessageReactionInput>;
|
|
3232
|
+
type SendGroupNudgeInput = z.infer<typeof SendGroupNudgeInput>;
|
|
3233
|
+
type GetGroupNotificationsInput = z.infer<typeof GetGroupNotificationsInput>;
|
|
3234
|
+
type GetGroupNotificationsOutput = z.infer<typeof GetGroupNotificationsOutput>;
|
|
3235
|
+
type AcceptGroupRequestInput = z.infer<typeof AcceptGroupRequestInput>;
|
|
3236
|
+
type RejectGroupRequestInput = z.infer<typeof RejectGroupRequestInput>;
|
|
3237
|
+
type AcceptGroupInvitationInput = z.infer<typeof AcceptGroupInvitationInput>;
|
|
3238
|
+
type RejectGroupInvitationInput = z.infer<typeof RejectGroupInvitationInput>;
|
|
3239
|
+
//#endregion
|
|
3240
|
+
//#region src/api/file.d.ts
|
|
3241
|
+
declare const UploadPrivateFileInput: z.ZodObject<{
|
|
3242
|
+
user_id: z.ZodNumber;
|
|
3243
|
+
file_uri: z.ZodString;
|
|
3244
|
+
file_name: z.ZodString;
|
|
3245
|
+
}, z.core.$strip>;
|
|
3246
|
+
declare const UploadPrivateFileOutput: z.ZodObject<{
|
|
3247
|
+
file_id: z.ZodString;
|
|
3248
|
+
}, z.core.$strip>;
|
|
3249
|
+
declare const UploadGroupFileInput: z.ZodObject<{
|
|
3250
|
+
group_id: z.ZodNumber;
|
|
3251
|
+
parent_folder_id: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>, z.ZodTransform<string, string | null>>;
|
|
3252
|
+
file_uri: z.ZodString;
|
|
3253
|
+
file_name: z.ZodString;
|
|
3254
|
+
}, z.core.$strip>;
|
|
3255
|
+
declare const UploadGroupFileOutput: z.ZodObject<{
|
|
3256
|
+
file_id: z.ZodString;
|
|
3257
|
+
}, z.core.$strip>;
|
|
3258
|
+
declare const GetPrivateFileDownloadUrlInput: z.ZodObject<{
|
|
3259
|
+
user_id: z.ZodNumber;
|
|
3260
|
+
file_id: z.ZodString;
|
|
3261
|
+
file_hash: z.ZodString;
|
|
3262
|
+
}, z.core.$strip>;
|
|
3263
|
+
declare const GetPrivateFileDownloadUrlOutput: z.ZodObject<{
|
|
3264
|
+
download_url: z.ZodString;
|
|
3265
|
+
}, z.core.$strip>;
|
|
3266
|
+
declare const GetGroupFileDownloadUrlInput: z.ZodObject<{
|
|
3267
|
+
group_id: z.ZodNumber;
|
|
3268
|
+
file_id: z.ZodString;
|
|
3269
|
+
}, z.core.$strip>;
|
|
3270
|
+
declare const GetGroupFileDownloadUrlOutput: z.ZodObject<{
|
|
3271
|
+
download_url: z.ZodString;
|
|
3272
|
+
}, z.core.$strip>;
|
|
3273
|
+
declare const GetGroupFilesInput: z.ZodObject<{
|
|
3274
|
+
group_id: z.ZodNumber;
|
|
3275
|
+
parent_folder_id: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>, z.ZodTransform<string, string | null>>;
|
|
3276
|
+
}, z.core.$strip>;
|
|
3277
|
+
declare const GetGroupFilesOutput: z.ZodObject<{
|
|
3278
|
+
files: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
3279
|
+
group_id: z.ZodNumber;
|
|
3280
|
+
file_id: z.ZodString;
|
|
3281
|
+
file_name: z.ZodString;
|
|
3282
|
+
parent_folder_id: z.ZodString;
|
|
3283
|
+
file_size: z.ZodNumber;
|
|
3284
|
+
uploaded_time: z.ZodNumber;
|
|
3285
|
+
expire_time: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3286
|
+
uploader_id: z.ZodNumber;
|
|
3287
|
+
downloaded_times: z.ZodNumber;
|
|
3288
|
+
}, z.core.$strip>>>;
|
|
3289
|
+
folders: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
3290
|
+
group_id: z.ZodNumber;
|
|
3291
|
+
folder_id: z.ZodString;
|
|
3292
|
+
parent_folder_id: z.ZodString;
|
|
3293
|
+
folder_name: z.ZodString;
|
|
3294
|
+
created_time: z.ZodNumber;
|
|
3295
|
+
last_modified_time: z.ZodNumber;
|
|
3296
|
+
creator_id: z.ZodNumber;
|
|
3297
|
+
file_count: z.ZodNumber;
|
|
3298
|
+
}, z.core.$strip>>>;
|
|
3299
|
+
}, z.core.$strip>;
|
|
3300
|
+
declare const MoveGroupFileInput: z.ZodObject<{
|
|
3301
|
+
group_id: z.ZodNumber;
|
|
3302
|
+
file_id: z.ZodString;
|
|
3303
|
+
parent_folder_id: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>, z.ZodTransform<string, string | null>>;
|
|
3304
|
+
target_folder_id: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>, z.ZodTransform<string, string | null>>;
|
|
3305
|
+
}, z.core.$strip>;
|
|
3306
|
+
declare const RenameGroupFileInput: z.ZodObject<{
|
|
3307
|
+
group_id: z.ZodNumber;
|
|
3308
|
+
file_id: z.ZodString;
|
|
3309
|
+
parent_folder_id: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>, z.ZodTransform<string, string | null>>;
|
|
3310
|
+
new_file_name: z.ZodString;
|
|
3311
|
+
}, z.core.$strip>;
|
|
3312
|
+
declare const DeleteGroupFileInput: z.ZodObject<{
|
|
3313
|
+
group_id: z.ZodNumber;
|
|
3314
|
+
file_id: z.ZodString;
|
|
3315
|
+
}, z.core.$strip>;
|
|
3316
|
+
declare const CreateGroupFolderInput: z.ZodObject<{
|
|
3317
|
+
group_id: z.ZodNumber;
|
|
3318
|
+
folder_name: z.ZodString;
|
|
3319
|
+
}, z.core.$strip>;
|
|
3320
|
+
declare const CreateGroupFolderOutput: z.ZodObject<{
|
|
3321
|
+
folder_id: z.ZodString;
|
|
3322
|
+
}, z.core.$strip>;
|
|
3323
|
+
declare const RenameGroupFolderInput: z.ZodObject<{
|
|
3324
|
+
group_id: z.ZodNumber;
|
|
3325
|
+
folder_id: z.ZodString;
|
|
3326
|
+
new_folder_name: z.ZodString;
|
|
3327
|
+
}, z.core.$strip>;
|
|
3328
|
+
declare const DeleteGroupFolderInput: z.ZodObject<{
|
|
3329
|
+
group_id: z.ZodNumber;
|
|
3330
|
+
folder_id: z.ZodString;
|
|
3331
|
+
}, z.core.$strip>;
|
|
3332
|
+
type UploadPrivateFileInput = z.infer<typeof UploadPrivateFileInput>;
|
|
3333
|
+
type UploadPrivateFileOutput = z.infer<typeof UploadPrivateFileOutput>;
|
|
3334
|
+
type UploadGroupFileInput = z.infer<typeof UploadGroupFileInput>;
|
|
3335
|
+
type UploadGroupFileOutput = z.infer<typeof UploadGroupFileOutput>;
|
|
3336
|
+
type GetPrivateFileDownloadUrlInput = z.infer<typeof GetPrivateFileDownloadUrlInput>;
|
|
3337
|
+
type GetPrivateFileDownloadUrlOutput = z.infer<typeof GetPrivateFileDownloadUrlOutput>;
|
|
3338
|
+
type GetGroupFileDownloadUrlInput = z.infer<typeof GetGroupFileDownloadUrlInput>;
|
|
3339
|
+
type GetGroupFileDownloadUrlOutput = z.infer<typeof GetGroupFileDownloadUrlOutput>;
|
|
3340
|
+
type GetGroupFilesInput = z.infer<typeof GetGroupFilesInput>;
|
|
3341
|
+
type GetGroupFilesOutput = z.infer<typeof GetGroupFilesOutput>;
|
|
3342
|
+
type MoveGroupFileInput = z.infer<typeof MoveGroupFileInput>;
|
|
3343
|
+
type RenameGroupFileInput = z.infer<typeof RenameGroupFileInput>;
|
|
3344
|
+
type DeleteGroupFileInput = z.infer<typeof DeleteGroupFileInput>;
|
|
3345
|
+
type CreateGroupFolderInput = z.infer<typeof CreateGroupFolderInput>;
|
|
3346
|
+
type CreateGroupFolderOutput = z.infer<typeof CreateGroupFolderOutput>;
|
|
3347
|
+
type RenameGroupFolderInput = z.infer<typeof RenameGroupFolderInput>;
|
|
3348
|
+
type DeleteGroupFolderInput = z.infer<typeof DeleteGroupFolderInput>;
|
|
3349
|
+
//#endregion
|
|
3350
|
+
//#region src/constants.d.ts
|
|
3351
|
+
declare const milkyPackageVersion: string;
|
|
3352
|
+
declare const milkyVersion: string;
|
|
3353
|
+
declare namespace index_d_exports {
|
|
3354
|
+
export { AcceptFriendRequestInput, AcceptGroupInvitationInput, AcceptGroupRequestInput, BotOfflineEvent, CreateGroupFolderInput, CreateGroupFolderOutput, DeleteFriendInput, DeleteGroupAnnouncementInput, DeleteGroupFileInput, DeleteGroupFolderInput, Event, FriendCategoryEntity, FriendEntity, FriendFileUploadEvent, FriendNudgeEvent, FriendRequest, FriendRequestEvent, GetCSRFTokenOutput, GetCookiesInput, GetCookiesOutput, GetCustomFaceUrlListOutput, GetForwardedMessagesInput, GetForwardedMessagesOutput, GetFriendInfoInput, GetFriendInfoOutput, GetFriendListInput, GetFriendListOutput, GetFriendRequestsInput, GetFriendRequestsOutput, GetGroupAnnouncementsInput, GetGroupAnnouncementsOutput, GetGroupEssenceMessagesInput, GetGroupEssenceMessagesOutput, GetGroupFileDownloadUrlInput, GetGroupFileDownloadUrlOutput, GetGroupFilesInput, GetGroupFilesOutput, GetGroupInfoInput, GetGroupInfoOutput, GetGroupListInput, GetGroupListOutput, GetGroupMemberInfoInput, GetGroupMemberInfoOutput, GetGroupMemberListInput, GetGroupMemberListOutput, GetGroupNotificationsInput, GetGroupNotificationsOutput, GetHistoryMessagesInput, GetHistoryMessagesOutput, GetImplInfoOutput, GetLoginInfoOutput, GetMessageInput, GetMessageOutput, GetPrivateFileDownloadUrlInput, GetPrivateFileDownloadUrlOutput, GetResourceTempUrlInput, GetResourceTempUrlOutput, GetUserProfileInput, GetUserProfileOutput, GroupAdminChangeEvent, GroupAnnouncementEntity, GroupEntity, GroupEssenceMessage, GroupEssenceMessageChangeEvent, GroupFileEntity, GroupFileUploadEvent, GroupFolderEntity, GroupInvitationEvent, GroupInvitedJoinRequestEvent, GroupJoinRequestEvent, GroupMemberDecreaseEvent, GroupMemberEntity, GroupMemberIncreaseEvent, GroupMessageReactionEvent, GroupMuteEvent, GroupNameChangeEvent, GroupNotification, GroupNudgeEvent, GroupWholeMuteEvent, IncomingForwardedMessage, IncomingMessage, IncomingResourceSegmentBase, IncomingSegment, KickGroupMemberInput, MarkMessageAsReadInput, MessageRecallEvent, MoveGroupFileInput, OutgoingForwardedMessage, OutgoingResourceSegmentBase, OutgoingSegment, QuitGroupInput, RecallGroupMessageInput, RecallPrivateMessageInput, RejectFriendRequestInput, RejectGroupInvitationInput, RejectGroupRequestInput, RenameGroupFileInput, RenameGroupFolderInput, SendFriendNudgeInput, SendGroupAnnouncementInput, SendGroupMessageInput, SendGroupMessageOutput, SendGroupMessageReactionInput, SendGroupNudgeInput, SendPrivateMessageInput, SendPrivateMessageOutput, SendProfileLikeInput, SetAvatarInput, SetBioInput, SetGroupAvatarInput, SetGroupEssenceMessageInput, SetGroupMemberAdminInput, SetGroupMemberCardInput, SetGroupMemberMuteInput, SetGroupMemberSpecialTitleInput, SetGroupNameInput, SetGroupWholeMuteInput, SetNicknameInput, UploadGroupFileInput, UploadGroupFileOutput, UploadPrivateFileInput, UploadPrivateFileOutput, ZBoolean, ZBooleanWithDefault, ZInt32, ZInt32WithDefault, ZInt64, ZInt64WithDefault, ZString, ZStringWithDefault, ZUin, milkyPackageVersion, milkyVersion };
|
|
3355
|
+
}
|
|
3356
|
+
//#endregion
|
|
3357
|
+
export { GetForwardedMessagesOutput as $, GroupWholeMuteEvent as $t, KickGroupMemberInput as A, GetLoginInfoOutput as At, SetGroupMemberCardInput as B, FriendRequestEvent as Bt, DeleteGroupAnnouncementInput as C, ZInt64WithDefault as Cn, GetGroupListInput as Ct, GetGroupEssenceMessagesOutput as D, GetGroupMemberListInput as Dt, GetGroupEssenceMessagesInput as E, ZUin as En, GetGroupMemberInfoOutput as Et, SendGroupMessageReactionInput as F, SetNicknameInput as Ft, AcceptFriendRequestInput as G, GroupInvitedJoinRequestEvent as Gt, SetGroupMemberSpecialTitleInput as H, GroupEssenceMessageChangeEvent as Ht, SendGroupNudgeInput as I, BotOfflineEvent as It, GetFriendRequestsOutput as J, GroupMemberIncreaseEvent as Jt, DeleteFriendInput as K, GroupJoinRequestEvent as Kt, SetGroupAvatarInput as L, Event as Lt, RejectGroupInvitationInput as M, GetUserProfileOutput as Mt, RejectGroupRequestInput as N, SetAvatarInput as Nt, GetGroupNotificationsInput as O, GetGroupMemberListOutput as Ot, SendGroupAnnouncementInput as P, SetBioInput as Pt, GetForwardedMessagesInput as Q, GroupNudgeEvent as Qt, SetGroupEssenceMessageInput as R, FriendFileUploadEvent as Rt, AcceptGroupRequestInput as S, ZInt64 as Sn, GetGroupInfoOutput as St, GetGroupAnnouncementsOutput as T, ZStringWithDefault as Tn, GetGroupMemberInfoInput as Tt, SetGroupNameInput as U, GroupFileUploadEvent as Ut, SetGroupMemberMuteInput as V, GroupAdminChangeEvent as Vt, SetGroupWholeMuteInput as W, GroupInvitationEvent as Wt, SendFriendNudgeInput as X, GroupMuteEvent as Xt, RejectFriendRequestInput as Y, GroupMessageReactionEvent as Yt, SendProfileLikeInput as Z, GroupNameChangeEvent as Zt, UploadGroupFileInput as _, GroupNotification as _n, GetFriendInfoInput as _t, CreateGroupFolderOutput as a, IncomingSegment as an, GetResourceTempUrlOutput as at, UploadPrivateFileOutput as b, ZInt32 as bn, GetFriendListOutput as bt, GetGroupFileDownloadUrlInput as c, OutgoingSegment as cn, RecallPrivateMessageInput as ct, GetGroupFilesOutput as d, FriendRequest as dn, SendPrivateMessageInput as dt, MessageRecallEvent as en, GetHistoryMessagesInput as et, GetPrivateFileDownloadUrlInput as f, GroupAnnouncementEntity as fn, SendPrivateMessageOutput as ft, RenameGroupFolderInput as g, GroupMemberEntity as gn, GetCustomFaceUrlListOutput as gt, RenameGroupFileInput as h, GroupFolderEntity as hn, GetCookiesOutput as ht, CreateGroupFolderInput as i, IncomingResourceSegmentBase as in, GetResourceTempUrlInput as it, QuitGroupInput as j, GetUserProfileInput as jt, GetGroupNotificationsOutput as k, GetImplInfoOutput as kt, GetGroupFileDownloadUrlOutput as l, FriendCategoryEntity as ln, SendGroupMessageInput as lt, MoveGroupFileInput as m, GroupFileEntity as mn, GetCookiesInput as mt, milkyPackageVersion as n, IncomingForwardedMessage as nn, GetMessageInput as nt, DeleteGroupFileInput as o, OutgoingForwardedMessage as on, MarkMessageAsReadInput as ot, GetPrivateFileDownloadUrlOutput as p, GroupEntity as pn, GetCSRFTokenOutput as pt, GetFriendRequestsInput as q, GroupMemberDecreaseEvent as qt, milkyVersion as r, IncomingMessage as rn, GetMessageOutput as rt, DeleteGroupFolderInput as s, OutgoingResourceSegmentBase as sn, RecallGroupMessageInput as st, index_d_exports as t, GroupEssenceMessage as tn, GetHistoryMessagesOutput as tt, GetGroupFilesInput as u, FriendEntity as un, SendGroupMessageOutput as ut, UploadGroupFileOutput as v, ZBoolean as vn, GetFriendInfoOutput as vt, GetGroupAnnouncementsInput as w, ZString as wn, GetGroupListOutput as wt, AcceptGroupInvitationInput as x, ZInt32WithDefault as xn, GetGroupInfoInput as xt, UploadPrivateFileInput as y, ZBooleanWithDefault as yn, GetFriendListInput as yt, SetGroupMemberAdminInput as z, FriendNudgeEvent as zt };
|
|
3358
|
+
//# sourceMappingURL=index-DDpuCo8n.d.mts.map
|