/** Types generated for queries found in "src/modules/auth/providers/api-keys.provider.ts" */
/** 'InsertApiKey' parameters type */
export interface IInsertApiKeyParams {
    keyHash?: string | null | void;
    name?: string | null | void;
    ownerId?: string | null | void;
    roleId?: string | null | void;
}
/** 'InsertApiKey' return type */
export interface IInsertApiKeyResult {
    /** Timestamp when API key was created */
    created_at: Date;
    /** Unique API key identifier */
    id: string;
    /** Timestamp of last API key usage (updated hourly to prevent write amplification) */
    last_used_at: Date | null;
    /** Descriptive name for this API key (e.g., 'Production Scraper') */
    name: string;
    /** Role assigned to this API key (e.g., 'scraper') */
    role_id: string;
}
/** 'InsertApiKey' query type */
export interface IInsertApiKeyQuery {
    params: IInsertApiKeyParams;
    result: IInsertApiKeyResult;
}
/** 'ListApiKeys' parameters type */
export interface IListApiKeysParams {
    ownerId?: string | null | void;
}
/** 'ListApiKeys' return type */
export interface IListApiKeysResult {
    /** Timestamp when API key was created */
    created_at: Date;
    /** Unique API key identifier */
    id: string;
    /** Timestamp of last API key usage (updated hourly to prevent write amplification) */
    last_used_at: Date | null;
    /** Descriptive name for this API key (e.g., 'Production Scraper') */
    name: string;
    /** Role assigned to this API key (e.g., 'scraper') */
    role_id: string;
}
/** 'ListApiKeys' query type */
export interface IListApiKeysQuery {
    params: IListApiKeysParams;
    result: IListApiKeysResult;
}
/** 'RevokeApiKey' parameters type */
export interface IRevokeApiKeyParams {
    id?: string | null | void;
    ownerId?: string | null | void;
}
/** 'RevokeApiKey' return type */
export interface IRevokeApiKeyResult {
    /** Unique API key identifier */
    id: string;
}
/** 'RevokeApiKey' query type */
export interface IRevokeApiKeyQuery {
    params: IRevokeApiKeyParams;
    result: IRevokeApiKeyResult;
}
