export interface EncryptedUserDataResponseValue { user_id: string; field_id: string; object_type: 'string' | 'file'; value: string; integrity_hash: string; created_at: number; } export interface EncryptedUserDataResponse { user_id: string; data: EncryptedUserDataResponseValue[]; } export interface BatchEncryptedUserDataResponse { next_cursor_id: string; users: EncryptedUserDataResponse[]; } export interface DataKeyResponseValue { key: string; } export interface DataKeyUserResponse { user_id: string; data: DataKeyResponseValue[]; } export interface DataKeyBatchResponse { users: DataKeyUserResponse[]; } export interface DataKeyRequest { field_id: string; wrapper_key_id: string | null; encrypted_key: string | null; } export interface DataKeyUserRequest { user_id: string; data: DataKeyRequest[]; } export interface DataKeyBatchRequest { users: DataKeyUserRequest[]; } export interface EncryptedUserDataRequestValue { field_id: string; object_type: 'string' | 'file'; value: string; wrapper_key_id: string | null; integrity_hash: string; } export interface WrapperKeyResponseValue { id: string; public_key: string; algorithm: string; } export interface WrapperKeyResponse { data: WrapperKeyResponseValue[]; } export interface FileMetadata { id: string; user_id: string; field_id: string; content_type: string; commitment_id: string; created_at: number; } export interface BatchOptions { cursor?: string; limit?: number; }