uapi-browser-sdk 0.1.13 → 0.1.15
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 +2 -2
- package/dist/src/index.d.ts +471 -2
- package/dist/src/index.js +511 -93
- package/package.json +1 -1
- package/src/index.ts +911 -6
package/dist/src/index.d.ts
CHANGED
|
@@ -2,13 +2,31 @@ import type * as Internal from '../internal/src/index.js';
|
|
|
2
2
|
import { type ResponseMeta } from './errors.js';
|
|
3
3
|
export { UapiError, mapError, extractMetaFromHeaders } from './errors.js';
|
|
4
4
|
export type { RateLimitPolicyEntry, RateLimitStateEntry, ResponseMeta } from './errors.js';
|
|
5
|
+
export interface UapiClientOptions {
|
|
6
|
+
disableCache?: boolean;
|
|
7
|
+
}
|
|
8
|
+
type RequestOptions = {
|
|
9
|
+
disableCache?: boolean;
|
|
10
|
+
};
|
|
5
11
|
export type GetClipzyGetResponse = Internal.GetClipzyGet200Response;
|
|
6
12
|
export interface GetClipzyGetArgs {
|
|
13
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
14
|
+
disableCache?: boolean;
|
|
15
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
16
|
+
"disable_cache"?: boolean;
|
|
17
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
18
|
+
_t?: string | number;
|
|
7
19
|
/** 片段的唯一 ID。 */
|
|
8
20
|
id: string;
|
|
9
21
|
}
|
|
10
22
|
export type GetClipzyRawResponse = string;
|
|
11
23
|
export interface GetClipzyRawArgs {
|
|
24
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
25
|
+
disableCache?: boolean;
|
|
26
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
27
|
+
"disable_cache"?: boolean;
|
|
28
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
29
|
+
_t?: string | number;
|
|
12
30
|
/** 片段的唯一 ID。 */
|
|
13
31
|
id: string;
|
|
14
32
|
/** 用于解密的 Base64 编码的 AES 密钥。 */
|
|
@@ -16,6 +34,12 @@ export interface GetClipzyRawArgs {
|
|
|
16
34
|
}
|
|
17
35
|
export type PostClipzyStoreResponse = Internal.PostClipzyStore200Response;
|
|
18
36
|
export interface PostClipzyStoreArgs {
|
|
37
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
38
|
+
disableCache?: boolean;
|
|
39
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
40
|
+
"disable_cache"?: boolean;
|
|
41
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
42
|
+
_t?: string | number;
|
|
19
43
|
/** 必需:经过加密和 LZString 压缩后的 Base64 字符串。请参考文档首页的JS代码示例。 */
|
|
20
44
|
compressedData: string;
|
|
21
45
|
/** 可选:片段的留存时间(秒)。正数表示秒数(最大约30天),-1 表示永久存储。默认为 3600。 */
|
|
@@ -23,11 +47,23 @@ export interface PostClipzyStoreArgs {
|
|
|
23
47
|
}
|
|
24
48
|
export type GetConvertUnixtimeResponse = Internal.GetConvertUnixtime200Response;
|
|
25
49
|
export interface GetConvertUnixtimeArgs {
|
|
50
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
51
|
+
disableCache?: boolean;
|
|
52
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
53
|
+
"disable_cache"?: boolean;
|
|
54
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
55
|
+
_t?: string | number;
|
|
26
56
|
/** 一个智能时间参数,可传入Unix时间戳(10位或13位)或标准日期字符串(如 '2023-10-27 10:30:00'),系统将自动识别并转换。 */
|
|
27
57
|
time: string;
|
|
28
58
|
}
|
|
29
59
|
export type PostConvertJsonResponse = Internal.PostConvertJson200Response;
|
|
30
60
|
export interface PostConvertJsonArgs {
|
|
61
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
62
|
+
disableCache?: boolean;
|
|
63
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
64
|
+
"disable_cache"?: boolean;
|
|
65
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
66
|
+
_t?: string | number;
|
|
31
67
|
/** 需要被格式化的原始JSON字符串。 */
|
|
32
68
|
content: string;
|
|
33
69
|
}
|
|
@@ -35,6 +71,12 @@ export type GetDailyNewsImageResponse = ArrayBuffer;
|
|
|
35
71
|
export type GetGameEpicFreeResponse = Internal.GetGameEpicFree200Response;
|
|
36
72
|
export type GetGameMinecraftHistoryidResponse = Internal.GetGameMinecraftHistoryid200Response;
|
|
37
73
|
export interface GetGameMinecraftHistoryidArgs {
|
|
74
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
75
|
+
disableCache?: boolean;
|
|
76
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
77
|
+
"disable_cache"?: boolean;
|
|
78
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
79
|
+
_t?: string | number;
|
|
38
80
|
/** 玩家的 Minecraft 用户名。使用此参数查询时,会返回所有匹配用户的列表(包括当前用户名或曾用名匹配的玩家)。 */
|
|
39
81
|
name?: string;
|
|
40
82
|
/** 玩家的 Minecraft UUID,支持带连字符或不带连字符格式。 */
|
|
@@ -42,16 +84,34 @@ export interface GetGameMinecraftHistoryidArgs {
|
|
|
42
84
|
}
|
|
43
85
|
export type GetGameMinecraftServerstatusResponse = Internal.GetGameMinecraftServerstatus200Response;
|
|
44
86
|
export interface GetGameMinecraftServerstatusArgs {
|
|
87
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
88
|
+
disableCache?: boolean;
|
|
89
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
90
|
+
"disable_cache"?: boolean;
|
|
91
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
92
|
+
_t?: string | number;
|
|
45
93
|
/** Minecraft服务器的地址,可以是域名(如 `hypixel.net`)或 `IP:端口` 的形式(如 `mc.example.com:25565`)。如果省略端口,将默认使用 `25565`。 */
|
|
46
94
|
server: string;
|
|
47
95
|
}
|
|
48
96
|
export type GetGameMinecraftUserinfoResponse = Internal.GetGameMinecraftUserinfo200Response;
|
|
49
97
|
export interface GetGameMinecraftUserinfoArgs {
|
|
98
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
99
|
+
disableCache?: boolean;
|
|
100
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
101
|
+
"disable_cache"?: boolean;
|
|
102
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
103
|
+
_t?: string | number;
|
|
50
104
|
/** 玩家的 Minecraft 游戏内名称(正版ID)。 */
|
|
51
105
|
username: string;
|
|
52
106
|
}
|
|
53
107
|
export type GetGameSteamSummaryResponse = Internal.GetGameSteamSummary200Response;
|
|
54
108
|
export interface GetGameSteamSummaryArgs {
|
|
109
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
110
|
+
disableCache?: boolean;
|
|
111
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
112
|
+
"disable_cache"?: boolean;
|
|
113
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
114
|
+
_t?: string | number;
|
|
55
115
|
/** 用户的 Steam 标识。可以是以下任意一种格式:
|
|
56
116
|
- 纯数字的 **SteamID64**
|
|
57
117
|
- 用户的 **自定义 URL 名称** (Vanity URL)
|
|
@@ -67,6 +127,12 @@ export interface GetGameSteamSummaryArgs {
|
|
|
67
127
|
}
|
|
68
128
|
export type GetAvatarGravatarResponse = ArrayBuffer;
|
|
69
129
|
export interface GetAvatarGravatarArgs {
|
|
130
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
131
|
+
disableCache?: boolean;
|
|
132
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
133
|
+
"disable_cache"?: boolean;
|
|
134
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
135
|
+
_t?: string | number;
|
|
70
136
|
/** 用户的 Email 地址。如果未提供 `hash` 参数,则此参数为必需。 */
|
|
71
137
|
email?: string;
|
|
72
138
|
/** 用户 Email 地址的小写 MD5 哈希值。如果提供此参数,将忽略 `email` 参数。 */
|
|
@@ -81,6 +147,12 @@ export interface GetAvatarGravatarArgs {
|
|
|
81
147
|
export type GetImageBingDailyResponse = ArrayBuffer;
|
|
82
148
|
export type GetImageMotouResponse = ArrayBuffer;
|
|
83
149
|
export interface GetImageMotouArgs {
|
|
150
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
151
|
+
disableCache?: boolean;
|
|
152
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
153
|
+
"disable_cache"?: boolean;
|
|
154
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
155
|
+
_t?: string | number;
|
|
84
156
|
/** 你想要摸头的对象的QQ号码。 */
|
|
85
157
|
qq: string;
|
|
86
158
|
/** GIF的背景颜色。留空则由后端服务决定默认值。 */
|
|
@@ -90,6 +162,12 @@ export interface GetImageMotouArgs {
|
|
|
90
162
|
}
|
|
91
163
|
export type GetImageQrcodeResponse = Internal.GetImageQrcode200Response;
|
|
92
164
|
export interface GetImageQrcodeArgs {
|
|
165
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
166
|
+
disableCache?: boolean;
|
|
167
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
168
|
+
"disable_cache"?: boolean;
|
|
169
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
170
|
+
_t?: string | number;
|
|
93
171
|
/** 你希望编码到二维码中的任何文本内容,比如一个URL、一段话或者一个JSON字符串。 */
|
|
94
172
|
text: string;
|
|
95
173
|
/** 二维码图片的边长(正方形),单位是像素。有效范围是 256 到 2048 之间。 */
|
|
@@ -105,11 +183,23 @@ export interface GetImageQrcodeArgs {
|
|
|
105
183
|
}
|
|
106
184
|
export type GetImageTobase64Response = Internal.GetImageTobase64200Response;
|
|
107
185
|
export interface GetImageTobase64Args {
|
|
186
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
187
|
+
disableCache?: boolean;
|
|
188
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
189
|
+
"disable_cache"?: boolean;
|
|
190
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
191
|
+
_t?: string | number;
|
|
108
192
|
/** 需要转换为Base64的、可公开访问的图片URL地址。 */
|
|
109
193
|
url: string;
|
|
110
194
|
}
|
|
111
195
|
export type PostImageCompressResponse = ArrayBuffer;
|
|
112
196
|
export interface PostImageCompressArgs {
|
|
197
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
198
|
+
disableCache?: boolean;
|
|
199
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
200
|
+
"disable_cache"?: boolean;
|
|
201
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
202
|
+
_t?: string | number;
|
|
113
203
|
/** 压缩强度 (1-5),默认为 3。数字越小,压缩率越高。 */
|
|
114
204
|
level?: number;
|
|
115
205
|
/** 输出图片格式,可以是 'png' 或 'jpeg'。 */
|
|
@@ -119,11 +209,23 @@ export interface PostImageCompressArgs {
|
|
|
119
209
|
}
|
|
120
210
|
export type PostImageFrombase64Response = Internal.PostImageFrombase64200Response;
|
|
121
211
|
export interface PostImageFrombase64Args {
|
|
212
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
213
|
+
disableCache?: boolean;
|
|
214
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
215
|
+
"disable_cache"?: boolean;
|
|
216
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
217
|
+
_t?: string | number;
|
|
122
218
|
/** 图片的Base64 Data URI,必须包含MIME类型头。例如:`data:image/png;base64,...` */
|
|
123
219
|
imageData: string;
|
|
124
220
|
}
|
|
125
221
|
export type PostImageMotouResponse = ArrayBuffer;
|
|
126
222
|
export interface PostImageMotouArgs {
|
|
223
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
224
|
+
disableCache?: boolean;
|
|
225
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
226
|
+
"disable_cache"?: boolean;
|
|
227
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
228
|
+
_t?: string | number;
|
|
127
229
|
/** GIF的背景颜色。可选值为 'white', 'black', 'transparent'。 */
|
|
128
230
|
bgColor?: string;
|
|
129
231
|
/** Same as `bgColor`. Kept for compatibility. */
|
|
@@ -137,6 +239,12 @@ export interface PostImageMotouArgs {
|
|
|
137
239
|
}
|
|
138
240
|
export type PostImageNsfwResponse = Internal.PostImageNsfw200Response;
|
|
139
241
|
export interface PostImageNsfwArgs {
|
|
242
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
243
|
+
disableCache?: boolean;
|
|
244
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
245
|
+
"disable_cache"?: boolean;
|
|
246
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
247
|
+
_t?: string | number;
|
|
140
248
|
/** 要检测的图片文件。支持 JPG、JPEG、PNG、GIF、WebP 格式,最大 20MB。 */
|
|
141
249
|
file?: string;
|
|
142
250
|
/** 图片的 URL 地址。如果同时提供 file 和 url,将优先使用 file。 */
|
|
@@ -144,6 +252,12 @@ export interface PostImageNsfwArgs {
|
|
|
144
252
|
}
|
|
145
253
|
export type PostImageSpeechlessResponse = ArrayBuffer;
|
|
146
254
|
export interface PostImageSpeechlessArgs {
|
|
255
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
256
|
+
disableCache?: boolean;
|
|
257
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
258
|
+
"disable_cache"?: boolean;
|
|
259
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
260
|
+
_t?: string | number;
|
|
147
261
|
/** 表情包下方的文字内容。求求你_______ */
|
|
148
262
|
bottomText?: string;
|
|
149
263
|
/** Same as `bottomText`. Kept for compatibility. */
|
|
@@ -155,6 +269,12 @@ export interface PostImageSpeechlessArgs {
|
|
|
155
269
|
}
|
|
156
270
|
export type PostImageSvgResponse = ArrayBuffer;
|
|
157
271
|
export interface PostImageSvgArgs {
|
|
272
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
273
|
+
disableCache?: boolean;
|
|
274
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
275
|
+
"disable_cache"?: boolean;
|
|
276
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
277
|
+
_t?: string | number;
|
|
158
278
|
/** 输出图像的目标格式。支持的值:`png`, `jpeg`, `jpg`, `gif`, `tiff`, `bmp`。 */
|
|
159
279
|
format?: string;
|
|
160
280
|
/** 输出图像的宽度(像素)。如果省略,将根据 `height` 保持宽高比,或者使用 SVG 的原始宽度。 */
|
|
@@ -168,6 +288,12 @@ export interface PostImageSvgArgs {
|
|
|
168
288
|
}
|
|
169
289
|
export type GetHistoryProgrammerResponse = Internal.GetHistoryProgrammer200Response;
|
|
170
290
|
export interface GetHistoryProgrammerArgs {
|
|
291
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
292
|
+
disableCache?: boolean;
|
|
293
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
294
|
+
"disable_cache"?: boolean;
|
|
295
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
296
|
+
_t?: string | number;
|
|
171
297
|
/** 月份,1-12之间的整数。 */
|
|
172
298
|
month: number;
|
|
173
299
|
/** 日期,1-31之间的整数。 */
|
|
@@ -176,6 +302,12 @@ export interface GetHistoryProgrammerArgs {
|
|
|
176
302
|
export type GetHistoryProgrammerTodayResponse = Internal.GetHistoryProgrammerToday200Response;
|
|
177
303
|
export type GetMiscDistrictResponse = Internal.GetMiscDistrict200Response;
|
|
178
304
|
export interface GetMiscDistrictArgs {
|
|
305
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
306
|
+
disableCache?: boolean;
|
|
307
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
308
|
+
"disable_cache"?: boolean;
|
|
309
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
310
|
+
_t?: string | number;
|
|
179
311
|
/** 关键词搜索(城市名、区县名,支持中英文)。 */
|
|
180
312
|
keywords?: string;
|
|
181
313
|
/** 中国行政区划代码精确查询(如 `110000`),同时返回下级行政区。 */
|
|
@@ -193,6 +325,12 @@ export interface GetMiscDistrictArgs {
|
|
|
193
325
|
}
|
|
194
326
|
export type GetMiscHolidayCalendarResponse = Internal.GetMiscHolidayCalendar200Response;
|
|
195
327
|
export interface GetMiscHolidayCalendarArgs {
|
|
328
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
329
|
+
disableCache?: boolean;
|
|
330
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
331
|
+
"disable_cache"?: boolean;
|
|
332
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
333
|
+
_t?: string | number;
|
|
196
334
|
/** 按天查询时填写这个参数,例如查某一天。格式:`YYYY-MM-DD`。和 `month`、`year` 三选一。 */
|
|
197
335
|
date?: string;
|
|
198
336
|
/** 按月查询时填写这个参数,例如查某个月。格式:`YYYY-MM`。和 `date`、`year` 三选一。 */
|
|
@@ -216,6 +354,12 @@ export interface GetMiscHolidayCalendarArgs {
|
|
|
216
354
|
}
|
|
217
355
|
export type GetMiscHotboardResponse = Internal.GetMiscHotboard200Response;
|
|
218
356
|
export interface GetMiscHotboardArgs {
|
|
357
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
358
|
+
disableCache?: boolean;
|
|
359
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
360
|
+
"disable_cache"?: boolean;
|
|
361
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
362
|
+
_t?: string | number;
|
|
219
363
|
/** 你想要查询的热榜平台。请从[支持的平台列表](#enum-list)中选择。 */
|
|
220
364
|
type: string;
|
|
221
365
|
/** 时光机模式:毫秒时间戳,返回最接近该时间的热榜快照。不传则返回当前实时热榜。 */
|
|
@@ -237,6 +381,12 @@ export interface GetMiscHotboardArgs {
|
|
|
237
381
|
}
|
|
238
382
|
export type GetMiscLunartimeResponse = Internal.GetMiscLunartime200Response;
|
|
239
383
|
export interface GetMiscLunartimeArgs {
|
|
384
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
385
|
+
disableCache?: boolean;
|
|
386
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
387
|
+
"disable_cache"?: boolean;
|
|
388
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
389
|
+
_t?: string | number;
|
|
240
390
|
/** Unix 时间戳,支持 10 位秒级或 13 位毫秒级。不传则默认当前时间。 */
|
|
241
391
|
ts?: string;
|
|
242
392
|
/** 时区名称。支持 IANA 时区(如 Asia/Shanghai)和别名(Shanghai、Beijing)。默认 Asia/Shanghai。 */
|
|
@@ -244,11 +394,23 @@ export interface GetMiscLunartimeArgs {
|
|
|
244
394
|
}
|
|
245
395
|
export type GetMiscPhoneinfoResponse = Internal.GetMiscPhoneinfo200Response;
|
|
246
396
|
export interface GetMiscPhoneinfoArgs {
|
|
397
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
398
|
+
disableCache?: boolean;
|
|
399
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
400
|
+
"disable_cache"?: boolean;
|
|
401
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
402
|
+
_t?: string | number;
|
|
247
403
|
/** 需要查询的11位中国大陆手机号码。 */
|
|
248
404
|
phone: string;
|
|
249
405
|
}
|
|
250
406
|
export type GetMiscRandomnumberResponse = Internal.GetMiscRandomnumber200Response;
|
|
251
407
|
export interface GetMiscRandomnumberArgs {
|
|
408
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
409
|
+
disableCache?: boolean;
|
|
410
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
411
|
+
"disable_cache"?: boolean;
|
|
412
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
413
|
+
_t?: string | number;
|
|
252
414
|
/** 生成随机数的最小值(包含)。 */
|
|
253
415
|
min?: number;
|
|
254
416
|
/** 生成随机数的最大值(包含)。 */
|
|
@@ -270,12 +432,24 @@ export interface GetMiscRandomnumberArgs {
|
|
|
270
432
|
}
|
|
271
433
|
export type GetMiscTimestampResponse = Internal.GetMiscTimestamp200Response;
|
|
272
434
|
export interface GetMiscTimestampArgs {
|
|
435
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
436
|
+
disableCache?: boolean;
|
|
437
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
438
|
+
"disable_cache"?: boolean;
|
|
439
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
440
|
+
_t?: string | number;
|
|
273
441
|
/** 需要转换的Unix时间戳,支持10位(秒)或13位(毫秒)。 */
|
|
274
442
|
ts: string;
|
|
275
443
|
}
|
|
276
444
|
export type GetMiscTrackingCarriersResponse = Internal.GetMiscTrackingCarriers200Response;
|
|
277
445
|
export type GetMiscTrackingDetectResponse = Internal.GetMiscTrackingDetect200Response;
|
|
278
446
|
export interface GetMiscTrackingDetectArgs {
|
|
447
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
448
|
+
disableCache?: boolean;
|
|
449
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
450
|
+
"disable_cache"?: boolean;
|
|
451
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
452
|
+
_t?: string | number;
|
|
279
453
|
/** 需要识别的快递单号。 */
|
|
280
454
|
trackingNumber: string;
|
|
281
455
|
/** Same as `trackingNumber`. Kept for compatibility. */
|
|
@@ -283,6 +457,12 @@ export interface GetMiscTrackingDetectArgs {
|
|
|
283
457
|
}
|
|
284
458
|
export type GetMiscTrackingQueryResponse = Internal.GetMiscTrackingQuery200Response;
|
|
285
459
|
export interface GetMiscTrackingQueryArgs {
|
|
460
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
461
|
+
disableCache?: boolean;
|
|
462
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
463
|
+
"disable_cache"?: boolean;
|
|
464
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
465
|
+
_t?: string | number;
|
|
286
466
|
/** 快递单号,通常是一串10-20位的数字或字母数字组合。 */
|
|
287
467
|
trackingNumber: string;
|
|
288
468
|
/** Same as `trackingNumber`. Kept for compatibility. */
|
|
@@ -296,6 +476,12 @@ export interface GetMiscTrackingQueryArgs {
|
|
|
296
476
|
}
|
|
297
477
|
export type GetMiscWeatherResponse = Internal.GetMiscWeather200Response;
|
|
298
478
|
export interface GetMiscWeatherArgs {
|
|
479
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
480
|
+
disableCache?: boolean;
|
|
481
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
482
|
+
"disable_cache"?: boolean;
|
|
483
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
484
|
+
_t?: string | number;
|
|
299
485
|
/** 城市名称,支持中文(`北京`)和英文(`Tokyo`)。可选参数,不传时会尝试 IP 自动定位。 */
|
|
300
486
|
city?: string;
|
|
301
487
|
/** 城市行政区划代码(如 `110000`),优先级高于 city。可选参数,不传时会尝试 IP 自动定位。 */
|
|
@@ -315,11 +501,23 @@ export interface GetMiscWeatherArgs {
|
|
|
315
501
|
}
|
|
316
502
|
export type GetMiscWorldtimeResponse = Internal.GetMiscWorldtime200Response;
|
|
317
503
|
export interface GetMiscWorldtimeArgs {
|
|
504
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
505
|
+
disableCache?: boolean;
|
|
506
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
507
|
+
"disable_cache"?: boolean;
|
|
508
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
509
|
+
_t?: string | number;
|
|
318
510
|
/** 你需要查询的城市或地区,请使用标准的 IANA 时区数据库名称,例如 'Shanghai', 'Asia/Tokyo', 'America/New_York'。 */
|
|
319
511
|
city: string;
|
|
320
512
|
}
|
|
321
513
|
export type PostMiscDateDiffResponse = Internal.PostMiscDateDiff200Response;
|
|
322
514
|
export interface PostMiscDateDiffArgs {
|
|
515
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
516
|
+
disableCache?: boolean;
|
|
517
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
518
|
+
"disable_cache"?: boolean;
|
|
519
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
520
|
+
_t?: string | number;
|
|
323
521
|
/** 结束日期,支持多种格式自动识别 */
|
|
324
522
|
endDate: string;
|
|
325
523
|
/** Same as `endDate`. Kept for compatibility. */
|
|
@@ -333,6 +531,12 @@ export interface PostMiscDateDiffArgs {
|
|
|
333
531
|
}
|
|
334
532
|
export type GetNetworkDnsResponse = Internal.GetNetworkDns200Response;
|
|
335
533
|
export interface GetNetworkDnsArgs {
|
|
534
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
535
|
+
disableCache?: boolean;
|
|
536
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
537
|
+
"disable_cache"?: boolean;
|
|
538
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
539
|
+
_t?: string | number;
|
|
336
540
|
/** 你需要查询的域名,例如 'cn.bing.com'。 */
|
|
337
541
|
domain: string;
|
|
338
542
|
/** 你想要查询的DNS记录类型。 */
|
|
@@ -340,11 +544,23 @@ export interface GetNetworkDnsArgs {
|
|
|
340
544
|
}
|
|
341
545
|
export type GetNetworkIcpResponse = Internal.GetNetworkIcp200Response;
|
|
342
546
|
export interface GetNetworkIcpArgs {
|
|
547
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
548
|
+
disableCache?: boolean;
|
|
549
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
550
|
+
"disable_cache"?: boolean;
|
|
551
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
552
|
+
_t?: string | number;
|
|
343
553
|
/** 需要查询的域名或URL */
|
|
344
554
|
domain: string;
|
|
345
555
|
}
|
|
346
556
|
export type GetNetworkIpinfoResponse = Internal.GetNetworkIpinfo200Response;
|
|
347
557
|
export interface GetNetworkIpinfoArgs {
|
|
558
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
559
|
+
disableCache?: boolean;
|
|
560
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
561
|
+
"disable_cache"?: boolean;
|
|
562
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
563
|
+
_t?: string | number;
|
|
348
564
|
/** 你需要查询的公网IP地址或域名(支持IPv4和IPv6)。 */
|
|
349
565
|
ip: string;
|
|
350
566
|
/** 查询的数据源。如果留空,将使用默认的数据库。如果设置为 `commercial`,将调用商业级API,返回更详细的地理位置信息,但响应时间可能会稍长。 */
|
|
@@ -352,17 +568,35 @@ export interface GetNetworkIpinfoArgs {
|
|
|
352
568
|
}
|
|
353
569
|
export type GetNetworkMyipResponse = Internal.GetNetworkMyip200Response;
|
|
354
570
|
export interface GetNetworkMyipArgs {
|
|
571
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
572
|
+
disableCache?: boolean;
|
|
573
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
574
|
+
"disable_cache"?: boolean;
|
|
575
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
576
|
+
_t?: string | number;
|
|
355
577
|
/** 查询的数据源。如果留空,将使用默认的数据库。如果设置为 `commercial`,将调用商业级API,返回更详细的地理位置信息,但响应时间可能会稍长。 */
|
|
356
578
|
source?: string;
|
|
357
579
|
}
|
|
358
580
|
export type GetNetworkPingResponse = Internal.GetNetworkPing200Response;
|
|
359
581
|
export interface GetNetworkPingArgs {
|
|
582
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
583
|
+
disableCache?: boolean;
|
|
584
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
585
|
+
"disable_cache"?: boolean;
|
|
586
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
587
|
+
_t?: string | number;
|
|
360
588
|
/** 你需要 Ping 的目标主机,可以是域名或IP地址。 */
|
|
361
589
|
host: string;
|
|
362
590
|
}
|
|
363
591
|
export type GetNetworkPingmyipResponse = Internal.GetNetworkPingmyip200Response;
|
|
364
592
|
export type GetNetworkPortscanResponse = Internal.GetNetworkPortscan200Response;
|
|
365
593
|
export interface GetNetworkPortscanArgs {
|
|
594
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
595
|
+
disableCache?: boolean;
|
|
596
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
597
|
+
"disable_cache"?: boolean;
|
|
598
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
599
|
+
_t?: string | number;
|
|
366
600
|
/** 需要扫描的目标主机,可以是域名或IP地址。 */
|
|
367
601
|
host: string;
|
|
368
602
|
/** 需要扫描的端口号,范围是 1 到 65535。 */
|
|
@@ -372,11 +606,23 @@ export interface GetNetworkPortscanArgs {
|
|
|
372
606
|
}
|
|
373
607
|
export type GetNetworkUrlstatusResponse = Internal.GetNetworkUrlstatus200Response;
|
|
374
608
|
export interface GetNetworkUrlstatusArgs {
|
|
609
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
610
|
+
disableCache?: boolean;
|
|
611
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
612
|
+
"disable_cache"?: boolean;
|
|
613
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
614
|
+
_t?: string | number;
|
|
375
615
|
/** 你需要检查其可访问性状态的完整URL。 */
|
|
376
616
|
url: string;
|
|
377
617
|
}
|
|
378
618
|
export type GetNetworkWhoisResponse = Internal.GetNetworkWhois200Response;
|
|
379
619
|
export interface GetNetworkWhoisArgs {
|
|
620
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
621
|
+
disableCache?: boolean;
|
|
622
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
623
|
+
"disable_cache"?: boolean;
|
|
624
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
625
|
+
_t?: string | number;
|
|
380
626
|
/** 你需要查询WHOIS信息的域名。 */
|
|
381
627
|
domain: string;
|
|
382
628
|
/** 返回格式。留空或为 'text' 时返回原始WHOIS文本,设为 'json' 时返回结构化JSON。 */
|
|
@@ -384,17 +630,35 @@ export interface GetNetworkWhoisArgs {
|
|
|
384
630
|
}
|
|
385
631
|
export type GetNetworkWxdomainResponse = Internal.GetNetworkWxdomain200Response;
|
|
386
632
|
export interface GetNetworkWxdomainArgs {
|
|
633
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
634
|
+
disableCache?: boolean;
|
|
635
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
636
|
+
"disable_cache"?: boolean;
|
|
637
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
638
|
+
_t?: string | number;
|
|
387
639
|
/** 需要查询的域名。 */
|
|
388
640
|
domain: string;
|
|
389
641
|
}
|
|
390
642
|
export type GetSayingResponse = Internal.GetSaying200Response;
|
|
391
643
|
export type GetAnswerbookAskResponse = Internal.GetAnswerbookAsk200Response;
|
|
392
644
|
export interface GetAnswerbookAskArgs {
|
|
645
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
646
|
+
disableCache?: boolean;
|
|
647
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
648
|
+
"disable_cache"?: boolean;
|
|
649
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
650
|
+
_t?: string | number;
|
|
393
651
|
/** 你想要提问的问题。问题不能为空。 */
|
|
394
652
|
question: string;
|
|
395
653
|
}
|
|
396
654
|
export type GetRandomImageResponse = ArrayBuffer;
|
|
397
655
|
export interface GetRandomImageArgs {
|
|
656
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
657
|
+
disableCache?: boolean;
|
|
658
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
659
|
+
"disable_cache"?: boolean;
|
|
660
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
661
|
+
_t?: string | number;
|
|
398
662
|
/** (可选)指定图片主类别。
|
|
399
663
|
|
|
400
664
|
**支持的主类别:**
|
|
@@ -425,6 +689,12 @@ export interface GetRandomImageArgs {
|
|
|
425
689
|
}
|
|
426
690
|
export type GetRandomStringResponse = Internal.GetRandomString200Response;
|
|
427
691
|
export interface GetRandomStringArgs {
|
|
692
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
693
|
+
disableCache?: boolean;
|
|
694
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
695
|
+
"disable_cache"?: boolean;
|
|
696
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
697
|
+
_t?: string | number;
|
|
428
698
|
/** 你希望生成的字符串的长度。有效范围是 1 到 1024。 */
|
|
429
699
|
length?: number;
|
|
430
700
|
/** 指定构成字符串的字符类型。 */
|
|
@@ -432,16 +702,34 @@ export interface GetRandomStringArgs {
|
|
|
432
702
|
}
|
|
433
703
|
export type PostAnswerbookAskResponse = Internal.PostAnswerbookAsk200Response;
|
|
434
704
|
export interface PostAnswerbookAskArgs {
|
|
705
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
706
|
+
disableCache?: boolean;
|
|
707
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
708
|
+
"disable_cache"?: boolean;
|
|
709
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
710
|
+
_t?: string | number;
|
|
435
711
|
/** 你想要提问的问题 */
|
|
436
712
|
question: string;
|
|
437
713
|
}
|
|
438
714
|
export type GetGithubRepoResponse = Internal.GetGithubRepo200Response;
|
|
439
715
|
export interface GetGithubRepoArgs {
|
|
716
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
717
|
+
disableCache?: boolean;
|
|
718
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
719
|
+
"disable_cache"?: boolean;
|
|
720
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
721
|
+
_t?: string | number;
|
|
440
722
|
/** 目标仓库的标识,格式为 `owner/repo`。 */
|
|
441
723
|
repo: string;
|
|
442
724
|
}
|
|
443
725
|
export type GetSocialBilibiliArchivesResponse = Internal.GetSocialBilibiliArchives200Response;
|
|
444
726
|
export interface GetSocialBilibiliArchivesArgs {
|
|
727
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
728
|
+
disableCache?: boolean;
|
|
729
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
730
|
+
"disable_cache"?: boolean;
|
|
731
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
732
|
+
_t?: string | number;
|
|
445
733
|
/** B站用户的mid(用户ID) */
|
|
446
734
|
mid: string;
|
|
447
735
|
/** 搜索关键词,可为空 */
|
|
@@ -455,6 +743,12 @@ export interface GetSocialBilibiliArchivesArgs {
|
|
|
455
743
|
}
|
|
456
744
|
export type GetSocialBilibiliLiveroomResponse = Internal.GetSocialBilibiliLiveroom200Response;
|
|
457
745
|
export interface GetSocialBilibiliLiveroomArgs {
|
|
746
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
747
|
+
disableCache?: boolean;
|
|
748
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
749
|
+
"disable_cache"?: boolean;
|
|
750
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
751
|
+
_t?: string | number;
|
|
458
752
|
/** 主播的用户ID (`mid`)。与 `room_id` 任选其一。 */
|
|
459
753
|
mid?: string;
|
|
460
754
|
/** 直播间ID,可以是长号(真实ID)或短号(靓号)。与 `mid` 任选其一。 */
|
|
@@ -464,6 +758,12 @@ export interface GetSocialBilibiliLiveroomArgs {
|
|
|
464
758
|
}
|
|
465
759
|
export type GetSocialBilibiliRepliesResponse = Internal.GetSocialBilibiliReplies200Response;
|
|
466
760
|
export interface GetSocialBilibiliRepliesArgs {
|
|
761
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
762
|
+
disableCache?: boolean;
|
|
763
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
764
|
+
"disable_cache"?: boolean;
|
|
765
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
766
|
+
_t?: string | number;
|
|
467
767
|
/** 目标评论区的ID。对于视频,这通常就是它的 `aid`。 */
|
|
468
768
|
oid: string;
|
|
469
769
|
/** 排序方式。支持 `0/time`(按时间)、`1/like`(按点赞)、`2/reply`(按回复数)、`3/hot/hottest/最热`(按最热)。默认为 `0/time`。 */
|
|
@@ -475,11 +775,23 @@ export interface GetSocialBilibiliRepliesArgs {
|
|
|
475
775
|
}
|
|
476
776
|
export type GetSocialBilibiliUserinfoResponse = Internal.GetSocialBilibiliUserinfo200Response;
|
|
477
777
|
export interface GetSocialBilibiliUserinfoArgs {
|
|
778
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
779
|
+
disableCache?: boolean;
|
|
780
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
781
|
+
"disable_cache"?: boolean;
|
|
782
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
783
|
+
_t?: string | number;
|
|
478
784
|
/** Bilibili用户的UID */
|
|
479
785
|
uid: string;
|
|
480
786
|
}
|
|
481
787
|
export type GetSocialBilibiliVideoinfoResponse = Internal.GetSocialBilibiliVideoinfo200Response;
|
|
482
788
|
export interface GetSocialBilibiliVideoinfoArgs {
|
|
789
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
790
|
+
disableCache?: boolean;
|
|
791
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
792
|
+
"disable_cache"?: boolean;
|
|
793
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
794
|
+
_t?: string | number;
|
|
483
795
|
/** 视频的AV号 (aid),纯数字格式。`aid`和`bvid`任选其一即可。 */
|
|
484
796
|
aid?: string;
|
|
485
797
|
/** 视频的BV号 (bvid),例如 `BV117411r7R1`。`aid`和`bvid`任选其一即可。 */
|
|
@@ -487,6 +799,12 @@ export interface GetSocialBilibiliVideoinfoArgs {
|
|
|
487
799
|
}
|
|
488
800
|
export type GetSocialQqGroupinfoResponse = Internal.GetSocialQqGroupinfo200Response;
|
|
489
801
|
export interface GetSocialQqGroupinfoArgs {
|
|
802
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
803
|
+
disableCache?: boolean;
|
|
804
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
805
|
+
"disable_cache"?: boolean;
|
|
806
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
807
|
+
_t?: string | number;
|
|
490
808
|
/** QQ群号,长度5-12位 */
|
|
491
809
|
groupId: string;
|
|
492
810
|
/** Same as `groupId`. Kept for compatibility. */
|
|
@@ -494,11 +812,23 @@ export interface GetSocialQqGroupinfoArgs {
|
|
|
494
812
|
}
|
|
495
813
|
export type GetSocialQqUserinfoResponse = Internal.GetSocialQqUserinfo200Response;
|
|
496
814
|
export interface GetSocialQqUserinfoArgs {
|
|
815
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
816
|
+
disableCache?: boolean;
|
|
817
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
818
|
+
"disable_cache"?: boolean;
|
|
819
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
820
|
+
_t?: string | number;
|
|
497
821
|
/** 需要查询的QQ号 */
|
|
498
822
|
qq: string;
|
|
499
823
|
}
|
|
500
824
|
export type GetStatusRatelimitResponse = Internal.GetStatusRatelimit200Response;
|
|
501
825
|
export interface GetStatusRatelimitArgs {
|
|
826
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
827
|
+
disableCache?: boolean;
|
|
828
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
829
|
+
"disable_cache"?: boolean;
|
|
830
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
831
|
+
_t?: string | number;
|
|
502
832
|
/** Bearer类型的API密钥认证头。例如:`Bearer sk-xxx` */
|
|
503
833
|
authorization: string;
|
|
504
834
|
/** Same as `authorization`. Kept for compatibility. */
|
|
@@ -506,16 +836,34 @@ export interface GetStatusRatelimitArgs {
|
|
|
506
836
|
}
|
|
507
837
|
export type GetStatusUsageResponse = Internal.GetStatusUsage200Response;
|
|
508
838
|
export interface GetStatusUsageArgs {
|
|
839
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
840
|
+
disableCache?: boolean;
|
|
841
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
842
|
+
"disable_cache"?: boolean;
|
|
843
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
844
|
+
_t?: string | number;
|
|
509
845
|
/** (可选)如果你想查询某个特定的端点,请提供它的路径,例如 '/api/v1/image/motou'。如果留空,则返回所有端点的统计列表。 */
|
|
510
846
|
path?: string;
|
|
511
847
|
}
|
|
512
848
|
export type GetTextMd5Response = Internal.GetTextMd5200Response;
|
|
513
849
|
export interface GetTextMd5Args {
|
|
850
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
851
|
+
disableCache?: boolean;
|
|
852
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
853
|
+
"disable_cache"?: boolean;
|
|
854
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
855
|
+
_t?: string | number;
|
|
514
856
|
/** 需要计算哈希值的文本 */
|
|
515
857
|
text: string;
|
|
516
858
|
}
|
|
517
859
|
export type PostTextAesDecryptResponse = Internal.PostTextAesDecrypt200Response;
|
|
518
860
|
export interface PostTextAesDecryptArgs {
|
|
861
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
862
|
+
disableCache?: boolean;
|
|
863
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
864
|
+
"disable_cache"?: boolean;
|
|
865
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
866
|
+
_t?: string | number;
|
|
519
867
|
/** 密钥,长度必须为16、24或32字节,对应AES-128/192/256。 */
|
|
520
868
|
key: string;
|
|
521
869
|
/** 16字节的IV/Nonce,必须为16个字符 */
|
|
@@ -525,6 +873,12 @@ export interface PostTextAesDecryptArgs {
|
|
|
525
873
|
}
|
|
526
874
|
export type PostTextAesDecryptAdvancedResponse = Internal.PostTextAesDecryptAdvanced200Response;
|
|
527
875
|
export interface PostTextAesDecryptAdvancedArgs {
|
|
876
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
877
|
+
disableCache?: boolean;
|
|
878
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
879
|
+
"disable_cache"?: boolean;
|
|
880
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
881
|
+
_t?: string | number;
|
|
528
882
|
/** 初始化向量(非GCM模式必须提供,Base64编码)。此值来自加密接口返回的iv字段 */
|
|
529
883
|
iv?: string;
|
|
530
884
|
/** 解密密钥(必须与加密时相同) */
|
|
@@ -538,6 +892,12 @@ export interface PostTextAesDecryptAdvancedArgs {
|
|
|
538
892
|
}
|
|
539
893
|
export type PostTextAesEncryptResponse = Internal.PostTextAesEncrypt200Response;
|
|
540
894
|
export interface PostTextAesEncryptArgs {
|
|
895
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
896
|
+
disableCache?: boolean;
|
|
897
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
898
|
+
"disable_cache"?: boolean;
|
|
899
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
900
|
+
_t?: string | number;
|
|
541
901
|
/** 密钥长度必须为 16、24 或 32 字节,分别对应 AES-128、AES-192、AES-256。 */
|
|
542
902
|
key: string;
|
|
543
903
|
/** 待加密的明文文本。 */
|
|
@@ -545,6 +905,12 @@ export interface PostTextAesEncryptArgs {
|
|
|
545
905
|
}
|
|
546
906
|
export type PostTextAesEncryptAdvancedResponse = Internal.PostTextAesEncryptAdvanced200Response;
|
|
547
907
|
export interface PostTextAesEncryptAdvancedArgs {
|
|
908
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
909
|
+
disableCache?: boolean;
|
|
910
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
911
|
+
"disable_cache"?: boolean;
|
|
912
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
913
|
+
_t?: string | number;
|
|
548
914
|
/** 自定义IV(可选,Base64编码,16字节)。GCM模式无需此参数 */
|
|
549
915
|
iv?: string;
|
|
550
916
|
/** 加密密钥(支持任意长度) */
|
|
@@ -562,21 +928,45 @@ export interface PostTextAesEncryptAdvancedArgs {
|
|
|
562
928
|
}
|
|
563
929
|
export type PostTextAnalyzeResponse = Internal.PostTextAnalyze200Response;
|
|
564
930
|
export interface PostTextAnalyzeArgs {
|
|
931
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
932
|
+
disableCache?: boolean;
|
|
933
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
934
|
+
"disable_cache"?: boolean;
|
|
935
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
936
|
+
_t?: string | number;
|
|
565
937
|
/** */
|
|
566
938
|
text: string;
|
|
567
939
|
}
|
|
568
940
|
export type PostTextBase64DecodeResponse = Internal.PostTextBase64Decode200Response;
|
|
569
941
|
export interface PostTextBase64DecodeArgs {
|
|
942
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
943
|
+
disableCache?: boolean;
|
|
944
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
945
|
+
"disable_cache"?: boolean;
|
|
946
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
947
|
+
_t?: string | number;
|
|
570
948
|
/** */
|
|
571
949
|
text: string;
|
|
572
950
|
}
|
|
573
951
|
export type PostTextBase64EncodeResponse = Internal.PostTextBase64Encode200Response;
|
|
574
952
|
export interface PostTextBase64EncodeArgs {
|
|
953
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
954
|
+
disableCache?: boolean;
|
|
955
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
956
|
+
"disable_cache"?: boolean;
|
|
957
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
958
|
+
_t?: string | number;
|
|
575
959
|
/** */
|
|
576
960
|
text: string;
|
|
577
961
|
}
|
|
578
962
|
export type PostTextConvertResponse = Internal.PostTextConvert200Response;
|
|
579
963
|
export interface PostTextConvertArgs {
|
|
964
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
965
|
+
disableCache?: boolean;
|
|
966
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
967
|
+
"disable_cache"?: boolean;
|
|
968
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
969
|
+
_t?: string | number;
|
|
580
970
|
/** 源格式类型 */
|
|
581
971
|
from: string;
|
|
582
972
|
/** 可选参数(预留,当前未使用) */
|
|
@@ -588,11 +978,23 @@ export interface PostTextConvertArgs {
|
|
|
588
978
|
}
|
|
589
979
|
export type PostTextMd5Response = Internal.GetTextMd5200Response;
|
|
590
980
|
export interface PostTextMd5Args {
|
|
981
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
982
|
+
disableCache?: boolean;
|
|
983
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
984
|
+
"disable_cache"?: boolean;
|
|
985
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
986
|
+
_t?: string | number;
|
|
591
987
|
/** 需要计算哈希值的文本 */
|
|
592
988
|
text: string;
|
|
593
989
|
}
|
|
594
990
|
export type PostTextMd5VerifyResponse = Internal.PostTextMd5Verify200Response;
|
|
595
991
|
export interface PostTextMd5VerifyArgs {
|
|
992
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
993
|
+
disableCache?: boolean;
|
|
994
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
995
|
+
"disable_cache"?: boolean;
|
|
996
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
997
|
+
_t?: string | number;
|
|
596
998
|
/** 用于比对的 MD5 哈希值(32 位小写十六进制字符串)。 */
|
|
597
999
|
hash: string;
|
|
598
1000
|
/** 待校验的原始文本,会先计算其 MD5 再与 hash 进行比对。 */
|
|
@@ -601,6 +1003,12 @@ export interface PostTextMd5VerifyArgs {
|
|
|
601
1003
|
export type GetAiTranslateLanguagesResponse = Internal.GetAiTranslateLanguages200Response;
|
|
602
1004
|
export type PostAiTranslateResponse = Internal.PostAiTranslate200Response;
|
|
603
1005
|
export interface PostAiTranslateArgs {
|
|
1006
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
1007
|
+
disableCache?: boolean;
|
|
1008
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
1009
|
+
"disable_cache"?: boolean;
|
|
1010
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
1011
|
+
_t?: string | number;
|
|
604
1012
|
/** 目标语言代码。请从[支持的语言列表](#enum-list)中选择一个语言代码。 */
|
|
605
1013
|
targetLang: string;
|
|
606
1014
|
/** Same as `targetLang`. Kept for compatibility. */
|
|
@@ -622,6 +1030,12 @@ export interface PostAiTranslateArgs {
|
|
|
622
1030
|
}
|
|
623
1031
|
export type PostTranslateStreamResponse = string;
|
|
624
1032
|
export interface PostTranslateStreamArgs {
|
|
1033
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
1034
|
+
disableCache?: boolean;
|
|
1035
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
1036
|
+
"disable_cache"?: boolean;
|
|
1037
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
1038
|
+
_t?: string | number;
|
|
625
1039
|
/** 源语言,支持:中文、英文、auto(自动检测)。默认为auto */
|
|
626
1040
|
fromLang?: string;
|
|
627
1041
|
/** Same as `fromLang`. Kept for compatibility. */
|
|
@@ -637,6 +1051,12 @@ export interface PostTranslateStreamArgs {
|
|
|
637
1051
|
}
|
|
638
1052
|
export type PostTranslateTextResponse = Internal.PostTranslateText200Response;
|
|
639
1053
|
export interface PostTranslateTextArgs {
|
|
1054
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
1055
|
+
disableCache?: boolean;
|
|
1056
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
1057
|
+
"disable_cache"?: boolean;
|
|
1058
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
1059
|
+
_t?: string | number;
|
|
640
1060
|
/** 目标语言代码。请从[支持的语言列表](#enum-list)中选择一个语言代码。 */
|
|
641
1061
|
toLang: string;
|
|
642
1062
|
/** Same as `toLang`. Kept for compatibility. */
|
|
@@ -646,6 +1066,12 @@ export interface PostTranslateTextArgs {
|
|
|
646
1066
|
}
|
|
647
1067
|
export type GetWebTomarkdownAsyncStatusResponse = Internal.GetWebTomarkdownAsyncStatus200Response;
|
|
648
1068
|
export interface GetWebTomarkdownAsyncStatusArgs {
|
|
1069
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
1070
|
+
disableCache?: boolean;
|
|
1071
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
1072
|
+
"disable_cache"?: boolean;
|
|
1073
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
1074
|
+
_t?: string | number;
|
|
649
1075
|
/** 任务ID(由提交接口返回) */
|
|
650
1076
|
taskId: string;
|
|
651
1077
|
/** Same as `taskId`. Kept for compatibility. */
|
|
@@ -653,37 +1079,79 @@ export interface GetWebTomarkdownAsyncStatusArgs {
|
|
|
653
1079
|
}
|
|
654
1080
|
export type GetWebparseExtractimagesResponse = Internal.GetWebparseExtractimages200Response;
|
|
655
1081
|
export interface GetWebparseExtractimagesArgs {
|
|
1082
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
1083
|
+
disableCache?: boolean;
|
|
1084
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
1085
|
+
"disable_cache"?: boolean;
|
|
1086
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
1087
|
+
_t?: string | number;
|
|
656
1088
|
/** 需要提取图片的网页URL */
|
|
657
1089
|
url: string;
|
|
658
1090
|
}
|
|
659
1091
|
export type GetWebparseMetadataResponse = Internal.GetWebparseMetadata200Response;
|
|
660
1092
|
export interface GetWebparseMetadataArgs {
|
|
1093
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
1094
|
+
disableCache?: boolean;
|
|
1095
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
1096
|
+
"disable_cache"?: boolean;
|
|
1097
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
1098
|
+
_t?: string | number;
|
|
661
1099
|
/** 需要提取元数据的网页URL */
|
|
662
1100
|
url: string;
|
|
663
1101
|
}
|
|
664
1102
|
export type PostWebTomarkdownAsyncResponse = Internal.PostWebTomarkdownAsync202Response;
|
|
665
1103
|
export interface PostWebTomarkdownAsyncArgs {
|
|
1104
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
1105
|
+
disableCache?: boolean;
|
|
1106
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
1107
|
+
"disable_cache"?: boolean;
|
|
1108
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
1109
|
+
_t?: string | number;
|
|
666
1110
|
/** 需要转换的网页URL。URL必须经过编码。 */
|
|
667
1111
|
url: string;
|
|
668
1112
|
}
|
|
669
1113
|
export type GetSensitiveWordAnalyzeQueryResponse = Internal.PostSensitiveWordAnalyze200Response;
|
|
670
1114
|
export interface GetSensitiveWordAnalyzeQueryArgs {
|
|
1115
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
1116
|
+
disableCache?: boolean;
|
|
1117
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
1118
|
+
"disable_cache"?: boolean;
|
|
1119
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
1120
|
+
_t?: string | number;
|
|
671
1121
|
/** 要分析的关键词,最长1,000字符。 */
|
|
672
1122
|
keyword: string;
|
|
673
1123
|
}
|
|
674
1124
|
export type PostSensitiveWordAnalyzeResponse = Internal.PostSensitiveWordAnalyze200Response;
|
|
675
1125
|
export interface PostSensitiveWordAnalyzeArgs {
|
|
1126
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
1127
|
+
disableCache?: boolean;
|
|
1128
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
1129
|
+
"disable_cache"?: boolean;
|
|
1130
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
1131
|
+
_t?: string | number;
|
|
676
1132
|
/** 要分析的关键词列表,单次最多100个。单条关键词最多1,000字符,总字符数最多20,000。 */
|
|
677
1133
|
keywords: unknown[];
|
|
678
1134
|
}
|
|
679
1135
|
export type PostSensitiveWordQuickCheckResponse = Internal.PostSensitiveWordQuickCheck200Response;
|
|
680
1136
|
export interface PostSensitiveWordQuickCheckArgs {
|
|
1137
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
1138
|
+
disableCache?: boolean;
|
|
1139
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
1140
|
+
"disable_cache"?: boolean;
|
|
1141
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
1142
|
+
_t?: string | number;
|
|
681
1143
|
/** 需要检测的文本内容。支持简体和繁体中文。 */
|
|
682
1144
|
text: string;
|
|
683
1145
|
}
|
|
684
1146
|
export type GetSearchEnginesResponse = Internal.GetSearchEngines200Response;
|
|
685
1147
|
export type PostSearchAggregateResponse = Internal.PostSearchAggregate200Response;
|
|
686
1148
|
export interface PostSearchAggregateArgs {
|
|
1149
|
+
/** 为 true 时会自动附加 `_t` 时间戳,绕过服务端缓存。 */
|
|
1150
|
+
disableCache?: boolean;
|
|
1151
|
+
/** Same as `disableCache`. Kept for compatibility. */
|
|
1152
|
+
"disable_cache"?: boolean;
|
|
1153
|
+
/** 手动指定缓存穿透时间戳。传入后会原样带到查询参数中。 */
|
|
1154
|
+
_t?: string | number;
|
|
687
1155
|
/** 是否获取页面完整正文(会影响响应时间) */
|
|
688
1156
|
fetchFull?: boolean;
|
|
689
1157
|
/** Same as `fetchFull`. Kept for compatibility. */
|
|
@@ -708,6 +1176,7 @@ export interface PostSearchAggregateArgs {
|
|
|
708
1176
|
export declare class UapiClient {
|
|
709
1177
|
private baseURL;
|
|
710
1178
|
private token?;
|
|
1179
|
+
private disableCache;
|
|
711
1180
|
private _lastResponseMeta?;
|
|
712
1181
|
readonly clipzyZaiXianJianTieBan: ClipzyZaiXianJianTieBanApi;
|
|
713
1182
|
readonly "Clipzy 在线剪贴板": ClipzyZaiXianJianTieBanApi;
|
|
@@ -741,9 +1210,9 @@ export declare class UapiClient {
|
|
|
741
1210
|
readonly "敏感词识别": MinGanCiShiBieApi;
|
|
742
1211
|
readonly zhiNengSouSuo: ZhiNengSouSuoApi;
|
|
743
1212
|
readonly "智能搜索": ZhiNengSouSuoApi;
|
|
744
|
-
constructor(baseURL: string,
|
|
1213
|
+
constructor(baseURL: string, tokenOrOptions?: string | UapiClientOptions, maybeOptions?: UapiClientOptions);
|
|
745
1214
|
get lastResponseMeta(): ResponseMeta | undefined;
|
|
746
|
-
_request(method: string, path: string, params?: Record<string, unknown>, body?: Record<string, unknown>, headers?: Record<string, string>, responseKind?: 'json' | 'text' | 'arrayBuffer'): Promise<any>;
|
|
1215
|
+
_request(method: string, path: string, params?: Record<string, unknown>, body?: Record<string, unknown>, headers?: Record<string, string>, responseKind?: 'json' | 'text' | 'arrayBuffer', requestOptions?: RequestOptions): Promise<any>;
|
|
747
1216
|
}
|
|
748
1217
|
export declare class ClipzyZaiXianJianTieBanApi {
|
|
749
1218
|
private c;
|