import * as z from "zod"; import { ClosedEnum } from "../types/enums.js"; /** * 你想要查询的热榜平台。支持多种主流平台类型,详见下方[可选值](#可选值)表格。 */ export declare const GetMiscHotboardType: { readonly Bilibili: "bilibili"; readonly Acfun: "acfun"; readonly Weibo: "weibo"; readonly Zhihu: "zhihu"; readonly ZhihuDaily: "zhihu-daily"; readonly Douyin: "douyin"; readonly Kuaishou: "kuaishou"; readonly DoubanMovie: "douban-movie"; readonly DoubanGroup: "douban-group"; readonly Tieba: "tieba"; readonly Hupu: "hupu"; readonly Ngabbs: "ngabbs"; readonly V2ex: "v2ex"; readonly FiftyTwopojie: "52pojie"; readonly Hostloc: "hostloc"; readonly Coolapk: "coolapk"; readonly Baidu: "baidu"; readonly Thepaper: "thepaper"; readonly Toutiao: "toutiao"; readonly QqNews: "qq-news"; readonly Sina: "sina"; readonly SinaNews: "sina-news"; readonly NeteaseNews: "netease-news"; readonly Huxiu: "huxiu"; readonly Ifanr: "ifanr"; readonly Sspai: "sspai"; readonly Ithome: "ithome"; readonly IthomeXijiayi: "ithome-xijiayi"; readonly Juejin: "juejin"; readonly Jianshu: "jianshu"; readonly Guokr: "guokr"; readonly ThirtySixkr: "36kr"; readonly FiftyOnecto: "51cto"; readonly Csdn: "csdn"; readonly Nodeseek: "nodeseek"; readonly Hellogithub: "hellogithub"; readonly Lol: "lol"; readonly Genshin: "genshin"; readonly Honkai: "honkai"; readonly Starrail: "starrail"; readonly NeteaseMusic: "netease-music"; readonly QqMusic: "qq-music"; readonly Weread: "weread"; readonly Weatheralarm: "weatheralarm"; readonly Earthquake: "earthquake"; readonly History: "history"; }; /** * 你想要查询的热榜平台。支持多种主流平台类型,详见下方[可选值](#可选值)表格。 */ export type GetMiscHotboardType = ClosedEnum; export declare const GetMiscHotboardType$zodSchema: z.ZodEnum<{ history: "history"; bilibili: "bilibili"; acfun: "acfun"; weibo: "weibo"; zhihu: "zhihu"; "zhihu-daily": "zhihu-daily"; douyin: "douyin"; kuaishou: "kuaishou"; "douban-movie": "douban-movie"; "douban-group": "douban-group"; tieba: "tieba"; hupu: "hupu"; ngabbs: "ngabbs"; v2ex: "v2ex"; "52pojie": "52pojie"; hostloc: "hostloc"; coolapk: "coolapk"; baidu: "baidu"; thepaper: "thepaper"; toutiao: "toutiao"; "qq-news": "qq-news"; sina: "sina"; "sina-news": "sina-news"; "netease-news": "netease-news"; huxiu: "huxiu"; ifanr: "ifanr"; sspai: "sspai"; ithome: "ithome"; "ithome-xijiayi": "ithome-xijiayi"; juejin: "juejin"; jianshu: "jianshu"; guokr: "guokr"; "36kr": "36kr"; "51cto": "51cto"; csdn: "csdn"; nodeseek: "nodeseek"; hellogithub: "hellogithub"; lol: "lol"; genshin: "genshin"; honkai: "honkai"; starrail: "starrail"; "netease-music": "netease-music"; "qq-music": "qq-music"; weread: "weread"; weatheralarm: "weatheralarm"; earthquake: "earthquake"; }>; export type GetMiscHotboardRequest = { type: GetMiscHotboardType; time?: number | undefined; keyword?: string | undefined; time_start?: number | undefined; time_end?: number | undefined; limit?: number | undefined; sources?: boolean | undefined; }; export declare const GetMiscHotboardRequest$zodSchema: z.ZodType; export type GetMiscHotboardBadGatewayDetails = {}; export declare const GetMiscHotboardBadGatewayDetails$zodSchema: z.ZodType; /** * 上游服务错误。我们从目标平台(如微博)获取数据时失败,可能是对方接口暂时不可用或有反爬策略。 */ export type GetMiscHotboardBadGatewayResponseBody = { code?: string | undefined; details?: GetMiscHotboardBadGatewayDetails | undefined; message?: string | undefined; }; export declare const GetMiscHotboardBadGatewayResponseBody$zodSchema: z.ZodType; export type GetMiscHotboardInternalServerErrorDetails = {}; export declare const GetMiscHotboardInternalServerErrorDetails$zodSchema: z.ZodType; /** * 获取热榜失败。服务器在处理数据时发生内部错误。 */ export type GetMiscHotboardInternalServerErrorResponseBody = { code?: string | undefined; details?: GetMiscHotboardInternalServerErrorDetails | undefined; message?: string | undefined; }; export declare const GetMiscHotboardInternalServerErrorResponseBody$zodSchema: z.ZodType; export type GetMiscHotboardBadRequestDetails = {}; export declare const GetMiscHotboardBadRequestDetails$zodSchema: z.ZodType; /** * 请求参数错误。你提供的 `type` 参数不是我们支持的平台类型,请检查拼写。 */ export type GetMiscHotboardBadRequestResponseBody = { code?: string | undefined; details?: GetMiscHotboardBadRequestDetails | undefined; message?: string | undefined; }; export declare const GetMiscHotboardBadRequestResponseBody$zodSchema: z.ZodType; export type List = { extra?: { [k: string]: any; } | undefined; hot_value?: string | undefined; index?: number | undefined; title?: string | undefined; url?: string | undefined; cover?: string | undefined; }; export declare const List$zodSchema: z.ZodType; export type GetMiscHotboardResult = { title?: string | undefined; hot_value?: string | undefined; url?: string | undefined; }; export declare const GetMiscHotboardResult$zodSchema: z.ZodType; /** * 查询成功!返回指定平台的热榜列表数据。不同模式返回格式不同:默认模式和时光机模式返回 list 数组;搜索模式返回 results 数组;数据源列表模式返回 sources 数组。 */ export type GetMiscHotboardResponseBody = { list?: Array | undefined; type?: string | undefined; update_time?: string | undefined; snapshot_time?: number | undefined; keyword?: string | undefined; count?: number | undefined; results?: Array | undefined; sources?: Array | undefined; }; export declare const GetMiscHotboardResponseBody$zodSchema: z.ZodType; export type GetMiscHotboardResponse = GetMiscHotboardResponseBody | GetMiscHotboardBadRequestResponseBody | GetMiscHotboardInternalServerErrorResponseBody | GetMiscHotboardBadGatewayResponseBody; export declare const GetMiscHotboardResponse$zodSchema: z.ZodType; //# sourceMappingURL=getmischotboardop.d.ts.map