@ikenxuan/amagi 5.11.0 → 5.12.0

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.
@@ -2066,7 +2066,7 @@ interface BilibiliMethodOptionsMap {
2066
2066
  number?: number;
2067
2067
  };
2068
2068
  UserParams: {
2069
- methodType: '用户主页数据' | '用户主页动态列表数据' | '获取UP主总播放量';
2069
+ methodType: '用户主页数据' | '用户主页动态列表数据' | '获取UP主总播放量' | '用户空间详细信息';
2070
2070
  /** UP主UID */
2071
2071
  host_mid: number;
2072
2072
  };
@@ -2157,6 +2157,32 @@ interface BilibiliMethodOptionsMap {
2157
2157
  */
2158
2158
  id: string;
2159
2159
  };
2160
+ /** 从_v_voucher_申请_captcha */
2161
+ ApplyVoucherCaptchaParams: {
2162
+ methodType: '从_v_voucher_申请_captcha';
2163
+ /** CSRF Token (位于 Cookie 的 bili_jct) */
2164
+ csrf?: string;
2165
+ /** 结构为字符串 voucher_ 尾随一串以 - 为分隔符的小写 UUID */
2166
+ v_voucher: string;
2167
+ };
2168
+ /** 验证验证码结果 */
2169
+ ValidateCaptchaParams: {
2170
+ methodType: '验证验证码结果';
2171
+ /** CSRF Token (位于 Cookie 的 bili_jct) */
2172
+ csrf?: string;
2173
+ /** 极验3 https://www.geetest.com 的 验证码 challenge */
2174
+ challenge: string;
2175
+ /** 验证码 token */
2176
+ token: string;
2177
+ /**
2178
+ * 人机验证成功后的 validate 参数
2179
+ */
2180
+ validate: string;
2181
+ /**
2182
+ * 人机验证成功后的 seccode 参数,{validate}|jordan
2183
+ */
2184
+ seccode: string;
2185
+ };
2160
2186
  }
