@ikenxuan/amagi 5.7.0 → 5.7.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.
@@ -19601,7 +19601,7 @@ declare const createAmagiClient: (options?: Options) => {
19601
19601
  bilibili: {
19602
19602
  /** 绑定了cookie和请求配置的B站API对象,调用时不需要传递cookie */
19603
19603
  api: {
19604
- getVideoInfo: <M extends TypeMode = "loose">(options: Omit<{
19604
+ getVideoInfo: <M extends TypeMode>(options: Omit<{
19605
19605
  methodType: "\u5355\u4E2A\u89C6\u9891\u4F5C\u54C1\u6570\u636E";
19606
19606
  bvid: string;
19607
19607
  }, "methodType"> & {
@@ -19609,7 +19609,7 @@ declare const createAmagiClient: (options?: Options) => {
19609
19609
  } & {
19610
19610
  typeMode?: M | undefined;
19611
19611
  }) => Promise<ApiResponse<ConditionalReturnType<BiliOneWork, M>>>;
19612
- getVideoStream: <M extends TypeMode = "loose">(options: Omit<{
19612
+ getVideoStream: <M extends TypeMode>(options: Omit<{
19613
19613
  methodType: "\u5355\u4E2A\u89C6\u9891\u4E0B\u8F7D\u4FE1\u606F\u6570\u636E";
19614
19614
  avid: number;
19615
19615
  cid: number;
@@ -19618,7 +19618,7 @@ declare const createAmagiClient: (options?: Options) => {
19618
19618
  } & {
19619
19619
  typeMode?: M | undefined;
19620
19620
  }) => Promise<ApiResponse<ConditionalReturnType<BiliVideoPlayurlIsLogin | BiliBiliVideoPlayurlNoLogin, M>>>;
19621
- getComments: <M extends TypeMode = "loose">(options: Omit<{
19621
+ getComments: <M extends TypeMode>(options: Omit<{
19622
19622
  methodType: "\u8BC4\u8BBA\u6570\u636E";
19623
19623
  type: number;
19624
19624
  oid: string;
@@ -19633,7 +19633,7 @@ declare const createAmagiClient: (options?: Options) => {
19633
19633
  } & {
19634
19634
  typeMode?: M | undefined;
19635
19635
  }) => Promise<ApiResponse<ConditionalReturnType<BiliWorkComments, M>>>;
19636
- getUserProfile: <M extends TypeMode = "loose">(options: Omit<{
19636
+ getUserProfile: <M extends TypeMode>(options: Omit<{
19637
19637
  methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF";
19638
19638
  host_mid: number;
19639
19639
  }, "methodType"> & {
@@ -19641,7 +19641,7 @@ declare const createAmagiClient: (options?: Options) => {
19641
19641
  } & {
19642
19642
  typeMode?: M | undefined;
19643
19643
  }) => Promise<ApiResponse<ConditionalReturnType<BiliUserProfile, M>>>;
19644
- getUserDynamic: <M extends TypeMode = "loose">(options: Omit<{
19644
+ getUserDynamic: <M extends TypeMode>(options: Omit<{
19645
19645
  methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF";
19646
19646
  host_mid: number;
19647
19647
  }, "methodType"> & {
@@ -19649,14 +19649,14 @@ declare const createAmagiClient: (options?: Options) => {
19649
19649
  } & {
19650
19650
  typeMode?: M | undefined;
19651
19651
  }) => Promise<ApiResponse<ConditionalReturnType<BiliUserDynamic, M>>>;
19652
- getEmojiList: <M extends TypeMode = "loose">(options: Omit<{
19652
+ getEmojiList: <M extends TypeMode>(options: Omit<{
19653
19653
  methodType: "Emoji\u6570\u636E";
19654
19654
  }, "methodType"> & {
19655
19655
  typeMode?: TypeMode;
19656
19656
  } & {
19657
19657
  typeMode?: M | undefined;
19658
19658
  }) => Promise<ApiResponse<ConditionalReturnType<BiliEmojiList, M>>>;
19659
- getBangumiInfo: <M extends TypeMode = "loose">(options: Omit<{
19659
+ getBangumiInfo: <M extends TypeMode>(options: Omit<{
19660
19660
  methodType: "\u756A\u5267\u57FA\u672C\u4FE1\u606F\u6570\u636E";
19661
19661
  season_id?: string;
19662
19662
  ep_id?: string;
@@ -19665,7 +19665,7 @@ declare const createAmagiClient: (options?: Options) => {
19665
19665
  } & {
19666
19666
  typeMode?: M | undefined;
19667
19667
  }) => Promise<ApiResponse<ConditionalReturnType<BiliBangumiVideoInfo, M>>>;
19668
- getBangumiStream: <M extends TypeMode = "loose">(options: Omit<{
19668
+ getBangumiStream: <M extends TypeMode>(options: Omit<{
19669
19669
  methodType: "\u756A\u5267\u4E0B\u8F7D\u4FE1\u606F\u6570\u636E";
19670
19670
  cid: number;
19671
19671
  ep_id: string;
@@ -19674,7 +19674,7 @@ declare const createAmagiClient: (options?: Options) => {
19674
19674
  } & {
19675
19675
  typeMode?: M | undefined;
19676
19676
  }) => Promise<ApiResponse<ConditionalReturnType<BiliBangumiVideoPlayurlIsLogin | BiliBangumiVideoPlayurlNoLogin, M>>>;
19677
- getDynamicInfo: <M extends TypeMode = "loose">(options: Omit<{
19677
+ getDynamicInfo: <M extends TypeMode>(options: Omit<{
19678
19678
  methodType: "\u52A8\u6001\u8BE6\u60C5\u6570\u636E" | "\u52A8\u6001\u5361\u7247\u6570\u636E";
19679
19679
  dynamic_id: string;
19680
19680
  }, "methodType"> & {
@@ -19682,7 +19682,7 @@ declare const createAmagiClient: (options?: Options) => {
19682
19682
  } & {
19683
19683
  typeMode?: M | undefined;
19684
19684
  }) => Promise<ApiResponse<ConditionalReturnType<BiliDynamicInfoUnion, M>>>;
19685
- getDynamicCard: <M extends TypeMode = "loose">(options: Omit<{
19685
+ getDynamicCard: <M extends TypeMode>(options: Omit<{
19686
19686
  methodType: "\u52A8\u6001\u8BE6\u60C5\u6570\u636E" | "\u52A8\u6001\u5361\u7247\u6570\u636E";
19687
19687
  dynamic_id: string;
19688
19688
  }, "methodType"> & {
@@ -19690,7 +19690,7 @@ declare const createAmagiClient: (options?: Options) => {
19690
19690
  } & {
19691
19691
  typeMode?: M | undefined;
19692
19692
  }) => Promise<ApiResponse<ConditionalReturnType<BiliDynamicCard, M>>>;
19693
- getLiveRoomDetail: <M extends TypeMode = "loose">(options: Omit<{
19693
+ getLiveRoomDetail: <M extends TypeMode>(options: Omit<{
19694
19694
  methodType: "\u76F4\u64AD\u95F4\u4FE1\u606F" | "\u76F4\u64AD\u95F4\u521D\u59CB\u5316\u4FE1\u606F";
19695
19695
  room_id: string;
19696
19696
  }, "methodType"> & {
@@ -19698,7 +19698,7 @@ declare const createAmagiClient: (options?: Options) => {
19698
19698
  } & {
19699
19699
  typeMode?: M | undefined;
19700
19700
  }) => Promise<ApiResponse<ConditionalReturnType<BiliLiveRoomDetail, M>>>;
19701
- getLiveRoomInitInfo: <M extends TypeMode = "loose">(options: Omit<{
19701
+ getLiveRoomInitInfo: <M extends TypeMode>(options: Omit<{
19702
19702
  methodType: "\u76F4\u64AD\u95F4\u4FE1\u606F" | "\u76F4\u64AD\u95F4\u521D\u59CB\u5316\u4FE1\u606F";
19703
19703
  room_id: string;
19704
19704
  }, "methodType"> & {
@@ -19706,21 +19706,21 @@ declare const createAmagiClient: (options?: Options) => {
19706
19706
  } & {
19707
19707
  typeMode?: M | undefined;
19708
19708
  }) => Promise<ApiResponse<ConditionalReturnType<BiliLiveRoomDef, M>>>;
19709
- getLoginBasicInfo: <M extends TypeMode = "loose">(options: Omit<{
19709
+ getLoginBasicInfo: <M extends TypeMode>(options: Omit<{
19710
19710
  methodType: "\u767B\u5F55\u57FA\u672C\u4FE1\u606F";
19711
19711
  }, "methodType"> & {
19712
19712
  typeMode?: TypeMode;
19713
19713
  } & {
19714
19714
  typeMode?: M | undefined;
19715
19715
  }) => Promise<ApiResponse<ConditionalReturnType<any, M>>>;
19716
- getLoginQrcode: <M extends TypeMode = "loose">(options: Omit<{
19716
+ getLoginQrcode: <M extends TypeMode>(options: Omit<{
19717
19717
  methodType: "\u7533\u8BF7\u4E8C\u7EF4\u7801";
19718
19718
  }, "methodType"> & {
19719
19719
  typeMode?: TypeMode;
19720
19720
  } & {
19721
19721
  typeMode?: M | undefined;
19722
19722
  }) => Promise<ApiResponse<ConditionalReturnType<BiliNewLoginQrcode, M>>>;
19723
- checkQrcodeStatus: <M extends TypeMode = "loose">(options: Omit<{
19723
+ checkQrcodeStatus: <M extends TypeMode>(options: Omit<{
19724
19724
  methodType: "\u4E8C\u7EF4\u7801\u72B6\u6001";
19725
19725
  qrcode_key: string;
19726
19726
  }, "methodType"> & {
@@ -19728,7 +19728,7 @@ declare const createAmagiClient: (options?: Options) => {
19728
19728
  } & {
19729
19729
  typeMode?: M | undefined;
19730
19730
  }) => Promise<ApiResponse<ConditionalReturnType<BiliCheckQrcode, M>>>;
19731
- getUserTotalPlayCount: <M extends TypeMode = "loose">(options: Omit<{
19731
+ getUserTotalPlayCount: <M extends TypeMode>(options: Omit<{
19732
19732
  methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF";
19733
19733
  host_mid: number;
19734
19734
  }, "methodType"> & {
@@ -19736,7 +19736,7 @@ declare const createAmagiClient: (options?: Options) => {
19736
19736
  } & {
19737
19737
  typeMode?: M | undefined;
19738
19738
  }) => Promise<ApiResponse<ConditionalReturnType<BiliUserFullView, M>>>;
19739
- convertAvToBv: <M extends TypeMode = "loose">(options: Omit<{
19739
+ convertAvToBv: <M extends TypeMode>(options: Omit<{
19740
19740
  methodType: "AV\u8F6CBV";
19741
19741
  avid: number;
19742
19742
  }, "methodType"> & {
@@ -19744,7 +19744,7 @@ declare const createAmagiClient: (options?: Options) => {
19744
19744
  } & {
19745
19745
  typeMode?: M | undefined;
19746
19746
  }) => Promise<ApiResponse<ConditionalReturnType<BiliAv2Bv, M>>>;
19747
- convertBvToAv: <M extends TypeMode = "loose">(options: Omit<{
19747
+ convertBvToAv: <M extends TypeMode>(options: Omit<{
19748
19748
  methodType: "BV\u8F6CAV";
19749
19749
  bvid: string;
19750
19750
  }, "methodType"> & {
@@ -19752,7 +19752,7 @@ declare const createAmagiClient: (options?: Options) => {
19752
19752
  } & {
19753
19753
  typeMode?: M | undefined;
19754
19754
  }) => Promise<ApiResponse<ConditionalReturnType<BiliBv2AV, M>>>;
19755
- getArticleContent: <M extends TypeMode = "loose">(options: Omit<{
19755
+ getArticleContent: <M extends TypeMode>(options: Omit<{
19756
19756
  methodType: "\u4E13\u680F\u6B63\u6587\u5185\u5BB9";
19757
19757
  id: string;
19758
19758
  }, "methodType"> & {
@@ -19760,7 +19760,7 @@ declare const createAmagiClient: (options?: Options) => {
19760
19760
  } & {
19761
19761
  typeMode?: M | undefined;
19762
19762
  }) => Promise<ApiResponse<ConditionalReturnType<ArticleContent, M>>>;
19763
- getArticleCard: <M extends TypeMode = "loose">(options: Omit<{
19763
+ getArticleCard: <M extends TypeMode>(options: Omit<{
19764
19764
  methodType: "\u4E13\u680F\u663E\u793A\u5361\u7247\u4FE1\u606F";
19765
19765
  ids: string[] | string;
19766
19766
  }, "methodType"> & {
@@ -19768,7 +19768,7 @@ declare const createAmagiClient: (options?: Options) => {
19768
19768
  } & {
19769
19769
  typeMode?: M | undefined;
19770
19770
  }) => Promise<ApiResponse<ConditionalReturnType<ArticleCard, M>>>;
19771
- getArticleInfo: <M extends TypeMode = "loose">(options: Omit<{
19771
+ getArticleInfo: <M extends TypeMode>(options: Omit<{
19772
19772
  methodType: "\u4E13\u680F\u6587\u7AE0\u57FA\u672C\u4FE1\u606F";
19773
19773
  id: string;
19774
19774
  }, "methodType"> & {
@@ -19776,7 +19776,7 @@ declare const createAmagiClient: (options?: Options) => {
19776
19776
  } & {
19777
19777
  typeMode?: M | undefined;
19778
19778
  }) => Promise<ApiResponse<ConditionalReturnType<ArticleInfo, M>>>;
19779
- getColumnInfo: <M extends TypeMode = "loose">(options: Omit<{
19779
+ getColumnInfo: <M extends TypeMode>(options: Omit<{
19780
19780
  methodType: "\u6587\u96C6\u57FA\u672C\u4FE1\u606F";
19781
19781
  id: string;
19782
19782
  }, "methodType"> & {
@@ -19795,7 +19795,7 @@ declare const createAmagiClient: (options?: Options) => {
19795
19795
  kuaishou: {
19796
19796
  /** 绑定了cookie和请求配置的快手API对象,调用时不需要传递cookie */
19797
19797
  api: {
19798
- getWorkInfo: <M extends TypeMode = "loose">(options: Omit<{
19798
+ getWorkInfo: <M extends TypeMode>(options: Omit<{
19799
19799
  methodType: "\u5355\u4E2A\u89C6\u9891\u4F5C\u54C1\u6570\u636E";
19800
19800
  photoId: string;
19801
19801
  }, "methodType"> & {
@@ -19803,7 +19803,7 @@ declare const createAmagiClient: (options?: Options) => {
19803
19803
  } & {
19804
19804
  typeMode?: M | undefined;
19805
19805
  }) => Promise<ApiResponse<ConditionalReturnType<KsOneWork, M>>>;
19806
- getComments: <M extends TypeMode = "loose">(options: Omit<{
19806
+ getComments: <M extends TypeMode>(options: Omit<{
19807
19807
  methodType: "\u8BC4\u8BBA\u6570\u636E";
19808
19808
  photoId: string;
19809
19809
  }, "methodType"> & {
@@ -19811,7 +19811,7 @@ declare const createAmagiClient: (options?: Options) => {
19811
19811
  } & {
19812
19812
  typeMode?: M | undefined;
19813
19813
  }) => Promise<ApiResponse<ConditionalReturnType<KsWorkComments, M>>>;
19814
- getEmojiList: <M extends TypeMode = "loose">(options: Omit<{
19814
+ getEmojiList: <M extends TypeMode>(options: Omit<{
19815
19815
  methodType: "Emoji\u6570\u636E";
19816
19816
  }, "methodType"> & {
19817
19817
  typeMode?: TypeMode;
@@ -20065,7 +20065,7 @@ declare const bilibili: {
20065
20065
  * @param cookie 有效的用户 Cookie
20066
20066
  * @returns 统一格式的API响应
20067
20067
  */
20068
- getVideoInfo: <M extends TypeMode = "loose">(options: Omit<{
20068
+ getVideoInfo: <M extends TypeMode>(options: Omit<{
20069
20069
  methodType: "\u5355\u4E2A\u89C6\u9891\u4F5C\u54C1\u6570\u636E";
20070
20070
  bvid: string;
20071
20071
  }, "methodType"> & {
@@ -20079,7 +20079,7 @@ declare const bilibili: {
20079
20079
  * @param cookie 有效的用户 Cookie
20080
20080
  * @returns 统一格式的API响应
20081
20081
  */
20082
- getVideoStream: <M extends TypeMode = "loose">(options: Omit<{
20082
+ getVideoStream: <M extends TypeMode>(options: Omit<{
20083
20083
  methodType: "\u5355\u4E2A\u89C6\u9891\u4E0B\u8F7D\u4FE1\u606F\u6570\u636E";
20084
20084
  avid: number;
20085
20085
  cid: number;
@@ -20094,7 +20094,7 @@ declare const bilibili: {
20094
20094
  * @param cookie 有效的用户 Cookie
20095
20095
  * @returns 统一格式的API响应
20096
20096
  */
20097
- getComments: <M extends TypeMode = "loose">(options: Omit<{
20097
+ getComments: <M extends TypeMode>(options: Omit<{
20098
20098
  methodType: "\u8BC4\u8BBA\u6570\u636E";
20099
20099
  type: number;
20100
20100
  oid: string;
@@ -20115,7 +20115,7 @@ declare const bilibili: {
20115
20115
  * @param cookie 有效的用户 Cookie
20116
20116
  * @returns 统一格式的API响应
20117
20117
  */
20118
- getUserProfile: <M extends TypeMode = "loose">(options: Omit<{
20118
+ getUserProfile: <M extends TypeMode>(options: Omit<{
20119
20119
  methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF";
20120
20120
  host_mid: number;
20121
20121
  }, "methodType"> & {
@@ -20129,7 +20129,7 @@ declare const bilibili: {
20129
20129
  * @param cookie 有效的用户 Cookie
20130
20130
  * @returns 统一格式的API响应
20131
20131
  */
20132
- getUserDynamic: <M extends TypeMode = "loose">(options: Omit<{
20132
+ getUserDynamic: <M extends TypeMode>(options: Omit<{
20133
20133
  methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF";
20134
20134
  host_mid: number;
20135
20135
  }, "methodType"> & {
@@ -20143,7 +20143,7 @@ declare const bilibili: {
20143
20143
  * @param cookie 有效的用户 Cookie
20144
20144
  * @returns 统一格式的API响应
20145
20145
  */
20146
- getEmojiList: <M extends TypeMode = "loose">(options: Omit<{
20146
+ getEmojiList: <M extends TypeMode>(options: Omit<{
20147
20147
  methodType: "Emoji\u6570\u636E";
20148
20148
  }, "methodType"> & {
20149
20149
  typeMode?: TypeMode;
@@ -20156,7 +20156,7 @@ declare const bilibili: {
20156
20156
  * @param cookie 有效的用户 Cookie
20157
20157
  * @returns 统一格式的API响应
20158
20158
  */
20159
- getBangumiInfo: <M extends TypeMode = "loose">(options: Omit<{
20159
+ getBangumiInfo: <M extends TypeMode>(options: Omit<{
20160
20160
  methodType: "\u756A\u5267\u57FA\u672C\u4FE1\u606F\u6570\u636E";
20161
20161
  season_id?: string;
20162
20162
  ep_id?: string;
@@ -20171,7 +20171,7 @@ declare const bilibili: {
20171
20171
  * @param cookie 有效的用户 Cookie
20172
20172
  * @returns 统一格式的API响应
20173
20173
  */
20174
- getBangumiStream: <M extends TypeMode = "loose">(options: Omit<{
20174
+ getBangumiStream: <M extends TypeMode>(options: Omit<{
20175
20175
  methodType: "\u756A\u5267\u4E0B\u8F7D\u4FE1\u606F\u6570\u636E";
20176
20176
  cid: number;
20177
20177
  ep_id: string;
@@ -20186,7 +20186,7 @@ declare const bilibili: {
20186
20186
  * @param cookie 有效的用户 Cookie
20187
20187
  * @returns 统一格式的API响应
20188
20188
  */
20189
- getDynamicInfo: <M extends TypeMode = "loose">(options: Omit<{
20189
+ getDynamicInfo: <M extends TypeMode>(options: Omit<{
20190
20190
  methodType: "\u52A8\u6001\u8BE6\u60C5\u6570\u636E" | "\u52A8\u6001\u5361\u7247\u6570\u636E";
20191
20191
  dynamic_id: string;
20192
20192
  }, "methodType"> & {
@@ -20200,7 +20200,7 @@ declare const bilibili: {
20200
20200
  * @param cookie 有效的用户 Cookie
20201
20201
  * @returns 统一格式的API响应
20202
20202
  */
20203
- getDynamicCard: <M extends TypeMode = "loose">(options: Omit<{
20203
+ getDynamicCard: <M extends TypeMode>(options: Omit<{
20204
20204
  methodType: "\u52A8\u6001\u8BE6\u60C5\u6570\u636E" | "\u52A8\u6001\u5361\u7247\u6570\u636E";
20205
20205
  dynamic_id: string;
20206
20206
  }, "methodType"> & {
@@ -20214,7 +20214,7 @@ declare const bilibili: {
20214
20214
  * @param cookie 有效的用户 Cookie
20215
20215
  * @returns 统一格式的API响应
20216
20216
  */
20217
- getLiveRoomDetail: <M extends TypeMode = "loose">(options: Omit<{
20217
+ getLiveRoomDetail: <M extends TypeMode>(options: Omit<{
20218
20218
  methodType: "\u76F4\u64AD\u95F4\u4FE1\u606F" | "\u76F4\u64AD\u95F4\u521D\u59CB\u5316\u4FE1\u606F";
20219
20219
  room_id: string;
20220
20220
  }, "methodType"> & {
@@ -20228,7 +20228,7 @@ declare const bilibili: {
20228
20228
  * @param cookie 有效的用户 Cookie
20229
20229
  * @returns 统一格式的API响应
20230
20230
  */
20231
- getLiveRoomInitInfo: <M extends TypeMode = "loose">(options: Omit<{
20231
+ getLiveRoomInitInfo: <M extends TypeMode>(options: Omit<{
20232
20232
  methodType: "\u76F4\u64AD\u95F4\u4FE1\u606F" | "\u76F4\u64AD\u95F4\u521D\u59CB\u5316\u4FE1\u606F";
20233
20233
  room_id: string;
20234
20234
  }, "methodType"> & {
@@ -20242,7 +20242,7 @@ declare const bilibili: {
20242
20242
  * @param cookie 有效的用户 Cookie
20243
20243
  * @returns 统一格式的API响应
20244
20244
  */
20245
- getLoginBasicInfo: <M extends TypeMode = "loose">(options: Omit<{
20245
+ getLoginBasicInfo: <M extends TypeMode>(options: Omit<{
20246
20246
  methodType: "\u767B\u5F55\u57FA\u672C\u4FE1\u606F";
20247
20247
  }, "methodType"> & {
20248
20248
  typeMode?: TypeMode;
@@ -20255,7 +20255,7 @@ declare const bilibili: {
20255
20255
  * @param cookie 有效的用户 Cookie
20256
20256
  * @returns 统一格式的API响应
20257
20257
  */
20258
- getLoginQrcode: <M extends TypeMode = "loose">(options: Omit<{
20258
+ getLoginQrcode: <M extends TypeMode>(options: Omit<{
20259
20259
  methodType: "\u7533\u8BF7\u4E8C\u7EF4\u7801";
20260
20260
  }, "methodType"> & {
20261
20261
  typeMode?: TypeMode;
@@ -20268,7 +20268,7 @@ declare const bilibili: {
20268
20268
  * @param cookie 有效的用户 Cookie
20269
20269
  * @returns 统一格式的API响应
20270
20270
  */
20271
- checkQrcodeStatus: <M extends TypeMode = "loose">(options: Omit<{
20271
+ checkQrcodeStatus: <M extends TypeMode>(options: Omit<{
20272
20272
  methodType: "\u4E8C\u7EF4\u7801\u72B6\u6001";
20273
20273
  qrcode_key: string;
20274
20274
  }, "methodType"> & {
@@ -20282,7 +20282,7 @@ declare const bilibili: {
20282
20282
  * @param cookie 有效的用户 Cookie
20283
20283
  * @returns 统一格式的API响应
20284
20284
  */
20285
- getUserTotalPlayCount: <M extends TypeMode = "loose">(options: Omit<{
20285
+ getUserTotalPlayCount: <M extends TypeMode>(options: Omit<{
20286
20286
  methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF";
20287
20287
  host_mid: number;
20288
20288
  }, "methodType"> & {
@@ -20296,7 +20296,7 @@ declare const bilibili: {
20296
20296
  * @param cookie 有效的用户 Cookie (此接口通常不需要)
20297
20297
  * @returns 统一格式的API响应
20298
20298
  */
20299
- convertAvToBv: <M extends TypeMode = "loose">(options: Omit<{
20299
+ convertAvToBv: <M extends TypeMode>(options: Omit<{
20300
20300
  methodType: "AV\u8F6CBV";
20301
20301
  avid: number;
20302
20302
  }, "methodType"> & {
@@ -20310,7 +20310,7 @@ declare const bilibili: {
20310
20310
  * @param cookie 有效的用户 Cookie (此接口通常不需要)
20311
20311
  * @returns 统一格式的API响应
20312
20312
  */
20313
- convertBvToAv: <M extends TypeMode = "loose">(options: Omit<{
20313
+ convertBvToAv: <M extends TypeMode>(options: Omit<{
20314
20314
  methodType: "BV\u8F6CAV";
20315
20315
  bvid: string;
20316
20316
  }, "methodType"> & {
@@ -20324,7 +20324,7 @@ declare const bilibili: {
20324
20324
  * @param cookie 有效的用户 Cookie
20325
20325
  * @returns 统一格式的API响应
20326
20326
  */
20327
- getArticleContent: <M extends TypeMode = "loose">(options: Omit<{
20327
+ getArticleContent: <M extends TypeMode>(options: Omit<{
20328
20328
  methodType: "\u4E13\u680F\u6B63\u6587\u5185\u5BB9";
20329
20329
  id: string;
20330
20330
  }, "methodType"> & {
@@ -20338,7 +20338,7 @@ declare const bilibili: {
20338
20338
  * @param cookie 有效的用户 Cookie
20339
20339
  * @returns 统一格式的API响应
20340
20340
  */
20341
- getArticleCard: <M extends TypeMode = "loose">(options: Omit<{
20341
+ getArticleCard: <M extends TypeMode>(options: Omit<{
20342
20342
  methodType: "\u4E13\u680F\u663E\u793A\u5361\u7247\u4FE1\u606F";
20343
20343
  ids: string[] | string;
20344
20344
  }, "methodType"> & {
@@ -20352,7 +20352,7 @@ declare const bilibili: {
20352
20352
  * @param cookie 有效的用户 Cookie
20353
20353
  * @returns 统一格式的API响应
20354
20354
  */
20355
- getArticleInfo: <M extends TypeMode = "loose">(options: Omit<{
20355
+ getArticleInfo: <M extends TypeMode>(options: Omit<{
20356
20356
  methodType: "\u4E13\u680F\u6587\u7AE0\u57FA\u672C\u4FE1\u606F";
20357
20357
  id: string;
20358
20358
  }, "methodType"> & {
@@ -20366,7 +20366,7 @@ declare const bilibili: {
20366
20366
  * @param cookie 有效的用户 Cookie
20367
20367
  * @returns 统一格式的API响应
20368
20368
  */
20369
- getColumnInfo: <M extends TypeMode = "loose">(options: Omit<{
20369
+ getColumnInfo: <M extends TypeMode>(options: Omit<{
20370
20370
  methodType: "\u6587\u96C6\u57FA\u672C\u4FE1\u606F";
20371
20371
  id: string;
20372
20372
  }, "methodType"> & {
@@ -20386,7 +20386,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20386
20386
  * @param options 请求参数,包含 bvid 和可选的 typeMode
20387
20387
  * @returns 统一格式的API响应
20388
20388
  */
20389
- getVideoInfo: <M extends TypeMode = "loose">(options: Omit<{
20389
+ getVideoInfo: <M extends TypeMode>(options: Omit<{
20390
20390
  methodType: "\u5355\u4E2A\u89C6\u9891\u4F5C\u54C1\u6570\u636E";
20391
20391
  bvid: string;
20392
20392
  }, "methodType"> & {
@@ -20399,7 +20399,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20399
20399
  * @param options 请求参数,包含 avid, cid 和可选的 typeMode
20400
20400
  * @returns 统一格式的API响应
20401
20401
  */
20402
- getVideoStream: <M extends TypeMode = "loose">(options: Omit<{
20402
+ getVideoStream: <M extends TypeMode>(options: Omit<{
20403
20403
  methodType: "\u5355\u4E2A\u89C6\u9891\u4E0B\u8F7D\u4FE1\u606F\u6570\u636E";
20404
20404
  avid: number;
20405
20405
  cid: number;
@@ -20413,7 +20413,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20413
20413
  * @param options 请求参数,包含 type, oid, 可选的 number, pn 和 typeMode
20414
20414
  * @returns 统一格式的API响应
20415
20415
  */
20416
- getComments: <M extends TypeMode = "loose">(options: Omit<{
20416
+ getComments: <M extends TypeMode>(options: Omit<{
20417
20417
  methodType: "\u8BC4\u8BBA\u6570\u636E";
20418
20418
  type: number;
20419
20419
  oid: string;
@@ -20433,7 +20433,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20433
20433
  * @param options 请求参数,包含 host_mid 和可选的 typeMode
20434
20434
  * @returns 统一格式的API响应
20435
20435
  */
20436
- getUserProfile: <M extends TypeMode = "loose">(options: Omit<{
20436
+ getUserProfile: <M extends TypeMode>(options: Omit<{
20437
20437
  methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF";
20438
20438
  host_mid: number;
20439
20439
  }, "methodType"> & {
@@ -20446,7 +20446,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20446
20446
  * @param options 请求参数,包含 host_mid 和可选的 typeMode
20447
20447
  * @returns 统一格式的API响应
20448
20448
  */
20449
- getUserDynamic: <M extends TypeMode = "loose">(options: Omit<{
20449
+ getUserDynamic: <M extends TypeMode>(options: Omit<{
20450
20450
  methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF";
20451
20451
  host_mid: number;
20452
20452
  }, "methodType"> & {
@@ -20459,7 +20459,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20459
20459
  * @param options 可选的请求参数 (主要用于 typeMode)
20460
20460
  * @returns 统一格式的API响应
20461
20461
  */
20462
- getEmojiList: <M extends TypeMode = "loose">(options: Omit<{
20462
+ getEmojiList: <M extends TypeMode>(options: Omit<{
20463
20463
  methodType: "Emoji\u6570\u636E";
20464
20464
  }, "methodType"> & {
20465
20465
  typeMode?: TypeMode;
@@ -20471,7 +20471,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20471
20471
  * @param options 请求参数,包含可选的 season_id, ep_id 和 typeMode
20472
20472
  * @returns 统一格式的API响应
20473
20473
  */
20474
- getBangumiInfo: <M extends TypeMode = "loose">(options: Omit<{
20474
+ getBangumiInfo: <M extends TypeMode>(options: Omit<{
20475
20475
  methodType: "\u756A\u5267\u57FA\u672C\u4FE1\u606F\u6570\u636E";
20476
20476
  season_id?: string;
20477
20477
  ep_id?: string;
@@ -20485,7 +20485,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20485
20485
  * @param options 请求参数,包含 cid, ep_id 和可选的 typeMode
20486
20486
  * @returns 统一格式的API响应
20487
20487
  */
20488
- getBangumiStream: <M extends TypeMode = "loose">(options: Omit<{
20488
+ getBangumiStream: <M extends TypeMode>(options: Omit<{
20489
20489
  methodType: "\u756A\u5267\u4E0B\u8F7D\u4FE1\u606F\u6570\u636E";
20490
20490
  cid: number;
20491
20491
  ep_id: string;
@@ -20499,7 +20499,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20499
20499
  * @param options 请求参数,包含 dynamic_id 和可选的 typeMode
20500
20500
  * @returns 统一格式的API响应
20501
20501
  */
20502
- getDynamicInfo: <M extends TypeMode = "loose">(options: Omit<{
20502
+ getDynamicInfo: <M extends TypeMode>(options: Omit<{
20503
20503
  methodType: "\u52A8\u6001\u8BE6\u60C5\u6570\u636E" | "\u52A8\u6001\u5361\u7247\u6570\u636E";
20504
20504
  dynamic_id: string;
20505
20505
  }, "methodType"> & {
@@ -20512,7 +20512,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20512
20512
  * @param options 请求参数,包含 dynamic_id 和可选的 typeMode
20513
20513
  * @returns 统一格式的API响应
20514
20514
  */
20515
- getDynamicCard: <M extends TypeMode = "loose">(options: Omit<{
20515
+ getDynamicCard: <M extends TypeMode>(options: Omit<{
20516
20516
  methodType: "\u52A8\u6001\u8BE6\u60C5\u6570\u636E" | "\u52A8\u6001\u5361\u7247\u6570\u636E";
20517
20517
  dynamic_id: string;
20518
20518
  }, "methodType"> & {
@@ -20525,7 +20525,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20525
20525
  * @param options 请求参数,包含 room_id 和可选的 typeMode
20526
20526
  * @returns 统一格式的API响应
20527
20527
  */
20528
- getLiveRoomDetail: <M extends TypeMode = "loose">(options: Omit<{
20528
+ getLiveRoomDetail: <M extends TypeMode>(options: Omit<{
20529
20529
  methodType: "\u76F4\u64AD\u95F4\u4FE1\u606F" | "\u76F4\u64AD\u95F4\u521D\u59CB\u5316\u4FE1\u606F";
20530
20530
  room_id: string;
20531
20531
  }, "methodType"> & {
@@ -20538,7 +20538,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20538
20538
  * @param options 请求参数,包含 room_id 和可选的 typeMode
20539
20539
  * @returns 统一格式的API响应
20540
20540
  */
20541
- getLiveRoomInitInfo: <M extends TypeMode = "loose">(options: Omit<{
20541
+ getLiveRoomInitInfo: <M extends TypeMode>(options: Omit<{
20542
20542
  methodType: "\u76F4\u64AD\u95F4\u4FE1\u606F" | "\u76F4\u64AD\u95F4\u521D\u59CB\u5316\u4FE1\u606F";
20543
20543
  room_id: string;
20544
20544
  }, "methodType"> & {
@@ -20551,7 +20551,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20551
20551
  * @param options 可选的请求参数 (主要用于 typeMode)
20552
20552
  * @returns 统一格式的API响应
20553
20553
  */
20554
- getLoginBasicInfo: <M extends TypeMode = "loose">(options: Omit<{
20554
+ getLoginBasicInfo: <M extends TypeMode>(options: Omit<{
20555
20555
  methodType: "\u767B\u5F55\u57FA\u672C\u4FE1\u606F";
20556
20556
  }, "methodType"> & {
20557
20557
  typeMode?: TypeMode;
@@ -20563,7 +20563,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20563
20563
  * @param options 可选的请求参数 (主要用于 typeMode)
20564
20564
  * @returns 统一格式的API响应
20565
20565
  */
20566
- getLoginQrcode: <M extends TypeMode = "loose">(options: Omit<{
20566
+ getLoginQrcode: <M extends TypeMode>(options: Omit<{
20567
20567
  methodType: "\u7533\u8BF7\u4E8C\u7EF4\u7801";
20568
20568
  }, "methodType"> & {
20569
20569
  typeMode?: TypeMode;
@@ -20575,7 +20575,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20575
20575
  * @param options 请求参数,包含 qrcode_key 和可选的 typeMode
20576
20576
  * @returns 统一格式的API响应
20577
20577
  */
20578
- checkQrcodeStatus: <M extends TypeMode = "loose">(options: Omit<{
20578
+ checkQrcodeStatus: <M extends TypeMode>(options: Omit<{
20579
20579
  methodType: "\u4E8C\u7EF4\u7801\u72B6\u6001";
20580
20580
  qrcode_key: string;
20581
20581
  }, "methodType"> & {
@@ -20588,7 +20588,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20588
20588
  * @param options 请求参数,包含 host_mid 和可选的 typeMode
20589
20589
  * @returns 统一格式的API响应
20590
20590
  */
20591
- getUserTotalPlayCount: <M extends TypeMode = "loose">(options: Omit<{
20591
+ getUserTotalPlayCount: <M extends TypeMode>(options: Omit<{
20592
20592
  methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF";
20593
20593
  host_mid: number;
20594
20594
  }, "methodType"> & {
@@ -20601,7 +20601,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20601
20601
  * @param options 请求参数,包含 avid 和可选的 typeMode
20602
20602
  * @returns 统一格式的API响应
20603
20603
  */
20604
- convertAvToBv: <M extends TypeMode = "loose">(options: Omit<{
20604
+ convertAvToBv: <M extends TypeMode>(options: Omit<{
20605
20605
  methodType: "AV\u8F6CBV";
20606
20606
  avid: number;
20607
20607
  }, "methodType"> & {
@@ -20614,7 +20614,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20614
20614
  * @param options 请求参数,包含 bvid 和可选的 typeMode
20615
20615
  * @returns 统一格式的API响应
20616
20616
  */
20617
- convertBvToAv: <M extends TypeMode = "loose">(options: Omit<{
20617
+ convertBvToAv: <M extends TypeMode>(options: Omit<{
20618
20618
  methodType: "BV\u8F6CAV";
20619
20619
  bvid: string;
20620
20620
  }, "methodType"> & {
@@ -20627,7 +20627,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20627
20627
  * @param options 请求参数,包含 id 和可选的 typeMode
20628
20628
  * @returns 统一格式的API响应
20629
20629
  */
20630
- getArticleContent: <M extends TypeMode = "loose">(options: Omit<{
20630
+ getArticleContent: <M extends TypeMode>(options: Omit<{
20631
20631
  methodType: "\u4E13\u680F\u6B63\u6587\u5185\u5BB9";
20632
20632
  id: string;
20633
20633
  }, "methodType"> & {
@@ -20640,7 +20640,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20640
20640
  * @param options 请求参数,包含 ids 和可选的 typeMode
20641
20641
  * @returns 统一格式的API响应
20642
20642
  */
20643
- getArticleCard: <M extends TypeMode = "loose">(options: Omit<{
20643
+ getArticleCard: <M extends TypeMode>(options: Omit<{
20644
20644
  methodType: "\u4E13\u680F\u663E\u793A\u5361\u7247\u4FE1\u606F";
20645
20645
  ids: string[] | string;
20646
20646
  }, "methodType"> & {
@@ -20653,7 +20653,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20653
20653
  * @param options 请求参数,包含 id 和可选的 typeMode
20654
20654
  * @returns 统一格式的API响应
20655
20655
  */
20656
- getArticleInfo: <M extends TypeMode = "loose">(options: Omit<{
20656
+ getArticleInfo: <M extends TypeMode>(options: Omit<{
20657
20657
  methodType: "\u4E13\u680F\u6587\u7AE0\u57FA\u672C\u4FE1\u606F";
20658
20658
  id: string;
20659
20659
  }, "methodType"> & {
@@ -20666,7 +20666,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20666
20666
  * @param options 请求参数,包含 id 和可选的 typeMode
20667
20667
  * @returns 统一格式的API响应
20668
20668
  */
20669
- getColumnInfo: <M extends TypeMode = "loose">(options: Omit<{
20669
+ getColumnInfo: <M extends TypeMode>(options: Omit<{
20670
20670
  methodType: "\u6587\u96C6\u57FA\u672C\u4FE1\u606F";
20671
20671
  id: string;
20672
20672
  }, "methodType"> & {
@@ -21488,7 +21488,7 @@ declare const kuaishou: {
21488
21488
  * @param cookie 可选的用户 Cookie
21489
21489
  * @returns 统一格式的API响应
21490
21490
  */
21491
- getWorkInfo: <M extends TypeMode = "loose">(options: Omit<{
21491
+ getWorkInfo: <M extends TypeMode>(options: Omit<{
21492
21492
  methodType: "\u5355\u4E2A\u89C6\u9891\u4F5C\u54C1\u6570\u636E";
21493
21493
  photoId: string;
21494
21494
  }, "methodType"> & {
@@ -21502,7 +21502,7 @@ declare const kuaishou: {
21502
21502
  * @param cookie 可选的用户 Cookie
21503
21503
  * @returns 统一格式的API响应
21504
21504
  */
21505
- getComments: <M extends TypeMode = "loose">(options: Omit<{
21505
+ getComments: <M extends TypeMode>(options: Omit<{
21506
21506
  methodType: "\u8BC4\u8BBA\u6570\u636E";
21507
21507
  photoId: string;
21508
21508
  }, "methodType"> & {
@@ -21516,7 +21516,7 @@ declare const kuaishou: {
21516
21516
  * @param cookie 可选的用户 Cookie
21517
21517
  * @returns 统一格式的API响应
21518
21518
  */
21519
- getEmojiList: <M extends TypeMode = "loose">(options: Omit<{
21519
+ getEmojiList: <M extends TypeMode>(options: Omit<{
21520
21520
  methodType: "Emoji\u6570\u636E";
21521
21521
  }, "methodType"> & {
21522
21522
  typeMode?: TypeMode;
@@ -21535,7 +21535,7 @@ declare const createBoundKuaishouApi: (cookie: string, requestConfig: RequestCon
21535
21535
  * @param options 请求参数,包含 photoId 和可选的 typeMode
21536
21536
  * @returns 统一格式的API响应
21537
21537
  */
21538
- getWorkInfo: <M extends TypeMode = "loose">(options: Omit<{
21538
+ getWorkInfo: <M extends TypeMode>(options: Omit<{
21539
21539
  methodType: "\u5355\u4E2A\u89C6\u9891\u4F5C\u54C1\u6570\u636E";
21540
21540
  photoId: string;
21541
21541
  }, "methodType"> & {
@@ -21548,7 +21548,7 @@ declare const createBoundKuaishouApi: (cookie: string, requestConfig: RequestCon
21548
21548
  * @param options 请求参数,包含 photoId 和可选的 typeMode
21549
21549
  * @returns 统一格式的API响应
21550
21550
  */
21551
- getComments: <M extends TypeMode = "loose">(options: Omit<{
21551
+ getComments: <M extends TypeMode>(options: Omit<{
21552
21552
  methodType: "\u8BC4\u8BBA\u6570\u636E";
21553
21553
  photoId: string;
21554
21554
  }, "methodType"> & {
@@ -21561,7 +21561,7 @@ declare const createBoundKuaishouApi: (cookie: string, requestConfig: RequestCon
21561
21561
  * @param options 可选的请求参数 (主要用于 typeMode)
21562
21562
  * @returns 统一格式的API响应
21563
21563
  */
21564
- getEmojiList: <M extends TypeMode = "loose">(options: Omit<{
21564
+ getEmojiList: <M extends TypeMode>(options: Omit<{
21565
21565
  methodType: "Emoji\u6570\u636E";
21566
21566
  }, "methodType"> & {
21567
21567
  typeMode?: TypeMode;
@@ -19601,7 +19601,7 @@ declare const createAmagiClient: (options?: Options) => {
19601
19601
  bilibili: {
19602
19602
  /** 绑定了cookie和请求配置的B站API对象,调用时不需要传递cookie */
19603
19603
  api: {
19604
- getVideoInfo: <M extends TypeMode = "loose">(options: Omit<{
19604
+ getVideoInfo: <M extends TypeMode>(options: Omit<{
19605
19605
  methodType: "\u5355\u4E2A\u89C6\u9891\u4F5C\u54C1\u6570\u636E";
19606
19606
  bvid: string;
19607
19607
  }, "methodType"> & {
@@ -19609,7 +19609,7 @@ declare const createAmagiClient: (options?: Options) => {
19609
19609
  } & {
19610
19610
  typeMode?: M | undefined;
19611
19611
  }) => Promise<ApiResponse<ConditionalReturnType<BiliOneWork, M>>>;
19612
- getVideoStream: <M extends TypeMode = "loose">(options: Omit<{
19612
+ getVideoStream: <M extends TypeMode>(options: Omit<{
19613
19613
  methodType: "\u5355\u4E2A\u89C6\u9891\u4E0B\u8F7D\u4FE1\u606F\u6570\u636E";
19614
19614
  avid: number;
19615
19615
  cid: number;
@@ -19618,7 +19618,7 @@ declare const createAmagiClient: (options?: Options) => {
19618
19618
  } & {
19619
19619
  typeMode?: M | undefined;
19620
19620
  }) => Promise<ApiResponse<ConditionalReturnType<BiliVideoPlayurlIsLogin | BiliBiliVideoPlayurlNoLogin, M>>>;
19621
- getComments: <M extends TypeMode = "loose">(options: Omit<{
19621
+ getComments: <M extends TypeMode>(options: Omit<{
19622
19622
  methodType: "\u8BC4\u8BBA\u6570\u636E";
19623
19623
  type: number;
19624
19624
  oid: string;
@@ -19633,7 +19633,7 @@ declare const createAmagiClient: (options?: Options) => {
19633
19633
  } & {
19634
19634
  typeMode?: M | undefined;
19635
19635
  }) => Promise<ApiResponse<ConditionalReturnType<BiliWorkComments, M>>>;
19636
- getUserProfile: <M extends TypeMode = "loose">(options: Omit<{
19636
+ getUserProfile: <M extends TypeMode>(options: Omit<{
19637
19637
  methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF";
19638
19638
  host_mid: number;
19639
19639
  }, "methodType"> & {
@@ -19641,7 +19641,7 @@ declare const createAmagiClient: (options?: Options) => {
19641
19641
  } & {
19642
19642
  typeMode?: M | undefined;
19643
19643
  }) => Promise<ApiResponse<ConditionalReturnType<BiliUserProfile, M>>>;
19644
- getUserDynamic: <M extends TypeMode = "loose">(options: Omit<{
19644
+ getUserDynamic: <M extends TypeMode>(options: Omit<{
19645
19645
  methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF";
19646
19646
  host_mid: number;
19647
19647
  }, "methodType"> & {
@@ -19649,14 +19649,14 @@ declare const createAmagiClient: (options?: Options) => {
19649
19649
  } & {
19650
19650
  typeMode?: M | undefined;
19651
19651
  }) => Promise<ApiResponse<ConditionalReturnType<BiliUserDynamic, M>>>;
19652
- getEmojiList: <M extends TypeMode = "loose">(options: Omit<{
19652
+ getEmojiList: <M extends TypeMode>(options: Omit<{
19653
19653
  methodType: "Emoji\u6570\u636E";
19654
19654
  }, "methodType"> & {
19655
19655
  typeMode?: TypeMode;
19656
19656
  } & {
19657
19657
  typeMode?: M | undefined;
19658
19658
  }) => Promise<ApiResponse<ConditionalReturnType<BiliEmojiList, M>>>;
19659
- getBangumiInfo: <M extends TypeMode = "loose">(options: Omit<{
19659
+ getBangumiInfo: <M extends TypeMode>(options: Omit<{
19660
19660
  methodType: "\u756A\u5267\u57FA\u672C\u4FE1\u606F\u6570\u636E";
19661
19661
  season_id?: string;
19662
19662
  ep_id?: string;
@@ -19665,7 +19665,7 @@ declare const createAmagiClient: (options?: Options) => {
19665
19665
  } & {
19666
19666
  typeMode?: M | undefined;
19667
19667
  }) => Promise<ApiResponse<ConditionalReturnType<BiliBangumiVideoInfo, M>>>;
19668
- getBangumiStream: <M extends TypeMode = "loose">(options: Omit<{
19668
+ getBangumiStream: <M extends TypeMode>(options: Omit<{
19669
19669
  methodType: "\u756A\u5267\u4E0B\u8F7D\u4FE1\u606F\u6570\u636E";
19670
19670
  cid: number;
19671
19671
  ep_id: string;
@@ -19674,7 +19674,7 @@ declare const createAmagiClient: (options?: Options) => {
19674
19674
  } & {
19675
19675
  typeMode?: M | undefined;
19676
19676
  }) => Promise<ApiResponse<ConditionalReturnType<BiliBangumiVideoPlayurlIsLogin | BiliBangumiVideoPlayurlNoLogin, M>>>;
19677
- getDynamicInfo: <M extends TypeMode = "loose">(options: Omit<{
19677
+ getDynamicInfo: <M extends TypeMode>(options: Omit<{
19678
19678
  methodType: "\u52A8\u6001\u8BE6\u60C5\u6570\u636E" | "\u52A8\u6001\u5361\u7247\u6570\u636E";
19679
19679
  dynamic_id: string;
19680
19680
  }, "methodType"> & {
@@ -19682,7 +19682,7 @@ declare const createAmagiClient: (options?: Options) => {
19682
19682
  } & {
19683
19683
  typeMode?: M | undefined;
19684
19684
  }) => Promise<ApiResponse<ConditionalReturnType<BiliDynamicInfoUnion, M>>>;
19685
- getDynamicCard: <M extends TypeMode = "loose">(options: Omit<{
19685
+ getDynamicCard: <M extends TypeMode>(options: Omit<{
19686
19686
  methodType: "\u52A8\u6001\u8BE6\u60C5\u6570\u636E" | "\u52A8\u6001\u5361\u7247\u6570\u636E";
19687
19687
  dynamic_id: string;
19688
19688
  }, "methodType"> & {
@@ -19690,7 +19690,7 @@ declare const createAmagiClient: (options?: Options) => {
19690
19690
  } & {
19691
19691
  typeMode?: M | undefined;
19692
19692
  }) => Promise<ApiResponse<ConditionalReturnType<BiliDynamicCard, M>>>;
19693
- getLiveRoomDetail: <M extends TypeMode = "loose">(options: Omit<{
19693
+ getLiveRoomDetail: <M extends TypeMode>(options: Omit<{
19694
19694
  methodType: "\u76F4\u64AD\u95F4\u4FE1\u606F" | "\u76F4\u64AD\u95F4\u521D\u59CB\u5316\u4FE1\u606F";
19695
19695
  room_id: string;
19696
19696
  }, "methodType"> & {
@@ -19698,7 +19698,7 @@ declare const createAmagiClient: (options?: Options) => {
19698
19698
  } & {
19699
19699
  typeMode?: M | undefined;
19700
19700
  }) => Promise<ApiResponse<ConditionalReturnType<BiliLiveRoomDetail, M>>>;
19701
- getLiveRoomInitInfo: <M extends TypeMode = "loose">(options: Omit<{
19701
+ getLiveRoomInitInfo: <M extends TypeMode>(options: Omit<{
19702
19702
  methodType: "\u76F4\u64AD\u95F4\u4FE1\u606F" | "\u76F4\u64AD\u95F4\u521D\u59CB\u5316\u4FE1\u606F";
19703
19703
  room_id: string;
19704
19704
  }, "methodType"> & {
@@ -19706,21 +19706,21 @@ declare const createAmagiClient: (options?: Options) => {
19706
19706
  } & {
19707
19707
  typeMode?: M | undefined;
19708
19708
  }) => Promise<ApiResponse<ConditionalReturnType<BiliLiveRoomDef, M>>>;
19709
- getLoginBasicInfo: <M extends TypeMode = "loose">(options: Omit<{
19709
+ getLoginBasicInfo: <M extends TypeMode>(options: Omit<{
19710
19710
  methodType: "\u767B\u5F55\u57FA\u672C\u4FE1\u606F";
19711
19711
  }, "methodType"> & {
19712
19712
  typeMode?: TypeMode;
19713
19713
  } & {
19714
19714
  typeMode?: M | undefined;
19715
19715
  }) => Promise<ApiResponse<ConditionalReturnType<any, M>>>;
19716
- getLoginQrcode: <M extends TypeMode = "loose">(options: Omit<{
19716
+ getLoginQrcode: <M extends TypeMode>(options: Omit<{
19717
19717
  methodType: "\u7533\u8BF7\u4E8C\u7EF4\u7801";
19718
19718
  }, "methodType"> & {
19719
19719
  typeMode?: TypeMode;
19720
19720
  } & {
19721
19721
  typeMode?: M | undefined;
19722
19722
  }) => Promise<ApiResponse<ConditionalReturnType<BiliNewLoginQrcode, M>>>;
19723
- checkQrcodeStatus: <M extends TypeMode = "loose">(options: Omit<{
19723
+ checkQrcodeStatus: <M extends TypeMode>(options: Omit<{
19724
19724
  methodType: "\u4E8C\u7EF4\u7801\u72B6\u6001";
19725
19725
  qrcode_key: string;
19726
19726
  }, "methodType"> & {
@@ -19728,7 +19728,7 @@ declare const createAmagiClient: (options?: Options) => {
19728
19728
  } & {
19729
19729
  typeMode?: M | undefined;
19730
19730
  }) => Promise<ApiResponse<ConditionalReturnType<BiliCheckQrcode, M>>>;
19731
- getUserTotalPlayCount: <M extends TypeMode = "loose">(options: Omit<{
19731
+ getUserTotalPlayCount: <M extends TypeMode>(options: Omit<{
19732
19732
  methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF";
19733
19733
  host_mid: number;
19734
19734
  }, "methodType"> & {
@@ -19736,7 +19736,7 @@ declare const createAmagiClient: (options?: Options) => {
19736
19736
  } & {
19737
19737
  typeMode?: M | undefined;
19738
19738
  }) => Promise<ApiResponse<ConditionalReturnType<BiliUserFullView, M>>>;
19739
- convertAvToBv: <M extends TypeMode = "loose">(options: Omit<{
19739
+ convertAvToBv: <M extends TypeMode>(options: Omit<{
19740
19740
  methodType: "AV\u8F6CBV";
19741
19741
  avid: number;
19742
19742
  }, "methodType"> & {
@@ -19744,7 +19744,7 @@ declare const createAmagiClient: (options?: Options) => {
19744
19744
  } & {
19745
19745
  typeMode?: M | undefined;
19746
19746
  }) => Promise<ApiResponse<ConditionalReturnType<BiliAv2Bv, M>>>;
19747
- convertBvToAv: <M extends TypeMode = "loose">(options: Omit<{
19747
+ convertBvToAv: <M extends TypeMode>(options: Omit<{
19748
19748
  methodType: "BV\u8F6CAV";
19749
19749
  bvid: string;
19750
19750
  }, "methodType"> & {
@@ -19752,7 +19752,7 @@ declare const createAmagiClient: (options?: Options) => {
19752
19752
  } & {
19753
19753
  typeMode?: M | undefined;
19754
19754
  }) => Promise<ApiResponse<ConditionalReturnType<BiliBv2AV, M>>>;
19755
- getArticleContent: <M extends TypeMode = "loose">(options: Omit<{
19755
+ getArticleContent: <M extends TypeMode>(options: Omit<{
19756
19756
  methodType: "\u4E13\u680F\u6B63\u6587\u5185\u5BB9";
19757
19757
  id: string;
19758
19758
  }, "methodType"> & {
@@ -19760,7 +19760,7 @@ declare const createAmagiClient: (options?: Options) => {
19760
19760
  } & {
19761
19761
  typeMode?: M | undefined;
19762
19762
  }) => Promise<ApiResponse<ConditionalReturnType<ArticleContent, M>>>;
19763
- getArticleCard: <M extends TypeMode = "loose">(options: Omit<{
19763
+ getArticleCard: <M extends TypeMode>(options: Omit<{
19764
19764
  methodType: "\u4E13\u680F\u663E\u793A\u5361\u7247\u4FE1\u606F";
19765
19765
  ids: string[] | string;
19766
19766
  }, "methodType"> & {
@@ -19768,7 +19768,7 @@ declare const createAmagiClient: (options?: Options) => {
19768
19768
  } & {
19769
19769
  typeMode?: M | undefined;
19770
19770
  }) => Promise<ApiResponse<ConditionalReturnType<ArticleCard, M>>>;
19771
- getArticleInfo: <M extends TypeMode = "loose">(options: Omit<{
19771
+ getArticleInfo: <M extends TypeMode>(options: Omit<{
19772
19772
  methodType: "\u4E13\u680F\u6587\u7AE0\u57FA\u672C\u4FE1\u606F";
19773
19773
  id: string;
19774
19774
  }, "methodType"> & {
@@ -19776,7 +19776,7 @@ declare const createAmagiClient: (options?: Options) => {
19776
19776
  } & {
19777
19777
  typeMode?: M | undefined;
19778
19778
  }) => Promise<ApiResponse<ConditionalReturnType<ArticleInfo, M>>>;
19779
- getColumnInfo: <M extends TypeMode = "loose">(options: Omit<{
19779
+ getColumnInfo: <M extends TypeMode>(options: Omit<{
19780
19780
  methodType: "\u6587\u96C6\u57FA\u672C\u4FE1\u606F";
19781
19781
  id: string;
19782
19782
  }, "methodType"> & {
@@ -19795,7 +19795,7 @@ declare const createAmagiClient: (options?: Options) => {
19795
19795
  kuaishou: {
19796
19796
  /** 绑定了cookie和请求配置的快手API对象,调用时不需要传递cookie */
19797
19797
  api: {
19798
- getWorkInfo: <M extends TypeMode = "loose">(options: Omit<{
19798
+ getWorkInfo: <M extends TypeMode>(options: Omit<{
19799
19799
  methodType: "\u5355\u4E2A\u89C6\u9891\u4F5C\u54C1\u6570\u636E";
19800
19800
  photoId: string;
19801
19801
  }, "methodType"> & {
@@ -19803,7 +19803,7 @@ declare const createAmagiClient: (options?: Options) => {
19803
19803
  } & {
19804
19804
  typeMode?: M | undefined;
19805
19805
  }) => Promise<ApiResponse<ConditionalReturnType<KsOneWork, M>>>;
19806
- getComments: <M extends TypeMode = "loose">(options: Omit<{
19806
+ getComments: <M extends TypeMode>(options: Omit<{
19807
19807
  methodType: "\u8BC4\u8BBA\u6570\u636E";
19808
19808
  photoId: string;
19809
19809
  }, "methodType"> & {
@@ -19811,7 +19811,7 @@ declare const createAmagiClient: (options?: Options) => {
19811
19811
  } & {
19812
19812
  typeMode?: M | undefined;
19813
19813
  }) => Promise<ApiResponse<ConditionalReturnType<KsWorkComments, M>>>;
19814
- getEmojiList: <M extends TypeMode = "loose">(options: Omit<{
19814
+ getEmojiList: <M extends TypeMode>(options: Omit<{
19815
19815
  methodType: "Emoji\u6570\u636E";
19816
19816
  }, "methodType"> & {
19817
19817
  typeMode?: TypeMode;
@@ -20065,7 +20065,7 @@ declare const bilibili: {
20065
20065
  * @param cookie 有效的用户 Cookie
20066
20066
  * @returns 统一格式的API响应
20067
20067
  */
20068
- getVideoInfo: <M extends TypeMode = "loose">(options: Omit<{
20068
+ getVideoInfo: <M extends TypeMode>(options: Omit<{
20069
20069
  methodType: "\u5355\u4E2A\u89C6\u9891\u4F5C\u54C1\u6570\u636E";
20070
20070
  bvid: string;
20071
20071
  }, "methodType"> & {
@@ -20079,7 +20079,7 @@ declare const bilibili: {
20079
20079
  * @param cookie 有效的用户 Cookie
20080
20080
  * @returns 统一格式的API响应
20081
20081
  */
20082
- getVideoStream: <M extends TypeMode = "loose">(options: Omit<{
20082
+ getVideoStream: <M extends TypeMode>(options: Omit<{
20083
20083
  methodType: "\u5355\u4E2A\u89C6\u9891\u4E0B\u8F7D\u4FE1\u606F\u6570\u636E";
20084
20084
  avid: number;
20085
20085
  cid: number;
@@ -20094,7 +20094,7 @@ declare const bilibili: {
20094
20094
  * @param cookie 有效的用户 Cookie
20095
20095
  * @returns 统一格式的API响应
20096
20096
  */
20097
- getComments: <M extends TypeMode = "loose">(options: Omit<{
20097
+ getComments: <M extends TypeMode>(options: Omit<{
20098
20098
  methodType: "\u8BC4\u8BBA\u6570\u636E";
20099
20099
  type: number;
20100
20100
  oid: string;
@@ -20115,7 +20115,7 @@ declare const bilibili: {
20115
20115
  * @param cookie 有效的用户 Cookie
20116
20116
  * @returns 统一格式的API响应
20117
20117
  */
20118
- getUserProfile: <M extends TypeMode = "loose">(options: Omit<{
20118
+ getUserProfile: <M extends TypeMode>(options: Omit<{
20119
20119
  methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF";
20120
20120
  host_mid: number;
20121
20121
  }, "methodType"> & {
@@ -20129,7 +20129,7 @@ declare const bilibili: {
20129
20129
  * @param cookie 有效的用户 Cookie
20130
20130
  * @returns 统一格式的API响应
20131
20131
  */
20132
- getUserDynamic: <M extends TypeMode = "loose">(options: Omit<{
20132
+ getUserDynamic: <M extends TypeMode>(options: Omit<{
20133
20133
  methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF";
20134
20134
  host_mid: number;
20135
20135
  }, "methodType"> & {
@@ -20143,7 +20143,7 @@ declare const bilibili: {
20143
20143
  * @param cookie 有效的用户 Cookie
20144
20144
  * @returns 统一格式的API响应
20145
20145
  */
20146
- getEmojiList: <M extends TypeMode = "loose">(options: Omit<{
20146
+ getEmojiList: <M extends TypeMode>(options: Omit<{
20147
20147
  methodType: "Emoji\u6570\u636E";
20148
20148
  }, "methodType"> & {
20149
20149
  typeMode?: TypeMode;
@@ -20156,7 +20156,7 @@ declare const bilibili: {
20156
20156
  * @param cookie 有效的用户 Cookie
20157
20157
  * @returns 统一格式的API响应
20158
20158
  */
20159
- getBangumiInfo: <M extends TypeMode = "loose">(options: Omit<{
20159
+ getBangumiInfo: <M extends TypeMode>(options: Omit<{
20160
20160
  methodType: "\u756A\u5267\u57FA\u672C\u4FE1\u606F\u6570\u636E";
20161
20161
  season_id?: string;
20162
20162
  ep_id?: string;
@@ -20171,7 +20171,7 @@ declare const bilibili: {
20171
20171
  * @param cookie 有效的用户 Cookie
20172
20172
  * @returns 统一格式的API响应
20173
20173
  */
20174
- getBangumiStream: <M extends TypeMode = "loose">(options: Omit<{
20174
+ getBangumiStream: <M extends TypeMode>(options: Omit<{
20175
20175
  methodType: "\u756A\u5267\u4E0B\u8F7D\u4FE1\u606F\u6570\u636E";
20176
20176
  cid: number;
20177
20177
  ep_id: string;
@@ -20186,7 +20186,7 @@ declare const bilibili: {
20186
20186
  * @param cookie 有效的用户 Cookie
20187
20187
  * @returns 统一格式的API响应
20188
20188
  */
20189
- getDynamicInfo: <M extends TypeMode = "loose">(options: Omit<{
20189
+ getDynamicInfo: <M extends TypeMode>(options: Omit<{
20190
20190
  methodType: "\u52A8\u6001\u8BE6\u60C5\u6570\u636E" | "\u52A8\u6001\u5361\u7247\u6570\u636E";
20191
20191
  dynamic_id: string;
20192
20192
  }, "methodType"> & {
@@ -20200,7 +20200,7 @@ declare const bilibili: {
20200
20200
  * @param cookie 有效的用户 Cookie
20201
20201
  * @returns 统一格式的API响应
20202
20202
  */
20203
- getDynamicCard: <M extends TypeMode = "loose">(options: Omit<{
20203
+ getDynamicCard: <M extends TypeMode>(options: Omit<{
20204
20204
  methodType: "\u52A8\u6001\u8BE6\u60C5\u6570\u636E" | "\u52A8\u6001\u5361\u7247\u6570\u636E";
20205
20205
  dynamic_id: string;
20206
20206
  }, "methodType"> & {
@@ -20214,7 +20214,7 @@ declare const bilibili: {
20214
20214
  * @param cookie 有效的用户 Cookie
20215
20215
  * @returns 统一格式的API响应
20216
20216
  */
20217
- getLiveRoomDetail: <M extends TypeMode = "loose">(options: Omit<{
20217
+ getLiveRoomDetail: <M extends TypeMode>(options: Omit<{
20218
20218
  methodType: "\u76F4\u64AD\u95F4\u4FE1\u606F" | "\u76F4\u64AD\u95F4\u521D\u59CB\u5316\u4FE1\u606F";
20219
20219
  room_id: string;
20220
20220
  }, "methodType"> & {
@@ -20228,7 +20228,7 @@ declare const bilibili: {
20228
20228
  * @param cookie 有效的用户 Cookie
20229
20229
  * @returns 统一格式的API响应
20230
20230
  */
20231
- getLiveRoomInitInfo: <M extends TypeMode = "loose">(options: Omit<{
20231
+ getLiveRoomInitInfo: <M extends TypeMode>(options: Omit<{
20232
20232
  methodType: "\u76F4\u64AD\u95F4\u4FE1\u606F" | "\u76F4\u64AD\u95F4\u521D\u59CB\u5316\u4FE1\u606F";
20233
20233
  room_id: string;
20234
20234
  }, "methodType"> & {
@@ -20242,7 +20242,7 @@ declare const bilibili: {
20242
20242
  * @param cookie 有效的用户 Cookie
20243
20243
  * @returns 统一格式的API响应
20244
20244
  */
20245
- getLoginBasicInfo: <M extends TypeMode = "loose">(options: Omit<{
20245
+ getLoginBasicInfo: <M extends TypeMode>(options: Omit<{
20246
20246
  methodType: "\u767B\u5F55\u57FA\u672C\u4FE1\u606F";
20247
20247
  }, "methodType"> & {
20248
20248
  typeMode?: TypeMode;
@@ -20255,7 +20255,7 @@ declare const bilibili: {
20255
20255
  * @param cookie 有效的用户 Cookie
20256
20256
  * @returns 统一格式的API响应
20257
20257
  */
20258
- getLoginQrcode: <M extends TypeMode = "loose">(options: Omit<{
20258
+ getLoginQrcode: <M extends TypeMode>(options: Omit<{
20259
20259
  methodType: "\u7533\u8BF7\u4E8C\u7EF4\u7801";
20260
20260
  }, "methodType"> & {
20261
20261
  typeMode?: TypeMode;
@@ -20268,7 +20268,7 @@ declare const bilibili: {
20268
20268
  * @param cookie 有效的用户 Cookie
20269
20269
  * @returns 统一格式的API响应
20270
20270
  */
20271
- checkQrcodeStatus: <M extends TypeMode = "loose">(options: Omit<{
20271
+ checkQrcodeStatus: <M extends TypeMode>(options: Omit<{
20272
20272
  methodType: "\u4E8C\u7EF4\u7801\u72B6\u6001";
20273
20273
  qrcode_key: string;
20274
20274
  }, "methodType"> & {
@@ -20282,7 +20282,7 @@ declare const bilibili: {
20282
20282
  * @param cookie 有效的用户 Cookie
20283
20283
  * @returns 统一格式的API响应
20284
20284
  */
20285
- getUserTotalPlayCount: <M extends TypeMode = "loose">(options: Omit<{
20285
+ getUserTotalPlayCount: <M extends TypeMode>(options: Omit<{
20286
20286
  methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF";
20287
20287
  host_mid: number;
20288
20288
  }, "methodType"> & {
@@ -20296,7 +20296,7 @@ declare const bilibili: {
20296
20296
  * @param cookie 有效的用户 Cookie (此接口通常不需要)
20297
20297
  * @returns 统一格式的API响应
20298
20298
  */
20299
- convertAvToBv: <M extends TypeMode = "loose">(options: Omit<{
20299
+ convertAvToBv: <M extends TypeMode>(options: Omit<{
20300
20300
  methodType: "AV\u8F6CBV";
20301
20301
  avid: number;
20302
20302
  }, "methodType"> & {
@@ -20310,7 +20310,7 @@ declare const bilibili: {
20310
20310
  * @param cookie 有效的用户 Cookie (此接口通常不需要)
20311
20311
  * @returns 统一格式的API响应
20312
20312
  */
20313
- convertBvToAv: <M extends TypeMode = "loose">(options: Omit<{
20313
+ convertBvToAv: <M extends TypeMode>(options: Omit<{
20314
20314
  methodType: "BV\u8F6CAV";
20315
20315
  bvid: string;
20316
20316
  }, "methodType"> & {
@@ -20324,7 +20324,7 @@ declare const bilibili: {
20324
20324
  * @param cookie 有效的用户 Cookie
20325
20325
  * @returns 统一格式的API响应
20326
20326
  */
20327
- getArticleContent: <M extends TypeMode = "loose">(options: Omit<{
20327
+ getArticleContent: <M extends TypeMode>(options: Omit<{
20328
20328
  methodType: "\u4E13\u680F\u6B63\u6587\u5185\u5BB9";
20329
20329
  id: string;
20330
20330
  }, "methodType"> & {
@@ -20338,7 +20338,7 @@ declare const bilibili: {
20338
20338
  * @param cookie 有效的用户 Cookie
20339
20339
  * @returns 统一格式的API响应
20340
20340
  */
20341
- getArticleCard: <M extends TypeMode = "loose">(options: Omit<{
20341
+ getArticleCard: <M extends TypeMode>(options: Omit<{
20342
20342
  methodType: "\u4E13\u680F\u663E\u793A\u5361\u7247\u4FE1\u606F";
20343
20343
  ids: string[] | string;
20344
20344
  }, "methodType"> & {
@@ -20352,7 +20352,7 @@ declare const bilibili: {
20352
20352
  * @param cookie 有效的用户 Cookie
20353
20353
  * @returns 统一格式的API响应
20354
20354
  */
20355
- getArticleInfo: <M extends TypeMode = "loose">(options: Omit<{
20355
+ getArticleInfo: <M extends TypeMode>(options: Omit<{
20356
20356
  methodType: "\u4E13\u680F\u6587\u7AE0\u57FA\u672C\u4FE1\u606F";
20357
20357
  id: string;
20358
20358
  }, "methodType"> & {
@@ -20366,7 +20366,7 @@ declare const bilibili: {
20366
20366
  * @param cookie 有效的用户 Cookie
20367
20367
  * @returns 统一格式的API响应
20368
20368
  */
20369
- getColumnInfo: <M extends TypeMode = "loose">(options: Omit<{
20369
+ getColumnInfo: <M extends TypeMode>(options: Omit<{
20370
20370
  methodType: "\u6587\u96C6\u57FA\u672C\u4FE1\u606F";
20371
20371
  id: string;
20372
20372
  }, "methodType"> & {
@@ -20386,7 +20386,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20386
20386
  * @param options 请求参数,包含 bvid 和可选的 typeMode
20387
20387
  * @returns 统一格式的API响应
20388
20388
  */
20389
- getVideoInfo: <M extends TypeMode = "loose">(options: Omit<{
20389
+ getVideoInfo: <M extends TypeMode>(options: Omit<{
20390
20390
  methodType: "\u5355\u4E2A\u89C6\u9891\u4F5C\u54C1\u6570\u636E";
20391
20391
  bvid: string;
20392
20392
  }, "methodType"> & {
@@ -20399,7 +20399,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20399
20399
  * @param options 请求参数,包含 avid, cid 和可选的 typeMode
20400
20400
  * @returns 统一格式的API响应
20401
20401
  */
20402
- getVideoStream: <M extends TypeMode = "loose">(options: Omit<{
20402
+ getVideoStream: <M extends TypeMode>(options: Omit<{
20403
20403
  methodType: "\u5355\u4E2A\u89C6\u9891\u4E0B\u8F7D\u4FE1\u606F\u6570\u636E";
20404
20404
  avid: number;
20405
20405
  cid: number;
@@ -20413,7 +20413,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20413
20413
  * @param options 请求参数,包含 type, oid, 可选的 number, pn 和 typeMode
20414
20414
  * @returns 统一格式的API响应
20415
20415
  */
20416
- getComments: <M extends TypeMode = "loose">(options: Omit<{
20416
+ getComments: <M extends TypeMode>(options: Omit<{
20417
20417
  methodType: "\u8BC4\u8BBA\u6570\u636E";
20418
20418
  type: number;
20419
20419
  oid: string;
@@ -20433,7 +20433,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20433
20433
  * @param options 请求参数,包含 host_mid 和可选的 typeMode
20434
20434
  * @returns 统一格式的API响应
20435
20435
  */
20436
- getUserProfile: <M extends TypeMode = "loose">(options: Omit<{
20436
+ getUserProfile: <M extends TypeMode>(options: Omit<{
20437
20437
  methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF";
20438
20438
  host_mid: number;
20439
20439
  }, "methodType"> & {
@@ -20446,7 +20446,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20446
20446
  * @param options 请求参数,包含 host_mid 和可选的 typeMode
20447
20447
  * @returns 统一格式的API响应
20448
20448
  */
20449
- getUserDynamic: <M extends TypeMode = "loose">(options: Omit<{
20449
+ getUserDynamic: <M extends TypeMode>(options: Omit<{
20450
20450
  methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF";
20451
20451
  host_mid: number;
20452
20452
  }, "methodType"> & {
@@ -20459,7 +20459,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20459
20459
  * @param options 可选的请求参数 (主要用于 typeMode)
20460
20460
  * @returns 统一格式的API响应
20461
20461
  */
20462
- getEmojiList: <M extends TypeMode = "loose">(options: Omit<{
20462
+ getEmojiList: <M extends TypeMode>(options: Omit<{
20463
20463
  methodType: "Emoji\u6570\u636E";
20464
20464
  }, "methodType"> & {
20465
20465
  typeMode?: TypeMode;
@@ -20471,7 +20471,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20471
20471
  * @param options 请求参数,包含可选的 season_id, ep_id 和 typeMode
20472
20472
  * @returns 统一格式的API响应
20473
20473
  */
20474
- getBangumiInfo: <M extends TypeMode = "loose">(options: Omit<{
20474
+ getBangumiInfo: <M extends TypeMode>(options: Omit<{
20475
20475
  methodType: "\u756A\u5267\u57FA\u672C\u4FE1\u606F\u6570\u636E";
20476
20476
  season_id?: string;
20477
20477
  ep_id?: string;
@@ -20485,7 +20485,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20485
20485
  * @param options 请求参数,包含 cid, ep_id 和可选的 typeMode
20486
20486
  * @returns 统一格式的API响应
20487
20487
  */
20488
- getBangumiStream: <M extends TypeMode = "loose">(options: Omit<{
20488
+ getBangumiStream: <M extends TypeMode>(options: Omit<{
20489
20489
  methodType: "\u756A\u5267\u4E0B\u8F7D\u4FE1\u606F\u6570\u636E";
20490
20490
  cid: number;
20491
20491
  ep_id: string;
@@ -20499,7 +20499,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20499
20499
  * @param options 请求参数,包含 dynamic_id 和可选的 typeMode
20500
20500
  * @returns 统一格式的API响应
20501
20501
  */
20502
- getDynamicInfo: <M extends TypeMode = "loose">(options: Omit<{
20502
+ getDynamicInfo: <M extends TypeMode>(options: Omit<{
20503
20503
  methodType: "\u52A8\u6001\u8BE6\u60C5\u6570\u636E" | "\u52A8\u6001\u5361\u7247\u6570\u636E";
20504
20504
  dynamic_id: string;
20505
20505
  }, "methodType"> & {
@@ -20512,7 +20512,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20512
20512
  * @param options 请求参数,包含 dynamic_id 和可选的 typeMode
20513
20513
  * @returns 统一格式的API响应
20514
20514
  */
20515
- getDynamicCard: <M extends TypeMode = "loose">(options: Omit<{
20515
+ getDynamicCard: <M extends TypeMode>(options: Omit<{
20516
20516
  methodType: "\u52A8\u6001\u8BE6\u60C5\u6570\u636E" | "\u52A8\u6001\u5361\u7247\u6570\u636E";
20517
20517
  dynamic_id: string;
20518
20518
  }, "methodType"> & {
@@ -20525,7 +20525,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20525
20525
  * @param options 请求参数,包含 room_id 和可选的 typeMode
20526
20526
  * @returns 统一格式的API响应
20527
20527
  */
20528
- getLiveRoomDetail: <M extends TypeMode = "loose">(options: Omit<{
20528
+ getLiveRoomDetail: <M extends TypeMode>(options: Omit<{
20529
20529
  methodType: "\u76F4\u64AD\u95F4\u4FE1\u606F" | "\u76F4\u64AD\u95F4\u521D\u59CB\u5316\u4FE1\u606F";
20530
20530
  room_id: string;
20531
20531
  }, "methodType"> & {
@@ -20538,7 +20538,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20538
20538
  * @param options 请求参数,包含 room_id 和可选的 typeMode
20539
20539
  * @returns 统一格式的API响应
20540
20540
  */
20541
- getLiveRoomInitInfo: <M extends TypeMode = "loose">(options: Omit<{
20541
+ getLiveRoomInitInfo: <M extends TypeMode>(options: Omit<{
20542
20542
  methodType: "\u76F4\u64AD\u95F4\u4FE1\u606F" | "\u76F4\u64AD\u95F4\u521D\u59CB\u5316\u4FE1\u606F";
20543
20543
  room_id: string;
20544
20544
  }, "methodType"> & {
@@ -20551,7 +20551,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20551
20551
  * @param options 可选的请求参数 (主要用于 typeMode)
20552
20552
  * @returns 统一格式的API响应
20553
20553
  */
20554
- getLoginBasicInfo: <M extends TypeMode = "loose">(options: Omit<{
20554
+ getLoginBasicInfo: <M extends TypeMode>(options: Omit<{
20555
20555
  methodType: "\u767B\u5F55\u57FA\u672C\u4FE1\u606F";
20556
20556
  }, "methodType"> & {
20557
20557
  typeMode?: TypeMode;
@@ -20563,7 +20563,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20563
20563
  * @param options 可选的请求参数 (主要用于 typeMode)
20564
20564
  * @returns 统一格式的API响应
20565
20565
  */
20566
- getLoginQrcode: <M extends TypeMode = "loose">(options: Omit<{
20566
+ getLoginQrcode: <M extends TypeMode>(options: Omit<{
20567
20567
  methodType: "\u7533\u8BF7\u4E8C\u7EF4\u7801";
20568
20568
  }, "methodType"> & {
20569
20569
  typeMode?: TypeMode;
@@ -20575,7 +20575,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20575
20575
  * @param options 请求参数,包含 qrcode_key 和可选的 typeMode
20576
20576
  * @returns 统一格式的API响应
20577
20577
  */
20578
- checkQrcodeStatus: <M extends TypeMode = "loose">(options: Omit<{
20578
+ checkQrcodeStatus: <M extends TypeMode>(options: Omit<{
20579
20579
  methodType: "\u4E8C\u7EF4\u7801\u72B6\u6001";
20580
20580
  qrcode_key: string;
20581
20581
  }, "methodType"> & {
@@ -20588,7 +20588,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20588
20588
  * @param options 请求参数,包含 host_mid 和可选的 typeMode
20589
20589
  * @returns 统一格式的API响应
20590
20590
  */
20591
- getUserTotalPlayCount: <M extends TypeMode = "loose">(options: Omit<{
20591
+ getUserTotalPlayCount: <M extends TypeMode>(options: Omit<{
20592
20592
  methodType: "\u7528\u6237\u4E3B\u9875\u6570\u636E" | "\u7528\u6237\u4E3B\u9875\u52A8\u6001\u5217\u8868\u6570\u636E" | "\u83B7\u53D6UP\u4E3B\u603B\u64AD\u653E\u91CF";
20593
20593
  host_mid: number;
20594
20594
  }, "methodType"> & {
@@ -20601,7 +20601,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20601
20601
  * @param options 请求参数,包含 avid 和可选的 typeMode
20602
20602
  * @returns 统一格式的API响应
20603
20603
  */
20604
- convertAvToBv: <M extends TypeMode = "loose">(options: Omit<{
20604
+ convertAvToBv: <M extends TypeMode>(options: Omit<{
20605
20605
  methodType: "AV\u8F6CBV";
20606
20606
  avid: number;
20607
20607
  }, "methodType"> & {
@@ -20614,7 +20614,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20614
20614
  * @param options 请求参数,包含 bvid 和可选的 typeMode
20615
20615
  * @returns 统一格式的API响应
20616
20616
  */
20617
- convertBvToAv: <M extends TypeMode = "loose">(options: Omit<{
20617
+ convertBvToAv: <M extends TypeMode>(options: Omit<{
20618
20618
  methodType: "BV\u8F6CAV";
20619
20619
  bvid: string;
20620
20620
  }, "methodType"> & {
@@ -20627,7 +20627,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20627
20627
  * @param options 请求参数,包含 id 和可选的 typeMode
20628
20628
  * @returns 统一格式的API响应
20629
20629
  */
20630
- getArticleContent: <M extends TypeMode = "loose">(options: Omit<{
20630
+ getArticleContent: <M extends TypeMode>(options: Omit<{
20631
20631
  methodType: "\u4E13\u680F\u6B63\u6587\u5185\u5BB9";
20632
20632
  id: string;
20633
20633
  }, "methodType"> & {
@@ -20640,7 +20640,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20640
20640
  * @param options 请求参数,包含 ids 和可选的 typeMode
20641
20641
  * @returns 统一格式的API响应
20642
20642
  */
20643
- getArticleCard: <M extends TypeMode = "loose">(options: Omit<{
20643
+ getArticleCard: <M extends TypeMode>(options: Omit<{
20644
20644
  methodType: "\u4E13\u680F\u663E\u793A\u5361\u7247\u4FE1\u606F";
20645
20645
  ids: string[] | string;
20646
20646
  }, "methodType"> & {
@@ -20653,7 +20653,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20653
20653
  * @param options 请求参数,包含 id 和可选的 typeMode
20654
20654
  * @returns 统一格式的API响应
20655
20655
  */
20656
- getArticleInfo: <M extends TypeMode = "loose">(options: Omit<{
20656
+ getArticleInfo: <M extends TypeMode>(options: Omit<{
20657
20657
  methodType: "\u4E13\u680F\u6587\u7AE0\u57FA\u672C\u4FE1\u606F";
20658
20658
  id: string;
20659
20659
  }, "methodType"> & {
@@ -20666,7 +20666,7 @@ declare const createBoundBilibiliApi: (cookie: string, requestConfig: RequestCon
20666
20666
  * @param options 请求参数,包含 id 和可选的 typeMode
20667
20667
  * @returns 统一格式的API响应
20668
20668
  */
20669
- getColumnInfo: <M extends TypeMode = "loose">(options: Omit<{
20669
+ getColumnInfo: <M extends TypeMode>(options: Omit<{
20670
20670
  methodType: "\u6587\u96C6\u57FA\u672C\u4FE1\u606F";
20671
20671
  id: string;
20672
20672
  }, "methodType"> & {
@@ -21488,7 +21488,7 @@ declare const kuaishou: {
21488
21488
  * @param cookie 可选的用户 Cookie
21489
21489
  * @returns 统一格式的API响应
21490
21490
  */
21491
- getWorkInfo: <M extends TypeMode = "loose">(options: Omit<{
21491
+ getWorkInfo: <M extends TypeMode>(options: Omit<{
21492
21492
  methodType: "\u5355\u4E2A\u89C6\u9891\u4F5C\u54C1\u6570\u636E";
21493
21493
  photoId: string;
21494
21494
  }, "methodType"> & {
@@ -21502,7 +21502,7 @@ declare const kuaishou: {
21502
21502
  * @param cookie 可选的用户 Cookie
21503
21503
  * @returns 统一格式的API响应
21504
21504
  */
21505
- getComments: <M extends TypeMode = "loose">(options: Omit<{
21505
+ getComments: <M extends TypeMode>(options: Omit<{
21506
21506
  methodType: "\u8BC4\u8BBA\u6570\u636E";
21507
21507
  photoId: string;
21508
21508
  }, "methodType"> & {
@@ -21516,7 +21516,7 @@ declare const kuaishou: {
21516
21516
  * @param cookie 可选的用户 Cookie
21517
21517
  * @returns 统一格式的API响应
21518
21518
  */
21519
- getEmojiList: <M extends TypeMode = "loose">(options: Omit<{
21519
+ getEmojiList: <M extends TypeMode>(options: Omit<{
21520
21520
  methodType: "Emoji\u6570\u636E";
21521
21521
  }, "methodType"> & {
21522
21522
  typeMode?: TypeMode;
@@ -21535,7 +21535,7 @@ declare const createBoundKuaishouApi: (cookie: string, requestConfig: RequestCon
21535
21535
  * @param options 请求参数,包含 photoId 和可选的 typeMode
21536
21536
  * @returns 统一格式的API响应
21537
21537
  */
21538
- getWorkInfo: <M extends TypeMode = "loose">(options: Omit<{
21538
+ getWorkInfo: <M extends TypeMode>(options: Omit<{
21539
21539
  methodType: "\u5355\u4E2A\u89C6\u9891\u4F5C\u54C1\u6570\u636E";
21540
21540
  photoId: string;
21541
21541
  }, "methodType"> & {
@@ -21548,7 +21548,7 @@ declare const createBoundKuaishouApi: (cookie: string, requestConfig: RequestCon
21548
21548
  * @param options 请求参数,包含 photoId 和可选的 typeMode
21549
21549
  * @returns 统一格式的API响应
21550
21550
  */
21551
- getComments: <M extends TypeMode = "loose">(options: Omit<{
21551
+ getComments: <M extends TypeMode>(options: Omit<{
21552
21552
  methodType: "\u8BC4\u8BBA\u6570\u636E";
21553
21553
  photoId: string;
21554
21554
  }, "methodType"> & {
@@ -21561,7 +21561,7 @@ declare const createBoundKuaishouApi: (cookie: string, requestConfig: RequestCon
21561
21561
  * @param options 可选的请求参数 (主要用于 typeMode)
21562
21562
  * @returns 统一格式的API响应
21563
21563
  */
21564
- getEmojiList: <M extends TypeMode = "loose">(options: Omit<{
21564
+ getEmojiList: <M extends TypeMode>(options: Omit<{
21565
21565
  methodType: "Emoji\u6570\u636E";
21566
21566
  }, "methodType"> & {
21567
21567
  typeMode?: TypeMode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikenxuan/amagi",
3
- "version": "5.7.0",
3
+ "version": "5.7.1",
4
4
  "description": "抖音、B站的 web 端相关数据接口基于 Node.js 的实现",
5
5
  "keywords": [
6
6
  "douyin",