/** * CyborgDB Service * REST API for CyborgDB: The Confidential Vector Database * * The version of the OpenAPI document: 0.17.1.dev16 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { BinaryVectorBatch } from './BinaryVectorBatch'; /** * Request model for adding or updating vectors using binary format. * * This is more efficient than UpsertRequest for large batches as vectors * are sent as base64-encoded binary data instead of JSON arrays. * * Inherits: * IndexOperationRequest: Includes `index_name` and `index_key`. * * Attributes: * batch (BinaryVectorBatch): The batch of vectors in binary format. * @export * @interface BinaryUpsertRequest */ export interface BinaryUpsertRequest { /** * ID name * @type {string} * @memberof BinaryUpsertRequest */ indexName: string; /** * 32-byte encryption key as hex string. Required for SDK-supplied indexes; must be omitted for KMS-backed indexes (the service resolves the KEK via the index's KMSBlob). * @type {string} * @memberof BinaryUpsertRequest */ indexKey?: string | null; /** * * @type {BinaryVectorBatch} * @memberof BinaryUpsertRequest */ batch: BinaryVectorBatch; } /** * Check if a given object implements the BinaryUpsertRequest interface. */ export declare function instanceOfBinaryUpsertRequest(value: object): value is BinaryUpsertRequest; export declare function BinaryUpsertRequestFromJSON(json: any): BinaryUpsertRequest; export declare function BinaryUpsertRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): BinaryUpsertRequest; export declare function BinaryUpsertRequestToJSON(json: any): BinaryUpsertRequest; export declare function BinaryUpsertRequestToJSONTyped(value?: BinaryUpsertRequest | null, ignoreDiscriminator?: boolean): any;