@ikenxuan/amagi 5.11.1 → 5.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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> = {
5465
- item: DynamicTypeItemMap$1[T$1];
5567
+ type DataData$19<T extends DynamicType> = {
5568
+ item: DynamicTypeItemMap$1[T];
5466
5569
  };
5467
- type BiliDynamicInfo<T$1 extends DynamicType> = {
5570
+ type BiliDynamicInfo<T extends DynamicType> = {
5468
5571
  code: number;
5469
- data: DataData$18<T$1>;
5572
+ data: DataData$19<T>;
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,9 +5897,9 @@ 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 extends DynamicType = DynamicType> = {
5798
5901
  has_more: boolean;
5799
- items: DynamicTypeItemMap[T$1][];
5902
+ items: DynamicTypeItemMap[T][];
5800
5903
  offset: string;
5801
5904
  update_baseline: string;
5802
5905
  update_num: number;
@@ -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 = {
@@ -10866,21 +11205,21 @@ type OriginalDynamicItemMap = {
10866
11205
  };
10867
11206
  type ItemBasic = OriginalDynamicItemMap[DynamicType.DRAW]['basic'];
10868
11207
  type ItemModules = OriginalDynamicItemMap[DynamicType.DRAW]['modules'];
10869
- type DataData$8<T$1 extends keyof OriginalDynamicItemMap> = {
11208
+ type DataData$8<T extends keyof OriginalDynamicItemMap> = {
10870
11209
  item: {
10871
11210
  basic: ItemBasic;
10872
11211
  id_str: string;
10873
11212
  modules: ItemModules;
10874
- orig: OriginalDynamicItemMap[T$1]['orig'];
11213
+ orig: OriginalDynamicItemMap[T]['orig'];
10875
11214
  type: DynamicType.FORWARD;
10876
11215
  visible: boolean;
10877
11216
  [property: string]: any;
10878
11217
  };
10879
11218
  [property: string]: any;
10880
11219
  };
10881
- type DynamicTypeForward<T$1 extends keyof OriginalDynamicItemMap> = {
11220
+ type DynamicTypeForward<T extends keyof OriginalDynamicItemMap> = {
10882
11221
  code: number;
10883
- data: DataData$8<T$1>;
11222
+ data: DataData$8<T>;
10884
11223
  message: string;
10885
11224
  ttl: number;
10886
11225
  [property: string]: any;
@@ -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
@@ -20676,7 +21018,7 @@ interface XiaohongshuReturnTypeMap {
20676
21018
  /**
20677
21019
  * 移除methodType字段的工具类型
20678
21020
  */
20679
- type OmitMethodType<T$1> = Omit<T$1, 'methodType'>;
21021
+ type OmitMethodType<T> = Omit<T, 'methodType'>;
20680
21022
  /**
20681
21023
  * 类型精度控制参数
20682
21024
  */
@@ -20709,17 +21051,17 @@ type XiaohongshuDataOptionsMap = { [K in XiaohongshuMethodType]: {
20709
21051
  opt: XiaohongshuMethodOptMap[K];
20710
21052
  data: XiaohongshuReturnTypeMap[K];
20711
21053
  } };
20712
- type XiaohongshuDataOptions<T$1 extends keyof XiaohongshuDataOptionsMap> = OmitMethodType<XiaohongshuDataOptionsMap[T$1]['opt'] & TypeControl>;
20713
- type DouyinDataOptions<T$1 extends DouyinMethodType> = OmitMethodType<zod.infer<(typeof DouyinValidationSchemas)[T$1]> & TypeControl>;
20714
- type BilibiliDataOptions<T$1 extends keyof BilibiliDataOptionsMap> = OmitMethodType<BilibiliDataOptionsMap[T$1]['opt'] & TypeControl>;
20715
- type KuaishouDataOptions<T$1 extends keyof KuaishouDataOptionsMap> = OmitMethodType<KuaishouDataOptionsMap[T$1]['opt'] & TypeControl>;
21054
+ type XiaohongshuDataOptions<T extends keyof XiaohongshuDataOptionsMap> = OmitMethodType<XiaohongshuDataOptionsMap[T]['opt'] & TypeControl>;
21055
+ type DouyinDataOptions<T extends DouyinMethodType> = OmitMethodType<zod.infer<(typeof DouyinValidationSchemas)[T]> & TypeControl>;
21056
+ type BilibiliDataOptions<T extends keyof BilibiliDataOptionsMap> = OmitMethodType<BilibiliDataOptionsMap[T]['opt'] & TypeControl>;
21057
+ type KuaishouDataOptions<T extends keyof KuaishouDataOptionsMap> = OmitMethodType<KuaishouDataOptionsMap[T]['opt'] & TypeControl>;
20716
21058
  /**
20717
21059
  * API请求错误类型
20718
21060
  * 该类型是方法 `getXXXData` 封装后请求遇到错误时的返回类型
20719
21061
  */
20720
- type APIErrorType<T$1 extends 'douyin' | 'bilibili' | 'kuaishou' | 'xiaohongshu' | 'default' = 'default'> = {
21062
+ type APIErrorType<T extends 'douyin' | 'bilibili' | 'kuaishou' | 'xiaohongshu' | 'default' = 'default'> = {
20721
21063
  /** 错误码 */
20722
- code: T$1 extends 'douyin' ? douoyinAPIErrorCode : T$1 extends 'bilibili' ? bilibiliAPIErrorCode : T$1 extends 'kuaishou' ? kuaishouAPIErrorCode : T$1 extends 'xiaohongshu' ? xiaohongshuAPIErrorCode : amagiAPIErrorCode;
21064
+ code: T extends 'douyin' ? douoyinAPIErrorCode : T extends 'bilibili' ? bilibiliAPIErrorCode : T extends 'kuaishou' ? kuaishouAPIErrorCode : T extends 'xiaohongshu' ? xiaohongshuAPIErrorCode : amagiAPIErrorCode;
20723
21065
  /** 错误时的响应数据 */
20724
21066
  data: any;
20725
21067
  /** amagi 错误详情 */
@@ -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;
@@ -20797,11 +21157,11 @@ type BaseResponse = {
20797
21157
  * 成功响应类型
20798
21158
  * @template T - 响应数据的类型,默认为any
20799
21159
  */
20800
- type SuccessResult<T$1 = any> = BaseResponse & {
21160
+ type SuccessResult<T = any> = BaseResponse & {
20801
21161
  /** 响应状态 */
20802
21162
  success: true;
20803
21163
  /** 响应数据,类型由泛型 T 决定 */
20804
- data: T$1;
21164
+ data: T;
20805
21165
  /** 成功响应时错误信息为空 */
20806
21166
  error: never;
20807
21167
  };
@@ -20820,41 +21180,41 @@ type ErrorResult = BaseResponse & {
20820
21180
  * 通用API响应类型
20821
21181
  * @template T - 成功响应数据的类型,默认为any
20822
21182
  */
20823
- type Result<T$1> = SuccessResult<T$1> | ErrorResult;
21183
+ type Result<T> = SuccessResult<T> | ErrorResult;
20824
21184
  /**
20825
21185
  * 通用API响应类型
20826
21186
  * @template T - 成功响应数据的类型,默认为any
20827
21187
  * @deprecated 请使用 Result<T> 替代
20828
21188
  */
20829
- type ApiResponse<T$1> = Result<T$1>;
21189
+ type ApiResponse<T> = Result<T>;
20830
21190
  /**
20831
21191
  * 验证抖音参数
20832
21192
  * @param methodType - 抖音方法类型
20833
21193
  * @param params - 待验证的参数
20834
21194
  * @returns 验证后的参数,符合原始API期望的类型
20835
21195
  */
20836
- declare const validateDouyinParams: <T$1 extends DouyinMethodType>(methodType: T$1, params: unknown) => zod.infer<(typeof DouyinValidationSchemas)[T$1]>;
21196
+ declare const validateDouyinParams: <T extends DouyinMethodType>(methodType: T, params: unknown) => zod.infer<(typeof DouyinValidationSchemas)[T]>;
20837
21197
  /**
20838
21198
  * 验证哔哩哔哩参数
20839
21199
  * @param methodType - 哔哩哔哩方法类型
20840
21200
  * @param params - 待验证的参数
20841
21201
  * @returns 验证后的参数,符合原始API期望的类型
20842
21202
  */
20843
- declare const validateBilibiliParams: <T$1 extends BilibiliMethodType>(methodType: T$1, params: unknown) => zod.infer<(typeof BilibiliValidationSchemas)[T$1]>;
21203
+ declare const validateBilibiliParams: <T extends BilibiliMethodType>(methodType: T, params: unknown) => zod.infer<(typeof BilibiliValidationSchemas)[T]>;
20844
21204
  /**
20845
21205
  * 验证快手参数
20846
21206
  * @param methodType - 快手方法类型
20847
21207
  * @param params - 待验证的参数
20848
21208
  * @returns 验证后的参数,符合原始API期望的类型
20849
21209
  */
20850
- declare const validateKuaishouParams: <T$1 extends KuaishouMethodType>(methodType: T$1, params: unknown) => zod.infer<(typeof KuaishouValidationSchemas)[T$1]>;
21210
+ declare const validateKuaishouParams: <T extends KuaishouMethodType>(methodType: T, params: unknown) => zod.infer<(typeof KuaishouValidationSchemas)[T]>;
20851
21211
  /**
20852
21212
  * 验证小红书参数
20853
21213
  * @param methodType - 小红书方法类型
20854
21214
  * @param params - 待验证的参数
20855
21215
  * @returns 验证后的参数
20856
21216
  */
20857
- declare const validateXiaohongshuParams: <T$1 extends XiaohongshuMethodType>(methodType: T$1, params: unknown) => zod.infer<(typeof XiaohongshuValidationSchemas)[T$1]>;
21217
+ declare const validateXiaohongshuParams: <T extends XiaohongshuMethodType>(methodType: T, params: unknown) => zod.infer<(typeof XiaohongshuValidationSchemas)[T]>;
20858
21218
  /**
20859
21219
  * 创建成功响应格式
20860
21220
  * @param data - 响应数据
@@ -20862,7 +21222,7 @@ declare const validateXiaohongshuParams: <T$1 extends XiaohongshuMethodType>(met
20862
21222
  * @param code - 响应状态码(可选,默认200)
20863
21223
  * @returns 格式化的成功API响应对象
20864
21224
  */
20865
- declare const createSuccessResponse: <T$1>(data: T$1, message: string, code?: number) => SuccessResult<T$1>;
21225
+ declare const createSuccessResponse: <T>(data: T, message: string, code?: number) => SuccessResult<T>;
20866
21226
  /**
20867
21227
  * 创建失败响应格式
20868
21228
  * @param error - 错误信息
@@ -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
@@ -21947,11 +22400,11 @@ declare const douyin: {
21947
22400
  * @param requestConfig 可选的请求配置
21948
22401
  * @returns 统一格式的API响应,包含方法返回的数据
21949
22402
  */
21950
- invoke: <const T$1 extends DouyinMethodType, const Opts extends ExtendedDouyinOptions<T$1>, M extends TypeMode = (Opts extends {
22403
+ invoke: <const T extends DouyinMethodType, const Opts extends ExtendedDouyinOptions<T>, M extends TypeMode = (Opts extends {
21951
22404
  typeMode: infer Mode extends TypeMode;
21952
- } ? Mode : "loose")>(methodType: T$1, options: Opts, cookie: string, requestConfig?: RequestConfig) => Promise<Result<T$1 extends "\u641C\u7D22\u6570\u636E" ? Opts extends {
22405
+ } ? Mode : "loose")>(methodType: T, options: Opts, cookie: string, requestConfig?: RequestConfig) => Promise<Result<T extends "\u641C\u7D22\u6570\u636E" ? Opts extends {
21953
22406
  type: infer SearchType;
21954
- } ? SearchType extends "\u7EFC\u5408" ? SearchInfoGeneralData : SearchType extends "\u7528\u6237" ? SearchInfoUser : SearchType extends "\u89C6\u9891" ? SearchInfoVideo : DouyinReturnTypeMap[T$1] : DouyinReturnTypeMap[T$1] : ConditionalReturnType<DouyinReturnTypeMap[T$1], M>>>;
22407
+ } ? SearchType extends "\u7EFC\u5408" ? SearchInfoGeneralData : SearchType extends "\u7528\u6237" ? SearchInfoUser : SearchType extends "\u89C6\u9891" ? SearchInfoVideo : DouyinReturnTypeMap[T] : DouyinReturnTypeMap[T] : ConditionalReturnType<DouyinReturnTypeMap[T], M>>>;
21955
22408
  };
21956
22409
  /**
21957
22410
  * 创建绑定了cookie的抖音API对象
@@ -22095,11 +22548,11 @@ declare const createBoundDouyinApi: (cookie: string, requestConfig: RequestConfi
22095
22548
  * @param options 请求参数
22096
22549
  * @returns 统一格式的API响应,包含方法返回的数据
22097
22550
  */
22098
- invoke: <const T$1 extends DouyinMethodType, const Opts extends ExtendedDouyinOptions<T$1>, M extends TypeMode = (Opts extends {
22551
+ invoke: <const T extends DouyinMethodType, const Opts extends ExtendedDouyinOptions<T>, M extends TypeMode = (Opts extends {
22099
22552
  typeMode: infer Mode extends TypeMode;
22100
- } ? Mode : "loose")>(methodType: T$1, options: Opts) => Promise<Result<T$1 extends "\u641C\u7D22\u6570\u636E" ? Opts extends {
22553
+ } ? Mode : "loose")>(methodType: T, options: Opts) => Promise<Result<T extends "\u641C\u7D22\u6570\u636E" ? Opts extends {
22101
22554
  type: infer SearchType;
22102
- } ? SearchType extends "\u7EFC\u5408" ? SearchInfoGeneralData : SearchType extends "\u7528\u6237" ? SearchInfoUser : SearchType extends "\u89C6\u9891" ? SearchInfoVideo : DouyinReturnTypeMap[T$1] : DouyinReturnTypeMap[T$1] : ConditionalReturnType<DouyinReturnTypeMap[T$1], M>>>;
22555
+ } ? SearchType extends "\u7EFC\u5408" ? SearchInfoGeneralData : SearchType extends "\u7528\u6237" ? SearchInfoUser : SearchType extends "\u89C6\u9891" ? SearchInfoVideo : DouyinReturnTypeMap[T] : DouyinReturnTypeMap[T] : ConditionalReturnType<DouyinReturnTypeMap[T], M>>>;
22103
22556
  };
22104
22557
  /**
22105
22558
  * 绑定cookie的抖音API对象类型
@@ -22140,7 +22593,7 @@ declare const douyinUtils: douyinUtilsModel;
22140
22593
  //#region src/platform/kuaishou/API.d.ts
22141
22594
  type KuaishouMethodOptionsWithoutMethodType = { [K in keyof KuaishouMethodOptionsMap]: OmitMethodType<KuaishouMethodOptionsMap[K]> };
22142
22595
  declare class API {
22143
- 单个作品信息<T$1 extends KuaishouMethodOptionsWithoutMethodType['VideoInfoParams']>(data: T$1): {
22596
+ 单个作品信息<T extends KuaishouMethodOptionsWithoutMethodType['VideoInfoParams']>(data: T): {
22144
22597
  /** 接口类型 */
22145
22598
  type: string;
22146
22599
  /** 请求url */
@@ -22157,7 +22610,7 @@ declare class API {
22157
22610
  query: string;
22158
22611
  };
22159
22612
  };
22160
- 作品评论信息<T$1 extends KuaishouMethodOptionsWithoutMethodType['CommentParams']>(data: T$1): {
22613
+ 作品评论信息<T extends KuaishouMethodOptionsWithoutMethodType['CommentParams']>(data: T): {
22161
22614
  type: string;
22162
22615
  url: string;
22163
22616
  body: {
@@ -22669,23 +23122,23 @@ declare const createAmagiClient: (options?: Options) => {
22669
23122
  /** 启动本地HTTP服务 */
22670
23123
  startServer: (port?: number) => express.Application;
22671
23124
  /** 获取抖音数据 */
22672
- getDouyinData: <const T$1 extends DouyinMethodType, const Opts extends ExtendedDouyinOptions<T$1>, M extends TypeMode = (Opts extends {
23125
+ getDouyinData: <const T extends DouyinMethodType, const Opts extends ExtendedDouyinOptions<T>, M extends TypeMode = (Opts extends {
22673
23126
  typeMode: infer Mode extends TypeMode;
22674
- } ? Mode : "loose")>(methodType: T$1, options?: Opts) => Promise<Result<T$1 extends "\u641C\u7D22\u6570\u636E" ? Opts extends {
23127
+ } ? Mode : "loose")>(methodType: T, options?: Opts) => Promise<Result<T extends "\u641C\u7D22\u6570\u636E" ? Opts extends {
22675
23128
  type: infer SearchType;
22676
- } ? SearchType extends "\u7EFC\u5408" ? SearchInfoGeneralData : SearchType extends "\u7528\u6237" ? SearchInfoUser : SearchType extends "\u89C6\u9891" ? SearchInfoVideo : DouyinDataOptionsMap[T$1]["data"] : DouyinDataOptionsMap[T$1]["data"] : ConditionalReturnType<DouyinDataOptionsMap[T$1]["data"], M>>>;
23129
+ } ? SearchType extends "\u7EFC\u5408" ? SearchInfoGeneralData : SearchType extends "\u7528\u6237" ? SearchInfoUser : SearchType extends "\u89C6\u9891" ? SearchInfoVideo : DouyinDataOptionsMap[T]["data"] : DouyinDataOptionsMap[T]["data"] : ConditionalReturnType<DouyinDataOptionsMap[T]["data"], M>>>;
22677
23130
  /** 获取B站数据 */
22678
- getBilibiliData: <T$1 extends BilibiliMethodType, M extends TypeMode>(methodType: T$1, options?: ExtendedBilibiliOptions<T$1> & {
23131
+ getBilibiliData: <T extends BilibiliMethodType, M extends TypeMode>(methodType: T, options?: ExtendedBilibiliOptions<T> & {
22679
23132
  typeMode?: M;
22680
- }) => Promise<Result<ConditionalReturnType<BilibiliDataOptionsMap[T$1]["data"], M>>>;
23133
+ }) => Promise<Result<ConditionalReturnType<BilibiliDataOptionsMap[T]["data"], M>>>;
22681
23134
  /** 获取快手数据 */
22682
- getKuaishouData: <T$1 extends KuaishouMethodType, M extends TypeMode>(methodType: T$1, options?: ExtendedKuaishouOptions<T$1> & {
23135
+ getKuaishouData: <T extends KuaishouMethodType, M extends TypeMode>(methodType: T, options?: ExtendedKuaishouOptions<T> & {
22683
23136
  typeMode?: M;
22684
- }) => Promise<Result<ConditionalReturnType<KuaishouDataOptionsMap[T$1]["data"], M>>>;
23137
+ }) => Promise<Result<ConditionalReturnType<KuaishouDataOptionsMap[T]["data"], M>>>;
22685
23138
  /** 获取小红书数据 */
22686
- getXiaohongshuData: <T$1 extends XiaohongshuMethodType, M extends TypeMode>(methodType: T$1, options?: ExtendedXiaohongshuOptions<T$1> & {
23139
+ getXiaohongshuData: <T extends XiaohongshuMethodType, M extends TypeMode>(methodType: T, options?: ExtendedXiaohongshuOptions<T> & {
22687
23140
  typeMode?: M;
22688
- }) => Promise<Result<ConditionalReturnType<XiaohongshuDataOptionsMap[T$1]["data"], M>>>;
23141
+ }) => Promise<Result<ConditionalReturnType<XiaohongshuDataOptionsMap[T]["data"], M>>>;
22689
23142
  douyin: {
22690
23143
  /** 绑定了cookie和请求配置的抖音API对象,调用时不需要传递cookie */
22691
23144
  api: {
@@ -22739,11 +23192,11 @@ declare const createAmagiClient: (options?: Options) => {
22739
23192
  getDanmaku: <const Opts extends ExtendedDouyinOptions<"弹幕数据">, M extends TypeMode = (Opts extends {
22740
23193
  typeMode: infer Mode extends TypeMode;
22741
23194
  } ? Mode : "loose")>(options: Opts) => Promise<Result<ConditionalReturnType<DyDanmakuList, M>>>;
22742
- invoke: <const T$1 extends DouyinMethodType, const Opts extends ExtendedDouyinOptions<T$1>, M extends TypeMode = (Opts extends {
23195
+ invoke: <const T extends DouyinMethodType, const Opts extends ExtendedDouyinOptions<T>, M extends TypeMode = (Opts extends {
22743
23196
  typeMode: infer Mode extends TypeMode;
22744
- } ? Mode : "loose")>(methodType: T$1, options: Opts) => Promise<Result<T$1 extends "\u641C\u7D22\u6570\u636E" ? Opts extends {
23197
+ } ? Mode : "loose")>(methodType: T, options: Opts) => Promise<Result<T extends "\u641C\u7D22\u6570\u636E" ? Opts extends {
22745
23198
  type: infer SearchType;
22746
- } ? SearchType extends "\u7EFC\u5408" ? SearchInfoGeneralData : SearchType extends "\u7528\u6237" ? SearchInfoUser : SearchType extends "\u89C6\u9891" ? SearchInfoVideo : DouyinReturnTypeMap[T$1] : DouyinReturnTypeMap[T$1] : ConditionalReturnType<DouyinReturnTypeMap[T$1], M>>>;
23199
+ } ? SearchType extends "\u7EFC\u5408" ? SearchInfoGeneralData : SearchType extends "\u7528\u6237" ? SearchInfoUser : SearchType extends "\u89C6\u9891" ? SearchInfoVideo : DouyinReturnTypeMap[T] : DouyinReturnTypeMap[T] : ConditionalReturnType<DouyinReturnTypeMap[T], M>>>;
22747
23200
  };
22748
23201
  sign: typeof douyinSign;
22749
23202
  douyinApiUrls: typeof douyinApiUrls;
@@ -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;
@@ -23073,8 +23555,8 @@ declare const createAmagiClient: (options?: Options) => {
23073
23555
  */
23074
23556
  type TypeMode = 'strict' | 'loose';
23075
23557
  /** 条件类型:根据TypeMode决定返回类型 */
23076
- type ConditionalReturnType<T$1, M extends TypeMode> = M extends 'strict' ? T$1 : any;
23077
- type ExtendedDouyinOptions<T$1 extends DouyinMethodType, Opts = Omit<DouyinDataOptionsMap[T$1]['opt'], 'methodType'>> = Opts & {
23558
+ type ConditionalReturnType<T, M extends TypeMode> = M extends 'strict' ? T : any;
23559
+ type ExtendedDouyinOptions<T extends DouyinMethodType, Opts = Omit<DouyinDataOptionsMap[T]['opt'], 'methodType'>> = Opts & {
23078
23560
  /**
23079
23561
  * 获取返回类型
23080
23562
  * 类型定义时间:2025-02-02
@@ -23090,7 +23572,7 @@ type ExtendedDouyinOptions<T$1 extends DouyinMethodType, Opts = Omit<DouyinDataO
23090
23572
  type InferDouyinSearchReturnType<Opts, M extends TypeMode> = Opts extends {
23091
23573
  type: infer T;
23092
23574
  } ? T extends '综合' ? SearchInfoGeneralData : T extends '用户' ? SearchInfoUser : T extends '视频' ? SearchInfoVideo : DouyinReturnTypeMap['搜索数据'] : DouyinReturnTypeMap['搜索数据'];
23093
- type ExtendedBilibiliOptions<T$1 extends BilibiliMethodType> = Omit<BilibiliDataOptionsMap[T$1]['opt'], 'methodType'> & {
23575
+ type ExtendedBilibiliOptions<T extends BilibiliMethodType> = Omit<BilibiliDataOptionsMap[T]['opt'], 'methodType'> & {
23094
23576
  /**
23095
23577
  * 获取返回类型
23096
23578
  * 类型定义时间:2025-02-02
@@ -23103,7 +23585,7 @@ type ExtendedBilibiliOptions<T$1 extends BilibiliMethodType> = Omit<BilibiliData
23103
23585
  */
23104
23586
  typeMode?: TypeMode;
23105
23587
  };
23106
- type ExtendedKuaishouOptions<T$1 extends KuaishouMethodType> = Omit<KuaishouDataOptionsMap[T$1]['opt'], 'methodType'> & {
23588
+ type ExtendedKuaishouOptions<T extends KuaishouMethodType> = Omit<KuaishouDataOptionsMap[T]['opt'], 'methodType'> & {
23107
23589
  /**
23108
23590
  * 获取返回类型
23109
23591
  * 类型定义时间:2025-02-02
@@ -23116,7 +23598,7 @@ type ExtendedKuaishouOptions<T$1 extends KuaishouMethodType> = Omit<KuaishouData
23116
23598
  */
23117
23599
  typeMode?: TypeMode;
23118
23600
  };
23119
- type ExtendedXiaohongshuOptions<T$1 extends XiaohongshuMethodType> = Omit<XiaohongshuDataOptionsMap[T$1]['opt'], 'methodType'> & {
23601
+ type ExtendedXiaohongshuOptions<T extends XiaohongshuMethodType> = Omit<XiaohongshuDataOptionsMap[T]['opt'], 'methodType'> & {
23120
23602
  /**
23121
23603
  * 获取返回类型
23122
23604
  * 类型定义时间:2025-02-02
@@ -23137,9 +23619,9 @@ type ExtendedXiaohongshuOptions<T$1 extends XiaohongshuMethodType> = Omit<Xiaoho
23137
23619
  * @param requestConfig - 可选的请求配置
23138
23620
  * @returns 根据typeMode返回对应类型的数据
23139
23621
  */
23140
- declare function getDouyinData<const T$1 extends DouyinMethodType, const Opts extends ExtendedDouyinOptions<T$1>, const M extends TypeMode = (Opts extends {
23622
+ declare function getDouyinData<const T extends DouyinMethodType, const Opts extends ExtendedDouyinOptions<T>, const M extends TypeMode = (Opts extends {
23141
23623
  typeMode: infer Mode extends TypeMode;
23142
- } ? Mode : 'loose')>(methodType: T$1, options?: Opts, cookie?: string, requestConfig?: RequestConfig): Promise<Result<T$1 extends '搜索数据' ? InferDouyinSearchReturnType<Opts, M> : ConditionalReturnType<DouyinReturnTypeMap[T$1], M>>>;
23624
+ } ? Mode : 'loose')>(methodType: T, options?: Opts, cookie?: string, requestConfig?: RequestConfig): Promise<Result<T extends '搜索数据' ? InferDouyinSearchReturnType<Opts, M> : ConditionalReturnType<DouyinReturnTypeMap[T], M>>>;
23143
23625
  /**
23144
23626
  * 获取抖音数据的核心方法(重载:第二个参数为cookie)
23145
23627
  * @param methodType - 请求数据类型
@@ -23148,9 +23630,9 @@ declare function getDouyinData<const T$1 extends DouyinMethodType, const Opts ex
23148
23630
  * @param requestConfig - 可选的请求配置
23149
23631
  * @returns 根据typeMode返回对应类型的数据
23150
23632
  */
23151
- declare function getDouyinData<const T$1 extends DouyinMethodType, const Opts extends ExtendedDouyinOptions<T$1>, M extends TypeMode = (Opts extends {
23633
+ declare function getDouyinData<const T extends DouyinMethodType, const Opts extends ExtendedDouyinOptions<T>, M extends TypeMode = (Opts extends {
23152
23634
  typeMode: infer Mode extends TypeMode;
23153
- } ? Mode : 'loose')>(methodType: T$1, cookie: string, options?: Opts, requestConfig?: RequestConfig): Promise<Result<T$1 extends '搜索数据' ? InferDouyinSearchReturnType<Opts, M> : ConditionalReturnType<DouyinReturnTypeMap[T$1], M>>>;
23635
+ } ? Mode : 'loose')>(methodType: T, cookie: string, options?: Opts, requestConfig?: RequestConfig): Promise<Result<T extends '搜索数据' ? InferDouyinSearchReturnType<Opts, M> : ConditionalReturnType<DouyinReturnTypeMap[T], M>>>;
23154
23636
  /**
23155
23637
  * 获取B站数据的核心方法(推荐用法:第三个参数为cookie)
23156
23638
  * @param methodType - 请求数据类型
@@ -23158,9 +23640,9 @@ declare function getDouyinData<const T$1 extends DouyinMethodType, const Opts ex
23158
23640
  * @param cookie - 可选的用户Cookie
23159
23641
  * @returns 根据typeMode返回对应类型的数据
23160
23642
  */
23161
- declare function getBilibiliData<T$1 extends BilibiliMethodType, M extends TypeMode>(methodType: T$1, options?: ExtendedBilibiliOptions<T$1> & {
23643
+ declare function getBilibiliData<T extends BilibiliMethodType, M extends TypeMode>(methodType: T, options?: ExtendedBilibiliOptions<T> & {
23162
23644
  typeMode?: M;
23163
- }, cookie?: string, requestConfig?: RequestConfig): Promise<Result<ConditionalReturnType<BilibiliReturnTypeMap[T$1], M>>>;
23645
+ }, cookie?: string, requestConfig?: RequestConfig): Promise<Result<ConditionalReturnType<BilibiliReturnTypeMap[T], M>>>;
23164
23646
  /**
23165
23647
  * 获取B站数据的核心方法(重载:第二个参数为cookie)
23166
23648
  * @param methodType - 请求数据类型
@@ -23168,9 +23650,9 @@ declare function getBilibiliData<T$1 extends BilibiliMethodType, M extends TypeM
23168
23650
  * @param options - 请求参数对象,包含typeMode属性控制返回类型
23169
23651
  * @returns 根据typeMode返回对应类型的数据
23170
23652
  */
23171
- declare function getBilibiliData<T$1 extends BilibiliMethodType, M extends TypeMode>(methodType: T$1, cookie: string, options?: ExtendedBilibiliOptions<T$1> & {
23653
+ declare function getBilibiliData<T extends BilibiliMethodType, M extends TypeMode>(methodType: T, cookie: string, options?: ExtendedBilibiliOptions<T> & {
23172
23654
  typeMode?: M;
23173
- }, requestConfig?: RequestConfig): Promise<Result<ConditionalReturnType<BilibiliReturnTypeMap[T$1], M>>>;
23655
+ }, requestConfig?: RequestConfig): Promise<Result<ConditionalReturnType<BilibiliReturnTypeMap[T], M>>>;
23174
23656
  /**
23175
23657
  * 获取快手数据的核心方法(推荐用法:第三个参数为cookie)
23176
23658
  * @param methodType - 请求数据类型
@@ -23178,9 +23660,9 @@ declare function getBilibiliData<T$1 extends BilibiliMethodType, M extends TypeM
23178
23660
  * @param cookie - 可选的用户Cookie
23179
23661
  * @returns 根据typeMode返回对应类型的数据
23180
23662
  */
23181
- declare function getKuaishouData<T$1 extends KuaishouMethodType, M extends TypeMode>(methodType: T$1, options?: ExtendedKuaishouOptions<T$1> & {
23663
+ declare function getKuaishouData<T extends KuaishouMethodType, M extends TypeMode>(methodType: T, options?: ExtendedKuaishouOptions<T> & {
23182
23664
  typeMode?: M;
23183
- }, cookie?: string, requestConfig?: RequestConfig): Promise<Result<ConditionalReturnType<KuaishouReturnTypeMap[T$1], M>>>;
23665
+ }, cookie?: string, requestConfig?: RequestConfig): Promise<Result<ConditionalReturnType<KuaishouReturnTypeMap[T], M>>>;
23184
23666
  /**
23185
23667
  * 获取快手数据的核心方法(重载:第二个参数为cookie)
23186
23668
  * @param methodType - 请求数据类型
@@ -23188,9 +23670,9 @@ declare function getKuaishouData<T$1 extends KuaishouMethodType, M extends TypeM
23188
23670
  * @param options - 请求参数对象,包含typeMode属性控制返回类型
23189
23671
  * @returns 根据typeMode返回对应类型的数据
23190
23672
  */
23191
- declare function getKuaishouData<T$1 extends KuaishouMethodType, M extends TypeMode>(methodType: T$1, cookie: string, options?: ExtendedKuaishouOptions<T$1> & {
23673
+ declare function getKuaishouData<T extends KuaishouMethodType, M extends TypeMode>(methodType: T, cookie: string, options?: ExtendedKuaishouOptions<T> & {
23192
23674
  typeMode?: M;
23193
- }, requestConfig?: RequestConfig): Promise<Result<ConditionalReturnType<KuaishouReturnTypeMap[T$1], M>>>;
23675
+ }, requestConfig?: RequestConfig): Promise<Result<ConditionalReturnType<KuaishouReturnTypeMap[T], M>>>;
23194
23676
  /**
23195
23677
  * 获取小红书数据的核心方法(推荐用法:第三个参数为cookie)
23196
23678
  * @param methodType - 请求数据类型
@@ -23198,9 +23680,9 @@ declare function getKuaishouData<T$1 extends KuaishouMethodType, M extends TypeM
23198
23680
  * @param cookie - 可选的用户Cookie
23199
23681
  * @returns 根据typeMode返回对应类型的数据
23200
23682
  */
23201
- declare function getXiaohongshuData<T$1 extends XiaohongshuMethodType, M extends TypeMode>(methodType: T$1, options?: ExtendedXiaohongshuOptions<T$1> & {
23683
+ declare function getXiaohongshuData<T extends XiaohongshuMethodType, M extends TypeMode>(methodType: T, options?: ExtendedXiaohongshuOptions<T> & {
23202
23684
  typeMode?: M;
23203
- }, cookie?: string, requestConfig?: RequestConfig): Promise<Result<ConditionalReturnType<XiaohongshuDataOptionsMap[T$1]['data'], M>>>;
23685
+ }, cookie?: string, requestConfig?: RequestConfig): Promise<Result<ConditionalReturnType<XiaohongshuDataOptionsMap[T]['data'], M>>>;
23204
23686
  /**
23205
23687
  * 获取小红书数据的核心方法(重载:第二个参数为cookie)
23206
23688
  * @param methodType - 请求数据类型
@@ -23208,9 +23690,9 @@ declare function getXiaohongshuData<T$1 extends XiaohongshuMethodType, M extends
23208
23690
  * @param options - 请求参数对象,包含typeMode属性控制返回类型
23209
23691
  * @returns 根据typeMode返回对应类型的数据
23210
23692
  */
23211
- declare function getXiaohongshuData<T$1 extends XiaohongshuMethodType, M extends TypeMode>(methodType: T$1, cookie: string, options?: ExtendedXiaohongshuOptions<T$1> & {
23693
+ declare function getXiaohongshuData<T extends XiaohongshuMethodType, M extends TypeMode>(methodType: T, cookie: string, options?: ExtendedXiaohongshuOptions<T> & {
23212
23694
  typeMode?: M;
23213
- }, requestConfig?: RequestConfig): Promise<Result<ConditionalReturnType<XiaohongshuDataOptionsMap[T$1]['data'], M>>>;
23695
+ }, requestConfig?: RequestConfig): Promise<Result<ConditionalReturnType<XiaohongshuDataOptionsMap[T]['data'], M>>>;
23214
23696
  //#endregion
23215
23697
  //#region src/utils/errors.d.ts
23216
23698
  /**
@@ -23307,14 +23789,14 @@ declare const logMiddleware: (pathsToLog?: string[]) => express.RequestHandler;
23307
23789
  * @param maxRetries - 最大重试次数,默认3次
23308
23790
  * @returns 响应数据或错误结果
23309
23791
  */
23310
- declare const fetchData: <T$1>(config: AxiosRequestConfig<T$1>, maxRetries?: number) => Promise<T$1 | ErrorResult>;
23792
+ declare const fetchData: <T>(config: AxiosRequestConfig<T>, maxRetries?: number) => Promise<T | ErrorResult>;
23311
23793
  /**
23312
23794
  * 执行网络请求并返回完整响应(带自动重试)
23313
23795
  * @param config - axios请求配置
23314
23796
  * @param maxRetries - 最大重试次数,默认3次
23315
23797
  * @returns 完整响应或错误结果
23316
23798
  */
23317
- declare const fetchResponse: <T$1 = unknown>(config: AxiosRequestConfig, maxRetries?: number) => Promise<AxiosResponse<T$1> | ErrorResult>;
23799
+ declare const fetchResponse: <T = unknown>(config: AxiosRequestConfig, maxRetries?: number) => Promise<AxiosResponse<T> | ErrorResult>;
23318
23800
  /**
23319
23801
  * 判断结果是否为网络错误响应
23320
23802
  * @param result - 请求结果
@@ -23328,9 +23810,9 @@ declare const isNetworkErrorResult: (result: unknown) => result is ErrorResult;
23328
23810
  * @param maxRetries - 最大重试次数,默认3次
23329
23811
  * @returns 包含headers和data的对象,或错误结果
23330
23812
  */
23331
- declare const getHeadersAndData: <T$1 = any>(config: AxiosRequestConfig, maxRetries?: number) => Promise<{
23813
+ declare const getHeadersAndData: <T = any>(config: AxiosRequestConfig, maxRetries?: number) => Promise<{
23332
23814
  headers: RawAxiosResponseHeaders;
23333
- data: T$1;
23815
+ data: T;
23334
23816
  } | ErrorResult>;
23335
23817
  //#endregion
23336
23818
  //#region src/index.d.ts
@@ -23397,4 +23879,4 @@ declare const amagi: typeof Client;
23397
23879
  */
23398
23880
 
23399
23881
  //#endregion
23400
- 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 };