42 lines
1.6 KiB
TypeScript
42 lines
1.6 KiB
TypeScript
import * as z from "zod";
|
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
export type DeleteFileOut = {
|
|
/**
|
|
* The ID of the deleted file.
|
|
*/
|
|
id: string;
|
|
/**
|
|
* The object type that was deleted
|
|
*/
|
|
object: string;
|
|
/**
|
|
* The deletion status.
|
|
*/
|
|
deleted: boolean;
|
|
};
|
|
/** @internal */
|
|
export declare const DeleteFileOut$inboundSchema: z.ZodType<DeleteFileOut, z.ZodTypeDef, unknown>;
|
|
/** @internal */
|
|
export type DeleteFileOut$Outbound = {
|
|
id: string;
|
|
object: string;
|
|
deleted: boolean;
|
|
};
|
|
/** @internal */
|
|
export declare const DeleteFileOut$outboundSchema: z.ZodType<DeleteFileOut$Outbound, z.ZodTypeDef, DeleteFileOut>;
|
|
/**
|
|
* @internal
|
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
*/
|
|
export declare namespace DeleteFileOut$ {
|
|
/** @deprecated use `DeleteFileOut$inboundSchema` instead. */
|
|
const inboundSchema: z.ZodType<DeleteFileOut, z.ZodTypeDef, unknown>;
|
|
/** @deprecated use `DeleteFileOut$outboundSchema` instead. */
|
|
const outboundSchema: z.ZodType<DeleteFileOut$Outbound, z.ZodTypeDef, DeleteFileOut>;
|
|
/** @deprecated use `DeleteFileOut$Outbound` instead. */
|
|
type Outbound = DeleteFileOut$Outbound;
|
|
}
|
|
export declare function deleteFileOutToJSON(deleteFileOut: DeleteFileOut): string;
|
|
export declare function deleteFileOutFromJSON(jsonString: string): SafeParseResult<DeleteFileOut, SDKValidationError>;
|
|
//# sourceMappingURL=deletefileout.d.ts.map
|