"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class ContactBook { constructor(items) { this.items = items; } getPrimaryEmailAddress() { for (const item of this.items) { for (const address of item.canSendFromAddrs) { if (address.startsWith('email:')) { return address; } } } } getPrimaryPhoneNumber() { for (const item of this.items) { for (const address of item.canSendFromAddrs) { if (address.startsWith('phone:')) { return address; } } } } } exports.ContactBook = ContactBook; //# sourceMappingURL=contact-book.js.map