| 123456789101112131415161718192021222324252627 |
- import { ContactAddress } from "./contact-address";
- import { ContactParams } from "./contact-params";
- export declare class ContactItem {
- readonly data: ContactParams;
- readonly id: string;
- readonly hash: string;
- name: string;
- addrs: ContactAddress[];
- me: boolean;
- groups: string[];
- alternateNames: string[];
- notes: string;
- lastSent?: Date;
- lastReceived?: Date;
- lastChanged?: Date;
- constructor(props: ContactParams);
- matchesGroup(group: string): boolean;
- getFirstEmail(): string | undefined;
- getFirstPhone(): string | undefined;
- getFirstUh(): string | undefined;
- search(search: string): boolean;
- getMatchingAddresses(search: string): ContactAddress[];
- matchesAddressExactly(addressType: string, addressValue: string): boolean;
- ensureAlternateNameExists(altName: string): void;
- getData(): ContactParams;
- }
|