This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openclaw-extensions/wecom/node_modules/@mistralai/mistralai/models/components/classificationresponse.d.ts
T

38 lines
1.8 KiB
TypeScript

import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { ClassificationTargetResult, ClassificationTargetResult$Outbound } from "./classificationtargetresult.js";
export type ClassificationResponse = {
id: string;
model: string;
results: Array<{
[k: string]: ClassificationTargetResult;
}>;
};
/** @internal */
export declare const ClassificationResponse$inboundSchema: z.ZodType<ClassificationResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type ClassificationResponse$Outbound = {
id: string;
model: string;
results: Array<{
[k: string]: ClassificationTargetResult$Outbound;
}>;
};
/** @internal */
export declare const ClassificationResponse$outboundSchema: z.ZodType<ClassificationResponse$Outbound, z.ZodTypeDef, ClassificationResponse>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace ClassificationResponse$ {
/** @deprecated use `ClassificationResponse$inboundSchema` instead. */
const inboundSchema: z.ZodType<ClassificationResponse, z.ZodTypeDef, unknown>;
/** @deprecated use `ClassificationResponse$outboundSchema` instead. */
const outboundSchema: z.ZodType<ClassificationResponse$Outbound, z.ZodTypeDef, ClassificationResponse>;
/** @deprecated use `ClassificationResponse$Outbound` instead. */
type Outbound = ClassificationResponse$Outbound;
}
export declare function classificationResponseToJSON(classificationResponse: ClassificationResponse): string;
export declare function classificationResponseFromJSON(jsonString: string): SafeParseResult<ClassificationResponse, SDKValidationError>;
//# sourceMappingURL=classificationresponse.d.ts.map