@saltify/milky-types 1.1.0-rc.6 → 1.2.0-rc.1
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/{index-DRIK9fKk.d.mts → index-V6xmB-C1.d.mts} +1703 -42
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +70 -12
- package/dist/index.mjs.map +1 -1
- package/dist/namings.d.mts +20 -0
- package/dist/{api-endpoints.mjs → namings.mjs} +157 -140
- package/dist/namings.mjs.map +1 -0
- package/package.json +5 -5
- package/dist/api-endpoints.d.mts +0 -19
- package/dist/api-endpoints.mjs.map +0 -1
|
@@ -169,7 +169,7 @@ declare const IncomingResourceSegmentBase: z.ZodObject<{
|
|
|
169
169
|
declare const OutgoingResourceSegmentBase: z.ZodObject<{
|
|
170
170
|
uri: z.ZodString;
|
|
171
171
|
}, z.core.$strip>;
|
|
172
|
-
declare const IncomingSegment: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
172
|
+
declare const IncomingSegment: z.ZodCatch<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
173
173
|
type: z.ZodLiteral<"text">;
|
|
174
174
|
data: z.ZodObject<{
|
|
175
175
|
text: z.ZodString;
|
|
@@ -178,6 +178,7 @@ declare const IncomingSegment: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
178
178
|
type: z.ZodLiteral<"mention">;
|
|
179
179
|
data: z.ZodObject<{
|
|
180
180
|
user_id: z.ZodNumber;
|
|
181
|
+
name: z.ZodString;
|
|
181
182
|
}, z.core.$strip>;
|
|
182
183
|
}, z.core.$strip>, z.ZodObject<{
|
|
183
184
|
type: z.ZodLiteral<"mention_all">;
|
|
@@ -192,6 +193,96 @@ declare const IncomingSegment: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
192
193
|
type: z.ZodLiteral<"reply">;
|
|
193
194
|
data: z.ZodObject<{
|
|
194
195
|
message_seq: z.ZodNumber;
|
|
196
|
+
sender_id: z.ZodNumber;
|
|
197
|
+
sender_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
198
|
+
time: z.ZodNumber;
|
|
199
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodCatch<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
200
|
+
type: z.ZodLiteral<"text">;
|
|
201
|
+
data: z.ZodObject<{
|
|
202
|
+
text: z.ZodString;
|
|
203
|
+
}, z.core.$strip>;
|
|
204
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
205
|
+
type: z.ZodLiteral<"mention">;
|
|
206
|
+
data: z.ZodObject<{
|
|
207
|
+
user_id: z.ZodNumber;
|
|
208
|
+
name: z.ZodString;
|
|
209
|
+
}, z.core.$strip>;
|
|
210
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
211
|
+
type: z.ZodLiteral<"mention_all">;
|
|
212
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
213
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
214
|
+
type: z.ZodLiteral<"face">;
|
|
215
|
+
data: z.ZodObject<{
|
|
216
|
+
face_id: z.ZodString;
|
|
217
|
+
is_large: z.ZodBoolean;
|
|
218
|
+
}, z.core.$strip>;
|
|
219
|
+
}, z.core.$strip>, z.ZodObject< /*elided*/any, z.core.$strip>, z.ZodObject<{
|
|
220
|
+
type: z.ZodLiteral<"image">;
|
|
221
|
+
data: z.ZodObject<{
|
|
222
|
+
resource_id: z.ZodString;
|
|
223
|
+
temp_url: z.ZodString;
|
|
224
|
+
width: z.ZodNumber;
|
|
225
|
+
height: z.ZodNumber;
|
|
226
|
+
summary: z.ZodString;
|
|
227
|
+
sub_type: z.ZodEnum<{
|
|
228
|
+
normal: "normal";
|
|
229
|
+
sticker: "sticker";
|
|
230
|
+
}>;
|
|
231
|
+
}, z.core.$strip>;
|
|
232
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
233
|
+
type: z.ZodLiteral<"record">;
|
|
234
|
+
data: z.ZodObject<{
|
|
235
|
+
resource_id: z.ZodString;
|
|
236
|
+
temp_url: z.ZodString;
|
|
237
|
+
duration: z.ZodNumber;
|
|
238
|
+
}, z.core.$strip>;
|
|
239
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
240
|
+
type: z.ZodLiteral<"video">;
|
|
241
|
+
data: z.ZodObject<{
|
|
242
|
+
resource_id: z.ZodString;
|
|
243
|
+
temp_url: z.ZodString;
|
|
244
|
+
width: z.ZodNumber;
|
|
245
|
+
height: z.ZodNumber;
|
|
246
|
+
duration: z.ZodNumber;
|
|
247
|
+
}, z.core.$strip>;
|
|
248
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
249
|
+
type: z.ZodLiteral<"file">;
|
|
250
|
+
data: z.ZodObject<{
|
|
251
|
+
file_id: z.ZodString;
|
|
252
|
+
file_name: z.ZodString;
|
|
253
|
+
file_size: z.ZodNumber;
|
|
254
|
+
file_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
255
|
+
}, z.core.$strip>;
|
|
256
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
257
|
+
type: z.ZodLiteral<"forward">;
|
|
258
|
+
data: z.ZodObject<{
|
|
259
|
+
forward_id: z.ZodString;
|
|
260
|
+
title: z.ZodString;
|
|
261
|
+
preview: z.ZodArray<z.ZodString>;
|
|
262
|
+
summary: z.ZodString;
|
|
263
|
+
}, z.core.$strip>;
|
|
264
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
265
|
+
type: z.ZodLiteral<"market_face">;
|
|
266
|
+
data: z.ZodObject<{
|
|
267
|
+
emoji_package_id: z.ZodNumber;
|
|
268
|
+
emoji_id: z.ZodString;
|
|
269
|
+
key: z.ZodString;
|
|
270
|
+
summary: z.ZodString;
|
|
271
|
+
url: z.ZodString;
|
|
272
|
+
}, z.core.$strip>;
|
|
273
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
274
|
+
type: z.ZodLiteral<"light_app">;
|
|
275
|
+
data: z.ZodObject<{
|
|
276
|
+
app_name: z.ZodString;
|
|
277
|
+
json_payload: z.ZodString;
|
|
278
|
+
}, z.core.$strip>;
|
|
279
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
280
|
+
type: z.ZodLiteral<"xml">;
|
|
281
|
+
data: z.ZodObject<{
|
|
282
|
+
service_id: z.ZodNumber;
|
|
283
|
+
xml_payload: z.ZodString;
|
|
284
|
+
}, z.core.$strip>;
|
|
285
|
+
}, z.core.$strip>], "type">>>>;
|
|
195
286
|
}, z.core.$strip>;
|
|
196
287
|
}, z.core.$strip>, z.ZodObject<{
|
|
197
288
|
type: z.ZodLiteral<"image">;
|
|
@@ -259,12 +350,13 @@ declare const IncomingSegment: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
259
350
|
service_id: z.ZodNumber;
|
|
260
351
|
xml_payload: z.ZodString;
|
|
261
352
|
}, z.core.$strip>;
|
|
262
|
-
}, z.core.$strip>], "type"
|
|
353
|
+
}, z.core.$strip>], "type">>;
|
|
263
354
|
declare const IncomingForwardedMessage: z.ZodObject<{
|
|
355
|
+
message_seq: z.ZodNumber;
|
|
264
356
|
sender_name: z.ZodString;
|
|
265
357
|
avatar_url: z.ZodString;
|
|
266
358
|
time: z.ZodNumber;
|
|
267
|
-
segments: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
359
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodCatch<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
268
360
|
type: z.ZodLiteral<"text">;
|
|
269
361
|
data: z.ZodObject<{
|
|
270
362
|
text: z.ZodString;
|
|
@@ -273,6 +365,7 @@ declare const IncomingForwardedMessage: z.ZodObject<{
|
|
|
273
365
|
type: z.ZodLiteral<"mention">;
|
|
274
366
|
data: z.ZodObject<{
|
|
275
367
|
user_id: z.ZodNumber;
|
|
368
|
+
name: z.ZodString;
|
|
276
369
|
}, z.core.$strip>;
|
|
277
370
|
}, z.core.$strip>, z.ZodObject<{
|
|
278
371
|
type: z.ZodLiteral<"mention_all">;
|
|
@@ -287,6 +380,96 @@ declare const IncomingForwardedMessage: z.ZodObject<{
|
|
|
287
380
|
type: z.ZodLiteral<"reply">;
|
|
288
381
|
data: z.ZodObject<{
|
|
289
382
|
message_seq: z.ZodNumber;
|
|
383
|
+
sender_id: z.ZodNumber;
|
|
384
|
+
sender_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
385
|
+
time: z.ZodNumber;
|
|
386
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodCatch<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
387
|
+
type: z.ZodLiteral<"text">;
|
|
388
|
+
data: z.ZodObject<{
|
|
389
|
+
text: z.ZodString;
|
|
390
|
+
}, z.core.$strip>;
|
|
391
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
392
|
+
type: z.ZodLiteral<"mention">;
|
|
393
|
+
data: z.ZodObject<{
|
|
394
|
+
user_id: z.ZodNumber;
|
|
395
|
+
name: z.ZodString;
|
|
396
|
+
}, z.core.$strip>;
|
|
397
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
398
|
+
type: z.ZodLiteral<"mention_all">;
|
|
399
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
400
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
401
|
+
type: z.ZodLiteral<"face">;
|
|
402
|
+
data: z.ZodObject<{
|
|
403
|
+
face_id: z.ZodString;
|
|
404
|
+
is_large: z.ZodBoolean;
|
|
405
|
+
}, z.core.$strip>;
|
|
406
|
+
}, z.core.$strip>, z.ZodObject< /*elided*/any, z.core.$strip>, z.ZodObject<{
|
|
407
|
+
type: z.ZodLiteral<"image">;
|
|
408
|
+
data: z.ZodObject<{
|
|
409
|
+
resource_id: z.ZodString;
|
|
410
|
+
temp_url: z.ZodString;
|
|
411
|
+
width: z.ZodNumber;
|
|
412
|
+
height: z.ZodNumber;
|
|
413
|
+
summary: z.ZodString;
|
|
414
|
+
sub_type: z.ZodEnum<{
|
|
415
|
+
normal: "normal";
|
|
416
|
+
sticker: "sticker";
|
|
417
|
+
}>;
|
|
418
|
+
}, z.core.$strip>;
|
|
419
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
420
|
+
type: z.ZodLiteral<"record">;
|
|
421
|
+
data: z.ZodObject<{
|
|
422
|
+
resource_id: z.ZodString;
|
|
423
|
+
temp_url: z.ZodString;
|
|
424
|
+
duration: z.ZodNumber;
|
|
425
|
+
}, z.core.$strip>;
|
|
426
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
427
|
+
type: z.ZodLiteral<"video">;
|
|
428
|
+
data: z.ZodObject<{
|
|
429
|
+
resource_id: z.ZodString;
|
|
430
|
+
temp_url: z.ZodString;
|
|
431
|
+
width: z.ZodNumber;
|
|
432
|
+
height: z.ZodNumber;
|
|
433
|
+
duration: z.ZodNumber;
|
|
434
|
+
}, z.core.$strip>;
|
|
435
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
436
|
+
type: z.ZodLiteral<"file">;
|
|
437
|
+
data: z.ZodObject<{
|
|
438
|
+
file_id: z.ZodString;
|
|
439
|
+
file_name: z.ZodString;
|
|
440
|
+
file_size: z.ZodNumber;
|
|
441
|
+
file_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
442
|
+
}, z.core.$strip>;
|
|
443
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
444
|
+
type: z.ZodLiteral<"forward">;
|
|
445
|
+
data: z.ZodObject<{
|
|
446
|
+
forward_id: z.ZodString;
|
|
447
|
+
title: z.ZodString;
|
|
448
|
+
preview: z.ZodArray<z.ZodString>;
|
|
449
|
+
summary: z.ZodString;
|
|
450
|
+
}, z.core.$strip>;
|
|
451
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
452
|
+
type: z.ZodLiteral<"market_face">;
|
|
453
|
+
data: z.ZodObject<{
|
|
454
|
+
emoji_package_id: z.ZodNumber;
|
|
455
|
+
emoji_id: z.ZodString;
|
|
456
|
+
key: z.ZodString;
|
|
457
|
+
summary: z.ZodString;
|
|
458
|
+
url: z.ZodString;
|
|
459
|
+
}, z.core.$strip>;
|
|
460
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
461
|
+
type: z.ZodLiteral<"light_app">;
|
|
462
|
+
data: z.ZodObject<{
|
|
463
|
+
app_name: z.ZodString;
|
|
464
|
+
json_payload: z.ZodString;
|
|
465
|
+
}, z.core.$strip>;
|
|
466
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
467
|
+
type: z.ZodLiteral<"xml">;
|
|
468
|
+
data: z.ZodObject<{
|
|
469
|
+
service_id: z.ZodNumber;
|
|
470
|
+
xml_payload: z.ZodString;
|
|
471
|
+
}, z.core.$strip>;
|
|
472
|
+
}, z.core.$strip>], "type">>>>;
|
|
290
473
|
}, z.core.$strip>;
|
|
291
474
|
}, z.core.$strip>, z.ZodObject<{
|
|
292
475
|
type: z.ZodLiteral<"image">;
|
|
@@ -354,7 +537,7 @@ declare const IncomingForwardedMessage: z.ZodObject<{
|
|
|
354
537
|
service_id: z.ZodNumber;
|
|
355
538
|
xml_payload: z.ZodString;
|
|
356
539
|
}, z.core.$strip>;
|
|
357
|
-
}, z.core.$strip>], "type"
|
|
540
|
+
}, z.core.$strip>], "type">>>>;
|
|
358
541
|
}, z.core.$strip>;
|
|
359
542
|
declare const OutgoingSegment: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
360
543
|
type: z.ZodLiteral<"text">;
|
|
@@ -452,8 +635,22 @@ declare const OutgoingSegment: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
452
635
|
uri: z.ZodString;
|
|
453
636
|
thumb_uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
454
637
|
}, z.core.$strip>;
|
|
455
|
-
}, z.core.$strip>, z.ZodObject< /*elided*/any, z.core.$strip
|
|
638
|
+
}, z.core.$strip>, z.ZodObject< /*elided*/any, z.core.$strip>, z.ZodObject<{
|
|
639
|
+
type: z.ZodLiteral<"light_app">;
|
|
640
|
+
data: z.ZodObject<{
|
|
641
|
+
json_payload: z.ZodString;
|
|
642
|
+
}, z.core.$strip>;
|
|
643
|
+
}, z.core.$strip>], "type">>>;
|
|
456
644
|
}, z.core.$strip>>>;
|
|
645
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
646
|
+
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
647
|
+
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
648
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
649
|
+
}, z.core.$strip>;
|
|
650
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
651
|
+
type: z.ZodLiteral<"light_app">;
|
|
652
|
+
data: z.ZodObject<{
|
|
653
|
+
json_payload: z.ZodString;
|
|
457
654
|
}, z.core.$strip>;
|
|
458
655
|
}, z.core.$strip>], "type">;
|
|
459
656
|
declare const OutgoingForwardedMessage: z.ZodObject<{
|
|
@@ -508,6 +705,15 @@ declare const OutgoingForwardedMessage: z.ZodObject<{
|
|
|
508
705
|
type: z.ZodLiteral<"forward">;
|
|
509
706
|
data: z.ZodObject<{
|
|
510
707
|
messages: z.ZodArray<z.ZodLazy<z.ZodObject< /*elided*/any, z.core.$strip>>>;
|
|
708
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
709
|
+
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
710
|
+
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
711
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
712
|
+
}, z.core.$strip>;
|
|
713
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
714
|
+
type: z.ZodLiteral<"light_app">;
|
|
715
|
+
data: z.ZodObject<{
|
|
716
|
+
json_payload: z.ZodString;
|
|
511
717
|
}, z.core.$strip>;
|
|
512
718
|
}, z.core.$strip>], "type">>>;
|
|
513
719
|
}, z.core.$strip>;
|
|
@@ -517,7 +723,7 @@ declare const IncomingMessage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
517
723
|
message_seq: z.ZodNumber;
|
|
518
724
|
sender_id: z.ZodNumber;
|
|
519
725
|
time: z.ZodNumber;
|
|
520
|
-
segments: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
726
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodCatch<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
521
727
|
type: z.ZodLiteral<"text">;
|
|
522
728
|
data: z.ZodObject<{
|
|
523
729
|
text: z.ZodString;
|
|
@@ -526,6 +732,7 @@ declare const IncomingMessage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
526
732
|
type: z.ZodLiteral<"mention">;
|
|
527
733
|
data: z.ZodObject<{
|
|
528
734
|
user_id: z.ZodNumber;
|
|
735
|
+
name: z.ZodString;
|
|
529
736
|
}, z.core.$strip>;
|
|
530
737
|
}, z.core.$strip>, z.ZodObject<{
|
|
531
738
|
type: z.ZodLiteral<"mention_all">;
|
|
@@ -540,6 +747,96 @@ declare const IncomingMessage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
540
747
|
type: z.ZodLiteral<"reply">;
|
|
541
748
|
data: z.ZodObject<{
|
|
542
749
|
message_seq: z.ZodNumber;
|
|
750
|
+
sender_id: z.ZodNumber;
|
|
751
|
+
sender_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
752
|
+
time: z.ZodNumber;
|
|
753
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodCatch<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
754
|
+
type: z.ZodLiteral<"text">;
|
|
755
|
+
data: z.ZodObject<{
|
|
756
|
+
text: z.ZodString;
|
|
757
|
+
}, z.core.$strip>;
|
|
758
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
759
|
+
type: z.ZodLiteral<"mention">;
|
|
760
|
+
data: z.ZodObject<{
|
|
761
|
+
user_id: z.ZodNumber;
|
|
762
|
+
name: z.ZodString;
|
|
763
|
+
}, z.core.$strip>;
|
|
764
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
765
|
+
type: z.ZodLiteral<"mention_all">;
|
|
766
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
767
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
768
|
+
type: z.ZodLiteral<"face">;
|
|
769
|
+
data: z.ZodObject<{
|
|
770
|
+
face_id: z.ZodString;
|
|
771
|
+
is_large: z.ZodBoolean;
|
|
772
|
+
}, z.core.$strip>;
|
|
773
|
+
}, z.core.$strip>, z.ZodObject< /*elided*/any, z.core.$strip>, z.ZodObject<{
|
|
774
|
+
type: z.ZodLiteral<"image">;
|
|
775
|
+
data: z.ZodObject<{
|
|
776
|
+
resource_id: z.ZodString;
|
|
777
|
+
temp_url: z.ZodString;
|
|
778
|
+
width: z.ZodNumber;
|
|
779
|
+
height: z.ZodNumber;
|
|
780
|
+
summary: z.ZodString;
|
|
781
|
+
sub_type: z.ZodEnum<{
|
|
782
|
+
normal: "normal";
|
|
783
|
+
sticker: "sticker";
|
|
784
|
+
}>;
|
|
785
|
+
}, z.core.$strip>;
|
|
786
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
787
|
+
type: z.ZodLiteral<"record">;
|
|
788
|
+
data: z.ZodObject<{
|
|
789
|
+
resource_id: z.ZodString;
|
|
790
|
+
temp_url: z.ZodString;
|
|
791
|
+
duration: z.ZodNumber;
|
|
792
|
+
}, z.core.$strip>;
|
|
793
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
794
|
+
type: z.ZodLiteral<"video">;
|
|
795
|
+
data: z.ZodObject<{
|
|
796
|
+
resource_id: z.ZodString;
|
|
797
|
+
temp_url: z.ZodString;
|
|
798
|
+
width: z.ZodNumber;
|
|
799
|
+
height: z.ZodNumber;
|
|
800
|
+
duration: z.ZodNumber;
|
|
801
|
+
}, z.core.$strip>;
|
|
802
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
803
|
+
type: z.ZodLiteral<"file">;
|
|
804
|
+
data: z.ZodObject<{
|
|
805
|
+
file_id: z.ZodString;
|
|
806
|
+
file_name: z.ZodString;
|
|
807
|
+
file_size: z.ZodNumber;
|
|
808
|
+
file_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
809
|
+
}, z.core.$strip>;
|
|
810
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
811
|
+
type: z.ZodLiteral<"forward">;
|
|
812
|
+
data: z.ZodObject<{
|
|
813
|
+
forward_id: z.ZodString;
|
|
814
|
+
title: z.ZodString;
|
|
815
|
+
preview: z.ZodArray<z.ZodString>;
|
|
816
|
+
summary: z.ZodString;
|
|
817
|
+
}, z.core.$strip>;
|
|
818
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
819
|
+
type: z.ZodLiteral<"market_face">;
|
|
820
|
+
data: z.ZodObject<{
|
|
821
|
+
emoji_package_id: z.ZodNumber;
|
|
822
|
+
emoji_id: z.ZodString;
|
|
823
|
+
key: z.ZodString;
|
|
824
|
+
summary: z.ZodString;
|
|
825
|
+
url: z.ZodString;
|
|
826
|
+
}, z.core.$strip>;
|
|
827
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
828
|
+
type: z.ZodLiteral<"light_app">;
|
|
829
|
+
data: z.ZodObject<{
|
|
830
|
+
app_name: z.ZodString;
|
|
831
|
+
json_payload: z.ZodString;
|
|
832
|
+
}, z.core.$strip>;
|
|
833
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
834
|
+
type: z.ZodLiteral<"xml">;
|
|
835
|
+
data: z.ZodObject<{
|
|
836
|
+
service_id: z.ZodNumber;
|
|
837
|
+
xml_payload: z.ZodString;
|
|
838
|
+
}, z.core.$strip>;
|
|
839
|
+
}, z.core.$strip>], "type">>>>;
|
|
543
840
|
}, z.core.$strip>;
|
|
544
841
|
}, z.core.$strip>, z.ZodObject<{
|
|
545
842
|
type: z.ZodLiteral<"image">;
|
|
@@ -607,7 +904,7 @@ declare const IncomingMessage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
607
904
|
service_id: z.ZodNumber;
|
|
608
905
|
xml_payload: z.ZodString;
|
|
609
906
|
}, z.core.$strip>;
|
|
610
|
-
}, z.core.$strip>], "type"
|
|
907
|
+
}, z.core.$strip>], "type">>>>;
|
|
611
908
|
friend: z.ZodLazy<z.ZodObject<{
|
|
612
909
|
user_id: z.ZodNumber;
|
|
613
910
|
nickname: z.ZodString;
|
|
@@ -629,7 +926,7 @@ declare const IncomingMessage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
629
926
|
message_seq: z.ZodNumber;
|
|
630
927
|
sender_id: z.ZodNumber;
|
|
631
928
|
time: z.ZodNumber;
|
|
632
|
-
segments: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
929
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodCatch<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
633
930
|
type: z.ZodLiteral<"text">;
|
|
634
931
|
data: z.ZodObject<{
|
|
635
932
|
text: z.ZodString;
|
|
@@ -638,6 +935,7 @@ declare const IncomingMessage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
638
935
|
type: z.ZodLiteral<"mention">;
|
|
639
936
|
data: z.ZodObject<{
|
|
640
937
|
user_id: z.ZodNumber;
|
|
938
|
+
name: z.ZodString;
|
|
641
939
|
}, z.core.$strip>;
|
|
642
940
|
}, z.core.$strip>, z.ZodObject<{
|
|
643
941
|
type: z.ZodLiteral<"mention_all">;
|
|
@@ -652,6 +950,96 @@ declare const IncomingMessage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
652
950
|
type: z.ZodLiteral<"reply">;
|
|
653
951
|
data: z.ZodObject<{
|
|
654
952
|
message_seq: z.ZodNumber;
|
|
953
|
+
sender_id: z.ZodNumber;
|
|
954
|
+
sender_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
955
|
+
time: z.ZodNumber;
|
|
956
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodCatch<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
957
|
+
type: z.ZodLiteral<"text">;
|
|
958
|
+
data: z.ZodObject<{
|
|
959
|
+
text: z.ZodString;
|
|
960
|
+
}, z.core.$strip>;
|
|
961
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
962
|
+
type: z.ZodLiteral<"mention">;
|
|
963
|
+
data: z.ZodObject<{
|
|
964
|
+
user_id: z.ZodNumber;
|
|
965
|
+
name: z.ZodString;
|
|
966
|
+
}, z.core.$strip>;
|
|
967
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
968
|
+
type: z.ZodLiteral<"mention_all">;
|
|
969
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
970
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
971
|
+
type: z.ZodLiteral<"face">;
|
|
972
|
+
data: z.ZodObject<{
|
|
973
|
+
face_id: z.ZodString;
|
|
974
|
+
is_large: z.ZodBoolean;
|
|
975
|
+
}, z.core.$strip>;
|
|
976
|
+
}, z.core.$strip>, z.ZodObject< /*elided*/any, z.core.$strip>, z.ZodObject<{
|
|
977
|
+
type: z.ZodLiteral<"image">;
|
|
978
|
+
data: z.ZodObject<{
|
|
979
|
+
resource_id: z.ZodString;
|
|
980
|
+
temp_url: z.ZodString;
|
|
981
|
+
width: z.ZodNumber;
|
|
982
|
+
height: z.ZodNumber;
|
|
983
|
+
summary: z.ZodString;
|
|
984
|
+
sub_type: z.ZodEnum<{
|
|
985
|
+
normal: "normal";
|
|
986
|
+
sticker: "sticker";
|
|
987
|
+
}>;
|
|
988
|
+
}, z.core.$strip>;
|
|
989
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
990
|
+
type: z.ZodLiteral<"record">;
|
|
991
|
+
data: z.ZodObject<{
|
|
992
|
+
resource_id: z.ZodString;
|
|
993
|
+
temp_url: z.ZodString;
|
|
994
|
+
duration: z.ZodNumber;
|
|
995
|
+
}, z.core.$strip>;
|
|
996
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
997
|
+
type: z.ZodLiteral<"video">;
|
|
998
|
+
data: z.ZodObject<{
|
|
999
|
+
resource_id: z.ZodString;
|
|
1000
|
+
temp_url: z.ZodString;
|
|
1001
|
+
width: z.ZodNumber;
|
|
1002
|
+
height: z.ZodNumber;
|
|
1003
|
+
duration: z.ZodNumber;
|
|
1004
|
+
}, z.core.$strip>;
|
|
1005
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1006
|
+
type: z.ZodLiteral<"file">;
|
|
1007
|
+
data: z.ZodObject<{
|
|
1008
|
+
file_id: z.ZodString;
|
|
1009
|
+
file_name: z.ZodString;
|
|
1010
|
+
file_size: z.ZodNumber;
|
|
1011
|
+
file_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1012
|
+
}, z.core.$strip>;
|
|
1013
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1014
|
+
type: z.ZodLiteral<"forward">;
|
|
1015
|
+
data: z.ZodObject<{
|
|
1016
|
+
forward_id: z.ZodString;
|
|
1017
|
+
title: z.ZodString;
|
|
1018
|
+
preview: z.ZodArray<z.ZodString>;
|
|
1019
|
+
summary: z.ZodString;
|
|
1020
|
+
}, z.core.$strip>;
|
|
1021
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1022
|
+
type: z.ZodLiteral<"market_face">;
|
|
1023
|
+
data: z.ZodObject<{
|
|
1024
|
+
emoji_package_id: z.ZodNumber;
|
|
1025
|
+
emoji_id: z.ZodString;
|
|
1026
|
+
key: z.ZodString;
|
|
1027
|
+
summary: z.ZodString;
|
|
1028
|
+
url: z.ZodString;
|
|
1029
|
+
}, z.core.$strip>;
|
|
1030
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1031
|
+
type: z.ZodLiteral<"light_app">;
|
|
1032
|
+
data: z.ZodObject<{
|
|
1033
|
+
app_name: z.ZodString;
|
|
1034
|
+
json_payload: z.ZodString;
|
|
1035
|
+
}, z.core.$strip>;
|
|
1036
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1037
|
+
type: z.ZodLiteral<"xml">;
|
|
1038
|
+
data: z.ZodObject<{
|
|
1039
|
+
service_id: z.ZodNumber;
|
|
1040
|
+
xml_payload: z.ZodString;
|
|
1041
|
+
}, z.core.$strip>;
|
|
1042
|
+
}, z.core.$strip>], "type">>>>;
|
|
655
1043
|
}, z.core.$strip>;
|
|
656
1044
|
}, z.core.$strip>, z.ZodObject<{
|
|
657
1045
|
type: z.ZodLiteral<"image">;
|
|
@@ -719,7 +1107,7 @@ declare const IncomingMessage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
719
1107
|
service_id: z.ZodNumber;
|
|
720
1108
|
xml_payload: z.ZodString;
|
|
721
1109
|
}, z.core.$strip>;
|
|
722
|
-
}, z.core.$strip>], "type"
|
|
1110
|
+
}, z.core.$strip>], "type">>>>;
|
|
723
1111
|
group: z.ZodLazy<z.ZodObject<{
|
|
724
1112
|
group_id: z.ZodNumber;
|
|
725
1113
|
group_name: z.ZodString;
|
|
@@ -753,7 +1141,7 @@ declare const IncomingMessage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
753
1141
|
message_seq: z.ZodNumber;
|
|
754
1142
|
sender_id: z.ZodNumber;
|
|
755
1143
|
time: z.ZodNumber;
|
|
756
|
-
segments: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1144
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodCatch<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
757
1145
|
type: z.ZodLiteral<"text">;
|
|
758
1146
|
data: z.ZodObject<{
|
|
759
1147
|
text: z.ZodString;
|
|
@@ -762,6 +1150,7 @@ declare const IncomingMessage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
762
1150
|
type: z.ZodLiteral<"mention">;
|
|
763
1151
|
data: z.ZodObject<{
|
|
764
1152
|
user_id: z.ZodNumber;
|
|
1153
|
+
name: z.ZodString;
|
|
765
1154
|
}, z.core.$strip>;
|
|
766
1155
|
}, z.core.$strip>, z.ZodObject<{
|
|
767
1156
|
type: z.ZodLiteral<"mention_all">;
|
|
@@ -776,6 +1165,96 @@ declare const IncomingMessage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
776
1165
|
type: z.ZodLiteral<"reply">;
|
|
777
1166
|
data: z.ZodObject<{
|
|
778
1167
|
message_seq: z.ZodNumber;
|
|
1168
|
+
sender_id: z.ZodNumber;
|
|
1169
|
+
sender_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1170
|
+
time: z.ZodNumber;
|
|
1171
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodCatch<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1172
|
+
type: z.ZodLiteral<"text">;
|
|
1173
|
+
data: z.ZodObject<{
|
|
1174
|
+
text: z.ZodString;
|
|
1175
|
+
}, z.core.$strip>;
|
|
1176
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1177
|
+
type: z.ZodLiteral<"mention">;
|
|
1178
|
+
data: z.ZodObject<{
|
|
1179
|
+
user_id: z.ZodNumber;
|
|
1180
|
+
name: z.ZodString;
|
|
1181
|
+
}, z.core.$strip>;
|
|
1182
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1183
|
+
type: z.ZodLiteral<"mention_all">;
|
|
1184
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
1185
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1186
|
+
type: z.ZodLiteral<"face">;
|
|
1187
|
+
data: z.ZodObject<{
|
|
1188
|
+
face_id: z.ZodString;
|
|
1189
|
+
is_large: z.ZodBoolean;
|
|
1190
|
+
}, z.core.$strip>;
|
|
1191
|
+
}, z.core.$strip>, z.ZodObject< /*elided*/any, z.core.$strip>, z.ZodObject<{
|
|
1192
|
+
type: z.ZodLiteral<"image">;
|
|
1193
|
+
data: z.ZodObject<{
|
|
1194
|
+
resource_id: z.ZodString;
|
|
1195
|
+
temp_url: z.ZodString;
|
|
1196
|
+
width: z.ZodNumber;
|
|
1197
|
+
height: z.ZodNumber;
|
|
1198
|
+
summary: z.ZodString;
|
|
1199
|
+
sub_type: z.ZodEnum<{
|
|
1200
|
+
normal: "normal";
|
|
1201
|
+
sticker: "sticker";
|
|
1202
|
+
}>;
|
|
1203
|
+
}, z.core.$strip>;
|
|
1204
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1205
|
+
type: z.ZodLiteral<"record">;
|
|
1206
|
+
data: z.ZodObject<{
|
|
1207
|
+
resource_id: z.ZodString;
|
|
1208
|
+
temp_url: z.ZodString;
|
|
1209
|
+
duration: z.ZodNumber;
|
|
1210
|
+
}, z.core.$strip>;
|
|
1211
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1212
|
+
type: z.ZodLiteral<"video">;
|
|
1213
|
+
data: z.ZodObject<{
|
|
1214
|
+
resource_id: z.ZodString;
|
|
1215
|
+
temp_url: z.ZodString;
|
|
1216
|
+
width: z.ZodNumber;
|
|
1217
|
+
height: z.ZodNumber;
|
|
1218
|
+
duration: z.ZodNumber;
|
|
1219
|
+
}, z.core.$strip>;
|
|
1220
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1221
|
+
type: z.ZodLiteral<"file">;
|
|
1222
|
+
data: z.ZodObject<{
|
|
1223
|
+
file_id: z.ZodString;
|
|
1224
|
+
file_name: z.ZodString;
|
|
1225
|
+
file_size: z.ZodNumber;
|
|
1226
|
+
file_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1227
|
+
}, z.core.$strip>;
|
|
1228
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1229
|
+
type: z.ZodLiteral<"forward">;
|
|
1230
|
+
data: z.ZodObject<{
|
|
1231
|
+
forward_id: z.ZodString;
|
|
1232
|
+
title: z.ZodString;
|
|
1233
|
+
preview: z.ZodArray<z.ZodString>;
|
|
1234
|
+
summary: z.ZodString;
|
|
1235
|
+
}, z.core.$strip>;
|
|
1236
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1237
|
+
type: z.ZodLiteral<"market_face">;
|
|
1238
|
+
data: z.ZodObject<{
|
|
1239
|
+
emoji_package_id: z.ZodNumber;
|
|
1240
|
+
emoji_id: z.ZodString;
|
|
1241
|
+
key: z.ZodString;
|
|
1242
|
+
summary: z.ZodString;
|
|
1243
|
+
url: z.ZodString;
|
|
1244
|
+
}, z.core.$strip>;
|
|
1245
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1246
|
+
type: z.ZodLiteral<"light_app">;
|
|
1247
|
+
data: z.ZodObject<{
|
|
1248
|
+
app_name: z.ZodString;
|
|
1249
|
+
json_payload: z.ZodString;
|
|
1250
|
+
}, z.core.$strip>;
|
|
1251
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1252
|
+
type: z.ZodLiteral<"xml">;
|
|
1253
|
+
data: z.ZodObject<{
|
|
1254
|
+
service_id: z.ZodNumber;
|
|
1255
|
+
xml_payload: z.ZodString;
|
|
1256
|
+
}, z.core.$strip>;
|
|
1257
|
+
}, z.core.$strip>], "type">>>>;
|
|
779
1258
|
}, z.core.$strip>;
|
|
780
1259
|
}, z.core.$strip>, z.ZodObject<{
|
|
781
1260
|
type: z.ZodLiteral<"image">;
|
|
@@ -843,7 +1322,7 @@ declare const IncomingMessage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
843
1322
|
service_id: z.ZodNumber;
|
|
844
1323
|
xml_payload: z.ZodString;
|
|
845
1324
|
}, z.core.$strip>;
|
|
846
|
-
}, z.core.$strip>], "type"
|
|
1325
|
+
}, z.core.$strip>], "type">>>>;
|
|
847
1326
|
group: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
848
1327
|
group_id: z.ZodNumber;
|
|
849
1328
|
group_name: z.ZodString;
|
|
@@ -860,7 +1339,7 @@ declare const GroupEssenceMessage: z.ZodObject<{
|
|
|
860
1339
|
operator_id: z.ZodNumber;
|
|
861
1340
|
operator_name: z.ZodString;
|
|
862
1341
|
operation_time: z.ZodNumber;
|
|
863
|
-
segments: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1342
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodCatch<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
864
1343
|
type: z.ZodLiteral<"text">;
|
|
865
1344
|
data: z.ZodObject<{
|
|
866
1345
|
text: z.ZodString;
|
|
@@ -869,6 +1348,7 @@ declare const GroupEssenceMessage: z.ZodObject<{
|
|
|
869
1348
|
type: z.ZodLiteral<"mention">;
|
|
870
1349
|
data: z.ZodObject<{
|
|
871
1350
|
user_id: z.ZodNumber;
|
|
1351
|
+
name: z.ZodString;
|
|
872
1352
|
}, z.core.$strip>;
|
|
873
1353
|
}, z.core.$strip>, z.ZodObject<{
|
|
874
1354
|
type: z.ZodLiteral<"mention_all">;
|
|
@@ -883,6 +1363,96 @@ declare const GroupEssenceMessage: z.ZodObject<{
|
|
|
883
1363
|
type: z.ZodLiteral<"reply">;
|
|
884
1364
|
data: z.ZodObject<{
|
|
885
1365
|
message_seq: z.ZodNumber;
|
|
1366
|
+
sender_id: z.ZodNumber;
|
|
1367
|
+
sender_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1368
|
+
time: z.ZodNumber;
|
|
1369
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodCatch<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1370
|
+
type: z.ZodLiteral<"text">;
|
|
1371
|
+
data: z.ZodObject<{
|
|
1372
|
+
text: z.ZodString;
|
|
1373
|
+
}, z.core.$strip>;
|
|
1374
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1375
|
+
type: z.ZodLiteral<"mention">;
|
|
1376
|
+
data: z.ZodObject<{
|
|
1377
|
+
user_id: z.ZodNumber;
|
|
1378
|
+
name: z.ZodString;
|
|
1379
|
+
}, z.core.$strip>;
|
|
1380
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1381
|
+
type: z.ZodLiteral<"mention_all">;
|
|
1382
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
1383
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1384
|
+
type: z.ZodLiteral<"face">;
|
|
1385
|
+
data: z.ZodObject<{
|
|
1386
|
+
face_id: z.ZodString;
|
|
1387
|
+
is_large: z.ZodBoolean;
|
|
1388
|
+
}, z.core.$strip>;
|
|
1389
|
+
}, z.core.$strip>, z.ZodObject< /*elided*/any, z.core.$strip>, z.ZodObject<{
|
|
1390
|
+
type: z.ZodLiteral<"image">;
|
|
1391
|
+
data: z.ZodObject<{
|
|
1392
|
+
resource_id: z.ZodString;
|
|
1393
|
+
temp_url: z.ZodString;
|
|
1394
|
+
width: z.ZodNumber;
|
|
1395
|
+
height: z.ZodNumber;
|
|
1396
|
+
summary: z.ZodString;
|
|
1397
|
+
sub_type: z.ZodEnum<{
|
|
1398
|
+
normal: "normal";
|
|
1399
|
+
sticker: "sticker";
|
|
1400
|
+
}>;
|
|
1401
|
+
}, z.core.$strip>;
|
|
1402
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1403
|
+
type: z.ZodLiteral<"record">;
|
|
1404
|
+
data: z.ZodObject<{
|
|
1405
|
+
resource_id: z.ZodString;
|
|
1406
|
+
temp_url: z.ZodString;
|
|
1407
|
+
duration: z.ZodNumber;
|
|
1408
|
+
}, z.core.$strip>;
|
|
1409
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1410
|
+
type: z.ZodLiteral<"video">;
|
|
1411
|
+
data: z.ZodObject<{
|
|
1412
|
+
resource_id: z.ZodString;
|
|
1413
|
+
temp_url: z.ZodString;
|
|
1414
|
+
width: z.ZodNumber;
|
|
1415
|
+
height: z.ZodNumber;
|
|
1416
|
+
duration: z.ZodNumber;
|
|
1417
|
+
}, z.core.$strip>;
|
|
1418
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1419
|
+
type: z.ZodLiteral<"file">;
|
|
1420
|
+
data: z.ZodObject<{
|
|
1421
|
+
file_id: z.ZodString;
|
|
1422
|
+
file_name: z.ZodString;
|
|
1423
|
+
file_size: z.ZodNumber;
|
|
1424
|
+
file_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1425
|
+
}, z.core.$strip>;
|
|
1426
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1427
|
+
type: z.ZodLiteral<"forward">;
|
|
1428
|
+
data: z.ZodObject<{
|
|
1429
|
+
forward_id: z.ZodString;
|
|
1430
|
+
title: z.ZodString;
|
|
1431
|
+
preview: z.ZodArray<z.ZodString>;
|
|
1432
|
+
summary: z.ZodString;
|
|
1433
|
+
}, z.core.$strip>;
|
|
1434
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1435
|
+
type: z.ZodLiteral<"market_face">;
|
|
1436
|
+
data: z.ZodObject<{
|
|
1437
|
+
emoji_package_id: z.ZodNumber;
|
|
1438
|
+
emoji_id: z.ZodString;
|
|
1439
|
+
key: z.ZodString;
|
|
1440
|
+
summary: z.ZodString;
|
|
1441
|
+
url: z.ZodString;
|
|
1442
|
+
}, z.core.$strip>;
|
|
1443
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1444
|
+
type: z.ZodLiteral<"light_app">;
|
|
1445
|
+
data: z.ZodObject<{
|
|
1446
|
+
app_name: z.ZodString;
|
|
1447
|
+
json_payload: z.ZodString;
|
|
1448
|
+
}, z.core.$strip>;
|
|
1449
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1450
|
+
type: z.ZodLiteral<"xml">;
|
|
1451
|
+
data: z.ZodObject<{
|
|
1452
|
+
service_id: z.ZodNumber;
|
|
1453
|
+
xml_payload: z.ZodString;
|
|
1454
|
+
}, z.core.$strip>;
|
|
1455
|
+
}, z.core.$strip>], "type">>>>;
|
|
886
1456
|
}, z.core.$strip>;
|
|
887
1457
|
}, z.core.$strip>, z.ZodObject<{
|
|
888
1458
|
type: z.ZodLiteral<"image">;
|
|
@@ -950,7 +1520,7 @@ declare const GroupEssenceMessage: z.ZodObject<{
|
|
|
950
1520
|
service_id: z.ZodNumber;
|
|
951
1521
|
xml_payload: z.ZodString;
|
|
952
1522
|
}, z.core.$strip>;
|
|
953
|
-
}, z.core.$strip>], "type"
|
|
1523
|
+
}, z.core.$strip>], "type">>>>;
|
|
954
1524
|
}, z.core.$strip>;
|
|
955
1525
|
type IncomingSegment = z.infer<typeof IncomingSegment>;
|
|
956
1526
|
type OutgoingSegment = z.infer<typeof OutgoingSegment>;
|
|
@@ -975,6 +1545,15 @@ declare const MessageRecallEvent: z.ZodObject<{
|
|
|
975
1545
|
operator_id: z.ZodNumber;
|
|
976
1546
|
display_suffix: z.ZodString;
|
|
977
1547
|
}, z.core.$strip>;
|
|
1548
|
+
declare const PeerPinChangeEvent: z.ZodObject<{
|
|
1549
|
+
message_scene: z.ZodEnum<{
|
|
1550
|
+
friend: "friend";
|
|
1551
|
+
group: "group";
|
|
1552
|
+
temp: "temp";
|
|
1553
|
+
}>;
|
|
1554
|
+
peer_id: z.ZodNumber;
|
|
1555
|
+
is_pinned: z.ZodBoolean;
|
|
1556
|
+
}, z.core.$strip>;
|
|
978
1557
|
declare const FriendRequestEvent: z.ZodObject<{
|
|
979
1558
|
initiator_id: z.ZodNumber;
|
|
980
1559
|
initiator_uid: z.ZodString;
|
|
@@ -1093,7 +1672,7 @@ declare const Event: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1093
1672
|
message_seq: z.ZodNumber;
|
|
1094
1673
|
sender_id: z.ZodNumber;
|
|
1095
1674
|
time: z.ZodNumber;
|
|
1096
|
-
segments: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1675
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodCatch<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1097
1676
|
type: z.ZodLiteral<"text">;
|
|
1098
1677
|
data: z.ZodObject<{
|
|
1099
1678
|
text: z.ZodString;
|
|
@@ -1102,6 +1681,7 @@ declare const Event: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1102
1681
|
type: z.ZodLiteral<"mention">;
|
|
1103
1682
|
data: z.ZodObject<{
|
|
1104
1683
|
user_id: z.ZodNumber;
|
|
1684
|
+
name: z.ZodString;
|
|
1105
1685
|
}, z.core.$strip>;
|
|
1106
1686
|
}, z.core.$strip>, z.ZodObject<{
|
|
1107
1687
|
type: z.ZodLiteral<"mention_all">;
|
|
@@ -1116,6 +1696,96 @@ declare const Event: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1116
1696
|
type: z.ZodLiteral<"reply">;
|
|
1117
1697
|
data: z.ZodObject<{
|
|
1118
1698
|
message_seq: z.ZodNumber;
|
|
1699
|
+
sender_id: z.ZodNumber;
|
|
1700
|
+
sender_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1701
|
+
time: z.ZodNumber;
|
|
1702
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodCatch<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1703
|
+
type: z.ZodLiteral<"text">;
|
|
1704
|
+
data: z.ZodObject<{
|
|
1705
|
+
text: z.ZodString;
|
|
1706
|
+
}, z.core.$strip>;
|
|
1707
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1708
|
+
type: z.ZodLiteral<"mention">;
|
|
1709
|
+
data: z.ZodObject<{
|
|
1710
|
+
user_id: z.ZodNumber;
|
|
1711
|
+
name: z.ZodString;
|
|
1712
|
+
}, z.core.$strip>;
|
|
1713
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1714
|
+
type: z.ZodLiteral<"mention_all">;
|
|
1715
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
1716
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1717
|
+
type: z.ZodLiteral<"face">;
|
|
1718
|
+
data: z.ZodObject<{
|
|
1719
|
+
face_id: z.ZodString;
|
|
1720
|
+
is_large: z.ZodBoolean;
|
|
1721
|
+
}, z.core.$strip>;
|
|
1722
|
+
}, z.core.$strip>, z.ZodObject< /*elided*/any, z.core.$strip>, z.ZodObject<{
|
|
1723
|
+
type: z.ZodLiteral<"image">;
|
|
1724
|
+
data: z.ZodObject<{
|
|
1725
|
+
resource_id: z.ZodString;
|
|
1726
|
+
temp_url: z.ZodString;
|
|
1727
|
+
width: z.ZodNumber;
|
|
1728
|
+
height: z.ZodNumber;
|
|
1729
|
+
summary: z.ZodString;
|
|
1730
|
+
sub_type: z.ZodEnum<{
|
|
1731
|
+
normal: "normal";
|
|
1732
|
+
sticker: "sticker";
|
|
1733
|
+
}>;
|
|
1734
|
+
}, z.core.$strip>;
|
|
1735
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1736
|
+
type: z.ZodLiteral<"record">;
|
|
1737
|
+
data: z.ZodObject<{
|
|
1738
|
+
resource_id: z.ZodString;
|
|
1739
|
+
temp_url: z.ZodString;
|
|
1740
|
+
duration: z.ZodNumber;
|
|
1741
|
+
}, z.core.$strip>;
|
|
1742
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1743
|
+
type: z.ZodLiteral<"video">;
|
|
1744
|
+
data: z.ZodObject<{
|
|
1745
|
+
resource_id: z.ZodString;
|
|
1746
|
+
temp_url: z.ZodString;
|
|
1747
|
+
width: z.ZodNumber;
|
|
1748
|
+
height: z.ZodNumber;
|
|
1749
|
+
duration: z.ZodNumber;
|
|
1750
|
+
}, z.core.$strip>;
|
|
1751
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1752
|
+
type: z.ZodLiteral<"file">;
|
|
1753
|
+
data: z.ZodObject<{
|
|
1754
|
+
file_id: z.ZodString;
|
|
1755
|
+
file_name: z.ZodString;
|
|
1756
|
+
file_size: z.ZodNumber;
|
|
1757
|
+
file_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1758
|
+
}, z.core.$strip>;
|
|
1759
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1760
|
+
type: z.ZodLiteral<"forward">;
|
|
1761
|
+
data: z.ZodObject<{
|
|
1762
|
+
forward_id: z.ZodString;
|
|
1763
|
+
title: z.ZodString;
|
|
1764
|
+
preview: z.ZodArray<z.ZodString>;
|
|
1765
|
+
summary: z.ZodString;
|
|
1766
|
+
}, z.core.$strip>;
|
|
1767
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1768
|
+
type: z.ZodLiteral<"market_face">;
|
|
1769
|
+
data: z.ZodObject<{
|
|
1770
|
+
emoji_package_id: z.ZodNumber;
|
|
1771
|
+
emoji_id: z.ZodString;
|
|
1772
|
+
key: z.ZodString;
|
|
1773
|
+
summary: z.ZodString;
|
|
1774
|
+
url: z.ZodString;
|
|
1775
|
+
}, z.core.$strip>;
|
|
1776
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1777
|
+
type: z.ZodLiteral<"light_app">;
|
|
1778
|
+
data: z.ZodObject<{
|
|
1779
|
+
app_name: z.ZodString;
|
|
1780
|
+
json_payload: z.ZodString;
|
|
1781
|
+
}, z.core.$strip>;
|
|
1782
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1783
|
+
type: z.ZodLiteral<"xml">;
|
|
1784
|
+
data: z.ZodObject<{
|
|
1785
|
+
service_id: z.ZodNumber;
|
|
1786
|
+
xml_payload: z.ZodString;
|
|
1787
|
+
}, z.core.$strip>;
|
|
1788
|
+
}, z.core.$strip>], "type">>>>;
|
|
1119
1789
|
}, z.core.$strip>;
|
|
1120
1790
|
}, z.core.$strip>, z.ZodObject<{
|
|
1121
1791
|
type: z.ZodLiteral<"image">;
|
|
@@ -1183,7 +1853,7 @@ declare const Event: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1183
1853
|
service_id: z.ZodNumber;
|
|
1184
1854
|
xml_payload: z.ZodString;
|
|
1185
1855
|
}, z.core.$strip>;
|
|
1186
|
-
}, z.core.$strip>], "type"
|
|
1856
|
+
}, z.core.$strip>], "type">>>>;
|
|
1187
1857
|
friend: z.ZodLazy<z.ZodObject<{
|
|
1188
1858
|
user_id: z.ZodNumber;
|
|
1189
1859
|
nickname: z.ZodString;
|
|
@@ -1205,7 +1875,7 @@ declare const Event: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1205
1875
|
message_seq: z.ZodNumber;
|
|
1206
1876
|
sender_id: z.ZodNumber;
|
|
1207
1877
|
time: z.ZodNumber;
|
|
1208
|
-
segments: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1878
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodCatch<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1209
1879
|
type: z.ZodLiteral<"text">;
|
|
1210
1880
|
data: z.ZodObject<{
|
|
1211
1881
|
text: z.ZodString;
|
|
@@ -1214,6 +1884,7 @@ declare const Event: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1214
1884
|
type: z.ZodLiteral<"mention">;
|
|
1215
1885
|
data: z.ZodObject<{
|
|
1216
1886
|
user_id: z.ZodNumber;
|
|
1887
|
+
name: z.ZodString;
|
|
1217
1888
|
}, z.core.$strip>;
|
|
1218
1889
|
}, z.core.$strip>, z.ZodObject<{
|
|
1219
1890
|
type: z.ZodLiteral<"mention_all">;
|
|
@@ -1228,6 +1899,96 @@ declare const Event: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1228
1899
|
type: z.ZodLiteral<"reply">;
|
|
1229
1900
|
data: z.ZodObject<{
|
|
1230
1901
|
message_seq: z.ZodNumber;
|
|
1902
|
+
sender_id: z.ZodNumber;
|
|
1903
|
+
sender_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1904
|
+
time: z.ZodNumber;
|
|
1905
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodCatch<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1906
|
+
type: z.ZodLiteral<"text">;
|
|
1907
|
+
data: z.ZodObject<{
|
|
1908
|
+
text: z.ZodString;
|
|
1909
|
+
}, z.core.$strip>;
|
|
1910
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1911
|
+
type: z.ZodLiteral<"mention">;
|
|
1912
|
+
data: z.ZodObject<{
|
|
1913
|
+
user_id: z.ZodNumber;
|
|
1914
|
+
name: z.ZodString;
|
|
1915
|
+
}, z.core.$strip>;
|
|
1916
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1917
|
+
type: z.ZodLiteral<"mention_all">;
|
|
1918
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
1919
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1920
|
+
type: z.ZodLiteral<"face">;
|
|
1921
|
+
data: z.ZodObject<{
|
|
1922
|
+
face_id: z.ZodString;
|
|
1923
|
+
is_large: z.ZodBoolean;
|
|
1924
|
+
}, z.core.$strip>;
|
|
1925
|
+
}, z.core.$strip>, z.ZodObject< /*elided*/any, z.core.$strip>, z.ZodObject<{
|
|
1926
|
+
type: z.ZodLiteral<"image">;
|
|
1927
|
+
data: z.ZodObject<{
|
|
1928
|
+
resource_id: z.ZodString;
|
|
1929
|
+
temp_url: z.ZodString;
|
|
1930
|
+
width: z.ZodNumber;
|
|
1931
|
+
height: z.ZodNumber;
|
|
1932
|
+
summary: z.ZodString;
|
|
1933
|
+
sub_type: z.ZodEnum<{
|
|
1934
|
+
normal: "normal";
|
|
1935
|
+
sticker: "sticker";
|
|
1936
|
+
}>;
|
|
1937
|
+
}, z.core.$strip>;
|
|
1938
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1939
|
+
type: z.ZodLiteral<"record">;
|
|
1940
|
+
data: z.ZodObject<{
|
|
1941
|
+
resource_id: z.ZodString;
|
|
1942
|
+
temp_url: z.ZodString;
|
|
1943
|
+
duration: z.ZodNumber;
|
|
1944
|
+
}, z.core.$strip>;
|
|
1945
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1946
|
+
type: z.ZodLiteral<"video">;
|
|
1947
|
+
data: z.ZodObject<{
|
|
1948
|
+
resource_id: z.ZodString;
|
|
1949
|
+
temp_url: z.ZodString;
|
|
1950
|
+
width: z.ZodNumber;
|
|
1951
|
+
height: z.ZodNumber;
|
|
1952
|
+
duration: z.ZodNumber;
|
|
1953
|
+
}, z.core.$strip>;
|
|
1954
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1955
|
+
type: z.ZodLiteral<"file">;
|
|
1956
|
+
data: z.ZodObject<{
|
|
1957
|
+
file_id: z.ZodString;
|
|
1958
|
+
file_name: z.ZodString;
|
|
1959
|
+
file_size: z.ZodNumber;
|
|
1960
|
+
file_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1961
|
+
}, z.core.$strip>;
|
|
1962
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1963
|
+
type: z.ZodLiteral<"forward">;
|
|
1964
|
+
data: z.ZodObject<{
|
|
1965
|
+
forward_id: z.ZodString;
|
|
1966
|
+
title: z.ZodString;
|
|
1967
|
+
preview: z.ZodArray<z.ZodString>;
|
|
1968
|
+
summary: z.ZodString;
|
|
1969
|
+
}, z.core.$strip>;
|
|
1970
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1971
|
+
type: z.ZodLiteral<"market_face">;
|
|
1972
|
+
data: z.ZodObject<{
|
|
1973
|
+
emoji_package_id: z.ZodNumber;
|
|
1974
|
+
emoji_id: z.ZodString;
|
|
1975
|
+
key: z.ZodString;
|
|
1976
|
+
summary: z.ZodString;
|
|
1977
|
+
url: z.ZodString;
|
|
1978
|
+
}, z.core.$strip>;
|
|
1979
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1980
|
+
type: z.ZodLiteral<"light_app">;
|
|
1981
|
+
data: z.ZodObject<{
|
|
1982
|
+
app_name: z.ZodString;
|
|
1983
|
+
json_payload: z.ZodString;
|
|
1984
|
+
}, z.core.$strip>;
|
|
1985
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1986
|
+
type: z.ZodLiteral<"xml">;
|
|
1987
|
+
data: z.ZodObject<{
|
|
1988
|
+
service_id: z.ZodNumber;
|
|
1989
|
+
xml_payload: z.ZodString;
|
|
1990
|
+
}, z.core.$strip>;
|
|
1991
|
+
}, z.core.$strip>], "type">>>>;
|
|
1231
1992
|
}, z.core.$strip>;
|
|
1232
1993
|
}, z.core.$strip>, z.ZodObject<{
|
|
1233
1994
|
type: z.ZodLiteral<"image">;
|
|
@@ -1295,7 +2056,7 @@ declare const Event: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1295
2056
|
service_id: z.ZodNumber;
|
|
1296
2057
|
xml_payload: z.ZodString;
|
|
1297
2058
|
}, z.core.$strip>;
|
|
1298
|
-
}, z.core.$strip>], "type"
|
|
2059
|
+
}, z.core.$strip>], "type">>>>;
|
|
1299
2060
|
group: z.ZodLazy<z.ZodObject<{
|
|
1300
2061
|
group_id: z.ZodNumber;
|
|
1301
2062
|
group_name: z.ZodString;
|
|
@@ -1329,7 +2090,7 @@ declare const Event: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1329
2090
|
message_seq: z.ZodNumber;
|
|
1330
2091
|
sender_id: z.ZodNumber;
|
|
1331
2092
|
time: z.ZodNumber;
|
|
1332
|
-
segments: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2093
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodCatch<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1333
2094
|
type: z.ZodLiteral<"text">;
|
|
1334
2095
|
data: z.ZodObject<{
|
|
1335
2096
|
text: z.ZodString;
|
|
@@ -1338,6 +2099,7 @@ declare const Event: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1338
2099
|
type: z.ZodLiteral<"mention">;
|
|
1339
2100
|
data: z.ZodObject<{
|
|
1340
2101
|
user_id: z.ZodNumber;
|
|
2102
|
+
name: z.ZodString;
|
|
1341
2103
|
}, z.core.$strip>;
|
|
1342
2104
|
}, z.core.$strip>, z.ZodObject<{
|
|
1343
2105
|
type: z.ZodLiteral<"mention_all">;
|
|
@@ -1352,6 +2114,96 @@ declare const Event: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1352
2114
|
type: z.ZodLiteral<"reply">;
|
|
1353
2115
|
data: z.ZodObject<{
|
|
1354
2116
|
message_seq: z.ZodNumber;
|
|
2117
|
+
sender_id: z.ZodNumber;
|
|
2118
|
+
sender_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2119
|
+
time: z.ZodNumber;
|
|
2120
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodCatch<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2121
|
+
type: z.ZodLiteral<"text">;
|
|
2122
|
+
data: z.ZodObject<{
|
|
2123
|
+
text: z.ZodString;
|
|
2124
|
+
}, z.core.$strip>;
|
|
2125
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2126
|
+
type: z.ZodLiteral<"mention">;
|
|
2127
|
+
data: z.ZodObject<{
|
|
2128
|
+
user_id: z.ZodNumber;
|
|
2129
|
+
name: z.ZodString;
|
|
2130
|
+
}, z.core.$strip>;
|
|
2131
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2132
|
+
type: z.ZodLiteral<"mention_all">;
|
|
2133
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
2134
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2135
|
+
type: z.ZodLiteral<"face">;
|
|
2136
|
+
data: z.ZodObject<{
|
|
2137
|
+
face_id: z.ZodString;
|
|
2138
|
+
is_large: z.ZodBoolean;
|
|
2139
|
+
}, z.core.$strip>;
|
|
2140
|
+
}, z.core.$strip>, z.ZodObject< /*elided*/any, z.core.$strip>, z.ZodObject<{
|
|
2141
|
+
type: z.ZodLiteral<"image">;
|
|
2142
|
+
data: z.ZodObject<{
|
|
2143
|
+
resource_id: z.ZodString;
|
|
2144
|
+
temp_url: z.ZodString;
|
|
2145
|
+
width: z.ZodNumber;
|
|
2146
|
+
height: z.ZodNumber;
|
|
2147
|
+
summary: z.ZodString;
|
|
2148
|
+
sub_type: z.ZodEnum<{
|
|
2149
|
+
normal: "normal";
|
|
2150
|
+
sticker: "sticker";
|
|
2151
|
+
}>;
|
|
2152
|
+
}, z.core.$strip>;
|
|
2153
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2154
|
+
type: z.ZodLiteral<"record">;
|
|
2155
|
+
data: z.ZodObject<{
|
|
2156
|
+
resource_id: z.ZodString;
|
|
2157
|
+
temp_url: z.ZodString;
|
|
2158
|
+
duration: z.ZodNumber;
|
|
2159
|
+
}, z.core.$strip>;
|
|
2160
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2161
|
+
type: z.ZodLiteral<"video">;
|
|
2162
|
+
data: z.ZodObject<{
|
|
2163
|
+
resource_id: z.ZodString;
|
|
2164
|
+
temp_url: z.ZodString;
|
|
2165
|
+
width: z.ZodNumber;
|
|
2166
|
+
height: z.ZodNumber;
|
|
2167
|
+
duration: z.ZodNumber;
|
|
2168
|
+
}, z.core.$strip>;
|
|
2169
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2170
|
+
type: z.ZodLiteral<"file">;
|
|
2171
|
+
data: z.ZodObject<{
|
|
2172
|
+
file_id: z.ZodString;
|
|
2173
|
+
file_name: z.ZodString;
|
|
2174
|
+
file_size: z.ZodNumber;
|
|
2175
|
+
file_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2176
|
+
}, z.core.$strip>;
|
|
2177
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2178
|
+
type: z.ZodLiteral<"forward">;
|
|
2179
|
+
data: z.ZodObject<{
|
|
2180
|
+
forward_id: z.ZodString;
|
|
2181
|
+
title: z.ZodString;
|
|
2182
|
+
preview: z.ZodArray<z.ZodString>;
|
|
2183
|
+
summary: z.ZodString;
|
|
2184
|
+
}, z.core.$strip>;
|
|
2185
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2186
|
+
type: z.ZodLiteral<"market_face">;
|
|
2187
|
+
data: z.ZodObject<{
|
|
2188
|
+
emoji_package_id: z.ZodNumber;
|
|
2189
|
+
emoji_id: z.ZodString;
|
|
2190
|
+
key: z.ZodString;
|
|
2191
|
+
summary: z.ZodString;
|
|
2192
|
+
url: z.ZodString;
|
|
2193
|
+
}, z.core.$strip>;
|
|
2194
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2195
|
+
type: z.ZodLiteral<"light_app">;
|
|
2196
|
+
data: z.ZodObject<{
|
|
2197
|
+
app_name: z.ZodString;
|
|
2198
|
+
json_payload: z.ZodString;
|
|
2199
|
+
}, z.core.$strip>;
|
|
2200
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2201
|
+
type: z.ZodLiteral<"xml">;
|
|
2202
|
+
data: z.ZodObject<{
|
|
2203
|
+
service_id: z.ZodNumber;
|
|
2204
|
+
xml_payload: z.ZodString;
|
|
2205
|
+
}, z.core.$strip>;
|
|
2206
|
+
}, z.core.$strip>], "type">>>>;
|
|
1355
2207
|
}, z.core.$strip>;
|
|
1356
2208
|
}, z.core.$strip>, z.ZodObject<{
|
|
1357
2209
|
type: z.ZodLiteral<"image">;
|
|
@@ -1419,7 +2271,7 @@ declare const Event: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1419
2271
|
service_id: z.ZodNumber;
|
|
1420
2272
|
xml_payload: z.ZodString;
|
|
1421
2273
|
}, z.core.$strip>;
|
|
1422
|
-
}, z.core.$strip>], "type"
|
|
2274
|
+
}, z.core.$strip>], "type">>>>;
|
|
1423
2275
|
group: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
1424
2276
|
group_id: z.ZodNumber;
|
|
1425
2277
|
group_name: z.ZodString;
|
|
@@ -1443,6 +2295,19 @@ declare const Event: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1443
2295
|
operator_id: z.ZodNumber;
|
|
1444
2296
|
display_suffix: z.ZodString;
|
|
1445
2297
|
}, z.core.$strip>;
|
|
2298
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2299
|
+
event_type: z.ZodLiteral<"peer_pin_change">;
|
|
2300
|
+
time: z.ZodNumber;
|
|
2301
|
+
self_id: z.ZodNumber;
|
|
2302
|
+
data: z.ZodObject<{
|
|
2303
|
+
message_scene: z.ZodEnum<{
|
|
2304
|
+
friend: "friend";
|
|
2305
|
+
group: "group";
|
|
2306
|
+
temp: "temp";
|
|
2307
|
+
}>;
|
|
2308
|
+
peer_id: z.ZodNumber;
|
|
2309
|
+
is_pinned: z.ZodBoolean;
|
|
2310
|
+
}, z.core.$strip>;
|
|
1446
2311
|
}, z.core.$strip>, z.ZodObject<{
|
|
1447
2312
|
event_type: z.ZodLiteral<"friend_request">;
|
|
1448
2313
|
time: z.ZodNumber;
|
|
@@ -1611,6 +2476,7 @@ declare const Event: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1611
2476
|
}, z.core.$strip>], "event_type">;
|
|
1612
2477
|
type BotOfflineEvent = z.infer<typeof BotOfflineEvent>;
|
|
1613
2478
|
type MessageRecallEvent = z.infer<typeof MessageRecallEvent>;
|
|
2479
|
+
type PeerPinChangeEvent = z.infer<typeof PeerPinChangeEvent>;
|
|
1614
2480
|
type FriendRequestEvent = z.infer<typeof FriendRequestEvent>;
|
|
1615
2481
|
type GroupJoinRequestEvent = z.infer<typeof GroupJoinRequestEvent>;
|
|
1616
2482
|
type GroupInvitedJoinRequestEvent = z.infer<typeof GroupInvitedJoinRequestEvent>;
|
|
@@ -1789,6 +2655,38 @@ declare const GetGroupMemberInfoOutput: z.ZodObject<{
|
|
|
1789
2655
|
shut_up_end_time: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1790
2656
|
}, z.core.$strip>>;
|
|
1791
2657
|
}, z.core.$strip>;
|
|
2658
|
+
declare const GetPeerPinsOutput: z.ZodObject<{
|
|
2659
|
+
friends: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
2660
|
+
user_id: z.ZodNumber;
|
|
2661
|
+
nickname: z.ZodString;
|
|
2662
|
+
sex: z.ZodEnum<{
|
|
2663
|
+
male: "male";
|
|
2664
|
+
female: "female";
|
|
2665
|
+
unknown: "unknown";
|
|
2666
|
+
}>;
|
|
2667
|
+
qid: z.ZodString;
|
|
2668
|
+
remark: z.ZodString;
|
|
2669
|
+
category: z.ZodLazy<z.ZodObject<{
|
|
2670
|
+
category_id: z.ZodNumber;
|
|
2671
|
+
category_name: z.ZodString;
|
|
2672
|
+
}, z.core.$strip>>;
|
|
2673
|
+
}, z.core.$strip>>>;
|
|
2674
|
+
groups: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
2675
|
+
group_id: z.ZodNumber;
|
|
2676
|
+
group_name: z.ZodString;
|
|
2677
|
+
member_count: z.ZodNumber;
|
|
2678
|
+
max_member_count: z.ZodNumber;
|
|
2679
|
+
}, z.core.$strip>>>;
|
|
2680
|
+
}, z.core.$strip>;
|
|
2681
|
+
declare const SetPeerPinInput: z.ZodObject<{
|
|
2682
|
+
message_scene: z.ZodEnum<{
|
|
2683
|
+
friend: "friend";
|
|
2684
|
+
group: "group";
|
|
2685
|
+
temp: "temp";
|
|
2686
|
+
}>;
|
|
2687
|
+
peer_id: z.ZodNumber;
|
|
2688
|
+
is_pinned: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>, z.ZodTransform<boolean, boolean | null>>;
|
|
2689
|
+
}, z.core.$strip>;
|
|
1792
2690
|
declare const SetAvatarInput: z.ZodObject<{
|
|
1793
2691
|
uri: z.ZodString;
|
|
1794
2692
|
}, z.core.$strip>;
|
|
@@ -1826,6 +2724,8 @@ type GetGroupMemberListInput = z.infer<typeof GetGroupMemberListInput>;
|
|
|
1826
2724
|
type GetGroupMemberListOutput = z.infer<typeof GetGroupMemberListOutput>;
|
|
1827
2725
|
type GetGroupMemberInfoInput = z.infer<typeof GetGroupMemberInfoInput>;
|
|
1828
2726
|
type GetGroupMemberInfoOutput = z.infer<typeof GetGroupMemberInfoOutput>;
|
|
2727
|
+
type GetPeerPinsOutput = z.infer<typeof GetPeerPinsOutput>;
|
|
2728
|
+
type SetPeerPinInput = z.infer<typeof SetPeerPinInput>;
|
|
1829
2729
|
type SetAvatarInput = z.infer<typeof SetAvatarInput>;
|
|
1830
2730
|
type SetNicknameInput = z.infer<typeof SetNicknameInput>;
|
|
1831
2731
|
type SetBioInput = z.infer<typeof SetBioInput>;
|
|
@@ -1933,8 +2833,22 @@ declare const SendPrivateMessageInput: z.ZodObject<{
|
|
|
1933
2833
|
uri: z.ZodString;
|
|
1934
2834
|
thumb_uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1935
2835
|
}, z.core.$strip>;
|
|
1936
|
-
}, z.core.$strip>, z.ZodObject< /*elided*/any, z.core.$strip
|
|
2836
|
+
}, z.core.$strip>, z.ZodObject< /*elided*/any, z.core.$strip>, z.ZodObject<{
|
|
2837
|
+
type: z.ZodLiteral<"light_app">;
|
|
2838
|
+
data: z.ZodObject<{
|
|
2839
|
+
json_payload: z.ZodString;
|
|
2840
|
+
}, z.core.$strip>;
|
|
2841
|
+
}, z.core.$strip>], "type">>>;
|
|
1937
2842
|
}, z.core.$strip>>>;
|
|
2843
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2844
|
+
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
2845
|
+
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2846
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2847
|
+
}, z.core.$strip>;
|
|
2848
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2849
|
+
type: z.ZodLiteral<"light_app">;
|
|
2850
|
+
data: z.ZodObject<{
|
|
2851
|
+
json_payload: z.ZodString;
|
|
1938
2852
|
}, z.core.$strip>;
|
|
1939
2853
|
}, z.core.$strip>], "type">>>;
|
|
1940
2854
|
}, z.core.$strip>;
|
|
@@ -2040,8 +2954,22 @@ declare const SendGroupMessageInput: z.ZodObject<{
|
|
|
2040
2954
|
uri: z.ZodString;
|
|
2041
2955
|
thumb_uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2042
2956
|
}, z.core.$strip>;
|
|
2043
|
-
}, z.core.$strip>, z.ZodObject< /*elided*/any, z.core.$strip
|
|
2957
|
+
}, z.core.$strip>, z.ZodObject< /*elided*/any, z.core.$strip>, z.ZodObject<{
|
|
2958
|
+
type: z.ZodLiteral<"light_app">;
|
|
2959
|
+
data: z.ZodObject<{
|
|
2960
|
+
json_payload: z.ZodString;
|
|
2961
|
+
}, z.core.$strip>;
|
|
2962
|
+
}, z.core.$strip>], "type">>>;
|
|
2044
2963
|
}, z.core.$strip>>>;
|
|
2964
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2965
|
+
preview: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
2966
|
+
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2967
|
+
prompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2968
|
+
}, z.core.$strip>;
|
|
2969
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2970
|
+
type: z.ZodLiteral<"light_app">;
|
|
2971
|
+
data: z.ZodObject<{
|
|
2972
|
+
json_payload: z.ZodString;
|
|
2045
2973
|
}, z.core.$strip>;
|
|
2046
2974
|
}, z.core.$strip>], "type">>>;
|
|
2047
2975
|
}, z.core.$strip>;
|
|
@@ -2073,7 +3001,7 @@ declare const GetMessageOutput: z.ZodObject<{
|
|
|
2073
3001
|
message_seq: z.ZodNumber;
|
|
2074
3002
|
sender_id: z.ZodNumber;
|
|
2075
3003
|
time: z.ZodNumber;
|
|
2076
|
-
segments: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3004
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodCatch<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2077
3005
|
type: z.ZodLiteral<"text">;
|
|
2078
3006
|
data: z.ZodObject<{
|
|
2079
3007
|
text: z.ZodString;
|
|
@@ -2082,6 +3010,7 @@ declare const GetMessageOutput: z.ZodObject<{
|
|
|
2082
3010
|
type: z.ZodLiteral<"mention">;
|
|
2083
3011
|
data: z.ZodObject<{
|
|
2084
3012
|
user_id: z.ZodNumber;
|
|
3013
|
+
name: z.ZodString;
|
|
2085
3014
|
}, z.core.$strip>;
|
|
2086
3015
|
}, z.core.$strip>, z.ZodObject<{
|
|
2087
3016
|
type: z.ZodLiteral<"mention_all">;
|
|
@@ -2096,6 +3025,96 @@ declare const GetMessageOutput: z.ZodObject<{
|
|
|
2096
3025
|
type: z.ZodLiteral<"reply">;
|
|
2097
3026
|
data: z.ZodObject<{
|
|
2098
3027
|
message_seq: z.ZodNumber;
|
|
3028
|
+
sender_id: z.ZodNumber;
|
|
3029
|
+
sender_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3030
|
+
time: z.ZodNumber;
|
|
3031
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodCatch<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3032
|
+
type: z.ZodLiteral<"text">;
|
|
3033
|
+
data: z.ZodObject<{
|
|
3034
|
+
text: z.ZodString;
|
|
3035
|
+
}, z.core.$strip>;
|
|
3036
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3037
|
+
type: z.ZodLiteral<"mention">;
|
|
3038
|
+
data: z.ZodObject<{
|
|
3039
|
+
user_id: z.ZodNumber;
|
|
3040
|
+
name: z.ZodString;
|
|
3041
|
+
}, z.core.$strip>;
|
|
3042
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3043
|
+
type: z.ZodLiteral<"mention_all">;
|
|
3044
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
3045
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3046
|
+
type: z.ZodLiteral<"face">;
|
|
3047
|
+
data: z.ZodObject<{
|
|
3048
|
+
face_id: z.ZodString;
|
|
3049
|
+
is_large: z.ZodBoolean;
|
|
3050
|
+
}, z.core.$strip>;
|
|
3051
|
+
}, z.core.$strip>, z.ZodObject< /*elided*/any, z.core.$strip>, z.ZodObject<{
|
|
3052
|
+
type: z.ZodLiteral<"image">;
|
|
3053
|
+
data: z.ZodObject<{
|
|
3054
|
+
resource_id: z.ZodString;
|
|
3055
|
+
temp_url: z.ZodString;
|
|
3056
|
+
width: z.ZodNumber;
|
|
3057
|
+
height: z.ZodNumber;
|
|
3058
|
+
summary: z.ZodString;
|
|
3059
|
+
sub_type: z.ZodEnum<{
|
|
3060
|
+
normal: "normal";
|
|
3061
|
+
sticker: "sticker";
|
|
3062
|
+
}>;
|
|
3063
|
+
}, z.core.$strip>;
|
|
3064
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3065
|
+
type: z.ZodLiteral<"record">;
|
|
3066
|
+
data: z.ZodObject<{
|
|
3067
|
+
resource_id: z.ZodString;
|
|
3068
|
+
temp_url: z.ZodString;
|
|
3069
|
+
duration: z.ZodNumber;
|
|
3070
|
+
}, z.core.$strip>;
|
|
3071
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3072
|
+
type: z.ZodLiteral<"video">;
|
|
3073
|
+
data: z.ZodObject<{
|
|
3074
|
+
resource_id: z.ZodString;
|
|
3075
|
+
temp_url: z.ZodString;
|
|
3076
|
+
width: z.ZodNumber;
|
|
3077
|
+
height: z.ZodNumber;
|
|
3078
|
+
duration: z.ZodNumber;
|
|
3079
|
+
}, z.core.$strip>;
|
|
3080
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3081
|
+
type: z.ZodLiteral<"file">;
|
|
3082
|
+
data: z.ZodObject<{
|
|
3083
|
+
file_id: z.ZodString;
|
|
3084
|
+
file_name: z.ZodString;
|
|
3085
|
+
file_size: z.ZodNumber;
|
|
3086
|
+
file_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3087
|
+
}, z.core.$strip>;
|
|
3088
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3089
|
+
type: z.ZodLiteral<"forward">;
|
|
3090
|
+
data: z.ZodObject<{
|
|
3091
|
+
forward_id: z.ZodString;
|
|
3092
|
+
title: z.ZodString;
|
|
3093
|
+
preview: z.ZodArray<z.ZodString>;
|
|
3094
|
+
summary: z.ZodString;
|
|
3095
|
+
}, z.core.$strip>;
|
|
3096
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3097
|
+
type: z.ZodLiteral<"market_face">;
|
|
3098
|
+
data: z.ZodObject<{
|
|
3099
|
+
emoji_package_id: z.ZodNumber;
|
|
3100
|
+
emoji_id: z.ZodString;
|
|
3101
|
+
key: z.ZodString;
|
|
3102
|
+
summary: z.ZodString;
|
|
3103
|
+
url: z.ZodString;
|
|
3104
|
+
}, z.core.$strip>;
|
|
3105
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3106
|
+
type: z.ZodLiteral<"light_app">;
|
|
3107
|
+
data: z.ZodObject<{
|
|
3108
|
+
app_name: z.ZodString;
|
|
3109
|
+
json_payload: z.ZodString;
|
|
3110
|
+
}, z.core.$strip>;
|
|
3111
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3112
|
+
type: z.ZodLiteral<"xml">;
|
|
3113
|
+
data: z.ZodObject<{
|
|
3114
|
+
service_id: z.ZodNumber;
|
|
3115
|
+
xml_payload: z.ZodString;
|
|
3116
|
+
}, z.core.$strip>;
|
|
3117
|
+
}, z.core.$strip>], "type">>>>;
|
|
2099
3118
|
}, z.core.$strip>;
|
|
2100
3119
|
}, z.core.$strip>, z.ZodObject<{
|
|
2101
3120
|
type: z.ZodLiteral<"image">;
|
|
@@ -2163,7 +3182,7 @@ declare const GetMessageOutput: z.ZodObject<{
|
|
|
2163
3182
|
service_id: z.ZodNumber;
|
|
2164
3183
|
xml_payload: z.ZodString;
|
|
2165
3184
|
}, z.core.$strip>;
|
|
2166
|
-
}, z.core.$strip>], "type"
|
|
3185
|
+
}, z.core.$strip>], "type">>>>;
|
|
2167
3186
|
friend: z.ZodLazy<z.ZodObject<{
|
|
2168
3187
|
user_id: z.ZodNumber;
|
|
2169
3188
|
nickname: z.ZodString;
|
|
@@ -2185,7 +3204,7 @@ declare const GetMessageOutput: z.ZodObject<{
|
|
|
2185
3204
|
message_seq: z.ZodNumber;
|
|
2186
3205
|
sender_id: z.ZodNumber;
|
|
2187
3206
|
time: z.ZodNumber;
|
|
2188
|
-
segments: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3207
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodCatch<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2189
3208
|
type: z.ZodLiteral<"text">;
|
|
2190
3209
|
data: z.ZodObject<{
|
|
2191
3210
|
text: z.ZodString;
|
|
@@ -2194,6 +3213,7 @@ declare const GetMessageOutput: z.ZodObject<{
|
|
|
2194
3213
|
type: z.ZodLiteral<"mention">;
|
|
2195
3214
|
data: z.ZodObject<{
|
|
2196
3215
|
user_id: z.ZodNumber;
|
|
3216
|
+
name: z.ZodString;
|
|
2197
3217
|
}, z.core.$strip>;
|
|
2198
3218
|
}, z.core.$strip>, z.ZodObject<{
|
|
2199
3219
|
type: z.ZodLiteral<"mention_all">;
|
|
@@ -2208,6 +3228,96 @@ declare const GetMessageOutput: z.ZodObject<{
|
|
|
2208
3228
|
type: z.ZodLiteral<"reply">;
|
|
2209
3229
|
data: z.ZodObject<{
|
|
2210
3230
|
message_seq: z.ZodNumber;
|
|
3231
|
+
sender_id: z.ZodNumber;
|
|
3232
|
+
sender_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3233
|
+
time: z.ZodNumber;
|
|
3234
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodCatch<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3235
|
+
type: z.ZodLiteral<"text">;
|
|
3236
|
+
data: z.ZodObject<{
|
|
3237
|
+
text: z.ZodString;
|
|
3238
|
+
}, z.core.$strip>;
|
|
3239
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3240
|
+
type: z.ZodLiteral<"mention">;
|
|
3241
|
+
data: z.ZodObject<{
|
|
3242
|
+
user_id: z.ZodNumber;
|
|
3243
|
+
name: z.ZodString;
|
|
3244
|
+
}, z.core.$strip>;
|
|
3245
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3246
|
+
type: z.ZodLiteral<"mention_all">;
|
|
3247
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
3248
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3249
|
+
type: z.ZodLiteral<"face">;
|
|
3250
|
+
data: z.ZodObject<{
|
|
3251
|
+
face_id: z.ZodString;
|
|
3252
|
+
is_large: z.ZodBoolean;
|
|
3253
|
+
}, z.core.$strip>;
|
|
3254
|
+
}, z.core.$strip>, z.ZodObject< /*elided*/any, z.core.$strip>, z.ZodObject<{
|
|
3255
|
+
type: z.ZodLiteral<"image">;
|
|
3256
|
+
data: z.ZodObject<{
|
|
3257
|
+
resource_id: z.ZodString;
|
|
3258
|
+
temp_url: z.ZodString;
|
|
3259
|
+
width: z.ZodNumber;
|
|
3260
|
+
height: z.ZodNumber;
|
|
3261
|
+
summary: z.ZodString;
|
|
3262
|
+
sub_type: z.ZodEnum<{
|
|
3263
|
+
normal: "normal";
|
|
3264
|
+
sticker: "sticker";
|
|
3265
|
+
}>;
|
|
3266
|
+
}, z.core.$strip>;
|
|
3267
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3268
|
+
type: z.ZodLiteral<"record">;
|
|
3269
|
+
data: z.ZodObject<{
|
|
3270
|
+
resource_id: z.ZodString;
|
|
3271
|
+
temp_url: z.ZodString;
|
|
3272
|
+
duration: z.ZodNumber;
|
|
3273
|
+
}, z.core.$strip>;
|
|
3274
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3275
|
+
type: z.ZodLiteral<"video">;
|
|
3276
|
+
data: z.ZodObject<{
|
|
3277
|
+
resource_id: z.ZodString;
|
|
3278
|
+
temp_url: z.ZodString;
|
|
3279
|
+
width: z.ZodNumber;
|
|
3280
|
+
height: z.ZodNumber;
|
|
3281
|
+
duration: z.ZodNumber;
|
|
3282
|
+
}, z.core.$strip>;
|
|
3283
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3284
|
+
type: z.ZodLiteral<"file">;
|
|
3285
|
+
data: z.ZodObject<{
|
|
3286
|
+
file_id: z.ZodString;
|
|
3287
|
+
file_name: z.ZodString;
|
|
3288
|
+
file_size: z.ZodNumber;
|
|
3289
|
+
file_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3290
|
+
}, z.core.$strip>;
|
|
3291
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3292
|
+
type: z.ZodLiteral<"forward">;
|
|
3293
|
+
data: z.ZodObject<{
|
|
3294
|
+
forward_id: z.ZodString;
|
|
3295
|
+
title: z.ZodString;
|
|
3296
|
+
preview: z.ZodArray<z.ZodString>;
|
|
3297
|
+
summary: z.ZodString;
|
|
3298
|
+
}, z.core.$strip>;
|
|
3299
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3300
|
+
type: z.ZodLiteral<"market_face">;
|
|
3301
|
+
data: z.ZodObject<{
|
|
3302
|
+
emoji_package_id: z.ZodNumber;
|
|
3303
|
+
emoji_id: z.ZodString;
|
|
3304
|
+
key: z.ZodString;
|
|
3305
|
+
summary: z.ZodString;
|
|
3306
|
+
url: z.ZodString;
|
|
3307
|
+
}, z.core.$strip>;
|
|
3308
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3309
|
+
type: z.ZodLiteral<"light_app">;
|
|
3310
|
+
data: z.ZodObject<{
|
|
3311
|
+
app_name: z.ZodString;
|
|
3312
|
+
json_payload: z.ZodString;
|
|
3313
|
+
}, z.core.$strip>;
|
|
3314
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3315
|
+
type: z.ZodLiteral<"xml">;
|
|
3316
|
+
data: z.ZodObject<{
|
|
3317
|
+
service_id: z.ZodNumber;
|
|
3318
|
+
xml_payload: z.ZodString;
|
|
3319
|
+
}, z.core.$strip>;
|
|
3320
|
+
}, z.core.$strip>], "type">>>>;
|
|
2211
3321
|
}, z.core.$strip>;
|
|
2212
3322
|
}, z.core.$strip>, z.ZodObject<{
|
|
2213
3323
|
type: z.ZodLiteral<"image">;
|
|
@@ -2275,7 +3385,7 @@ declare const GetMessageOutput: z.ZodObject<{
|
|
|
2275
3385
|
service_id: z.ZodNumber;
|
|
2276
3386
|
xml_payload: z.ZodString;
|
|
2277
3387
|
}, z.core.$strip>;
|
|
2278
|
-
}, z.core.$strip>], "type"
|
|
3388
|
+
}, z.core.$strip>], "type">>>>;
|
|
2279
3389
|
group: z.ZodLazy<z.ZodObject<{
|
|
2280
3390
|
group_id: z.ZodNumber;
|
|
2281
3391
|
group_name: z.ZodString;
|
|
@@ -2309,7 +3419,7 @@ declare const GetMessageOutput: z.ZodObject<{
|
|
|
2309
3419
|
message_seq: z.ZodNumber;
|
|
2310
3420
|
sender_id: z.ZodNumber;
|
|
2311
3421
|
time: z.ZodNumber;
|
|
2312
|
-
segments: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3422
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodCatch<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2313
3423
|
type: z.ZodLiteral<"text">;
|
|
2314
3424
|
data: z.ZodObject<{
|
|
2315
3425
|
text: z.ZodString;
|
|
@@ -2318,6 +3428,7 @@ declare const GetMessageOutput: z.ZodObject<{
|
|
|
2318
3428
|
type: z.ZodLiteral<"mention">;
|
|
2319
3429
|
data: z.ZodObject<{
|
|
2320
3430
|
user_id: z.ZodNumber;
|
|
3431
|
+
name: z.ZodString;
|
|
2321
3432
|
}, z.core.$strip>;
|
|
2322
3433
|
}, z.core.$strip>, z.ZodObject<{
|
|
2323
3434
|
type: z.ZodLiteral<"mention_all">;
|
|
@@ -2332,6 +3443,96 @@ declare const GetMessageOutput: z.ZodObject<{
|
|
|
2332
3443
|
type: z.ZodLiteral<"reply">;
|
|
2333
3444
|
data: z.ZodObject<{
|
|
2334
3445
|
message_seq: z.ZodNumber;
|
|
3446
|
+
sender_id: z.ZodNumber;
|
|
3447
|
+
sender_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3448
|
+
time: z.ZodNumber;
|
|
3449
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodCatch<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3450
|
+
type: z.ZodLiteral<"text">;
|
|
3451
|
+
data: z.ZodObject<{
|
|
3452
|
+
text: z.ZodString;
|
|
3453
|
+
}, z.core.$strip>;
|
|
3454
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3455
|
+
type: z.ZodLiteral<"mention">;
|
|
3456
|
+
data: z.ZodObject<{
|
|
3457
|
+
user_id: z.ZodNumber;
|
|
3458
|
+
name: z.ZodString;
|
|
3459
|
+
}, z.core.$strip>;
|
|
3460
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3461
|
+
type: z.ZodLiteral<"mention_all">;
|
|
3462
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
3463
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3464
|
+
type: z.ZodLiteral<"face">;
|
|
3465
|
+
data: z.ZodObject<{
|
|
3466
|
+
face_id: z.ZodString;
|
|
3467
|
+
is_large: z.ZodBoolean;
|
|
3468
|
+
}, z.core.$strip>;
|
|
3469
|
+
}, z.core.$strip>, z.ZodObject< /*elided*/any, z.core.$strip>, z.ZodObject<{
|
|
3470
|
+
type: z.ZodLiteral<"image">;
|
|
3471
|
+
data: z.ZodObject<{
|
|
3472
|
+
resource_id: z.ZodString;
|
|
3473
|
+
temp_url: z.ZodString;
|
|
3474
|
+
width: z.ZodNumber;
|
|
3475
|
+
height: z.ZodNumber;
|
|
3476
|
+
summary: z.ZodString;
|
|
3477
|
+
sub_type: z.ZodEnum<{
|
|
3478
|
+
normal: "normal";
|
|
3479
|
+
sticker: "sticker";
|
|
3480
|
+
}>;
|
|
3481
|
+
}, z.core.$strip>;
|
|
3482
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3483
|
+
type: z.ZodLiteral<"record">;
|
|
3484
|
+
data: z.ZodObject<{
|
|
3485
|
+
resource_id: z.ZodString;
|
|
3486
|
+
temp_url: z.ZodString;
|
|
3487
|
+
duration: z.ZodNumber;
|
|
3488
|
+
}, z.core.$strip>;
|
|
3489
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3490
|
+
type: z.ZodLiteral<"video">;
|
|
3491
|
+
data: z.ZodObject<{
|
|
3492
|
+
resource_id: z.ZodString;
|
|
3493
|
+
temp_url: z.ZodString;
|
|
3494
|
+
width: z.ZodNumber;
|
|
3495
|
+
height: z.ZodNumber;
|
|
3496
|
+
duration: z.ZodNumber;
|
|
3497
|
+
}, z.core.$strip>;
|
|
3498
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3499
|
+
type: z.ZodLiteral<"file">;
|
|
3500
|
+
data: z.ZodObject<{
|
|
3501
|
+
file_id: z.ZodString;
|
|
3502
|
+
file_name: z.ZodString;
|
|
3503
|
+
file_size: z.ZodNumber;
|
|
3504
|
+
file_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3505
|
+
}, z.core.$strip>;
|
|
3506
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3507
|
+
type: z.ZodLiteral<"forward">;
|
|
3508
|
+
data: z.ZodObject<{
|
|
3509
|
+
forward_id: z.ZodString;
|
|
3510
|
+
title: z.ZodString;
|
|
3511
|
+
preview: z.ZodArray<z.ZodString>;
|
|
3512
|
+
summary: z.ZodString;
|
|
3513
|
+
}, z.core.$strip>;
|
|
3514
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3515
|
+
type: z.ZodLiteral<"market_face">;
|
|
3516
|
+
data: z.ZodObject<{
|
|
3517
|
+
emoji_package_id: z.ZodNumber;
|
|
3518
|
+
emoji_id: z.ZodString;
|
|
3519
|
+
key: z.ZodString;
|
|
3520
|
+
summary: z.ZodString;
|
|
3521
|
+
url: z.ZodString;
|
|
3522
|
+
}, z.core.$strip>;
|
|
3523
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3524
|
+
type: z.ZodLiteral<"light_app">;
|
|
3525
|
+
data: z.ZodObject<{
|
|
3526
|
+
app_name: z.ZodString;
|
|
3527
|
+
json_payload: z.ZodString;
|
|
3528
|
+
}, z.core.$strip>;
|
|
3529
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3530
|
+
type: z.ZodLiteral<"xml">;
|
|
3531
|
+
data: z.ZodObject<{
|
|
3532
|
+
service_id: z.ZodNumber;
|
|
3533
|
+
xml_payload: z.ZodString;
|
|
3534
|
+
}, z.core.$strip>;
|
|
3535
|
+
}, z.core.$strip>], "type">>>>;
|
|
2335
3536
|
}, z.core.$strip>;
|
|
2336
3537
|
}, z.core.$strip>, z.ZodObject<{
|
|
2337
3538
|
type: z.ZodLiteral<"image">;
|
|
@@ -2399,7 +3600,7 @@ declare const GetMessageOutput: z.ZodObject<{
|
|
|
2399
3600
|
service_id: z.ZodNumber;
|
|
2400
3601
|
xml_payload: z.ZodString;
|
|
2401
3602
|
}, z.core.$strip>;
|
|
2402
|
-
}, z.core.$strip>], "type"
|
|
3603
|
+
}, z.core.$strip>], "type">>>>;
|
|
2403
3604
|
group: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
2404
3605
|
group_id: z.ZodNumber;
|
|
2405
3606
|
group_name: z.ZodString;
|
|
@@ -2425,7 +3626,7 @@ declare const GetHistoryMessagesOutput: z.ZodObject<{
|
|
|
2425
3626
|
message_seq: z.ZodNumber;
|
|
2426
3627
|
sender_id: z.ZodNumber;
|
|
2427
3628
|
time: z.ZodNumber;
|
|
2428
|
-
segments: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3629
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodCatch<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2429
3630
|
type: z.ZodLiteral<"text">;
|
|
2430
3631
|
data: z.ZodObject<{
|
|
2431
3632
|
text: z.ZodString;
|
|
@@ -2434,6 +3635,7 @@ declare const GetHistoryMessagesOutput: z.ZodObject<{
|
|
|
2434
3635
|
type: z.ZodLiteral<"mention">;
|
|
2435
3636
|
data: z.ZodObject<{
|
|
2436
3637
|
user_id: z.ZodNumber;
|
|
3638
|
+
name: z.ZodString;
|
|
2437
3639
|
}, z.core.$strip>;
|
|
2438
3640
|
}, z.core.$strip>, z.ZodObject<{
|
|
2439
3641
|
type: z.ZodLiteral<"mention_all">;
|
|
@@ -2448,6 +3650,96 @@ declare const GetHistoryMessagesOutput: z.ZodObject<{
|
|
|
2448
3650
|
type: z.ZodLiteral<"reply">;
|
|
2449
3651
|
data: z.ZodObject<{
|
|
2450
3652
|
message_seq: z.ZodNumber;
|
|
3653
|
+
sender_id: z.ZodNumber;
|
|
3654
|
+
sender_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3655
|
+
time: z.ZodNumber;
|
|
3656
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodCatch<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3657
|
+
type: z.ZodLiteral<"text">;
|
|
3658
|
+
data: z.ZodObject<{
|
|
3659
|
+
text: z.ZodString;
|
|
3660
|
+
}, z.core.$strip>;
|
|
3661
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3662
|
+
type: z.ZodLiteral<"mention">;
|
|
3663
|
+
data: z.ZodObject<{
|
|
3664
|
+
user_id: z.ZodNumber;
|
|
3665
|
+
name: z.ZodString;
|
|
3666
|
+
}, z.core.$strip>;
|
|
3667
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3668
|
+
type: z.ZodLiteral<"mention_all">;
|
|
3669
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
3670
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3671
|
+
type: z.ZodLiteral<"face">;
|
|
3672
|
+
data: z.ZodObject<{
|
|
3673
|
+
face_id: z.ZodString;
|
|
3674
|
+
is_large: z.ZodBoolean;
|
|
3675
|
+
}, z.core.$strip>;
|
|
3676
|
+
}, z.core.$strip>, z.ZodObject< /*elided*/any, z.core.$strip>, z.ZodObject<{
|
|
3677
|
+
type: z.ZodLiteral<"image">;
|
|
3678
|
+
data: z.ZodObject<{
|
|
3679
|
+
resource_id: z.ZodString;
|
|
3680
|
+
temp_url: z.ZodString;
|
|
3681
|
+
width: z.ZodNumber;
|
|
3682
|
+
height: z.ZodNumber;
|
|
3683
|
+
summary: z.ZodString;
|
|
3684
|
+
sub_type: z.ZodEnum<{
|
|
3685
|
+
normal: "normal";
|
|
3686
|
+
sticker: "sticker";
|
|
3687
|
+
}>;
|
|
3688
|
+
}, z.core.$strip>;
|
|
3689
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3690
|
+
type: z.ZodLiteral<"record">;
|
|
3691
|
+
data: z.ZodObject<{
|
|
3692
|
+
resource_id: z.ZodString;
|
|
3693
|
+
temp_url: z.ZodString;
|
|
3694
|
+
duration: z.ZodNumber;
|
|
3695
|
+
}, z.core.$strip>;
|
|
3696
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3697
|
+
type: z.ZodLiteral<"video">;
|
|
3698
|
+
data: z.ZodObject<{
|
|
3699
|
+
resource_id: z.ZodString;
|
|
3700
|
+
temp_url: z.ZodString;
|
|
3701
|
+
width: z.ZodNumber;
|
|
3702
|
+
height: z.ZodNumber;
|
|
3703
|
+
duration: z.ZodNumber;
|
|
3704
|
+
}, z.core.$strip>;
|
|
3705
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3706
|
+
type: z.ZodLiteral<"file">;
|
|
3707
|
+
data: z.ZodObject<{
|
|
3708
|
+
file_id: z.ZodString;
|
|
3709
|
+
file_name: z.ZodString;
|
|
3710
|
+
file_size: z.ZodNumber;
|
|
3711
|
+
file_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3712
|
+
}, z.core.$strip>;
|
|
3713
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3714
|
+
type: z.ZodLiteral<"forward">;
|
|
3715
|
+
data: z.ZodObject<{
|
|
3716
|
+
forward_id: z.ZodString;
|
|
3717
|
+
title: z.ZodString;
|
|
3718
|
+
preview: z.ZodArray<z.ZodString>;
|
|
3719
|
+
summary: z.ZodString;
|
|
3720
|
+
}, z.core.$strip>;
|
|
3721
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3722
|
+
type: z.ZodLiteral<"market_face">;
|
|
3723
|
+
data: z.ZodObject<{
|
|
3724
|
+
emoji_package_id: z.ZodNumber;
|
|
3725
|
+
emoji_id: z.ZodString;
|
|
3726
|
+
key: z.ZodString;
|
|
3727
|
+
summary: z.ZodString;
|
|
3728
|
+
url: z.ZodString;
|
|
3729
|
+
}, z.core.$strip>;
|
|
3730
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3731
|
+
type: z.ZodLiteral<"light_app">;
|
|
3732
|
+
data: z.ZodObject<{
|
|
3733
|
+
app_name: z.ZodString;
|
|
3734
|
+
json_payload: z.ZodString;
|
|
3735
|
+
}, z.core.$strip>;
|
|
3736
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3737
|
+
type: z.ZodLiteral<"xml">;
|
|
3738
|
+
data: z.ZodObject<{
|
|
3739
|
+
service_id: z.ZodNumber;
|
|
3740
|
+
xml_payload: z.ZodString;
|
|
3741
|
+
}, z.core.$strip>;
|
|
3742
|
+
}, z.core.$strip>], "type">>>>;
|
|
2451
3743
|
}, z.core.$strip>;
|
|
2452
3744
|
}, z.core.$strip>, z.ZodObject<{
|
|
2453
3745
|
type: z.ZodLiteral<"image">;
|
|
@@ -2515,7 +3807,7 @@ declare const GetHistoryMessagesOutput: z.ZodObject<{
|
|
|
2515
3807
|
service_id: z.ZodNumber;
|
|
2516
3808
|
xml_payload: z.ZodString;
|
|
2517
3809
|
}, z.core.$strip>;
|
|
2518
|
-
}, z.core.$strip>], "type"
|
|
3810
|
+
}, z.core.$strip>], "type">>>>;
|
|
2519
3811
|
friend: z.ZodLazy<z.ZodObject<{
|
|
2520
3812
|
user_id: z.ZodNumber;
|
|
2521
3813
|
nickname: z.ZodString;
|
|
@@ -2537,7 +3829,7 @@ declare const GetHistoryMessagesOutput: z.ZodObject<{
|
|
|
2537
3829
|
message_seq: z.ZodNumber;
|
|
2538
3830
|
sender_id: z.ZodNumber;
|
|
2539
3831
|
time: z.ZodNumber;
|
|
2540
|
-
segments: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3832
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodCatch<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2541
3833
|
type: z.ZodLiteral<"text">;
|
|
2542
3834
|
data: z.ZodObject<{
|
|
2543
3835
|
text: z.ZodString;
|
|
@@ -2546,6 +3838,7 @@ declare const GetHistoryMessagesOutput: z.ZodObject<{
|
|
|
2546
3838
|
type: z.ZodLiteral<"mention">;
|
|
2547
3839
|
data: z.ZodObject<{
|
|
2548
3840
|
user_id: z.ZodNumber;
|
|
3841
|
+
name: z.ZodString;
|
|
2549
3842
|
}, z.core.$strip>;
|
|
2550
3843
|
}, z.core.$strip>, z.ZodObject<{
|
|
2551
3844
|
type: z.ZodLiteral<"mention_all">;
|
|
@@ -2560,6 +3853,96 @@ declare const GetHistoryMessagesOutput: z.ZodObject<{
|
|
|
2560
3853
|
type: z.ZodLiteral<"reply">;
|
|
2561
3854
|
data: z.ZodObject<{
|
|
2562
3855
|
message_seq: z.ZodNumber;
|
|
3856
|
+
sender_id: z.ZodNumber;
|
|
3857
|
+
sender_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3858
|
+
time: z.ZodNumber;
|
|
3859
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodCatch<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3860
|
+
type: z.ZodLiteral<"text">;
|
|
3861
|
+
data: z.ZodObject<{
|
|
3862
|
+
text: z.ZodString;
|
|
3863
|
+
}, z.core.$strip>;
|
|
3864
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3865
|
+
type: z.ZodLiteral<"mention">;
|
|
3866
|
+
data: z.ZodObject<{
|
|
3867
|
+
user_id: z.ZodNumber;
|
|
3868
|
+
name: z.ZodString;
|
|
3869
|
+
}, z.core.$strip>;
|
|
3870
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3871
|
+
type: z.ZodLiteral<"mention_all">;
|
|
3872
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
3873
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3874
|
+
type: z.ZodLiteral<"face">;
|
|
3875
|
+
data: z.ZodObject<{
|
|
3876
|
+
face_id: z.ZodString;
|
|
3877
|
+
is_large: z.ZodBoolean;
|
|
3878
|
+
}, z.core.$strip>;
|
|
3879
|
+
}, z.core.$strip>, z.ZodObject< /*elided*/any, z.core.$strip>, z.ZodObject<{
|
|
3880
|
+
type: z.ZodLiteral<"image">;
|
|
3881
|
+
data: z.ZodObject<{
|
|
3882
|
+
resource_id: z.ZodString;
|
|
3883
|
+
temp_url: z.ZodString;
|
|
3884
|
+
width: z.ZodNumber;
|
|
3885
|
+
height: z.ZodNumber;
|
|
3886
|
+
summary: z.ZodString;
|
|
3887
|
+
sub_type: z.ZodEnum<{
|
|
3888
|
+
normal: "normal";
|
|
3889
|
+
sticker: "sticker";
|
|
3890
|
+
}>;
|
|
3891
|
+
}, z.core.$strip>;
|
|
3892
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3893
|
+
type: z.ZodLiteral<"record">;
|
|
3894
|
+
data: z.ZodObject<{
|
|
3895
|
+
resource_id: z.ZodString;
|
|
3896
|
+
temp_url: z.ZodString;
|
|
3897
|
+
duration: z.ZodNumber;
|
|
3898
|
+
}, z.core.$strip>;
|
|
3899
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3900
|
+
type: z.ZodLiteral<"video">;
|
|
3901
|
+
data: z.ZodObject<{
|
|
3902
|
+
resource_id: z.ZodString;
|
|
3903
|
+
temp_url: z.ZodString;
|
|
3904
|
+
width: z.ZodNumber;
|
|
3905
|
+
height: z.ZodNumber;
|
|
3906
|
+
duration: z.ZodNumber;
|
|
3907
|
+
}, z.core.$strip>;
|
|
3908
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3909
|
+
type: z.ZodLiteral<"file">;
|
|
3910
|
+
data: z.ZodObject<{
|
|
3911
|
+
file_id: z.ZodString;
|
|
3912
|
+
file_name: z.ZodString;
|
|
3913
|
+
file_size: z.ZodNumber;
|
|
3914
|
+
file_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3915
|
+
}, z.core.$strip>;
|
|
3916
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3917
|
+
type: z.ZodLiteral<"forward">;
|
|
3918
|
+
data: z.ZodObject<{
|
|
3919
|
+
forward_id: z.ZodString;
|
|
3920
|
+
title: z.ZodString;
|
|
3921
|
+
preview: z.ZodArray<z.ZodString>;
|
|
3922
|
+
summary: z.ZodString;
|
|
3923
|
+
}, z.core.$strip>;
|
|
3924
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3925
|
+
type: z.ZodLiteral<"market_face">;
|
|
3926
|
+
data: z.ZodObject<{
|
|
3927
|
+
emoji_package_id: z.ZodNumber;
|
|
3928
|
+
emoji_id: z.ZodString;
|
|
3929
|
+
key: z.ZodString;
|
|
3930
|
+
summary: z.ZodString;
|
|
3931
|
+
url: z.ZodString;
|
|
3932
|
+
}, z.core.$strip>;
|
|
3933
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3934
|
+
type: z.ZodLiteral<"light_app">;
|
|
3935
|
+
data: z.ZodObject<{
|
|
3936
|
+
app_name: z.ZodString;
|
|
3937
|
+
json_payload: z.ZodString;
|
|
3938
|
+
}, z.core.$strip>;
|
|
3939
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3940
|
+
type: z.ZodLiteral<"xml">;
|
|
3941
|
+
data: z.ZodObject<{
|
|
3942
|
+
service_id: z.ZodNumber;
|
|
3943
|
+
xml_payload: z.ZodString;
|
|
3944
|
+
}, z.core.$strip>;
|
|
3945
|
+
}, z.core.$strip>], "type">>>>;
|
|
2563
3946
|
}, z.core.$strip>;
|
|
2564
3947
|
}, z.core.$strip>, z.ZodObject<{
|
|
2565
3948
|
type: z.ZodLiteral<"image">;
|
|
@@ -2627,7 +4010,7 @@ declare const GetHistoryMessagesOutput: z.ZodObject<{
|
|
|
2627
4010
|
service_id: z.ZodNumber;
|
|
2628
4011
|
xml_payload: z.ZodString;
|
|
2629
4012
|
}, z.core.$strip>;
|
|
2630
|
-
}, z.core.$strip>], "type"
|
|
4013
|
+
}, z.core.$strip>], "type">>>>;
|
|
2631
4014
|
group: z.ZodLazy<z.ZodObject<{
|
|
2632
4015
|
group_id: z.ZodNumber;
|
|
2633
4016
|
group_name: z.ZodString;
|
|
@@ -2661,7 +4044,7 @@ declare const GetHistoryMessagesOutput: z.ZodObject<{
|
|
|
2661
4044
|
message_seq: z.ZodNumber;
|
|
2662
4045
|
sender_id: z.ZodNumber;
|
|
2663
4046
|
time: z.ZodNumber;
|
|
2664
|
-
segments: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4047
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodCatch<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2665
4048
|
type: z.ZodLiteral<"text">;
|
|
2666
4049
|
data: z.ZodObject<{
|
|
2667
4050
|
text: z.ZodString;
|
|
@@ -2670,6 +4053,7 @@ declare const GetHistoryMessagesOutput: z.ZodObject<{
|
|
|
2670
4053
|
type: z.ZodLiteral<"mention">;
|
|
2671
4054
|
data: z.ZodObject<{
|
|
2672
4055
|
user_id: z.ZodNumber;
|
|
4056
|
+
name: z.ZodString;
|
|
2673
4057
|
}, z.core.$strip>;
|
|
2674
4058
|
}, z.core.$strip>, z.ZodObject<{
|
|
2675
4059
|
type: z.ZodLiteral<"mention_all">;
|
|
@@ -2684,6 +4068,96 @@ declare const GetHistoryMessagesOutput: z.ZodObject<{
|
|
|
2684
4068
|
type: z.ZodLiteral<"reply">;
|
|
2685
4069
|
data: z.ZodObject<{
|
|
2686
4070
|
message_seq: z.ZodNumber;
|
|
4071
|
+
sender_id: z.ZodNumber;
|
|
4072
|
+
sender_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4073
|
+
time: z.ZodNumber;
|
|
4074
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodCatch<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4075
|
+
type: z.ZodLiteral<"text">;
|
|
4076
|
+
data: z.ZodObject<{
|
|
4077
|
+
text: z.ZodString;
|
|
4078
|
+
}, z.core.$strip>;
|
|
4079
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4080
|
+
type: z.ZodLiteral<"mention">;
|
|
4081
|
+
data: z.ZodObject<{
|
|
4082
|
+
user_id: z.ZodNumber;
|
|
4083
|
+
name: z.ZodString;
|
|
4084
|
+
}, z.core.$strip>;
|
|
4085
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4086
|
+
type: z.ZodLiteral<"mention_all">;
|
|
4087
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
4088
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4089
|
+
type: z.ZodLiteral<"face">;
|
|
4090
|
+
data: z.ZodObject<{
|
|
4091
|
+
face_id: z.ZodString;
|
|
4092
|
+
is_large: z.ZodBoolean;
|
|
4093
|
+
}, z.core.$strip>;
|
|
4094
|
+
}, z.core.$strip>, z.ZodObject< /*elided*/any, z.core.$strip>, z.ZodObject<{
|
|
4095
|
+
type: z.ZodLiteral<"image">;
|
|
4096
|
+
data: z.ZodObject<{
|
|
4097
|
+
resource_id: z.ZodString;
|
|
4098
|
+
temp_url: z.ZodString;
|
|
4099
|
+
width: z.ZodNumber;
|
|
4100
|
+
height: z.ZodNumber;
|
|
4101
|
+
summary: z.ZodString;
|
|
4102
|
+
sub_type: z.ZodEnum<{
|
|
4103
|
+
normal: "normal";
|
|
4104
|
+
sticker: "sticker";
|
|
4105
|
+
}>;
|
|
4106
|
+
}, z.core.$strip>;
|
|
4107
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4108
|
+
type: z.ZodLiteral<"record">;
|
|
4109
|
+
data: z.ZodObject<{
|
|
4110
|
+
resource_id: z.ZodString;
|
|
4111
|
+
temp_url: z.ZodString;
|
|
4112
|
+
duration: z.ZodNumber;
|
|
4113
|
+
}, z.core.$strip>;
|
|
4114
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4115
|
+
type: z.ZodLiteral<"video">;
|
|
4116
|
+
data: z.ZodObject<{
|
|
4117
|
+
resource_id: z.ZodString;
|
|
4118
|
+
temp_url: z.ZodString;
|
|
4119
|
+
width: z.ZodNumber;
|
|
4120
|
+
height: z.ZodNumber;
|
|
4121
|
+
duration: z.ZodNumber;
|
|
4122
|
+
}, z.core.$strip>;
|
|
4123
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4124
|
+
type: z.ZodLiteral<"file">;
|
|
4125
|
+
data: z.ZodObject<{
|
|
4126
|
+
file_id: z.ZodString;
|
|
4127
|
+
file_name: z.ZodString;
|
|
4128
|
+
file_size: z.ZodNumber;
|
|
4129
|
+
file_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4130
|
+
}, z.core.$strip>;
|
|
4131
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4132
|
+
type: z.ZodLiteral<"forward">;
|
|
4133
|
+
data: z.ZodObject<{
|
|
4134
|
+
forward_id: z.ZodString;
|
|
4135
|
+
title: z.ZodString;
|
|
4136
|
+
preview: z.ZodArray<z.ZodString>;
|
|
4137
|
+
summary: z.ZodString;
|
|
4138
|
+
}, z.core.$strip>;
|
|
4139
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4140
|
+
type: z.ZodLiteral<"market_face">;
|
|
4141
|
+
data: z.ZodObject<{
|
|
4142
|
+
emoji_package_id: z.ZodNumber;
|
|
4143
|
+
emoji_id: z.ZodString;
|
|
4144
|
+
key: z.ZodString;
|
|
4145
|
+
summary: z.ZodString;
|
|
4146
|
+
url: z.ZodString;
|
|
4147
|
+
}, z.core.$strip>;
|
|
4148
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4149
|
+
type: z.ZodLiteral<"light_app">;
|
|
4150
|
+
data: z.ZodObject<{
|
|
4151
|
+
app_name: z.ZodString;
|
|
4152
|
+
json_payload: z.ZodString;
|
|
4153
|
+
}, z.core.$strip>;
|
|
4154
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4155
|
+
type: z.ZodLiteral<"xml">;
|
|
4156
|
+
data: z.ZodObject<{
|
|
4157
|
+
service_id: z.ZodNumber;
|
|
4158
|
+
xml_payload: z.ZodString;
|
|
4159
|
+
}, z.core.$strip>;
|
|
4160
|
+
}, z.core.$strip>], "type">>>>;
|
|
2687
4161
|
}, z.core.$strip>;
|
|
2688
4162
|
}, z.core.$strip>, z.ZodObject<{
|
|
2689
4163
|
type: z.ZodLiteral<"image">;
|
|
@@ -2751,7 +4225,7 @@ declare const GetHistoryMessagesOutput: z.ZodObject<{
|
|
|
2751
4225
|
service_id: z.ZodNumber;
|
|
2752
4226
|
xml_payload: z.ZodString;
|
|
2753
4227
|
}, z.core.$strip>;
|
|
2754
|
-
}, z.core.$strip>], "type"
|
|
4228
|
+
}, z.core.$strip>], "type">>>>;
|
|
2755
4229
|
group: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
2756
4230
|
group_id: z.ZodNumber;
|
|
2757
4231
|
group_name: z.ZodString;
|
|
@@ -2772,10 +4246,11 @@ declare const GetForwardedMessagesInput: z.ZodObject<{
|
|
|
2772
4246
|
}, z.core.$strip>;
|
|
2773
4247
|
declare const GetForwardedMessagesOutput: z.ZodObject<{
|
|
2774
4248
|
messages: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
4249
|
+
message_seq: z.ZodNumber;
|
|
2775
4250
|
sender_name: z.ZodString;
|
|
2776
4251
|
avatar_url: z.ZodString;
|
|
2777
4252
|
time: z.ZodNumber;
|
|
2778
|
-
segments: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4253
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodCatch<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2779
4254
|
type: z.ZodLiteral<"text">;
|
|
2780
4255
|
data: z.ZodObject<{
|
|
2781
4256
|
text: z.ZodString;
|
|
@@ -2784,6 +4259,7 @@ declare const GetForwardedMessagesOutput: z.ZodObject<{
|
|
|
2784
4259
|
type: z.ZodLiteral<"mention">;
|
|
2785
4260
|
data: z.ZodObject<{
|
|
2786
4261
|
user_id: z.ZodNumber;
|
|
4262
|
+
name: z.ZodString;
|
|
2787
4263
|
}, z.core.$strip>;
|
|
2788
4264
|
}, z.core.$strip>, z.ZodObject<{
|
|
2789
4265
|
type: z.ZodLiteral<"mention_all">;
|
|
@@ -2798,6 +4274,96 @@ declare const GetForwardedMessagesOutput: z.ZodObject<{
|
|
|
2798
4274
|
type: z.ZodLiteral<"reply">;
|
|
2799
4275
|
data: z.ZodObject<{
|
|
2800
4276
|
message_seq: z.ZodNumber;
|
|
4277
|
+
sender_id: z.ZodNumber;
|
|
4278
|
+
sender_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4279
|
+
time: z.ZodNumber;
|
|
4280
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodCatch<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4281
|
+
type: z.ZodLiteral<"text">;
|
|
4282
|
+
data: z.ZodObject<{
|
|
4283
|
+
text: z.ZodString;
|
|
4284
|
+
}, z.core.$strip>;
|
|
4285
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4286
|
+
type: z.ZodLiteral<"mention">;
|
|
4287
|
+
data: z.ZodObject<{
|
|
4288
|
+
user_id: z.ZodNumber;
|
|
4289
|
+
name: z.ZodString;
|
|
4290
|
+
}, z.core.$strip>;
|
|
4291
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4292
|
+
type: z.ZodLiteral<"mention_all">;
|
|
4293
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
4294
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4295
|
+
type: z.ZodLiteral<"face">;
|
|
4296
|
+
data: z.ZodObject<{
|
|
4297
|
+
face_id: z.ZodString;
|
|
4298
|
+
is_large: z.ZodBoolean;
|
|
4299
|
+
}, z.core.$strip>;
|
|
4300
|
+
}, z.core.$strip>, z.ZodObject< /*elided*/any, z.core.$strip>, z.ZodObject<{
|
|
4301
|
+
type: z.ZodLiteral<"image">;
|
|
4302
|
+
data: z.ZodObject<{
|
|
4303
|
+
resource_id: z.ZodString;
|
|
4304
|
+
temp_url: z.ZodString;
|
|
4305
|
+
width: z.ZodNumber;
|
|
4306
|
+
height: z.ZodNumber;
|
|
4307
|
+
summary: z.ZodString;
|
|
4308
|
+
sub_type: z.ZodEnum<{
|
|
4309
|
+
normal: "normal";
|
|
4310
|
+
sticker: "sticker";
|
|
4311
|
+
}>;
|
|
4312
|
+
}, z.core.$strip>;
|
|
4313
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4314
|
+
type: z.ZodLiteral<"record">;
|
|
4315
|
+
data: z.ZodObject<{
|
|
4316
|
+
resource_id: z.ZodString;
|
|
4317
|
+
temp_url: z.ZodString;
|
|
4318
|
+
duration: z.ZodNumber;
|
|
4319
|
+
}, z.core.$strip>;
|
|
4320
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4321
|
+
type: z.ZodLiteral<"video">;
|
|
4322
|
+
data: z.ZodObject<{
|
|
4323
|
+
resource_id: z.ZodString;
|
|
4324
|
+
temp_url: z.ZodString;
|
|
4325
|
+
width: z.ZodNumber;
|
|
4326
|
+
height: z.ZodNumber;
|
|
4327
|
+
duration: z.ZodNumber;
|
|
4328
|
+
}, z.core.$strip>;
|
|
4329
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4330
|
+
type: z.ZodLiteral<"file">;
|
|
4331
|
+
data: z.ZodObject<{
|
|
4332
|
+
file_id: z.ZodString;
|
|
4333
|
+
file_name: z.ZodString;
|
|
4334
|
+
file_size: z.ZodNumber;
|
|
4335
|
+
file_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4336
|
+
}, z.core.$strip>;
|
|
4337
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4338
|
+
type: z.ZodLiteral<"forward">;
|
|
4339
|
+
data: z.ZodObject<{
|
|
4340
|
+
forward_id: z.ZodString;
|
|
4341
|
+
title: z.ZodString;
|
|
4342
|
+
preview: z.ZodArray<z.ZodString>;
|
|
4343
|
+
summary: z.ZodString;
|
|
4344
|
+
}, z.core.$strip>;
|
|
4345
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4346
|
+
type: z.ZodLiteral<"market_face">;
|
|
4347
|
+
data: z.ZodObject<{
|
|
4348
|
+
emoji_package_id: z.ZodNumber;
|
|
4349
|
+
emoji_id: z.ZodString;
|
|
4350
|
+
key: z.ZodString;
|
|
4351
|
+
summary: z.ZodString;
|
|
4352
|
+
url: z.ZodString;
|
|
4353
|
+
}, z.core.$strip>;
|
|
4354
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4355
|
+
type: z.ZodLiteral<"light_app">;
|
|
4356
|
+
data: z.ZodObject<{
|
|
4357
|
+
app_name: z.ZodString;
|
|
4358
|
+
json_payload: z.ZodString;
|
|
4359
|
+
}, z.core.$strip>;
|
|
4360
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4361
|
+
type: z.ZodLiteral<"xml">;
|
|
4362
|
+
data: z.ZodObject<{
|
|
4363
|
+
service_id: z.ZodNumber;
|
|
4364
|
+
xml_payload: z.ZodString;
|
|
4365
|
+
}, z.core.$strip>;
|
|
4366
|
+
}, z.core.$strip>], "type">>>>;
|
|
2801
4367
|
}, z.core.$strip>;
|
|
2802
4368
|
}, z.core.$strip>, z.ZodObject<{
|
|
2803
4369
|
type: z.ZodLiteral<"image">;
|
|
@@ -2865,7 +4431,7 @@ declare const GetForwardedMessagesOutput: z.ZodObject<{
|
|
|
2865
4431
|
service_id: z.ZodNumber;
|
|
2866
4432
|
xml_payload: z.ZodString;
|
|
2867
4433
|
}, z.core.$strip>;
|
|
2868
|
-
}, z.core.$strip>], "type"
|
|
4434
|
+
}, z.core.$strip>], "type">>>>;
|
|
2869
4435
|
}, z.core.$strip>>>;
|
|
2870
4436
|
}, z.core.$strip>;
|
|
2871
4437
|
declare const MarkMessageAsReadInput: z.ZodObject<{
|
|
@@ -3019,7 +4585,7 @@ declare const GetGroupEssenceMessagesOutput: z.ZodObject<{
|
|
|
3019
4585
|
operator_id: z.ZodNumber;
|
|
3020
4586
|
operator_name: z.ZodString;
|
|
3021
4587
|
operation_time: z.ZodNumber;
|
|
3022
|
-
segments: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4588
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodCatch<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3023
4589
|
type: z.ZodLiteral<"text">;
|
|
3024
4590
|
data: z.ZodObject<{
|
|
3025
4591
|
text: z.ZodString;
|
|
@@ -3028,6 +4594,7 @@ declare const GetGroupEssenceMessagesOutput: z.ZodObject<{
|
|
|
3028
4594
|
type: z.ZodLiteral<"mention">;
|
|
3029
4595
|
data: z.ZodObject<{
|
|
3030
4596
|
user_id: z.ZodNumber;
|
|
4597
|
+
name: z.ZodString;
|
|
3031
4598
|
}, z.core.$strip>;
|
|
3032
4599
|
}, z.core.$strip>, z.ZodObject<{
|
|
3033
4600
|
type: z.ZodLiteral<"mention_all">;
|
|
@@ -3042,6 +4609,96 @@ declare const GetGroupEssenceMessagesOutput: z.ZodObject<{
|
|
|
3042
4609
|
type: z.ZodLiteral<"reply">;
|
|
3043
4610
|
data: z.ZodObject<{
|
|
3044
4611
|
message_seq: z.ZodNumber;
|
|
4612
|
+
sender_id: z.ZodNumber;
|
|
4613
|
+
sender_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4614
|
+
time: z.ZodNumber;
|
|
4615
|
+
segments: z.ZodArray<z.ZodLazy<z.ZodCatch<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4616
|
+
type: z.ZodLiteral<"text">;
|
|
4617
|
+
data: z.ZodObject<{
|
|
4618
|
+
text: z.ZodString;
|
|
4619
|
+
}, z.core.$strip>;
|
|
4620
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4621
|
+
type: z.ZodLiteral<"mention">;
|
|
4622
|
+
data: z.ZodObject<{
|
|
4623
|
+
user_id: z.ZodNumber;
|
|
4624
|
+
name: z.ZodString;
|
|
4625
|
+
}, z.core.$strip>;
|
|
4626
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4627
|
+
type: z.ZodLiteral<"mention_all">;
|
|
4628
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
4629
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4630
|
+
type: z.ZodLiteral<"face">;
|
|
4631
|
+
data: z.ZodObject<{
|
|
4632
|
+
face_id: z.ZodString;
|
|
4633
|
+
is_large: z.ZodBoolean;
|
|
4634
|
+
}, z.core.$strip>;
|
|
4635
|
+
}, z.core.$strip>, z.ZodObject< /*elided*/any, z.core.$strip>, z.ZodObject<{
|
|
4636
|
+
type: z.ZodLiteral<"image">;
|
|
4637
|
+
data: z.ZodObject<{
|
|
4638
|
+
resource_id: z.ZodString;
|
|
4639
|
+
temp_url: z.ZodString;
|
|
4640
|
+
width: z.ZodNumber;
|
|
4641
|
+
height: z.ZodNumber;
|
|
4642
|
+
summary: z.ZodString;
|
|
4643
|
+
sub_type: z.ZodEnum<{
|
|
4644
|
+
normal: "normal";
|
|
4645
|
+
sticker: "sticker";
|
|
4646
|
+
}>;
|
|
4647
|
+
}, z.core.$strip>;
|
|
4648
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4649
|
+
type: z.ZodLiteral<"record">;
|
|
4650
|
+
data: z.ZodObject<{
|
|
4651
|
+
resource_id: z.ZodString;
|
|
4652
|
+
temp_url: z.ZodString;
|
|
4653
|
+
duration: z.ZodNumber;
|
|
4654
|
+
}, z.core.$strip>;
|
|
4655
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4656
|
+
type: z.ZodLiteral<"video">;
|
|
4657
|
+
data: z.ZodObject<{
|
|
4658
|
+
resource_id: z.ZodString;
|
|
4659
|
+
temp_url: z.ZodString;
|
|
4660
|
+
width: z.ZodNumber;
|
|
4661
|
+
height: z.ZodNumber;
|
|
4662
|
+
duration: z.ZodNumber;
|
|
4663
|
+
}, z.core.$strip>;
|
|
4664
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4665
|
+
type: z.ZodLiteral<"file">;
|
|
4666
|
+
data: z.ZodObject<{
|
|
4667
|
+
file_id: z.ZodString;
|
|
4668
|
+
file_name: z.ZodString;
|
|
4669
|
+
file_size: z.ZodNumber;
|
|
4670
|
+
file_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4671
|
+
}, z.core.$strip>;
|
|
4672
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4673
|
+
type: z.ZodLiteral<"forward">;
|
|
4674
|
+
data: z.ZodObject<{
|
|
4675
|
+
forward_id: z.ZodString;
|
|
4676
|
+
title: z.ZodString;
|
|
4677
|
+
preview: z.ZodArray<z.ZodString>;
|
|
4678
|
+
summary: z.ZodString;
|
|
4679
|
+
}, z.core.$strip>;
|
|
4680
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4681
|
+
type: z.ZodLiteral<"market_face">;
|
|
4682
|
+
data: z.ZodObject<{
|
|
4683
|
+
emoji_package_id: z.ZodNumber;
|
|
4684
|
+
emoji_id: z.ZodString;
|
|
4685
|
+
key: z.ZodString;
|
|
4686
|
+
summary: z.ZodString;
|
|
4687
|
+
url: z.ZodString;
|
|
4688
|
+
}, z.core.$strip>;
|
|
4689
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4690
|
+
type: z.ZodLiteral<"light_app">;
|
|
4691
|
+
data: z.ZodObject<{
|
|
4692
|
+
app_name: z.ZodString;
|
|
4693
|
+
json_payload: z.ZodString;
|
|
4694
|
+
}, z.core.$strip>;
|
|
4695
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4696
|
+
type: z.ZodLiteral<"xml">;
|
|
4697
|
+
data: z.ZodObject<{
|
|
4698
|
+
service_id: z.ZodNumber;
|
|
4699
|
+
xml_payload: z.ZodString;
|
|
4700
|
+
}, z.core.$strip>;
|
|
4701
|
+
}, z.core.$strip>], "type">>>>;
|
|
3045
4702
|
}, z.core.$strip>;
|
|
3046
4703
|
}, z.core.$strip>, z.ZodObject<{
|
|
3047
4704
|
type: z.ZodLiteral<"image">;
|
|
@@ -3109,7 +4766,7 @@ declare const GetGroupEssenceMessagesOutput: z.ZodObject<{
|
|
|
3109
4766
|
service_id: z.ZodNumber;
|
|
3110
4767
|
xml_payload: z.ZodString;
|
|
3111
4768
|
}, z.core.$strip>;
|
|
3112
|
-
}, z.core.$strip>], "type"
|
|
4769
|
+
}, z.core.$strip>], "type">>>>;
|
|
3113
4770
|
}, z.core.$strip>>>;
|
|
3114
4771
|
is_end: z.ZodBoolean;
|
|
3115
4772
|
}, z.core.$strip>;
|
|
@@ -3125,6 +4782,10 @@ declare const SendGroupMessageReactionInput: z.ZodObject<{
|
|
|
3125
4782
|
group_id: z.ZodNumber;
|
|
3126
4783
|
message_seq: z.ZodNumber;
|
|
3127
4784
|
reaction: z.ZodString;
|
|
4785
|
+
reaction_type: z.ZodDefault<z.ZodEnum<{
|
|
4786
|
+
face: "face";
|
|
4787
|
+
emoji: "emoji";
|
|
4788
|
+
}>>;
|
|
3128
4789
|
is_add: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodBoolean>>>, z.ZodTransform<boolean, boolean | null>>;
|
|
3129
4790
|
}, z.core.$strip>;
|
|
3130
4791
|
declare const SendGroupNudgeInput: z.ZodObject<{
|
|
@@ -3137,7 +4798,7 @@ declare const GetGroupNotificationsInput: z.ZodObject<{
|
|
|
3137
4798
|
limit: z.ZodPipe<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodNumber>>>, z.ZodTransform<number, number | null>>;
|
|
3138
4799
|
}, z.core.$strip>;
|
|
3139
4800
|
declare const GetGroupNotificationsOutput: z.ZodObject<{
|
|
3140
|
-
notifications: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4801
|
+
notifications: z.ZodPipe<z.ZodArray<z.ZodCatch<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3141
4802
|
type: z.ZodLiteral<"join_request">;
|
|
3142
4803
|
group_id: z.ZodNumber;
|
|
3143
4804
|
notification_seq: z.ZodNumber;
|
|
@@ -3182,7 +4843,7 @@ declare const GetGroupNotificationsOutput: z.ZodObject<{
|
|
|
3182
4843
|
ignored: "ignored";
|
|
3183
4844
|
}>;
|
|
3184
4845
|
operator_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3185
|
-
}, z.core.$strip>], "type">>>;
|
|
4846
|
+
}, z.core.$strip>], "type">>>>, z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
3186
4847
|
next_notification_seq: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3187
4848
|
}, z.core.$strip>;
|
|
3188
4849
|
declare const AcceptGroupRequestInput: z.ZodObject<{
|
|
@@ -3351,8 +5012,8 @@ type DeleteGroupFolderInput = z.infer<typeof DeleteGroupFolderInput>;
|
|
|
3351
5012
|
declare const milkyPackageVersion: string;
|
|
3352
5013
|
declare const milkyVersion: string;
|
|
3353
5014
|
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 };
|
|
5015
|
+
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, GetPeerPinsOutput, 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, PeerPinChangeEvent, 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, SetPeerPinInput, UploadGroupFileInput, UploadGroupFileOutput, UploadPrivateFileInput, UploadPrivateFileOutput, ZBoolean, ZBooleanWithDefault, ZInt32, ZInt32WithDefault, ZInt64, ZInt64WithDefault, ZString, ZStringWithDefault, ZUin, milkyPackageVersion, milkyVersion };
|
|
3355
5016
|
}
|
|
3356
5017
|
//#endregion
|
|
3357
|
-
export { GetForwardedMessagesOutput as $,
|
|
3358
|
-
//# sourceMappingURL=index-
|
|
5018
|
+
export { GetForwardedMessagesOutput as $, GroupNameChangeEvent as $t, KickGroupMemberInput as A, GetLoginInfoOutput as At, SetGroupMemberCardInput as B, FriendFileUploadEvent as Bt, DeleteGroupAnnouncementInput as C, ZInt32 as Cn, GetGroupListInput as Ct, GetGroupEssenceMessagesOutput as D, ZString as Dn, GetGroupMemberListInput as Dt, GetGroupEssenceMessagesInput as E, ZInt64WithDefault as En, GetGroupMemberInfoOutput as Et, SendGroupMessageReactionInput as F, SetBioInput as Ft, AcceptFriendRequestInput as G, GroupFileUploadEvent as Gt, SetGroupMemberSpecialTitleInput as H, FriendRequestEvent as Ht, SendGroupNudgeInput as I, SetNicknameInput as It, GetFriendRequestsOutput as J, GroupJoinRequestEvent as Jt, DeleteFriendInput as K, GroupInvitationEvent as Kt, SetGroupAvatarInput as L, SetPeerPinInput as Lt, RejectGroupInvitationInput as M, GetUserProfileInput as Mt, RejectGroupRequestInput as N, GetUserProfileOutput as Nt, GetGroupNotificationsInput as O, ZStringWithDefault as On, GetGroupMemberListOutput as Ot, SendGroupAnnouncementInput as P, SetAvatarInput as Pt, GetForwardedMessagesInput as Q, GroupMuteEvent as Qt, SetGroupEssenceMessageInput as R, BotOfflineEvent as Rt, AcceptGroupRequestInput as S, ZBooleanWithDefault as Sn, GetGroupInfoOutput as St, GetGroupAnnouncementsOutput as T, ZInt64 as Tn, GetGroupMemberInfoInput as Tt, SetGroupNameInput as U, GroupAdminChangeEvent as Ut, SetGroupMemberMuteInput as V, FriendNudgeEvent as Vt, SetGroupWholeMuteInput as W, GroupEssenceMessageChangeEvent as Wt, SendFriendNudgeInput as X, GroupMemberIncreaseEvent as Xt, RejectFriendRequestInput as Y, GroupMemberDecreaseEvent as Yt, SendProfileLikeInput as Z, GroupMessageReactionEvent as Zt, UploadGroupFileInput as _, GroupFileEntity as _n, GetFriendInfoInput as _t, CreateGroupFolderOutput as a, IncomingForwardedMessage as an, GetResourceTempUrlOutput as at, UploadPrivateFileOutput as b, GroupNotification as bn, GetFriendListOutput as bt, GetGroupFileDownloadUrlInput as c, IncomingSegment as cn, RecallPrivateMessageInput as ct, GetGroupFilesOutput as d, OutgoingSegment as dn, SendPrivateMessageInput as dt, GroupNudgeEvent as en, GetHistoryMessagesInput as et, GetPrivateFileDownloadUrlInput as f, FriendCategoryEntity as fn, SendPrivateMessageOutput as ft, RenameGroupFolderInput as g, GroupEntity as gn, GetCustomFaceUrlListOutput as gt, RenameGroupFileInput as h, GroupAnnouncementEntity as hn, GetCookiesOutput as ht, CreateGroupFolderInput as i, GroupEssenceMessage as in, GetResourceTempUrlInput as it, QuitGroupInput as j, GetPeerPinsOutput as jt, GetGroupNotificationsOutput as k, ZUin as kn, GetImplInfoOutput as kt, GetGroupFileDownloadUrlOutput as l, OutgoingForwardedMessage as ln, SendGroupMessageInput as lt, MoveGroupFileInput as m, FriendRequest as mn, GetCookiesInput as mt, milkyPackageVersion as n, MessageRecallEvent as nn, GetMessageInput as nt, DeleteGroupFileInput as o, IncomingMessage as on, MarkMessageAsReadInput as ot, GetPrivateFileDownloadUrlOutput as p, FriendEntity as pn, GetCSRFTokenOutput as pt, GetFriendRequestsInput as q, GroupInvitedJoinRequestEvent as qt, milkyVersion as r, PeerPinChangeEvent as rn, GetMessageOutput as rt, DeleteGroupFolderInput as s, IncomingResourceSegmentBase as sn, RecallGroupMessageInput as st, index_d_exports as t, GroupWholeMuteEvent as tn, GetHistoryMessagesOutput as tt, GetGroupFilesInput as u, OutgoingResourceSegmentBase as un, SendGroupMessageOutput as ut, UploadGroupFileOutput as v, GroupFolderEntity as vn, GetFriendInfoOutput as vt, GetGroupAnnouncementsInput as w, ZInt32WithDefault as wn, GetGroupListOutput as wt, AcceptGroupInvitationInput as x, ZBoolean as xn, GetGroupInfoInput as xt, UploadPrivateFileInput as y, GroupMemberEntity as yn, GetFriendListInput as yt, SetGroupMemberAdminInput as z, Event as zt };
|
|
5019
|
+
//# sourceMappingURL=index-V6xmB-C1.d.mts.map
|