import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { FileCounts, FileCounts$Outbound } from "./filecounts.js"; /** * The status of the vector store files batch. 'in_progress' means files are being processed, 'completed' means all files have been processed, 'cancelled' means the batch was cancelled, 'failed' means the batch failed. */ export declare const VectorStoreFileBatchStatus: { readonly InProgress: "in_progress"; readonly Completed: "completed"; readonly Cancelled: "cancelled"; readonly Failed: "failed"; }; /** * The status of the vector store files batch. 'in_progress' means files are being processed, 'completed' means all files have been processed, 'cancelled' means the batch was cancelled, 'failed' means the batch failed. */ export type VectorStoreFileBatchStatus = ClosedEnum; /** * A batch of files attached to a vector store. */ export type VectorStoreFileBatch = { /** * The identifier, which can be referenced in API endpoints. */ id: string; /** * The object type, which is always 'vector_store.file_batch'. */ object: "vector_store.file_batch"; /** * The Unix timestamp (in seconds) for when the vector store files batch was created. */ createdAt: number; /** * The ID of the vector store that the File is attached to. */ vectorStoreId: string; /** * The status of the vector store files batch. 'in_progress' means files are being processed, 'completed' means all files have been processed, 'cancelled' means the batch was cancelled, 'failed' means the batch failed. */ status: VectorStoreFileBatchStatus; /** * File processing status counts. */ fileCounts: FileCounts; }; /** @internal */ export declare const VectorStoreFileBatchStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const VectorStoreFileBatchStatus$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const VectorStoreFileBatch$inboundSchema: z.ZodType; /** @internal */ export type VectorStoreFileBatch$Outbound = { id: string; object: "vector_store.file_batch"; created_at: number; vector_store_id: string; status: string; file_counts: FileCounts$Outbound; }; /** @internal */ export declare const VectorStoreFileBatch$outboundSchema: z.ZodType; export declare function vectorStoreFileBatchToJSON(vectorStoreFileBatch: VectorStoreFileBatch): string; export declare function vectorStoreFileBatchFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=vectorstorefilebatch.d.ts.map