2161
2187
  /**
2162
2188
  * 评论区类型枚举
@@ -2215,6 +2241,7 @@ type BilibiliMethodOptMap = {
2215
2241
  指定评论的回复: BilibiliMethodOptionsMap['CommentReplyParams'];
2216
2242
  用户主页数据: BilibiliMethodOptionsMap['UserParams'];
2217
2243
  用户主页动态列表数据: BilibiliMethodOptionsMap['UserParams'];
2244
+ 用户空间详细信息: BilibiliMethodOptionsMap['UserParams'];
2218
2245
  获取UP主总播放量: BilibiliMethodOptionsMap['UserParams'];
2219
2246
  Emoji数据: BilibiliMethodOptionsMap['EmojiParams'];
2220
2247
  番剧基本信息数据: BilibiliMethodOptionsMap['BangumiInfoParams'];
@@ -2232,6 +2259,8 @@ type BilibiliMethodOptMap = {
2232
2259
  专栏显示卡片信息: BilibiliMethodOptionsMap['ArticleCardParams'];
2233
2260
  专栏文章基本信息: BilibiliMethodOptionsMap['ArticleInfoParams'];
2234
2261
  文集基本信息: BilibiliMethodOptionsMap['ColumnInfoParams'];
2262
+ 从_v_voucher_申请_captcha: BilibiliMethodOptionsMap['ApplyVoucherCaptchaParams'];
2263
+ 验证验证码结果: BilibiliMethodOptionsMap['ValidateCaptchaParams'];
2235
2264
  };
2236
2265
  //#endregion
2237
2266
  //#region src/validation/bilibili.d.ts
@@ -2254,6 +2283,8 @@ declare const BilibiliArticleParamsSchema: zod.ZodType<BilibiliMethodOptionsMap[
2254
2283
  declare const BilibiliArticleCardParamsSchema: zod.ZodType<BilibiliMethodOptionsMap['ArticleCardParams']>;
2255
2284
  declare const BilibiliArticleInfoParamsSchema: zod.ZodType<BilibiliMethodOptionsMap['ArticleInfoParams']>;
2256
2285
  declare const BilibiliColumnInfoParamsSchema: zod.ZodType<BilibiliMethodOptionsMap['ColumnInfoParams']>;
2286
+ declare const BilibiliApplyCaptchaParamsSchema: zod.ZodType<BilibiliMethodOptionsMap['ApplyVoucherCaptchaParams']>;
2287
+ declare const BilibiliValidateCaptchaParamsSchema: zod.ZodType<BilibiliMethodOptionsMap['ValidateCaptchaParams']>;
2257
2288
  declare const BilibiliValidationSchemas: {
2258
2289
  readonly 单个视频作品数据: zod.ZodType<{
2259
2290
  methodType: "\u5355\u4E2A\u89C6\u9891\u4F5C\u54C1\u6570\u636E";
@@ -2306,17 +2337,24 @@ declare const BilibiliValidationSchemas: {
2306
2337
  number?: number;
2307
2338
  }, unknown>>;
2308
2339
  readonly 用户主页数据: zod.ZodType<{
2309
- methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF";
2340
+ methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF" | "\u7528\u6237\u7A7A\u95F4\u8BE6\u7EC6\u4FE1\u606F";
2310
2341
  host_mid: number;
2311
2342
  }, unknown, zod.core.$ZodTypeInternals<{
2312
- methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF";
2343
+ methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF" | "\u7528\u6237\u7A7A\u95F4\u8BE6\u7EC6\u4FE1\u606F";
2313
2344
  host_mid: number;
2314
2345
  }, unknown>>;
2315
2346
  readonly 用户主页动态列表数据: zod.ZodType<{
2316
- methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF";
2347
+ methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF" | "\u7528\u6237\u7A7A\u95F4\u8BE6\u7EC6\u4FE1\u606F";
2317
2348
  host_mid: number;
2318
2349
  }, unknown, zod.core.$ZodTypeInternals<{
2319
- methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF";
2350
+ methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF" | "\u7528\u6237\u7A7A\u95F4\u8BE6\u7EC6\u4FE1\u606F";
2351
+ host_mid: number;
2352
+ }, unknown>>;
2353
+ readonly 用户空间详细信息: zod.ZodType<{
2354
+ methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF" | "\u7528\u6237\u7A7A\u95F4\u8BE6\u7EC6\u4FE1\u606F";
2355
+ host_mid: number;
2356
+ }, unknown, zod.core.$ZodTypeInternals<{
2357
+ methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF" | "\u7528\u6237\u7A7A\u95F4\u8BE6\u7EC6\u4FE1\u606F";
2320
2358
  host_mid: number;
2321
2359
  }, unknown>>;
2322
2360
  readonly Emoji数据: zod.ZodType<{
@@ -2388,10 +2426,10 @@ declare const BilibiliValidationSchemas: {
2388
2426
  qrcode_key: string;
2389
2427
  }, unknown>>;
2390
2428
  readonly 获取UP主总播放量: zod.ZodType<{
2391
- methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF";
2429
+ methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF" | "\u7528\u6237\u7A7A\u95F4\u8BE6\u7EC6\u4FE1\u606F";
2392
2430
  host_mid: number;
2393
2431
  }, unknown, zod.core.$ZodTypeInternals<{
2394
- methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF";
2432
+ methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF" | "\u7528\u6237\u7A7A\u95F4\u8BE6\u7EC6\u4FE1\u606F";
2395
2433
  host_mid: number;
2396
2434
  }, unknown>>;
2397
2435
  readonly AV转BV: zod.ZodType<{
@@ -2436,6 +2474,30 @@ declare const BilibiliValidationSchemas: {
2436
2474
  methodType: "\u6587\u96C6\u57FA\u672C\u4FE1\u606F";
2437
2475
  id: string;
2438
2476
  }, unknown>>;
2477
+ readonly 从_v_voucher_申请_captcha: zod.ZodType<{
2478
+ methodType: "\u4ECE_v_voucher_\u7533\u8BF7_captcha";
2479
+ csrf?: string;
2480
+ v_voucher: string;
2481
+ }, unknown, zod.core.$ZodTypeInternals<{
2482
+ methodType: "\u4ECE_v_voucher_\u7533\u8BF7_captcha";
2483
+ csrf?: string;
2484
+ v_voucher: string;
2485
+ }, unknown>>;
2486
+ readonly 验证验证码结果: zod.ZodType<{
2487
+ methodType: "\u9A8C\u8BC1\u9A8C\u8BC1\u7801\u7ED3\u679C";
2488
+ csrf?: string;
2489
+ challenge: string;
2490
+ token: string;
2491
+ validate: string;
2492
+ seccode: string;
2493
+ }, unknown, zod.core.$ZodTypeInternals<{
2494
+ methodType: "\u9A8C\u8BC1\u9A8C\u8BC1\u7801\u7ED3\u679C";
2495
+ csrf?: string;
2496
+ challenge: string;
2497
+ token: string;
2498
+ validate: string;
2499
+ seccode: string;
2500
+ }, unknown>>;
2439
2501
  };
2440
2502
  declare const BilibiliMethodRoutes: {
2441
2503
  readonly 单个视频作品数据: "/fetch_one_video";
@@ -2444,6 +2506,7 @@ declare const BilibiliMethodRoutes: {
2444
2506
  readonly 指定评论的回复: "/fetch_comment_reply";
2445
2507
  readonly 用户主页数据: "/fetch_user_profile";
2446
2508
  readonly 用户主页动态列表数据: "/fetch_user_dynamic";
2509
+ readonly 用户空间详细信息: "/fetch_user_space_info";
2447
2510
  readonly Emoji数据: "/fetch_emoji_list";
2448
2511
  readonly 番剧基本信息数据: "/fetch_bangumi_video_info";
2449
2512
  readonly 番剧下载信息数据: "/fetch_bangumi_video_playurl";
@@ -2461,6 +2524,8 @@ declare const BilibiliMethodRoutes: {
2461
2524
  readonly 专栏显示卡片信息: "/fetch_article_card";
2462
2525
  readonly 专栏文章基本信息: "/fetch_article_info";
2463
2526
  readonly 文集基本信息: "/fetch_column_info";
2527
+ readonly 从_v_voucher_申请_captcha: "/apply_captcha";
2528
+ readonly 验证验证码结果: "/validate_captcha";
2464
2529
  };
2465
2530
  type BilibiliMethodType = keyof typeof BilibiliValidationSchemas;
2466
2531
  //#endregion
@@ -3345,12 +3410,12 @@ declare enum xiaohongshuAPIErrorCode {
3345
3410
  //#region src/types/ReturnDataType/Bilibili/ArticleCard.d.ts
3346
3411
  type ArticleCard = {
3347
3412
  code: number;
3348
- data: DataData$23;
3413
+ data: DataData$26;
3349
3414
  message: string;
3350
3415
  ttl: number;
3351
3416
  [property: string]: any;
3352
3417
  };
3353
- type DataData$23 = {
3418
+ type DataData$26 = {
3354
3419
  av2: Av2;
3355
3420
  cv1: Cv1;
3356
3421
  cv2: Cv2;
@@ -3709,12 +3774,12 @@ type Lv5440 = {
3709
3774
  //#region src/types/ReturnDataType/Bilibili/ArticleContent.d.ts
3710
3775
  type ArticleContent = {
3711
3776
  code: number;
3712
- data: DataData$22;
3777
+ data: DataData$25;
3713
3778
  message: string;
3714
3779
  ttl: number;
3715
3780
  [property: string]: any;
3716
3781
  };
3717
- type DataData$22 = {
3782
+ type DataData$25 = {
3718
3783
  act_id: number;
3719
3784
  apply_time: string;
3720
3785
  authenMark: null;
@@ -3762,13 +3827,13 @@ type Author$7 = {
3762
3827
  level: number;
3763
3828
  mid: number;
3764
3829
  name: string;
3765
- nameplate: Nameplate$3;
3830
+ nameplate: Nameplate$4;
3766
3831
  official_verify: OfficialVerify$9;
3767
- pendant: Pendant$9;
3768
- vip: Vip$9;
3832
+ pendant: Pendant$10;
3833
+ vip: Vip$10;
3769
3834
  [property: string]: any;
3770
3835
  };
3771
- type Nameplate$3 = {
3836
+ type Nameplate$4 = {
3772
3837
  condition: string;
3773
3838
  image: string;
3774
3839
  image_small: string;
@@ -3782,17 +3847,17 @@ type OfficialVerify$9 = {
3782
3847
  type: number;
3783
3848
  [property: string]: any;
3784
3849
  };
3785
- type Pendant$9 = {
3850
+ type Pendant$10 = {
3786
3851
  expire: number;
3787
3852
  image: string;
3788
3853
  name: string;
3789
3854
  pid: number;
3790
3855
  [property: string]: any;
3791
3856
  };
3792
- type Vip$9 = {
3857
+ type Vip$10 = {
3793
3858
  avatar_subscript: number;
3794
3859
  due_date: number;
3795
- label: Label$9;
3860
+ label: Label$10;
3796
3861
  nickname_color: string;
3797
3862
  status: number;
3798
3863
  theme_type: number;
@@ -3800,7 +3865,7 @@ type Vip$9 = {
3800
3865
  vip_pay_type: number;
3801
3866
  [property: string]: any;
3802
3867
  };
3803
- type Label$9 = {
3868
+ type Label$10 = {
3804
3869
  label_theme: string;
3805
3870
  path: string;
3806
3871
  text: string;
@@ -3926,12 +3991,12 @@ type Stats$1 = {
3926
3991
  //#region src/types/ReturnDataType/Bilibili/ArticleInfo.d.ts
3927
3992
  type ArticleInfo = {
3928
3993
  code: number;
3929
- data: DataData$21;
3994
+ data: DataData$24;
3930
3995
  message: string;
3931
3996
  ttl: number;
3932
3997
  [property: string]: any;
3933
3998
  };
3934
- type DataData$21 = {
3999
+ type DataData$24 = {
3935
4000
  attention: boolean;
3936
4001
  author_name: string;
3937
4002
  banner_url: string;
@@ -4024,7 +4089,7 @@ type Result$5 = {
4024
4089
  season_title: string;
4025
4090
  seasons: Season[];
4026
4091
  section: Section[];
4027
- series: Series;
4092
+ series: Series$1;
4028
4093
  share_copy: string;
4029
4094
  share_sub_title: string;
4030
4095
  share_url: string;
@@ -4330,7 +4395,7 @@ type Vt = {
4330
4395
  value: number;
4331
4396
  [property: string]: any;
4332
4397
  };
4333
- type Series = {
4398
+ type Series$1 = {
4334
4399
  display_type: number;
4335
4400
  series_id: number;
4336
4401
  series_title: string;
@@ -4360,7 +4425,7 @@ type UpInfo = {
4360
4425
  is_follow: number;
4361
4426
  mid: number;
4362
4427
  nickname_color: string;
4363
- pendant: Pendant$8;
4428
+ pendant: Pendant$9;
4364
4429
  theme_type: number;
4365
4430
  uname: string;
4366
4431
  verify_type: number;
@@ -4369,7 +4434,7 @@ type UpInfo = {
4369
4434
  vip_type: number;
4370
4435
  [property: string]: any;
4371
4436
  };
4372
- type Pendant$8 = {
4437
+ type Pendant$9 = {
4373
4438
  image: string;
4374
4439
  name: string;
4375
4440
  pid: number;
@@ -4697,12 +4762,12 @@ type Setting = {
4697
4762
  //#region src/types/ReturnDataType/Bilibili/BiliCommentReply.d.ts
4698
4763
  type BiliCommentReply = {
4699
4764
  code: number;
4700
- data: DataData$20;
4765
+ data: DataData$23;
4701
4766
  message: string;
4702
4767
  ttl: number;
4703
4768
  [property: string]: any;
4704
4769
  };
4705
- type DataData$20 = {
4770
+ type DataData$23 = {
4706
4771
  assist: number;
4707
4772
  blacklist: number;
4708
4773
  callbacks: {
@@ -4887,7 +4952,7 @@ type Member = {
4887
4952
  is_senior_member: number;
4888
4953
  level_info: LevelInfo$2;
4889
4954
  mid: string;
4890
- nameplate: Nameplate$2;
4955
+ nameplate: Nameplate$3;
4891
4956
  nft_interaction: null;
4892
4957
  official_verify: OfficialVerify$8;
4893
4958
  pendant: MemberPendant;
@@ -4898,7 +4963,7 @@ type Member = {
4898
4963
  uname: string;
4899
4964
  user_sailing: UserSailing;
4900
4965
  user_sailing_v2: UserSailingV2;
4901
- vip: Vip$8;
4966
+ vip: Vip$9;
4902
4967
  [property: string]: any;
4903
4968
  };
4904
4969
  type AvatarItem = {
@@ -5027,7 +5092,7 @@ type LevelInfo$2 = {
5027
5092
  next_exp: number;
5028
5093
  [property: string]: any;
5029
5094
  };
5030
- type Nameplate$2 = {
5095
+ type Nameplate$3 = {
5031
5096
  condition: string;
5032
5097
  image: string;
5033
5098
  image_small: string;
@@ -5137,11 +5202,11 @@ type UserSailingV2Pendant = {
5137
5202
  type: string;
5138
5203
  [property: string]: any;
5139
5204
  };
5140
- type Vip$8 = {
5205
+ type Vip$9 = {
5141
5206
  accessStatus: number;
5142
5207
  avatar_subscript: number;
5143
5208
  dueRemark: string;
5144
- label: Label$8;
5209
+ label: Label$9;
5145
5210
  nickname_color: string;
5146
5211
  themeType: number;
5147
5212
  vipDueDate: number;
@@ -5150,7 +5215,7 @@ type Vip$8 = {
5150
5215
  vipType: number;
5151
5216
  [property: string]: any;
5152
5217
  };
5153
- type Label$8 = {
5218
+ type Label$9 = {
5154
5219
  bg_color: string;
5155
5220
  bg_style: number;
5156
5221
  border_color: string;
@@ -5204,15 +5269,53 @@ type Data$13 = {
5204
5269
  [property: string]: any;
5205
5270
  };
5206
5271
  //#endregion
5272
+ //#region src/types/ReturnDataType/Bilibili/Captcha/ApplyCaptcha.d.ts
5273
+ type ApplyCaptcha = {
5274
+ code: number;
5275
+ data: DataData$22;
5276
+ message: string;
5277
+ ttl: number;
5278
+ [property: string]: any;
5279
+ };
5280
+ type DataData$22 = {
5281
+ biliword: null;
5282
+ geetest: Geetest;
5283
+ phone: null;
5284
+ sms: null;
5285
+ sms_mo: null;
5286
+ token: string;
5287
+ type: string;
5288
+ [property: string]: any;
5289
+ };
5290
+ type Geetest = {
5291
+ challenge: string;
5292
+ gt: string;
5293
+ [property: string]: any;
5294
+ };
5295
+ //#endregion
5296
+ //#region src/types/ReturnDataType/Bilibili/Captcha/ValidateCaptcha.d.ts
5297
+ type ValidateCaptcha = {
5298
+ code: number;
5299
+ data: DataData$21;
5300
+ message: string;
5301
+ ttl: number;
5302
+ [property: string]: any;
5303
+ };
5304
+ type DataData$21 = {
5305
+ grisk_id: string;
5306
+ is_valid: number;
5307
+ [property: string]: any;
5308
+ };
5309
+ //#endregion
5207
5310
  //#region src/types/ReturnDataType/Bilibili/ColumnInfo.d.ts
5208
5311
  type ColumnInfo = {
5209
5312
  code: number;
5210
- data: DataData$19;
5313
+ data: DataData$20;
5211
5314
  message: string;
5212
5315
  ttl: number;
5213
5316
  [property: string]: any;
5214
5317
  };
5215
- type DataData$19 = {
5318
+ type DataData$20 = {
5216
5319
  articles: null;
5217
5320
  attention: boolean;
5218
5321
  author: Author$6;
@@ -5226,13 +5329,13 @@ type Author$6 = {
5226
5329
  level: number;
5227
5330
  mid: number;
5228
5331
  name: string;
5229
- nameplate: Nameplate$1;
5332
+ nameplate: Nameplate$2;
5230
5333
  official_verify: OfficialVerify$7;
5231
- pendant: Pendant$7;
5232
- vip: Vip$7;
5334
+ pendant: Pendant$8;
5335
+ vip: Vip$8;
5233
5336
  [property: string]: any;
5234
5337
  };
5235
- type Nameplate$1 = {
5338
+ type Nameplate$2 = {
5236
5339
  condition: string;
5237
5340
  image: string;
5238
5341
  image_small: string;
@@ -5246,17 +5349,17 @@ type OfficialVerify$7 = {
5246
5349
  type: number;
5247
5350
  [property: string]: any;
5248
5351
  };
5249
- type Pendant$7 = {
5352
+ type Pendant$8 = {
5250
5353
  expire: number;
5251
5354
  image: string;
5252
5355
  name: string;
5253
5356
  pid: number;
5254
5357
  [property: string]: any;
5255
5358
  };
5256
- type Vip$7 = {
5359
+ type Vip$8 = {
5257
5360
  avatar_subscript: number;
5258
5361
  due_date: number;
5259
- label: Label$7;
5362
+ label: Label$8;
5260
5363
  nickname_color: string;
5261
5364
  status: number;
5262
5365
  theme_type: number;
@@ -5264,7 +5367,7 @@ type Vip$7 = {
5264
5367
  vip_pay_type: number;
5265
5368
  [property: string]: any;
5266
5369
  };
5267
- type Label$7 = {
5370
+ type Label$8 = {
5268
5371
  label_theme: string;
5269
5372
  path: string;
5270
5373
  text: string;
@@ -5366,10 +5469,10 @@ type UserProfile = {
5366
5469
  card: UserProfileCard;
5367
5470
  info: Info;
5368
5471
  level_info: LevelInfo$1;
5369
- pendant: Pendant$6;
5472
+ pendant: Pendant$7;
5370
5473
  rank: string;
5371
5474
  sign: string;
5372
- vip: Vip$6;
5475
+ vip: Vip$7;
5373
5476
  [property: string]: any;
5374
5477
  };
5375
5478
  type UserProfileCard = {
@@ -5393,7 +5496,7 @@ type LevelInfo$1 = {
5393
5496
  next_exp: string;
5394
5497
  [property: string]: any;
5395
5498
  };
5396
- type Pendant$6 = {
5499
+ type Pendant$7 = {
5397
5500
  expire: number;
5398
5501
  image: string;
5399
5502
  image_enhance: string;
@@ -5402,12 +5505,12 @@ type Pendant$6 = {
5402
5505
  pid: number;
5403
5506
  [property: string]: any;
5404
5507
  };
5405
- type Vip$6 = {
5508
+ type Vip$7 = {
5406
5509
  accessStatus: number;
5407
5510
  avatar_subscript: number;
5408
5511
  avatar_subscript_url: string;
5409
5512
  dueRemark: string;
5410
- label: Label$6;
5513
+ label: Label$7;
5411
5514
  nickname_color: string;
5412
5515
  role: number;
5413
5516
  themeType: number;
@@ -5417,7 +5520,7 @@ type Vip$6 = {
5417
5520
  vipType: number;
5418
5521
  [property: string]: any;
5419
5522
  };
5420
- type Label$6 = {
5523
+ type Label$7 = {
5421
5524
  bg_color: string;
5422
5525
  bg_style: number;
5423
5526
  border_color: string;
@@ -5461,12 +5564,12 @@ type DynamicTypeItemMap$1 = {
5461
5564
  [DynamicType.FORWARD]: DynamicTypeForwardUnion['data']['item'];
5462
5565
  [DynamicType.ARTICLE]: DynamicTypeArticle['data']['item'];
5463
5566
  };
5464
- type DataData$18<T$1 extends DynamicType> = {
5567
+ type DataData$19<T$1 extends DynamicType> = {
5465
5568
  item: DynamicTypeItemMap$1[T$1];
5466
5569
  };
5467
5570
  type BiliDynamicInfo<T$1 extends DynamicType> = {
5468
5571
  code: number;
5469
- data: DataData$18<T$1>;
5572
+ data: DataData$19<T$1>;
5470
5573
  message: string;
5471
5574
  ttl: number;
5472
5575
  [property: string]: any;
@@ -5775,7 +5878,7 @@ type UserGarb = {
5775
5878
  //#region src/types/ReturnDataType/Bilibili/UserDynamic.d.ts
5776
5879
  type BiliUserDynamic = {
5777
5880
  code: number;
5778
- data: DataData$17;
5881
+ data: DataData$18;
5779
5882
  message: string;
5780
5883
  ttl: number;
5781
5884
  [property: string]: any;
@@ -5794,7 +5897,7 @@ type DynamicTypeItemMap = {
5794
5897
  [DynamicType.FORWARD]: ForwardItem;
5795
5898
  [DynamicType.ARTICLE]: ArticleItem;
5796
5899
  };
5797
- type DataData$17<T$1 extends DynamicType = DynamicType> = {
5900
+ type DataData$18<T$1 extends DynamicType = DynamicType> = {
5798
5901
  has_more: boolean;
5799
5902
  items: DynamicTypeItemMap[T$1][];
5800
5903
  offset: string;
@@ -5864,20 +5967,20 @@ type Card = {
5864
5967
  mid: string;
5865
5968
  name: string;
5866
5969
  name_render: null;
5867
- nameplate: Nameplate;
5868
- Official: Official;
5970
+ nameplate: Nameplate$1;
5971
+ Official: Official$1;
5869
5972
  official_verify: OfficialVerify$5;
5870
- pendant: Pendant$5;
5973
+ pendant: Pendant$6;
5871
5974
  place: string;
5872
5975
  rank: string;
5873
5976
  regtime: number;
5874
5977
  sex: string;
5875
5978
  sign: string;
5876
5979
  spacesta: number;
5877
- vip: Vip$5;
5980
+ vip: Vip$6;
5878
5981
  [property: string]: any;
5879
5982
  };
5880
- type Official = {
5983
+ type Official$1 = {
5881
5984
  desc: string;
5882
5985
  role: number;
5883
5986
  title: string;
@@ -5891,7 +5994,7 @@ type LevelInfo = {
5891
5994
  next_exp: number;
5892
5995
  [property: string]: any;
5893
5996
  };
5894
- type Nameplate = {
5997
+ type Nameplate$1 = {
5895
5998
  condition: string;
5896
5999
  image: string;
5897
6000
  image_small: string;
@@ -5905,7 +6008,7 @@ type OfficialVerify$5 = {
5905
6008
  type: number;
5906
6009
  [property: string]: any;
5907
6010
  };
5908
- type Pendant$5 = {
6011
+ type Pendant$6 = {
5909
6012
  expire: number;
5910
6013
  image: string;
5911
6014
  image_enhance: string;
@@ -5915,12 +6018,12 @@ type Pendant$5 = {
5915
6018
  pid: number;
5916
6019
  [property: string]: any;
5917
6020
  };
5918
- type Vip$5 = {
5919
- avatar_icon: AvatarIcon;
6021
+ type Vip$6 = {
6022
+ avatar_icon: AvatarIcon$1;
5920
6023
  avatar_subscript: number;
5921
6024
  avatar_subscript_url: string;
5922
6025
  due_date: number;
5923
- label: Label$5;
6026
+ label: Label$6;
5924
6027
  nickname_color: string;
5925
6028
  role: number;
5926
6029
  status: number;
@@ -5934,7 +6037,7 @@ type Vip$5 = {
5934
6037
  vipType: number;
5935
6038
  [property: string]: any;
5936
6039
  };
5937
- type AvatarIcon = {
6040
+ type AvatarIcon$1 = {
5938
6041
  icon_resource: IconResource;
5939
6042
  icon_type: number;
5940
6043
  [property: string]: any;
@@ -5944,7 +6047,7 @@ type IconResource = {
5944
6047
  url: string;
5945
6048
  [property: string]: any;
5946
6049
  };
5947
- type Label$5 = {
6050
+ type Label$6 = {
5948
6051
  bg_color: string;
5949
6052
  bg_style: number;
5950
6053
  border_color: string;
@@ -5965,6 +6068,242 @@ type Space = {
5965
6068
  [property: string]: any;
5966
6069
  };
5967
6070
  //#endregion
6071
+ //#region src/types/ReturnDataType/Bilibili/UserSpaceInfo.d.ts
6072
+ type UserSpaceInfo = {
6073
+ code: number;
6074
+ data: DataData$17;
6075
+ message: string;
6076
+ ttl: number;
6077
+ [property: string]: any;
6078
+ };
6079
+ type DataData$17 = {
6080
+ attestation: Attestation;
6081
+ birthday: string;
6082
+ certificate_show: boolean;
6083
+ coins: number;
6084
+ contract: Contract;
6085
+ control: number;
6086
+ elec: Elec;
6087
+ face: string;
6088
+ face_nft: number;
6089
+ face_nft_type: number;
6090
+ fans_badge: boolean;
6091
+ fans_medal: FansMedal;
6092
+ gaia_data: null;
6093
+ gaia_res_type: number;
6094
+ is_followed: boolean;
6095
+ is_risk: boolean;
6096
+ is_senior_member: number;
6097
+ jointime: number;
6098
+ level: number;
6099
+ live_room: LiveRoom;
6100
+ mcn_info: null;
6101
+ mid: number;
6102
+ moral: number;
6103
+ name: string;
6104
+ name_render: null;
6105
+ nameplate: Nameplate;
6106
+ official: Official;
6107
+ pendant: Pendant$5;
6108
+ profession: Profession;
6109
+ rank: number;
6110
+ school: null;
6111
+ series: Series;
6112
+ sex: string;
6113
+ sign: string;
6114
+ silence: number;
6115
+ sys_notice: {
6116
+ [key: string]: any;
6117
+ };
6118
+ tags: null;
6119
+ theme: null;
6120
+ top_photo: string;
6121
+ top_photo_v2: TopPhotoV2;
6122
+ user_honour_info: UserHonourInfo;
6123
+ vip: Vip$5;
6124
+ [property: string]: any;
6125
+ };
6126
+ type Attestation = {
6127
+ common_info: CommonInfo;
6128
+ desc: string;
6129
+ icon: string;
6130
+ splice_info: SpliceInfo;
6131
+ type: number;
6132
+ [property: string]: any;
6133
+ };
6134
+ type CommonInfo = {
6135
+ prefix: string;
6136
+ prefix_title: string;
6137
+ title: string;
6138
+ [property: string]: any;
6139
+ };
6140
+ type SpliceInfo = {
6141
+ title: string;
6142
+ [property: string]: any;
6143
+ };
6144
+ type Contract = {
6145
+ is_display: boolean;
6146
+ is_follow_display: boolean;
6147
+ [property: string]: any;
6148
+ };
6149
+ type Elec = {
6150
+ show_info: ShowInfo;
6151
+ [property: string]: any;
6152
+ };
6153
+ type ShowInfo = {
6154
+ icon: string;
6155
+ jump_url: string;
6156
+ jump_url_web: string;
6157
+ list: null;
6158
+ long_title: string;
6159
+ show: boolean;
6160
+ state: number;
6161
+ title: string;
6162
+ total: number;
6163
+ upower_count_show: boolean;
6164
+ [property: string]: any;
6165
+ };
6166
+ type FansMedal = {
6167
+ detail: null;
6168
+ medal: null;
6169
+ show: boolean;
6170
+ wear: boolean;
6171
+ [property: string]: any;
6172
+ };
6173
+ type LiveRoom = {
6174
+ broadcast_type: number;
6175
+ cover: string;
6176
+ liveStatus: number;
6177
+ roomid: number;
6178
+ roomStatus: number;
6179
+ roundStatus: number;
6180
+ title: string;
6181
+ url: string;
6182
+ watched_show: WatchedShow;
6183
+ [property: string]: any;
6184
+ };
6185
+ type WatchedShow = {
6186
+ icon: string;
6187
+ icon_location: string;
6188
+ icon_web: string;
6189
+ num: number;
6190
+ switch: boolean;
6191
+ text_large: string;
6192
+ text_small: string;
6193
+ [property: string]: any;
6194
+ };
6195
+ type Nameplate = {
6196
+ condition: string;
6197
+ image: string;
6198
+ image_small: string;
6199
+ level: string;
6200
+ name: string;
6201
+ nid: number;
6202
+ [property: string]: any;
6203
+ };
6204
+ type Official = {
6205
+ desc: string;
6206
+ role: number;
6207
+ title: string;
6208
+ type: number;
6209
+ [property: string]: any;
6210
+ };
6211
+ type Pendant$5 = {
6212
+ expire: number;
6213
+ image: string;
6214
+ image_enhance: string;
6215
+ image_enhance_frame: string;
6216
+ n_pid: number;
6217
+ name: string;
6218
+ pid: number;
6219
+ [property: string]: any;
6220
+ };
6221
+ type Profession = {
6222
+ department: string;
6223
+ is_show: number;
6224
+ name: string;
6225
+ title: string;
6226
+ [property: string]: any;
6227
+ };
6228
+ type Series = {
6229
+ show_upgrade_window: boolean;
6230
+ user_upgrade_status: number;
6231
+ [property: string]: any;
6232
+ };
6233
+ type TopPhotoV2 = {
6234
+ l_200h_img: string;
6235
+ l_img: string;
6236
+ sid: number;
6237
+ [property: string]: any;
6238
+ };
6239
+ type UserHonourInfo = {
6240
+ colour: null;
6241
+ is_latest_100honour: number;
6242
+ mid: number;
6243
+ tags: string[];
6244
+ [property: string]: any;
6245
+ };
6246
+ type Vip$5 = {
6247
+ avatar_icon: AvatarIcon;
6248
+ avatar_subscript: number;
6249
+ avatar_subscript_url: string;
6250
+ due_date: number;
6251
+ label: Label$5;
6252
+ nickname_color: string;
6253
+ ott_info: OttInfo;
6254
+ role: number;
6255
+ status: number;
6256
+ super_vip: SuperVip;
6257
+ theme_type: number;
6258
+ tv_due_date: number;
6259
+ tv_vip_pay_type: number;
6260
+ tv_vip_status: number;
6261
+ type: number;
6262
+ vip_pay_type: number;
6263
+ [property: string]: any;
6264
+ };
6265
+ type AvatarIcon = {
6266
+ icon_resource: {
6267
+ [key: string]: any;
6268
+ };
6269
+ icon_type: number;
6270
+ [property: string]: any;
6271
+ };
6272
+ type Label$5 = {
6273
+ bg_color: string;
6274
+ bg_style: number;
6275
+ border_color: string;
6276
+ img_label_uri_hans: string;
6277
+ img_label_uri_hans_static: string;
6278
+ img_label_uri_hant: string;
6279
+ img_label_uri_hant_static: string;
6280
+ label_goto: LabelGoto;
6281
+ label_id: number;
6282
+ label_theme: string;
6283
+ path: string;
6284
+ text: string;
6285
+ text_color: string;
6286
+ use_img_label: boolean;
6287
+ [property: string]: any;
6288
+ };
6289
+ type LabelGoto = {
6290
+ mobile: string;
6291
+ pc_web: string;
6292
+ [property: string]: any;
6293
+ };
6294
+ type OttInfo = {
6295
+ overdue_time: number;
6296
+ pay_channel_id: string;
6297
+ pay_type: number;
6298
+ status: number;
6299
+ vip_type: number;
6300
+ [property: string]: any;
6301
+ };
6302
+ type SuperVip = {
6303
+ is_super_vip: boolean;
6304
+ [property: string]: any;
6305
+ };
6306
+ //#endregion
5968
6307
  //#region src/types/ReturnDataType/Bilibili/VideoPlayurlIsLogin.d.ts
5969
6308
  /** 视频下载地址(已登录) */
