(
userId: string,
addressBookId: string,
contactId: string,
)
| 73 | } |
| 74 | |
| 75 | static async get( |
| 76 | userId: string, |
| 77 | addressBookId: string, |
| 78 | contactId: string, |
| 79 | ): Promise<Contact | undefined> { |
| 80 | const contacts = await this.list(userId, addressBookId); |
| 81 | |
| 82 | return contacts.find((contact) => contact.uid === contactId); |
| 83 | } |
| 84 | |
| 85 | static async create( |
| 86 | userId: string, |