expensify-common 2.0.222 → 2.0.223
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/API.js +0 -26
- package/dist/esm/API.js +0 -26
- package/package.json +1 -1
package/dist/API.js
CHANGED
|
@@ -410,32 +410,6 @@ function API(network, args) {
|
|
|
410
410
|
requireParameters(['email'], parameters, commandName);
|
|
411
411
|
return performPOSTRequest(commandName, parameters);
|
|
412
412
|
},
|
|
413
|
-
/**
|
|
414
|
-
* Resets the password for an account
|
|
415
|
-
* @param {Object} parameters
|
|
416
|
-
* @param {String} parameters.email
|
|
417
|
-
* @returns {ExpensifyAPIDeferred}
|
|
418
|
-
*/
|
|
419
|
-
resetPassword(parameters) {
|
|
420
|
-
const commandName = 'ResetPassword';
|
|
421
|
-
requireParameters(['email'], parameters, commandName);
|
|
422
|
-
const newParameters = Object.assign(Object.assign({}, parameters), { api_setCookie: false });
|
|
423
|
-
return performPOSTRequest(commandName, newParameters);
|
|
424
|
-
},
|
|
425
|
-
/**
|
|
426
|
-
* Sets the password for an account
|
|
427
|
-
*
|
|
428
|
-
* @param {Object} parameters
|
|
429
|
-
* @param {String} parameters.email
|
|
430
|
-
* @param {String} parameters.password
|
|
431
|
-
* @param {String} parameters.validateCode
|
|
432
|
-
* @returns {ExpensifyAPIDeferred}
|
|
433
|
-
*/
|
|
434
|
-
setPassword(parameters) {
|
|
435
|
-
const commandName = 'SetPassword';
|
|
436
|
-
requireParameters(['email', 'password', 'validateCode'], parameters, commandName);
|
|
437
|
-
return performPOSTRequest(commandName, parameters);
|
|
438
|
-
},
|
|
439
413
|
/**
|
|
440
414
|
* Validate a user
|
|
441
415
|
*
|
package/dist/esm/API.js
CHANGED
|
@@ -371,32 +371,6 @@ export default function API(network, args) {
|
|
|
371
371
|
requireParameters(['email'], parameters, commandName);
|
|
372
372
|
return performPOSTRequest(commandName, parameters);
|
|
373
373
|
},
|
|
374
|
-
/**
|
|
375
|
-
* Resets the password for an account
|
|
376
|
-
* @param {Object} parameters
|
|
377
|
-
* @param {String} parameters.email
|
|
378
|
-
* @returns {ExpensifyAPIDeferred}
|
|
379
|
-
*/
|
|
380
|
-
resetPassword(parameters) {
|
|
381
|
-
const commandName = 'ResetPassword';
|
|
382
|
-
requireParameters(['email'], parameters, commandName);
|
|
383
|
-
const newParameters = Object.assign(Object.assign({}, parameters), { api_setCookie: false });
|
|
384
|
-
return performPOSTRequest(commandName, newParameters);
|
|
385
|
-
},
|
|
386
|
-
/**
|
|
387
|
-
* Sets the password for an account
|
|
388
|
-
*
|
|
389
|
-
* @param {Object} parameters
|
|
390
|
-
* @param {String} parameters.email
|
|
391
|
-
* @param {String} parameters.password
|
|
392
|
-
* @param {String} parameters.validateCode
|
|
393
|
-
* @returns {ExpensifyAPIDeferred}
|
|
394
|
-
*/
|
|
395
|
-
setPassword(parameters) {
|
|
396
|
-
const commandName = 'SetPassword';
|
|
397
|
-
requireParameters(['email', 'password', 'validateCode'], parameters, commandName);
|
|
398
|
-
return performPOSTRequest(commandName, parameters);
|
|
399
|
-
},
|
|
400
374
|
/**
|
|
401
375
|
* Validate a user
|
|
402
376
|
*
|