/** * 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 { VectorItem } from './VectorItem'; /** * Request model for adding or updating vectors in an encrypted index. * * Inherits: * IndexOperationRequest: Includes `index_name` and `index_key`. * * Attributes: * items (List[VectorItem]): List of vector items to be inserted or updated. * @export * @interface UpsertRequest */ export interface UpsertRequest { /** * ID name * @type {string} * @memberof UpsertRequest */ 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 UpsertRequest */ indexKey?: string | null; /** * * @type {Array} * @memberof UpsertRequest */ items: Array; } /** * Check if a given object implements the UpsertRequest interface. */ export declare function instanceOfUpsertRequest(value: object): value is UpsertRequest; export declare function UpsertRequestFromJSON(json: any): UpsertRequest; export declare function UpsertRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpsertRequest; export declare function UpsertRequestToJSON(json: any): UpsertRequest; export declare function UpsertRequestToJSONTyped(value?: UpsertRequest | null, ignoreDiscriminator?: boolean): any;