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