n8n-nodes-binalyze-air
Version:
Binalyze AIR nodes for automating DFIR with n8n workflows
30 lines (29 loc) • 893 B
TypeScript
import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-workflow';
import { AirCredentials } from '../../../../credentials/AirApi.credentials';
export interface AuthCheckResponse {
success: boolean;
result: {
authenticated: boolean;
user?: {
_id: string;
username: string;
email: string;
role: string;
organizationId: number;
organizationName: string;
permissions: string[];
lastLoginAt?: string;
createdAt?: string;
};
session?: {
_id: string;
expiresAt: string;
issuedAt: string;
};
};
statusCode: number;
errors: string[];
}
export declare const api: {
checkAuth(context: IExecuteFunctions | ILoadOptionsFunctions, credentials: AirCredentials): Promise<AuthCheckResponse>;
};