UNPKG

n8n-nodes-ninja-one

Version:
187 lines (186 loc) 3.77 kB
export interface IUser { firstName: string; lastName: string; email: string; role: string; } export interface IDevice { id: string; hostname: string; organizationId: string; systemName: string; lastContact?: Date; status?: string; deviceType?: string; tags?: string[]; } export interface IDeviceDisk { id: string; deviceId: string; name: string; model?: string; size?: number; serial?: string; } export interface INetworkInterface { id: string; deviceId: string; name: string; macAddress?: string; ipAddresses?: string[]; isUp?: boolean; } export interface IProcessor { deviceId: string; name: string; manufacturer?: string; cores?: number; speed?: number; } export interface IVolume { deviceId: string; name: string; fileSystem?: string; capacity?: number; freeSpace?: number; } export interface IWindowsService { deviceId: string; name: string; displayName?: string; status?: string; startType?: string; processId?: number; } export interface IAlert { uid: string; deviceId?: string; severity?: string; message?: string; status?: string; createdOn?: Date; } export interface IActivity { id: string; deviceId?: string; activityType?: string; message?: string; createdOn?: Date; } export interface IOrganization { id: string; name: string; description?: string; status?: string; } export interface ILocation { id: string; organizationId: string; name: string; address?: string; city?: string; state?: string; country?: string; postalCode?: string; } export interface ICustomField { id: string; name: string; fieldType: string; value?: unknown; entityType?: string; entityId?: string; } export interface ITicket { id: string; title: string; description: string; boardId: string; statusId: string; priorityId: string; assigneeId?: string; createdOn?: Date; } export interface ITicketStatus { id: string; name: string; boardId: string; color?: string; } export interface ITicketComment { id: string; ticketId: string; authorId: string; comment: string; createdOn: Date; } export interface IJob { id: string; deviceId?: string; jobType?: string; status?: string; createdOn?: Date; completedOn?: Date; } export interface IBackupJob { id: string; deviceId: string; status?: string; sessionId?: string; startTime?: Date; endTime?: Date; bytesTotal?: number; bytesTransferred?: number; } export interface IDeviceHealth { deviceId: string; status: string; lastContact?: Date; issues?: string[]; overallHealth?: number; } export interface IAntivirusStatus { deviceId: string; antivirusName?: string; status?: string; definitions?: string; lastUpdate?: Date; } export interface ISoftware { deviceId: string; name: string; version?: string; publisher?: string; installDate?: Date; size?: number; } export interface IOperatingSystem { deviceId: string; name: string; version?: string; architecture?: string; buildNumber?: string; } export interface IOSPatch { deviceId: string; name: string; kb?: string; status?: string; severity?: string; releaseDate?: Date; } export interface ISoftwarePatch { deviceId: string; softwareName: string; patchName: string; version?: string; status?: string; releaseDate?: Date; } export interface INodeRequestOptions { uri: string; method: string; body?: object; qs?: object; headers?: object; }