5970
6309
  type BiliVideoPlayurlIsLogin = {
@@ -11567,6 +11906,7 @@ interface BilibiliReturnTypeMap {
11567
11906
  指定评论的回复: BiliCommentReply;
11568
11907
  用户主页数据: BiliUserProfile;
11569
11908
  用户主页动态列表数据: BiliUserDynamic;
11909
+ 用户空间详细信息: UserSpaceInfo;
11570
11910
  Emoji数据: BiliEmojiList;
11571
11911
  番剧基本信息数据: BiliBangumiVideoInfo;
11572
11912
  番剧下载信息数据: BiliBangumiVideoPlayurlIsLogin | BiliBangumiVideoPlayurlNoLogin;
@@ -11584,6 +11924,8 @@ interface BilibiliReturnTypeMap {
11584
11924
  专栏显示卡片信息: ArticleCard;
11585
11925
  专栏文章基本信息: ArticleInfo;
11586
11926
  文集基本信息: ColumnInfo;
11927
+ 从_v_voucher_申请_captcha: ApplyCaptcha;
11928
+ 验证验证码结果: ValidateCaptcha;
11587
11929
  }
11588
11930
  //#endregion
11589
11931
  //#region src/types/ReturnDataType/Douyin/CommentReply.d.ts
@@ -20779,6 +21121,24 @@ declare class BiLiBiLiAPI {
20779
21121
  专栏显示卡片信息(data: BilibiliMethodOptionsWithoutMethodType['ArticleCardParams']): string;
20780
21122
  专栏文章基本信息(data: BilibiliMethodOptionsWithoutMethodType['ArticleParams']): string;
20781
21123
  文集基本信息(data: BilibiliMethodOptionsWithoutMethodType['ArticleInfoParams']): string;
21124
+ 用户空间详细信息(data: BilibiliMethodOptionsWithoutMethodType['UserParams']): string;
21125
+ 从_v_voucher_申请_captcha(data: BilibiliMethodOptionsWithoutMethodType['ApplyVoucherCaptchaParams']): {
21126
+ Url: string;
21127
+ Body: {
21128
+ v_voucher: string;
21129
+ csrf?: string | undefined;
21130
+ };
21131
+ };
21132
+ 验证验证码结果(data: BilibiliMethodOptionsWithoutMethodType['ValidateCaptchaParams']): {
21133
+ Url: string;
21134
+ Body: {
21135
+ csrf?: string | undefined;
21136
+ challenge: string;
21137
+ token: string;
21138
+ validate: string;
21139
+ seccode: string;
21140
+ };
21141
+ };
20782
21142
  }
20783
21143
  /** 该类下的所有方法只会返回拼接好参数后的 Url 地址,需要手动请求该地址以获取数据 */
20784
21144
  declare const bilibiliApiUrls: BiLiBiLiAPI;
@@ -20870,7 +21230,7 @@ declare const createSuccessResponse: <T$1>(data: T$1, message: string, code?: nu
20870
21230
  * @param code - 错误状态码(可选,默认500)
20871
21231
  * @returns 格式化的错误响应对象
20872
21232
  */
20873
- declare const createErrorResponse: (error: APIErrorType, message: string, code?: number) => ErrorResult;
21233
+ declare const createErrorResponse: (error: APIErrorType, message: string, code?: number, data?: unknown) => ErrorResult;
20874
21234
  //#endregion
20875
21235
  //#region src/platform/bilibili/BilibiliApi.d.ts
20876
21236
  /**
@@ -20957,7 +21317,7 @@ declare const bilibili: {
20957
21317
  * @returns 统一格式的API响应
20958
21318
  */
20959
21319
  getUserProfile: <M extends TypeMode>(options: Omit<{
20960
- methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF";
21320
+ methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF" | "\u7528\u6237\u7A7A\u95F4\u8BE6\u7EC6\u4FE1\u606F";
20961
21321
  host_mid: number;
20962
21322
  }, "methodType"> & {
20963
21323
  typeMode?: TypeMode;
@@ -20971,7 +21331,7 @@ declare const bilibili: {
20971
21331
  * @returns 统一格式的API响应
20972
21332
  */
20973
21333
  getUserDynamic: <M extends TypeMode>(options: Omit<{
20974
- methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF";
21334
+ methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF" | "\u7528\u6237\u7A7A\u95F4\u8BE6\u7EC6\u4FE1\u606F";
20975
21335
  host_mid: number;
20976
21336
  }, "methodType"> & {
20977
21337
  typeMode?: TypeMode;
@@ -21124,7 +21484,7 @@ declare const bilibili: {
21124
21484
  * @returns 统一格式的API响应
21125
21485
  */
21126
21486
  getUserTotalPlayCount: <M extends TypeMode>(options: Omit<{
21127
- methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF";
21487
+ methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF" | "\u7528\u6237\u7A7A\u95F4\u8BE6\u7EC6\u4FE1\u606F";
21128
21488
  host_mid: number;
21129
21489
  }, "methodType"> & {
21130
21490
  typeMode?: TypeMode;
@@ -21215,6 +21575,53 @@ declare const bilibili: {
21215
21575
  } & {
21216
21576
  typeMode?: M | undefined;
21217
21577
  }, cookie?: string) => Promise<Result<ConditionalReturnType<ColumnInfo, M>>>;
21578
+ /**
21579
+ * 用户空间详细信息
21580
+ * @param options 请求参数
21581
+ * @param cookie 有效的用户 Cookie
21582
+ * @returns 统一格式的API响应
21583
+ */
21584
+ getUserProfileDetail: <M extends TypeMode>(options: Omit<{
21585
+ methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF" | "\u7528\u6237\u7A7A\u95F4\u8BE6\u7EC6\u4FE1\u606F";
21586
+ host_mid: number;
21587
+ }, "methodType"> & {
21588
+ typeMode?: TypeMode;
21589
+ } & {
21590
+ typeMode?: M | undefined;
21591
+ }, cookie?: string) => Promise<Result<ConditionalReturnType<UserSpaceInfo, M>>>;
21592
+ /**
21593
+ * 从_v_voucher_申请_captcha
21594
+ * @param options 请求参数
21595
+ * @param cookie 有效的用户 Cookie
21596
+ * @returns 统一格式的API响应
21597
+ */
21598
+ applyVoucherCaptcha: <M extends TypeMode>(options: Omit<{
21599
+ methodType: "\u4ECE_v_voucher_\u7533\u8BF7_captcha";
21600
+ csrf?: string;
21601
+ v_voucher: string;
21602
+ }, "methodType"> & {
21603
+ typeMode?: TypeMode;
21604
+ } & {
21605
+ typeMode?: M | undefined;
21606
+ }, cookie?: string) => Promise<Result<ConditionalReturnType<ApplyCaptcha, M>>>;
21607
+ /**
21608
+ * 验证验证码结果
21609
+ * @param options 请求参数
21610
+ * @param cookie 有效的用户 Cookie
21611
+ * @returns 统一格式的API响应
21612
+ */
21613
+ validateCaptcha: <M extends TypeMode>(options: Omit<{
21614
+ methodType: "\u9A8C\u8BC1\u9A8C\u8BC1\u7801\u7ED3\u679C";
21615
+ csrf?: string;
21616
+ challenge: string;
21617
+ token: string;
21618
+ validate: string;
21619
+ seccode: string;
21620
+ }, "methodType"> & {
21621
+ typeMode?: TypeMode;
21622
+ } & {
21623
+ typeMode?: M | undefined;
21624
+ }, cookie?: string) => Promise<Result<ConditionalReturnType<ValidateCaptcha, M>>>;
21218
21625
  };
21219
21626
  /**
21220
21627
  * 创建绑定了cookie的B站API对象
@@ -21291,7 +21698,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
21291
21698
  * @returns 统一格式的API响应
21292
21699
  */
21293
21700
  getUserProfile: <M extends TypeMode>(options: Omit<{
21294
- methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF";
21701
+ methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF" | "\u7528\u6237\u7A7A\u95F4\u8BE6\u7EC6\u4FE1\u606F";
21295
21702
  host_mid: number;
21296
21703
  }, "methodType"> & {
21297
21704
  typeMode?: TypeMode;
@@ -21304,7 +21711,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
21304
21711
  * @returns 统一格式的API响应
21305
21712
  */
21306
21713
  getUserDynamic: <M extends TypeMode>(options: Omit<{
21307
- methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF";
21714
+ methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF" | "\u7528\u6237\u7A7A\u95F4\u8BE6\u7EC6\u4FE1\u606F";
21308
21715
  host_mid: number;
21309
21716
  }, "methodType"> & {
21310
21717
  typeMode?: TypeMode;
@@ -21446,7 +21853,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
21446
21853
  * @returns 统一格式的API响应
21447
21854
  */
21448
21855
  getUserTotalPlayCount: <M extends TypeMode>(options: Omit<{
21449
- methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF";
21856
+ methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF" | "\u7528\u6237\u7A7A\u95F4\u8BE6\u7EC6\u4FE1\u606F";
21450
21857
  host_mid: number;
21451
21858
  }, "methodType"> & {
21452
21859
  typeMode?: TypeMode;
@@ -21531,6 +21938,50 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
21531
21938
  } & {
21532
21939
  typeMode?: M | undefined;
21533
21940
  }) => Promise<Result<ConditionalReturnType<ColumnInfo, M>>>;
21941
+ /**
21942
+ * 用户空间详细信息
21943
+ * @param options 请求参数
21944
+ * @returns 统一格式的API响应
21945
+ */
21946
+ getUserProfileDetail: <M extends TypeMode>(options: Omit<{
21947
+ methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF" | "\u7528\u6237\u7A7A\u95F4\u8BE6\u7EC6\u4FE1\u606F";
21948
+ host_mid: number;
21949
+ }, "methodType"> & {
21950
+ typeMode?: TypeMode;
21951
+ } & {
21952
+ typeMode?: M | undefined;
21953
+ }) => Promise<Result<ConditionalReturnType<UserSpaceInfo, M>>>;
21954
+ /**
21955
+ * 从_v_voucher_申请_captcha
21956
+ * @param options 请求参数
21957
+ * @returns 统一格式的API响应
21958
+ */
21959
+ applyVoucherCaptcha: <M extends TypeMode>(options: Omit<{
21960
+ methodType: "\u4ECE_v_voucher_\u7533\u8BF7_captcha";
21961
+ csrf?: string;
21962
+ v_voucher: string;
21963
+ }, "methodType"> & {
21964
+ typeMode?: TypeMode;
21965
+ } & {
21966
+ typeMode?: M | undefined;
21967
+ }) => Promise<Result<ConditionalReturnType<ApplyCaptcha, M>>>;
21968
+ /**
21969
+ * 验证验证码结果
21970
+ * @param options 请求参数
21971
+ * @returns 统一格式的API响应
21972
+ */
21973
+ validateCaptcha: <M extends TypeMode>(options: Omit<{
21974
+ methodType: "\u9A8C\u8BC1\u9A8C\u8BC1\u7801\u7ED3\u679C";
21975
+ csrf?: string;
21976
+ challenge: string;
21977
+ token: string;
21978
+ validate: string;
21979
+ seccode: string;
21980
+ }, "methodType"> & {
21981
+ typeMode?: TypeMode;
21982
+ } & {
21983
+ typeMode?: M | undefined;
21984
+ }) => Promise<Result<ConditionalReturnType<ValidateCaptcha, M>>>;
21534
21985
  };
21535
21986
  /**
21536
21987
  * 绑定cookie的B站API对象类型
@@ -21591,6 +22042,8 @@ declare const bilibiliErrorCodeMap: {
21591
22042
  '-701': string;
21592
22043
  '-799': string;
21593
22044
  '-8888': string;
22045
+ 100000: string;
22046
+ 100003: string;
21594
22047
  };
21595
22048
  //#endregion
21596
22049
  //#region src/platform/bilibili/qtparam.d.ts
@@ -22795,7 +23248,7 @@ declare const createAmagiClient: (options?: Options) => {
22795
23248
  typeMode?: M | undefined;
22796
23249
  }) => Promise<Result<ConditionalReturnType<BiliCommentReply, M>>>;
22797
23250
  getUserProfile: <M extends TypeMode>(options: Omit<{
22798
- methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF";
23251
+ methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF" | "\u7528\u6237\u7A7A\u95F4\u8BE6\u7EC6\u4FE1\u606F";
22799
23252
  host_mid: number;
22800
23253
  }, "methodType"> & {
22801
23254
  typeMode?: TypeMode;
@@ -22803,7 +23256,7 @@ declare const createAmagiClient: (options?: Options) => {
22803
23256
  typeMode?: M | undefined;
22804
23257
  }) => Promise<Result<ConditionalReturnType<BiliUserProfile, M>>>;
22805
23258
  getUserDynamic: <M extends TypeMode>(options: Omit<{
22806
- methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF";
23259
+ methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF" | "\u7528\u6237\u7A7A\u95F4\u8BE6\u7EC6\u4FE1\u606F";
22807
23260
  host_mid: number;
22808
23261
  }, "methodType"> & {
22809
23262
  typeMode?: TypeMode;
@@ -22890,7 +23343,7 @@ declare const createAmagiClient: (options?: Options) => {
22890
23343
  typeMode?: M | undefined;
22891
23344
  }) => Promise<Result<ConditionalReturnType<BiliCheckQrcode, M>>>;
22892
23345
  getUserTotalPlayCount: <M extends TypeMode>(options: Omit<{
22893
- methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF";
23346
+ methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF" | "\u7528\u6237\u7A7A\u95F4\u8BE6\u7EC6\u4FE1\u606F";
22894
23347
  host_mid: number;
22895
23348
  }, "methodType"> & {
22896
23349
  typeMode?: TypeMode;
@@ -22945,6 +23398,35 @@ declare const createAmagiClient: (options?: Options) => {
22945
23398
  } & {
22946
23399
  typeMode?: M | undefined;
22947
23400
  }) => Promise<Result<ConditionalReturnType<ColumnInfo, M>>>;
23401
+ getUserProfileDetail: <M extends TypeMode>(options: Omit<{
23402
+ methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF" | "\u7528\u6237\u7A7A\u95F4\u8BE6\u7EC6\u4FE1\u606F";
23403
+ host_mid: number;
23404
+ }, "methodType"> & {
23405
+ typeMode?: TypeMode;
23406
+ } & {
23407
+ typeMode?: M | undefined;
23408
+ }) => Promise<Result<ConditionalReturnType<UserSpaceInfo, M>>>;
23409
+ applyVoucherCaptcha: <M extends TypeMode>(options: Omit<{
23410
+ methodType: "\u4ECE_v_voucher_\u7533\u8BF7_captcha";
23411
+ csrf?: string;
23412
+ v_voucher: string;
23413
+ }, "methodType"> & {
23414
+ typeMode?: TypeMode;
23415
+ } & {
23416
+ typeMode?: M | undefined;
23417
+ }) => Promise<Result<ConditionalReturnType<ApplyCaptcha, M>>>;
23418
+ validateCaptcha: <M extends TypeMode>(options: Omit<{
23419
+ methodType: "\u9A8C\u8BC1\u9A8C\u8BC1\u7801\u7ED3\u679C";
23420
+ csrf?: string;
23421
+ challenge: string;
23422
+ token: string;
23423
+ validate: string;
23424
+ seccode: string;
23425
+ }, "methodType"> & {
23426
+ typeMode?: TypeMode;
23427
+ } & {
23428
+ typeMode?: M | undefined;
23429
+ }) => Promise<Result<ConditionalReturnType<ValidateCaptcha, M>>>;
22948
23430
  };
22949
23431
  sign: {
22950
23432
  wbi_sign: typeof wbi_sign;
@@ -23319,6 +23801,7 @@ declare const fetchResponse: <T$1 = unknown>(config: AxiosRequestConfig, maxRetr
23319
23801
  * 判断结果是否为网络错误响应
23320
23802
  * @param result - 请求结果
23321
23803
  * @returns 是否为ErrorResult
23804
+ * @description 通过检查 error 字段中的 amagiError 来区分网络错误和业务错误
23322
23805
  */
23323
23806
  declare const isNetworkErrorResult: (result: unknown) => result is ErrorResult;
23324
23807
  /**
@@ -23396,4 +23879,4 @@ declare const amagi: typeof Client;
23396
23879
  */
23397
23880
 
23398
23881
  //#endregion
23399
- export { APIErrorType, AdditionalType, ApiError, ApiResponse, ArticleCard, ArticleContent, ArticleInfo, BaseResponse, BiliAv2Bv, BiliBangumiVideoInfo, BiliBangumiVideoPlayurlIsLogin, BiliBangumiVideoPlayurlNoLogin, BiliBiliVideoPlayurlNoLogin, BiliBv2AV, BiliCheckQrcode, BiliCommentReply, BiliDynamicCard, BiliDynamicInfo, BiliDynamicInfoUnion, BiliEmojiList, BiliLiveRoomDef, BiliLiveRoomDetail, BiliNewLoginQrcode, BiliOneWork, BiliUserDynamic, BiliUserFullView, BiliUserProfile, BiliVideoPlayurlIsLogin, BiliWorkComments, BilibiliArticleCardParamsSchema, BilibiliArticleInfoParamsSchema, BilibiliArticleParamsSchema, BilibiliAv2BvParamsSchema, BilibiliBangumiInfoParamsSchema, BilibiliBangumiStreamParamsSchema, BilibiliBv2AvParamsSchema, BilibiliColumnInfoParamsSchema, BilibiliCommentParamsSchema, BilibiliCommentReplyParamsSchema, BilibiliDataOptions, BilibiliDataOptionsMap, BilibiliDynamicParamsSchema, BilibiliEmojiParamsSchema, BilibiliLiveParamsSchema, BilibiliLoginParamsSchema, BilibiliMethodOptMap, BilibiliMethodOptionsMap, BilibiliMethodRoutes, type BilibiliMethodType, BilibiliQrcodeParamsSchema, BilibiliQrcodeStatusParamsSchema, BilibiliReturnTypeMap, BilibiliUserParamsSchema, BilibiliValidationSchemas, BilibiliVideoDownloadParamsSchema, BilibiliVideoParamsSchema, BoundBilibiliApi, BoundDouyinApi, BoundKuaishouApi, BoundXiaohongshuApi, ColumnInfo, CommentReply, CommentType, CookieConfig, CreateApp, DouyinCommentParamsSchema, DouyinCommentReplyParamsSchema, DouyinDanmakuParamsSchema, DouyinDataOptions, DouyinDataOptionsMap, DouyinEmojiListParamsSchema, DouyinEmojiProParamsSchema, DouyinHotWordsParamsSchema, DouyinLiveRoomParamsSchema, DouyinMethodOptMap, DouyinMethodOptionsMap, DouyinMethodRoutes, type DouyinMethodType, DouyinMusicParamsSchema, DouyinQrcodeParamsSchema, DouyinReturnTypeMap, DouyinSearchParamsSchema, DouyinUserParamsSchema, DouyinValidationSchemas, DouyinWorkParamsSchema, DyDanmakuList, DyEmojiList, DyEmojiProList, DyImageAlbumWork, DyMusicWork, DySearchInfo, DySlidesWork, DySuggestWords, DyTextWork, DyUserInfo, DyUserLiveVideos, DyUserPostVideos, DyVideoWork, DyWorkComments, DynamicType, DynamicTypeAV, DynamicTypeArticle, DynamicTypeDraw, DynamicTypeForward, DynamicTypeForwardUnion, DynamicTypeLiveRcmd, DynamicTypeWord, ErrorResult, HomeFeed, KsEmojiList, KsOneWork, KsWorkComments, KuaishouCommentParamsSchema, KuaishouDataOptions, KuaishouDataOptionsMap, KuaishouEmojiParamsSchema, KuaishouMethodOptMap, KuaishouMethodOptionsMap, KuaishouMethodRoutes, type KuaishouMethodType, KuaishouReturnTypeMap, KuaishouValidationSchemas, KuaishouVideoParamsSchema, MajorType, type NetworksConfigType, NoteComments, OmitMethodType, OneNote, Options, RequestConfig, Result, SearchInfoGeneralData, SearchInfoUser, SearchInfoVideo, SearchNotes, SuccessResult, TypeControl, ValidationError, XiaohongshuDataOptions, XiaohongshuDataOptionsMap, XiaohongshuEmojiList, XiaohongshuMethodOptMap, XiaohongshuMethodOptionsMap, XiaohongshuMethodRoutes, XiaohongshuMethodType, XiaohongshuReturnTypeMap, XiaohongshuUserProfile, XiaohongshuValidationSchemas, amagi, amagiClient, av2bv, bilibili, bilibiliApiUrls, bilibiliErrorCodeMap, bilibiliUtils, bv2av, createAmagiClient, createBilibiliRoutes, createBilibiliRoutes as registerBilibiliRoutes, createBoundBilibiliApi, createBoundDouyinApi, createBoundKuaishouApi, createBoundXiaohongshuApi, createDouyinRoutes, createDouyinRoutes as registerDouyinRoutes, createErrorResponse, createKuaishouRoutes, createKuaishouRoutes as registerKuaishouRoutes, createSuccessResponse, createXiaohongshuRoutes, createXiaohongshuRoutes as registerXiaohongshuRoutes, Client as default, douyin, douyinApiUrls, douyinSign, douyinUtils, fetchData, fetchResponse, getBilibiliData, getDouyinData, getHeadersAndData, getKuaishouData, handleError, httpLogger, isNetworkErrorResult, kuaishou, kuaishouApiUrls, kuaishouUtils, logMiddleware, logger, qtparam, validateBilibiliParams, validateDouyinParams, validateKuaishouParams, validateXiaohongshuParams, wbi_sign, xiaohongshu, xiaohongshuApiUrls, xiaohongshuSign, xiaohongshuUtils };
23882
+ export { APIErrorType, AdditionalType, ApiError, ApiResponse, ArticleCard, ArticleContent, ArticleInfo, BaseResponse, BiliAv2Bv, BiliBangumiVideoInfo, BiliBangumiVideoPlayurlIsLogin, BiliBangumiVideoPlayurlNoLogin, BiliBiliVideoPlayurlNoLogin, BiliBv2AV, BiliCheckQrcode, BiliCommentReply, BiliDynamicCard, BiliDynamicInfo, BiliDynamicInfoUnion, BiliEmojiList, BiliLiveRoomDef, BiliLiveRoomDetail, BiliNewLoginQrcode, BiliOneWork, BiliUserDynamic, BiliUserFullView, BiliUserProfile, BiliVideoPlayurlIsLogin, BiliWorkComments, BilibiliApplyCaptchaParamsSchema, BilibiliArticleCardParamsSchema, BilibiliArticleInfoParamsSchema, BilibiliArticleParamsSchema, BilibiliAv2BvParamsSchema, BilibiliBangumiInfoParamsSchema, BilibiliBangumiStreamParamsSchema, BilibiliBv2AvParamsSchema, BilibiliColumnInfoParamsSchema, BilibiliCommentParamsSchema, BilibiliCommentReplyParamsSchema, BilibiliDataOptions, BilibiliDataOptionsMap, BilibiliDynamicParamsSchema, BilibiliEmojiParamsSchema, BilibiliLiveParamsSchema, BilibiliLoginParamsSchema, BilibiliMethodOptMap, BilibiliMethodOptionsMap, BilibiliMethodRoutes, type BilibiliMethodType, BilibiliQrcodeParamsSchema, BilibiliQrcodeStatusParamsSchema, BilibiliReturnTypeMap, BilibiliUserParamsSchema, BilibiliValidateCaptchaParamsSchema, BilibiliValidationSchemas, BilibiliVideoDownloadParamsSchema, BilibiliVideoParamsSchema, BoundBilibiliApi, BoundDouyinApi, BoundKuaishouApi, BoundXiaohongshuApi, ColumnInfo, CommentReply, CommentType, CookieConfig, CreateApp, DouyinCommentParamsSchema, DouyinCommentReplyParamsSchema, DouyinDanmakuParamsSchema, DouyinDataOptions, DouyinDataOptionsMap, DouyinEmojiListParamsSchema, DouyinEmojiProParamsSchema, DouyinHotWordsParamsSchema, DouyinLiveRoomParamsSchema, DouyinMethodOptMap, DouyinMethodOptionsMap, DouyinMethodRoutes, type DouyinMethodType, DouyinMusicParamsSchema, DouyinQrcodeParamsSchema, DouyinReturnTypeMap, DouyinSearchParamsSchema, DouyinUserParamsSchema, DouyinValidationSchemas, DouyinWorkParamsSchema, DyDanmakuList, DyEmojiList, DyEmojiProList, DyImageAlbumWork, DyMusicWork, DySearchInfo, DySlidesWork, DySuggestWords, DyTextWork, DyUserInfo, DyUserLiveVideos, DyUserPostVideos, DyVideoWork, DyWorkComments, DynamicType, DynamicTypeAV, DynamicTypeArticle, DynamicTypeDraw, DynamicTypeForward, DynamicTypeForwardUnion, DynamicTypeLiveRcmd, DynamicTypeWord, ErrorResult, HomeFeed, KsEmojiList, KsOneWork, KsWorkComments, KuaishouCommentParamsSchema, KuaishouDataOptions, KuaishouDataOptionsMap, KuaishouEmojiParamsSchema, KuaishouMethodOptMap, KuaishouMethodOptionsMap, KuaishouMethodRoutes, type KuaishouMethodType, KuaishouReturnTypeMap, KuaishouValidationSchemas, KuaishouVideoParamsSchema, MajorType, type NetworksConfigType, NoteComments, OmitMethodType, OneNote, Options, RequestConfig, Result, SearchInfoGeneralData, SearchInfoUser, SearchInfoVideo, SearchNotes, SuccessResult, TypeControl, ValidationError, XiaohongshuDataOptions, XiaohongshuDataOptionsMap, XiaohongshuEmojiList, XiaohongshuMethodOptMap, XiaohongshuMethodOptionsMap, XiaohongshuMethodRoutes, XiaohongshuMethodType, XiaohongshuReturnTypeMap, XiaohongshuUserProfile, XiaohongshuValidationSchemas, amagi, amagiClient, av2bv, bilibili, bilibiliApiUrls, bilibiliErrorCodeMap, bilibiliUtils, bv2av, createAmagiClient, createBilibiliRoutes, createBilibiliRoutes as registerBilibiliRoutes, createBoundBilibiliApi, createBoundDouyinApi, createBoundKuaishouApi, createBoundXiaohongshuApi, createDouyinRoutes, createDouyinRoutes as registerDouyinRoutes, createErrorResponse, createKuaishouRoutes, createKuaishouRoutes as registerKuaishouRoutes, createSuccessResponse, createXiaohongshuRoutes, createXiaohongshuRoutes as registerXiaohongshuRoutes, Client as default, douyin, douyinApiUrls, douyinSign, douyinUtils, fetchData, fetchResponse, getBilibiliData, getDouyinData, getHeadersAndData, getKuaishouData, handleError, httpLogger, isNetworkErrorResult, kuaishou, kuaishouApiUrls, kuaishouUtils, logMiddleware, logger, qtparam, validateBilibiliParams, validateDouyinParams, validateKuaishouParams, validateXiaohongshuParams, wbi_sign, xiaohongshu, xiaohongshuApiUrls, xiaohongshuSign, xiaohongshuUtils };