Skip to content

Commit

Permalink
add getKnownPersonalDetailsForEmails
Browse files Browse the repository at this point in the history
  • Loading branch information
arosiclair committed Oct 19, 2023
1 parent 6517be4 commit 9577f7d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lib/API.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
*
Expand Down

0 comments on commit 9577f7d

Please sign in to comment.