import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { AutoChunkingStrategy, AutoChunkingStrategy$Outbound } from "./autochunkingstrategy.js"; import { FileWithMetadata, FileWithMetadata$Outbound } from "./filewithmetadata.js"; import { StaticChunkingStrategy, StaticChunkingStrategy$Outbound } from "./staticchunkingstrategy.js"; export type CreateVectorStoreFileBatchRequestAttributes = string | boolean | number; /** * Batch-wide default chunking strategy, applied to every file that does not carry its own (a 'files' entry's chunking_strategy overrides this). */ export type CreateVectorStoreFileBatchRequestChunkingStrategy = AutoChunkingStrategy | StaticChunkingStrategy; /** * Request body for creating a vector store file batch. */ export type CreateVectorStoreFileBatchRequest = { /** * A list of File IDs that the vector store should use. If attributes or chunking_strategy are provided at the root level, they will be applied to all files in the batch. Mutually exclusive with 'files'. At most 500 per batch. */ fileIds?: Array | undefined; /** * A list of objects that each include a file_id plus optional attributes or chunking_strategy. Use this when you need to override metadata for specific files. Entries without their own attributes or chunking_strategy fall back to the request-level values. Mutually exclusive with 'file_ids'. At most 500 per batch. */ files?: Array | undefined; /** * Batch-wide default attributes, applied to every file that does not carry its own (a 'files' entry's attributes override this). */ attributes?: { [k: string]: string | boolean | number; } | undefined; /** * Batch-wide default chunking strategy, applied to every file that does not carry its own (a 'files' entry's chunking_strategy overrides this). */ chunkingStrategy?: AutoChunkingStrategy | StaticChunkingStrategy | undefined; }; /** @internal */ export declare const CreateVectorStoreFileBatchRequestAttributes$inboundSchema: z.ZodType; /** @internal */ export type CreateVectorStoreFileBatchRequestAttributes$Outbound = string | boolean | number; /** @internal */ export declare const CreateVectorStoreFileBatchRequestAttributes$outboundSchema: z.ZodType; export declare function createVectorStoreFileBatchRequestAttributesToJSON(createVectorStoreFileBatchRequestAttributes: CreateVectorStoreFileBatchRequestAttributes): string; export declare function createVectorStoreFileBatchRequestAttributesFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateVectorStoreFileBatchRequestChunkingStrategy$inboundSchema: z.ZodType; /** @internal */ export type CreateVectorStoreFileBatchRequestChunkingStrategy$Outbound = AutoChunkingStrategy$Outbound | StaticChunkingStrategy$Outbound; /** @internal */ export declare const CreateVectorStoreFileBatchRequestChunkingStrategy$outboundSchema: z.ZodType; export declare function createVectorStoreFileBatchRequestChunkingStrategyToJSON(createVectorStoreFileBatchRequestChunkingStrategy: CreateVectorStoreFileBatchRequestChunkingStrategy): string; export declare function createVectorStoreFileBatchRequestChunkingStrategyFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateVectorStoreFileBatchRequest$inboundSchema: z.ZodType; /** @internal */ export type CreateVectorStoreFileBatchRequest$Outbound = { file_ids?: Array | undefined; files?: Array | undefined; attributes?: { [k: string]: string | boolean | number; } | undefined; chunking_strategy?: AutoChunkingStrategy$Outbound | StaticChunkingStrategy$Outbound | undefined; }; /** @internal */ export declare const CreateVectorStoreFileBatchRequest$outboundSchema: z.ZodType; export declare function createVectorStoreFileBatchRequestToJSON(createVectorStoreFileBatchRequest: CreateVectorStoreFileBatchRequest): string; export declare function createVectorStoreFileBatchRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=createvectorstorefilebatchrequest.d.ts.map