@saltify/milky-types 1.1.0-rc.2 → 1.1.0-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-endpoints.d.mts +19 -0
- package/dist/api-endpoints.mjs +422 -0
- package/dist/api-endpoints.mjs.map +1 -0
- package/dist/index-DDpuCo8n.d.mts +3358 -0
- package/dist/index.d.mts +2 -0
- package/dist/index.mjs +908 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +2 -2
- package/dist/api-endpoints.d.ts +0 -18
- package/dist/api-endpoints.js +0 -423
- package/dist/api-endpoints.js.map +0 -1
- package/dist/index-BYP4VNOL.d.ts +0 -3479
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -1142
- package/dist/index.js.map +0 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { t as index_d_exports } from "./index-DDpuCo8n.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/api-endpoints.d.ts
|
|
4
|
+
type TypeName = keyof typeof index_d_exports;
|
|
5
|
+
declare const commonStructs: TypeName[];
|
|
6
|
+
interface Api {
|
|
7
|
+
endpoint: string;
|
|
8
|
+
description: string;
|
|
9
|
+
inputStruct: TypeName | null;
|
|
10
|
+
outputStruct: TypeName | null;
|
|
11
|
+
}
|
|
12
|
+
interface ApiCategory {
|
|
13
|
+
name: string;
|
|
14
|
+
apis: Api[];
|
|
15
|
+
}
|
|
16
|
+
declare const apiCategories: Record<string, ApiCategory>;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { Api, ApiCategory, apiCategories, commonStructs };
|
|
19
|
+
//# sourceMappingURL=api-endpoints.d.mts.map
|
|
@@ -0,0 +1,422 @@
|
|
|
1
|
+
//#region src/api-endpoints.ts
|
|
2
|
+
const commonStructs = [
|
|
3
|
+
"Event",
|
|
4
|
+
"FriendEntity",
|
|
5
|
+
"FriendCategoryEntity",
|
|
6
|
+
"GroupEntity",
|
|
7
|
+
"GroupMemberEntity",
|
|
8
|
+
"GroupAnnouncementEntity",
|
|
9
|
+
"GroupFileEntity",
|
|
10
|
+
"GroupFolderEntity",
|
|
11
|
+
"FriendRequest",
|
|
12
|
+
"GroupNotification",
|
|
13
|
+
"IncomingMessage",
|
|
14
|
+
"IncomingForwardedMessage",
|
|
15
|
+
"GroupEssenceMessage",
|
|
16
|
+
"IncomingSegment",
|
|
17
|
+
"OutgoingForwardedMessage",
|
|
18
|
+
"OutgoingSegment"
|
|
19
|
+
];
|
|
20
|
+
const apiCategories = {
|
|
21
|
+
system: {
|
|
22
|
+
name: "系统 API",
|
|
23
|
+
apis: [
|
|
24
|
+
{
|
|
25
|
+
endpoint: "get_login_info",
|
|
26
|
+
description: "获取登录信息",
|
|
27
|
+
inputStruct: null,
|
|
28
|
+
outputStruct: "GetLoginInfoOutput"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
endpoint: "get_impl_info",
|
|
32
|
+
description: "获取协议端信息",
|
|
33
|
+
inputStruct: null,
|
|
34
|
+
outputStruct: "GetImplInfoOutput"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
endpoint: "get_user_profile",
|
|
38
|
+
description: "获取用户个人信息",
|
|
39
|
+
inputStruct: "GetUserProfileInput",
|
|
40
|
+
outputStruct: "GetUserProfileOutput"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
endpoint: "get_friend_list",
|
|
44
|
+
description: "获取好友列表",
|
|
45
|
+
inputStruct: "GetFriendListInput",
|
|
46
|
+
outputStruct: "GetFriendListOutput"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
endpoint: "get_friend_info",
|
|
50
|
+
description: "获取好友信息",
|
|
51
|
+
inputStruct: "GetFriendInfoInput",
|
|
52
|
+
outputStruct: "GetFriendInfoOutput"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
endpoint: "get_group_list",
|
|
56
|
+
description: "获取群列表",
|
|
57
|
+
inputStruct: "GetGroupListInput",
|
|
58
|
+
outputStruct: "GetGroupListOutput"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
endpoint: "get_group_info",
|
|
62
|
+
description: "获取群信息",
|
|
63
|
+
inputStruct: "GetGroupInfoInput",
|
|
64
|
+
outputStruct: "GetGroupInfoOutput"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
endpoint: "get_group_member_list",
|
|
68
|
+
description: "获取群成员列表",
|
|
69
|
+
inputStruct: "GetGroupMemberListInput",
|
|
70
|
+
outputStruct: "GetGroupMemberListOutput"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
endpoint: "get_group_member_info",
|
|
74
|
+
description: "获取群成员信息",
|
|
75
|
+
inputStruct: "GetGroupMemberInfoInput",
|
|
76
|
+
outputStruct: "GetGroupMemberInfoOutput"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
endpoint: "set_avatar",
|
|
80
|
+
description: "设置 QQ 账号头像",
|
|
81
|
+
inputStruct: "SetAvatarInput",
|
|
82
|
+
outputStruct: null
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
endpoint: "set_nickname",
|
|
86
|
+
description: "设置 QQ 账号昵称",
|
|
87
|
+
inputStruct: "SetNicknameInput",
|
|
88
|
+
outputStruct: null
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
endpoint: "set_bio",
|
|
92
|
+
description: "设置 QQ 账号个性签名",
|
|
93
|
+
inputStruct: "SetBioInput",
|
|
94
|
+
outputStruct: null
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
endpoint: "get_custom_face_url_list",
|
|
98
|
+
description: "获取自定义表情 URL 列表",
|
|
99
|
+
inputStruct: null,
|
|
100
|
+
outputStruct: "GetCustomFaceUrlListOutput"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
endpoint: "get_cookies",
|
|
104
|
+
description: "获取 Cookies",
|
|
105
|
+
inputStruct: "GetCookiesInput",
|
|
106
|
+
outputStruct: "GetCookiesOutput"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
endpoint: "get_csrf_token",
|
|
110
|
+
description: "获取 CSRF Token",
|
|
111
|
+
inputStruct: null,
|
|
112
|
+
outputStruct: "GetCSRFTokenOutput"
|
|
113
|
+
}
|
|
114
|
+
]
|
|
115
|
+
},
|
|
116
|
+
message: {
|
|
117
|
+
name: "消息 API",
|
|
118
|
+
apis: [
|
|
119
|
+
{
|
|
120
|
+
endpoint: "send_private_message",
|
|
121
|
+
description: "发送私聊消息",
|
|
122
|
+
inputStruct: "SendPrivateMessageInput",
|
|
123
|
+
outputStruct: "SendPrivateMessageOutput"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
endpoint: "send_group_message",
|
|
127
|
+
description: "发送群聊消息",
|
|
128
|
+
inputStruct: "SendGroupMessageInput",
|
|
129
|
+
outputStruct: "SendGroupMessageOutput"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
endpoint: "recall_private_message",
|
|
133
|
+
description: "撤回私聊消息",
|
|
134
|
+
inputStruct: "RecallPrivateMessageInput",
|
|
135
|
+
outputStruct: null
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
endpoint: "recall_group_message",
|
|
139
|
+
description: "撤回群聊消息",
|
|
140
|
+
inputStruct: "RecallGroupMessageInput",
|
|
141
|
+
outputStruct: null
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
endpoint: "get_message",
|
|
145
|
+
description: "获取消息",
|
|
146
|
+
inputStruct: "GetMessageInput",
|
|
147
|
+
outputStruct: "GetMessageOutput"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
endpoint: "get_history_messages",
|
|
151
|
+
description: "获取历史消息列表",
|
|
152
|
+
inputStruct: "GetHistoryMessagesInput",
|
|
153
|
+
outputStruct: "GetHistoryMessagesOutput"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
endpoint: "get_resource_temp_url",
|
|
157
|
+
description: "获取临时资源链接",
|
|
158
|
+
inputStruct: "GetResourceTempUrlInput",
|
|
159
|
+
outputStruct: "GetResourceTempUrlOutput"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
endpoint: "get_forwarded_messages",
|
|
163
|
+
description: "获取合并转发消息内容",
|
|
164
|
+
inputStruct: "GetForwardedMessagesInput",
|
|
165
|
+
outputStruct: "GetForwardedMessagesOutput"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
endpoint: "mark_message_as_read",
|
|
169
|
+
description: "标记消息为已读",
|
|
170
|
+
inputStruct: "MarkMessageAsReadInput",
|
|
171
|
+
outputStruct: null
|
|
172
|
+
}
|
|
173
|
+
]
|
|
174
|
+
},
|
|
175
|
+
friend: {
|
|
176
|
+
name: "好友 API",
|
|
177
|
+
apis: [
|
|
178
|
+
{
|
|
179
|
+
endpoint: "send_friend_nudge",
|
|
180
|
+
description: "发送好友戳一戳",
|
|
181
|
+
inputStruct: "SendFriendNudgeInput",
|
|
182
|
+
outputStruct: null
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
endpoint: "send_profile_like",
|
|
186
|
+
description: "发送名片点赞",
|
|
187
|
+
inputStruct: "SendProfileLikeInput",
|
|
188
|
+
outputStruct: null
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
endpoint: "delete_friend",
|
|
192
|
+
description: "删除好友",
|
|
193
|
+
inputStruct: "DeleteFriendInput",
|
|
194
|
+
outputStruct: null
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
endpoint: "get_friend_requests",
|
|
198
|
+
description: "获取好友请求列表",
|
|
199
|
+
inputStruct: "GetFriendRequestsInput",
|
|
200
|
+
outputStruct: "GetFriendRequestsOutput"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
endpoint: "accept_friend_request",
|
|
204
|
+
description: "同意好友请求",
|
|
205
|
+
inputStruct: "AcceptFriendRequestInput",
|
|
206
|
+
outputStruct: null
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
endpoint: "reject_friend_request",
|
|
210
|
+
description: "拒绝好友请求",
|
|
211
|
+
inputStruct: "RejectFriendRequestInput",
|
|
212
|
+
outputStruct: null
|
|
213
|
+
}
|
|
214
|
+
]
|
|
215
|
+
},
|
|
216
|
+
group: {
|
|
217
|
+
name: "群聊 API",
|
|
218
|
+
apis: [
|
|
219
|
+
{
|
|
220
|
+
endpoint: "set_group_name",
|
|
221
|
+
description: "设置群名称",
|
|
222
|
+
inputStruct: "SetGroupNameInput",
|
|
223
|
+
outputStruct: null
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
endpoint: "set_group_avatar",
|
|
227
|
+
description: "设置群头像",
|
|
228
|
+
inputStruct: "SetGroupAvatarInput",
|
|
229
|
+
outputStruct: null
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
endpoint: "set_group_member_card",
|
|
233
|
+
description: "设置群名片",
|
|
234
|
+
inputStruct: "SetGroupMemberCardInput",
|
|
235
|
+
outputStruct: null
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
endpoint: "set_group_member_special_title",
|
|
239
|
+
description: "设置群成员专属头衔",
|
|
240
|
+
inputStruct: "SetGroupMemberSpecialTitleInput",
|
|
241
|
+
outputStruct: null
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
endpoint: "set_group_member_admin",
|
|
245
|
+
description: "设置群管理员",
|
|
246
|
+
inputStruct: "SetGroupMemberAdminInput",
|
|
247
|
+
outputStruct: null
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
endpoint: "set_group_member_mute",
|
|
251
|
+
description: "设置群成员禁言",
|
|
252
|
+
inputStruct: "SetGroupMemberMuteInput",
|
|
253
|
+
outputStruct: null
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
endpoint: "set_group_whole_mute",
|
|
257
|
+
description: "设置群全员禁言",
|
|
258
|
+
inputStruct: "SetGroupWholeMuteInput",
|
|
259
|
+
outputStruct: null
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
endpoint: "kick_group_member",
|
|
263
|
+
description: "踢出群成员",
|
|
264
|
+
inputStruct: "KickGroupMemberInput",
|
|
265
|
+
outputStruct: null
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
endpoint: "get_group_announcements",
|
|
269
|
+
description: "获取群公告列表",
|
|
270
|
+
inputStruct: "GetGroupAnnouncementsInput",
|
|
271
|
+
outputStruct: "GetGroupAnnouncementsOutput"
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
endpoint: "send_group_announcement",
|
|
275
|
+
description: "发送群公告",
|
|
276
|
+
inputStruct: "SendGroupAnnouncementInput",
|
|
277
|
+
outputStruct: null
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
endpoint: "delete_group_announcement",
|
|
281
|
+
description: "删除群公告",
|
|
282
|
+
inputStruct: "DeleteGroupAnnouncementInput",
|
|
283
|
+
outputStruct: null
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
endpoint: "get_group_essence_messages",
|
|
287
|
+
description: "获取群精华消息列表",
|
|
288
|
+
inputStruct: "GetGroupEssenceMessagesInput",
|
|
289
|
+
outputStruct: "GetGroupEssenceMessagesOutput"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
endpoint: "set_group_essence_message",
|
|
293
|
+
description: "设置群精华消息",
|
|
294
|
+
inputStruct: "SetGroupEssenceMessageInput",
|
|
295
|
+
outputStruct: null
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
endpoint: "quit_group",
|
|
299
|
+
description: "退出群",
|
|
300
|
+
inputStruct: "QuitGroupInput",
|
|
301
|
+
outputStruct: null
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
endpoint: "send_group_message_reaction",
|
|
305
|
+
description: "发送群消息表情回应",
|
|
306
|
+
inputStruct: "SendGroupMessageReactionInput",
|
|
307
|
+
outputStruct: null
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
endpoint: "send_group_nudge",
|
|
311
|
+
description: "发送群戳一戳",
|
|
312
|
+
inputStruct: "SendGroupNudgeInput",
|
|
313
|
+
outputStruct: null
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
endpoint: "get_group_notifications",
|
|
317
|
+
description: "获取群通知列表",
|
|
318
|
+
inputStruct: "GetGroupNotificationsInput",
|
|
319
|
+
outputStruct: "GetGroupNotificationsOutput"
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
endpoint: "accept_group_request",
|
|
323
|
+
description: "同意入群/邀请他人入群请求",
|
|
324
|
+
inputStruct: "AcceptGroupRequestInput",
|
|
325
|
+
outputStruct: null
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
endpoint: "reject_group_request",
|
|
329
|
+
description: "拒绝入群/邀请他人入群请求",
|
|
330
|
+
inputStruct: "RejectGroupRequestInput",
|
|
331
|
+
outputStruct: null
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
endpoint: "accept_group_invitation",
|
|
335
|
+
description: "同意他人邀请自身入群",
|
|
336
|
+
inputStruct: "AcceptGroupInvitationInput",
|
|
337
|
+
outputStruct: null
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
endpoint: "reject_group_invitation",
|
|
341
|
+
description: "拒绝他人邀请自身入群",
|
|
342
|
+
inputStruct: "RejectGroupInvitationInput",
|
|
343
|
+
outputStruct: null
|
|
344
|
+
}
|
|
345
|
+
]
|
|
346
|
+
},
|
|
347
|
+
file: {
|
|
348
|
+
name: "文件 API",
|
|
349
|
+
apis: [
|
|
350
|
+
{
|
|
351
|
+
endpoint: "upload_private_file",
|
|
352
|
+
description: "上传私聊文件",
|
|
353
|
+
inputStruct: "UploadPrivateFileInput",
|
|
354
|
+
outputStruct: "UploadPrivateFileOutput"
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
endpoint: "upload_group_file",
|
|
358
|
+
description: "上传群文件",
|
|
359
|
+
inputStruct: "UploadGroupFileInput",
|
|
360
|
+
outputStruct: "UploadGroupFileOutput"
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
endpoint: "get_private_file_download_url",
|
|
364
|
+
description: "获取私聊文件下载链接",
|
|
365
|
+
inputStruct: "GetPrivateFileDownloadUrlInput",
|
|
366
|
+
outputStruct: "GetPrivateFileDownloadUrlOutput"
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
endpoint: "get_group_file_download_url",
|
|
370
|
+
description: "获取群文件下载链接",
|
|
371
|
+
inputStruct: "GetGroupFileDownloadUrlInput",
|
|
372
|
+
outputStruct: "GetGroupFileDownloadUrlOutput"
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
endpoint: "get_group_files",
|
|
376
|
+
description: "获取群文件列表",
|
|
377
|
+
inputStruct: "GetGroupFilesInput",
|
|
378
|
+
outputStruct: "GetGroupFilesOutput"
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
endpoint: "move_group_file",
|
|
382
|
+
description: "移动群文件",
|
|
383
|
+
inputStruct: "MoveGroupFileInput",
|
|
384
|
+
outputStruct: null
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
endpoint: "rename_group_file",
|
|
388
|
+
description: "重命名群文件",
|
|
389
|
+
inputStruct: "RenameGroupFileInput",
|
|
390
|
+
outputStruct: null
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
endpoint: "delete_group_file",
|
|
394
|
+
description: "删除群文件",
|
|
395
|
+
inputStruct: "DeleteGroupFileInput",
|
|
396
|
+
outputStruct: null
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
endpoint: "create_group_folder",
|
|
400
|
+
description: "创建群文件夹",
|
|
401
|
+
inputStruct: "CreateGroupFolderInput",
|
|
402
|
+
outputStruct: "CreateGroupFolderOutput"
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
endpoint: "rename_group_folder",
|
|
406
|
+
description: "重命名群文件夹",
|
|
407
|
+
inputStruct: "RenameGroupFolderInput",
|
|
408
|
+
outputStruct: null
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
endpoint: "delete_group_folder",
|
|
412
|
+
description: "删除群文件夹",
|
|
413
|
+
inputStruct: "DeleteGroupFolderInput",
|
|
414
|
+
outputStruct: null
|
|
415
|
+
}
|
|
416
|
+
]
|
|
417
|
+
}
|
|
418
|
+
};
|
|
419
|
+
|
|
420
|
+
//#endregion
|
|
421
|
+
export { apiCategories, commonStructs };
|
|
422
|
+
//# sourceMappingURL=api-endpoints.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api-endpoints.mjs","names":["commonStructs: TypeName[]","apiCategories: Record<string, ApiCategory>"],"sources":["../src/api-endpoints.ts"],"sourcesContent":["import type * as types from '.';\ntype TypeName = keyof typeof types;\n\nexport const commonStructs: TypeName[] = [\n 'Event',\n 'FriendEntity',\n 'FriendCategoryEntity',\n 'GroupEntity',\n 'GroupMemberEntity',\n 'GroupAnnouncementEntity',\n 'GroupFileEntity',\n 'GroupFolderEntity',\n 'FriendRequest',\n 'GroupNotification',\n 'IncomingMessage',\n 'IncomingForwardedMessage',\n 'GroupEssenceMessage',\n 'IncomingSegment',\n 'OutgoingForwardedMessage',\n 'OutgoingSegment',\n];\n\nexport interface Api {\n endpoint: string;\n description: string;\n inputStruct: TypeName | null;\n outputStruct: TypeName | null;\n}\n\nexport interface ApiCategory {\n name: string;\n apis: Api[];\n}\n\nexport const apiCategories: Record<string, ApiCategory> = {\n system: {\n name: '系统 API',\n apis: [\n {\n endpoint: 'get_login_info',\n description: '获取登录信息',\n inputStruct: null,\n outputStruct: 'GetLoginInfoOutput',\n },\n {\n endpoint: 'get_impl_info',\n description: '获取协议端信息',\n inputStruct: null,\n outputStruct: 'GetImplInfoOutput',\n },\n {\n endpoint: 'get_user_profile',\n description: '获取用户个人信息',\n inputStruct: 'GetUserProfileInput',\n outputStruct: 'GetUserProfileOutput',\n },\n {\n endpoint: 'get_friend_list',\n description: '获取好友列表',\n inputStruct: 'GetFriendListInput',\n outputStruct: 'GetFriendListOutput',\n },\n {\n endpoint: 'get_friend_info',\n description: '获取好友信息',\n inputStruct: 'GetFriendInfoInput',\n outputStruct: 'GetFriendInfoOutput',\n },\n {\n endpoint: 'get_group_list',\n description: '获取群列表',\n inputStruct: 'GetGroupListInput',\n outputStruct: 'GetGroupListOutput',\n },\n {\n endpoint: 'get_group_info',\n description: '获取群信息',\n inputStruct: 'GetGroupInfoInput',\n outputStruct: 'GetGroupInfoOutput',\n },\n {\n endpoint: 'get_group_member_list',\n description: '获取群成员列表',\n inputStruct: 'GetGroupMemberListInput',\n outputStruct: 'GetGroupMemberListOutput',\n },\n {\n endpoint: 'get_group_member_info',\n description: '获取群成员信息',\n inputStruct: 'GetGroupMemberInfoInput',\n outputStruct: 'GetGroupMemberInfoOutput',\n },\n {\n endpoint: 'set_avatar',\n description: '设置 QQ 账号头像',\n inputStruct: 'SetAvatarInput',\n outputStruct: null,\n },\n {\n endpoint: 'set_nickname',\n description: '设置 QQ 账号昵称',\n inputStruct: 'SetNicknameInput',\n outputStruct: null,\n },\n {\n endpoint: 'set_bio',\n description: '设置 QQ 账号个性签名',\n inputStruct: 'SetBioInput',\n outputStruct: null,\n },\n {\n endpoint: 'get_custom_face_url_list',\n description: '获取自定义表情 URL 列表',\n inputStruct: null,\n outputStruct: 'GetCustomFaceUrlListOutput',\n },\n {\n endpoint: 'get_cookies',\n description: '获取 Cookies',\n inputStruct: 'GetCookiesInput',\n outputStruct: 'GetCookiesOutput',\n },\n {\n endpoint: 'get_csrf_token',\n description: '获取 CSRF Token',\n inputStruct: null,\n outputStruct: 'GetCSRFTokenOutput',\n },\n ],\n },\n message: {\n name: '消息 API',\n apis: [\n {\n endpoint: 'send_private_message',\n description: '发送私聊消息',\n inputStruct: 'SendPrivateMessageInput',\n outputStruct: 'SendPrivateMessageOutput',\n },\n {\n endpoint: 'send_group_message',\n description: '发送群聊消息',\n inputStruct: 'SendGroupMessageInput',\n outputStruct: 'SendGroupMessageOutput',\n },\n {\n endpoint: 'recall_private_message',\n description: '撤回私聊消息',\n inputStruct: 'RecallPrivateMessageInput',\n outputStruct: null,\n },\n {\n endpoint: 'recall_group_message',\n description: '撤回群聊消息',\n inputStruct: 'RecallGroupMessageInput',\n outputStruct: null,\n },\n {\n endpoint: 'get_message',\n description: '获取消息',\n inputStruct: 'GetMessageInput',\n outputStruct: 'GetMessageOutput',\n },\n {\n endpoint: 'get_history_messages',\n description: '获取历史消息列表',\n inputStruct: 'GetHistoryMessagesInput',\n outputStruct: 'GetHistoryMessagesOutput',\n },\n {\n endpoint: 'get_resource_temp_url',\n description: '获取临时资源链接',\n inputStruct: 'GetResourceTempUrlInput',\n outputStruct: 'GetResourceTempUrlOutput',\n },\n {\n endpoint: 'get_forwarded_messages',\n description: '获取合并转发消息内容',\n inputStruct: 'GetForwardedMessagesInput',\n outputStruct: 'GetForwardedMessagesOutput',\n },\n {\n endpoint: 'mark_message_as_read',\n description: '标记消息为已读',\n inputStruct: 'MarkMessageAsReadInput',\n outputStruct: null,\n },\n ],\n },\n friend: {\n name: '好友 API',\n apis: [\n {\n endpoint: 'send_friend_nudge',\n description: '发送好友戳一戳',\n inputStruct: 'SendFriendNudgeInput',\n outputStruct: null,\n },\n {\n endpoint: 'send_profile_like',\n description: '发送名片点赞',\n inputStruct: 'SendProfileLikeInput',\n outputStruct: null,\n },\n {\n endpoint: 'delete_friend',\n description: '删除好友',\n inputStruct: 'DeleteFriendInput',\n outputStruct: null,\n },\n {\n endpoint: 'get_friend_requests',\n description: '获取好友请求列表',\n inputStruct: 'GetFriendRequestsInput',\n outputStruct: 'GetFriendRequestsOutput',\n },\n {\n endpoint: 'accept_friend_request',\n description: '同意好友请求',\n inputStruct: 'AcceptFriendRequestInput',\n outputStruct: null,\n },\n {\n endpoint: 'reject_friend_request',\n description: '拒绝好友请求',\n inputStruct: 'RejectFriendRequestInput',\n outputStruct: null,\n },\n ],\n },\n group: {\n name: '群聊 API',\n apis: [\n {\n endpoint: 'set_group_name',\n description: '设置群名称',\n inputStruct: 'SetGroupNameInput',\n outputStruct: null,\n },\n {\n endpoint: 'set_group_avatar',\n description: '设置群头像',\n inputStruct: 'SetGroupAvatarInput',\n outputStruct: null,\n },\n {\n endpoint: 'set_group_member_card',\n description: '设置群名片',\n inputStruct: 'SetGroupMemberCardInput',\n outputStruct: null,\n },\n {\n endpoint: 'set_group_member_special_title',\n description: '设置群成员专属头衔',\n inputStruct: 'SetGroupMemberSpecialTitleInput',\n outputStruct: null,\n },\n {\n endpoint: 'set_group_member_admin',\n description: '设置群管理员',\n inputStruct: 'SetGroupMemberAdminInput',\n outputStruct: null,\n },\n {\n endpoint: 'set_group_member_mute',\n description: '设置群成员禁言',\n inputStruct: 'SetGroupMemberMuteInput',\n outputStruct: null,\n },\n {\n endpoint: 'set_group_whole_mute',\n description: '设置群全员禁言',\n inputStruct: 'SetGroupWholeMuteInput',\n outputStruct: null,\n },\n {\n endpoint: 'kick_group_member',\n description: '踢出群成员',\n inputStruct: 'KickGroupMemberInput',\n outputStruct: null,\n },\n {\n endpoint: 'get_group_announcements',\n description: '获取群公告列表',\n inputStruct: 'GetGroupAnnouncementsInput',\n outputStruct: 'GetGroupAnnouncementsOutput',\n },\n {\n endpoint: 'send_group_announcement',\n description: '发送群公告',\n inputStruct: 'SendGroupAnnouncementInput',\n outputStruct: null,\n },\n {\n endpoint: 'delete_group_announcement',\n description: '删除群公告',\n inputStruct: 'DeleteGroupAnnouncementInput',\n outputStruct: null,\n },\n {\n endpoint: 'get_group_essence_messages',\n description: '获取群精华消息列表',\n inputStruct: 'GetGroupEssenceMessagesInput',\n outputStruct: 'GetGroupEssenceMessagesOutput',\n },\n {\n endpoint: 'set_group_essence_message',\n description: '设置群精华消息',\n inputStruct: 'SetGroupEssenceMessageInput',\n outputStruct: null,\n },\n {\n endpoint: 'quit_group',\n description: '退出群',\n inputStruct: 'QuitGroupInput',\n outputStruct: null,\n },\n {\n endpoint: 'send_group_message_reaction',\n description: '发送群消息表情回应',\n inputStruct: 'SendGroupMessageReactionInput',\n outputStruct: null,\n },\n {\n endpoint: 'send_group_nudge',\n description: '发送群戳一戳',\n inputStruct: 'SendGroupNudgeInput',\n outputStruct: null,\n },\n {\n endpoint: 'get_group_notifications',\n description: '获取群通知列表',\n inputStruct: 'GetGroupNotificationsInput',\n outputStruct: 'GetGroupNotificationsOutput',\n },\n {\n endpoint: 'accept_group_request',\n description: '同意入群/邀请他人入群请求',\n inputStruct: 'AcceptGroupRequestInput',\n outputStruct: null,\n },\n {\n endpoint: 'reject_group_request',\n description: '拒绝入群/邀请他人入群请求',\n inputStruct: 'RejectGroupRequestInput',\n outputStruct: null,\n },\n {\n endpoint: 'accept_group_invitation',\n description: '同意他人邀请自身入群',\n inputStruct: 'AcceptGroupInvitationInput',\n outputStruct: null,\n },\n {\n endpoint: 'reject_group_invitation',\n description: '拒绝他人邀请自身入群',\n inputStruct: 'RejectGroupInvitationInput',\n outputStruct: null,\n },\n ],\n },\n file: {\n name: '文件 API',\n apis: [\n {\n endpoint: 'upload_private_file',\n description: '上传私聊文件',\n inputStruct: 'UploadPrivateFileInput',\n outputStruct: 'UploadPrivateFileOutput',\n },\n {\n endpoint: 'upload_group_file',\n description: '上传群文件',\n inputStruct: 'UploadGroupFileInput',\n outputStruct: 'UploadGroupFileOutput',\n },\n {\n endpoint: 'get_private_file_download_url',\n description: '获取私聊文件下载链接',\n inputStruct: 'GetPrivateFileDownloadUrlInput',\n outputStruct: 'GetPrivateFileDownloadUrlOutput',\n },\n {\n endpoint: 'get_group_file_download_url',\n description: '获取群文件下载链接',\n inputStruct: 'GetGroupFileDownloadUrlInput',\n outputStruct: 'GetGroupFileDownloadUrlOutput',\n },\n {\n endpoint: 'get_group_files',\n description: '获取群文件列表',\n inputStruct: 'GetGroupFilesInput',\n outputStruct: 'GetGroupFilesOutput',\n },\n {\n endpoint: 'move_group_file',\n description: '移动群文件',\n inputStruct: 'MoveGroupFileInput',\n outputStruct: null,\n },\n {\n endpoint: 'rename_group_file',\n description: '重命名群文件',\n inputStruct: 'RenameGroupFileInput',\n outputStruct: null,\n },\n {\n endpoint: 'delete_group_file',\n description: '删除群文件',\n inputStruct: 'DeleteGroupFileInput',\n outputStruct: null,\n },\n {\n endpoint: 'create_group_folder',\n description: '创建群文件夹',\n inputStruct: 'CreateGroupFolderInput',\n outputStruct: 'CreateGroupFolderOutput',\n },\n {\n endpoint: 'rename_group_folder',\n description: '重命名群文件夹',\n inputStruct: 'RenameGroupFolderInput',\n outputStruct: null,\n },\n {\n endpoint: 'delete_group_folder',\n description: '删除群文件夹',\n inputStruct: 'DeleteGroupFolderInput',\n outputStruct: null,\n },\n ],\n },\n};\n"],"mappings":";AAGA,MAAaA,gBAA4B;CACvC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD;AAcD,MAAaC,gBAA6C;CACxD,QAAQ;EACN,MAAM;EACN,MAAM;GACJ;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACF;EACF;CACD,SAAS;EACP,MAAM;EACN,MAAM;GACJ;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACF;EACF;CACD,QAAQ;EACN,MAAM;EACN,MAAM;GACJ;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACF;EACF;CACD,OAAO;EACL,MAAM;EACN,MAAM;GACJ;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACF;EACF;CACD,MAAM;EACJ,MAAM;EACN,MAAM;GACJ;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACD;IACE,UAAU;IACV,aAAa;IACb,aAAa;IACb,cAAc;IACf;GACF;EACF;CACF"}
|