From 9577f7d2da281a8f8200c2095df9aa381f3ab627 Mon Sep 17 00:00:00 2001 From: Andrew Rosiclair Date: Thu, 19 Oct 2023 10:46:03 -0400 Subject: [PATCH] add getKnownPersonalDetailsForEmails --- lib/API.jsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lib/API.jsx b/lib/API.jsx index 85fbeabd..7cffbbe8 100644 --- a/lib/API.jsx +++ b/lib/API.jsx @@ -305,6 +305,18 @@ export default function API(network, args) { return performPOSTRequest(commandName, parameters); }, + /** + * @param {Object} parameters + * @param {String[]} parameters.emailList + * + * @returns {ExpensifyAPIDeferred} + */ + getKnownPersonalDetailsForEmails(parameters) { + const commandName = 'GetKnownPersonalDetailsForEmails'; + requireParameters(['emailList'], parameters, commandName); + return performPOSTRequest(commandName, parameters); + }, + /** * Performs API command "Get" *