Skip to content

Commit

Permalink
Merge pull request #825 from Expensify/cm-add-sms-delivery-command
Browse files Browse the repository at this point in the history
Add resetSMSDeliveryFailureStatus command
  • Loading branch information
rlinoz authored Dec 26, 2024
2 parents 67c905c + d09bb36 commit acb6856
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions lib/API.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,20 @@ export default function API(network, args) {
return performPOSTRequest(commandName, newParameters);
},

/**
* Resets the status of SMS delivery of a phone number
* @param {Object} parameters
* @param {String} parameters.email
* @returns {ExpensifyAPIDeferred}
*/
resetSMSDeliveryFailureStatus(parameters) {
const commandName = 'ResetSMSDeliveryFailureStatus';
requireParameters(['email'], parameters, commandName);

const newParameters = {...parameters, api_setCookie: false};
return performPOSTRequest(commandName, newParameters);
},

/**
* Sets the password for an account
*
Expand Down

0 comments on commit acb6856

Please sign in to comment.