UNPKG

hibp

Version:

An unofficial TypeScript SDK for the 'Have I been pwned?' service.

34 lines (33 loc) 748 B
export interface Breach { Name: string; Title: string; Domain: string; BreachDate: string; AddedDate: string; ModifiedDate: string; PwnCount: number; Description: string; DataClasses: string[]; IsVerified: boolean; IsFabricated: boolean; IsSensitive: boolean; IsRetired: boolean; IsSpamList: boolean; IsMalware: boolean; IsSubscriptionFree: boolean; LogoPath: string; } export interface Paste { Id: string; Source: string; Title: string; Date: string; EmailCount: number; } export interface SubscriptionStatus { SubscriptionName: string; Description: string; SubscribedUntil: string; Rpm: number; DomainSearchMaxBreachedAccounts: number; }