/** * 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. */ /** * Request model for performing operations on an existing index (e.g., delete, describe). * * Exactly one of two paths applies on every request: * * `index_key` is supplied — the SDK-supplied KEK for an index * whose stored envelope records `provider="none"`. The service * validates it against the cached hash. * * `index_key` is omitted — the index must be KMS-backed. The * service reads the `KMSBlob` snapshot, resolves the KEK via * the named KMS (cached by the `kek_cache` TTL), and uses that. * * Attributes: * index_name (str): The name/identifier of the index. * index_key (str, optional): 32-byte encryption key as hex string. * Required for SDK-supplied indexes (envelope `provider="none"`); * must be omitted for KMS-backed indexes. * @export * @interface IndexOperationRequest */ export interface IndexOperationRequest { /** * ID name * @type {string} * @memberof IndexOperationRequest */ 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 IndexOperationRequest */ indexKey?: string | null; } /** * Check if a given object implements the IndexOperationRequest interface. */ export declare function instanceOfIndexOperationRequest(value: object): value is IndexOperationRequest; export declare function IndexOperationRequestFromJSON(json: any): IndexOperationRequest; export declare function IndexOperationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexOperationRequest; export declare function IndexOperationRequestToJSON(json: any): IndexOperationRequest; export declare function IndexOperationRequestToJSONTyped(value?: IndexOperationRequest | null, ignoreDiscriminator?: boolean): any;