import * as z from "zod"; import { ClosedEnum } from "../types/enums.js"; /** * 包含待检测文本 'keywords' 的JSON对象 */ export type PostSensitiveWordAnalyzeRequest = { keywords: Array; }; export declare const PostSensitiveWordAnalyzeRequest$zodSchema: z.ZodType; /** * 请求频率超限 */ export type PostSensitiveWordAnalyzeTooManyRequestsResponseBody = { code?: string | undefined; message?: string | undefined; }; export declare const PostSensitiveWordAnalyzeTooManyRequestsResponseBody$zodSchema: z.ZodType; /** * 未授权访问 */ export type PostSensitiveWordAnalyzeUnauthorizedResponseBody = { code?: string | undefined; message?: string | undefined; }; export declare const PostSensitiveWordAnalyzeUnauthorizedResponseBody$zodSchema: z.ZodType; /** * 请求参数错误 */ export type PostSensitiveWordAnalyzeBadRequestResponseBody = { code?: string | undefined; message?: string | undefined; }; export declare const PostSensitiveWordAnalyzeBadRequestResponseBody$zodSchema: z.ZodType; export declare const PostSensitiveWordAnalyzeLabel: { readonly Sensitive: "sensitive"; readonly Normal: "normal"; }; export type PostSensitiveWordAnalyzeLabel = ClosedEnum; export declare const PostSensitiveWordAnalyzeLabel$zodSchema: z.ZodEnum<{ sensitive: "sensitive"; normal: "normal"; }>; export declare const PostSensitiveWordAnalyzeCategory: { readonly Safe: "safe"; readonly Threat: "threat"; readonly Porn: "porn"; readonly Fraud: "fraud"; readonly Insult: "insult"; }; export type PostSensitiveWordAnalyzeCategory = ClosedEnum; export declare const PostSensitiveWordAnalyzeCategory$zodSchema: z.ZodEnum<{ safe: "safe"; threat: "threat"; porn: "porn"; fraud: "fraud"; insult: "insult"; }>; export type PostSensitiveWordAnalyzeResult = { k?: string | undefined; label?: PostSensitiveWordAnalyzeLabel | undefined; category?: PostSensitiveWordAnalyzeCategory | undefined; confidence?: number | undefined; }; export declare const PostSensitiveWordAnalyzeResult$zodSchema: z.ZodType; /** * 分析成功 */ export type PostSensitiveWordAnalyzeResponseBody = { results?: Array | undefined; total?: number | undefined; }; export declare const PostSensitiveWordAnalyzeResponseBody$zodSchema: z.ZodType; export type PostSensitiveWordAnalyzeResponse = PostSensitiveWordAnalyzeResponseBody | PostSensitiveWordAnalyzeBadRequestResponseBody | PostSensitiveWordAnalyzeUnauthorizedResponseBody | PostSensitiveWordAnalyzeTooManyRequestsResponseBody; export declare const PostSensitiveWordAnalyzeResponse$zodSchema: z.ZodType; //# sourceMappingURL=postsensitivewordanalyzeop.d.ts.map