UNPKG

n8n-nodes-binalyze-air

Version:

Binalyze AIR nodes for automating DFIR with n8n workflows

48 lines (47 loc) 1.34 kB
import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-workflow'; import { AirCredentials } from '../../../../../credentials/AirApi.credentials'; export interface TaskAssignment { _id: string; taskId: string; name: string; type: string; endpointId: string; endpointName: string; organizationId: number; status: string; recurrence: null | any; progress: number; duration: null | number; caseIds: string[]; createdAt: string; updatedAt: string; response: null | any; } export interface CaseOption { label: string; value: string; } export interface TaskAssignmentsResponse { success: boolean; result: { entities: TaskAssignment[]; filters: Array<{ name: string; type: string; options: string[] | CaseOption[]; filterUrl: string | null; }>; sortables: string[]; totalEntityCount: number; currentPage: number; pageSize: number; previousPage: number; totalPageCount: number; nextPage: number; }; statusCode: number; errors: string[]; } export declare const api: { getTaskAssignments(context: IExecuteFunctions | ILoadOptionsFunctions, credentials: AirCredentials, taskId: string): Promise<TaskAssignmentsResponse>; };