expensify-common 2.0.109 → 2.0.111
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 +12 -0
- package/dist/CONST.d.ts +4 -0
- package/dist/CONST.js +4 -0
- package/package.json +1 -1
package/dist/API.js
CHANGED
|
@@ -415,6 +415,18 @@ function API(network, args) {
|
|
|
415
415
|
const newParameters = Object.assign(Object.assign({}, parameters), { api_setCookie: false });
|
|
416
416
|
return performPOSTRequest(commandName, newParameters);
|
|
417
417
|
},
|
|
418
|
+
/**
|
|
419
|
+
* Resets the status of SMS delivery of a phone number
|
|
420
|
+
* @param {Object} parameters
|
|
421
|
+
* @param {String} parameters.email
|
|
422
|
+
* @returns {ExpensifyAPIDeferred}
|
|
423
|
+
*/
|
|
424
|
+
resetSMSDeliveryFailureStatus(parameters) {
|
|
425
|
+
const commandName = 'ResetSMSDeliveryFailureStatus';
|
|
426
|
+
requireParameters(['email'], parameters, commandName);
|
|
427
|
+
const newParameters = Object.assign(Object.assign({}, parameters), { api_setCookie: false });
|
|
428
|
+
return performPOSTRequest(commandName, newParameters);
|
|
429
|
+
},
|
|
418
430
|
/**
|
|
419
431
|
* Sets the password for an account
|
|
420
432
|
*
|
package/dist/CONST.d.ts
CHANGED
|
@@ -804,6 +804,10 @@ declare const CONST: {
|
|
|
804
804
|
readonly longFlightFare: "economy";
|
|
805
805
|
readonly hotelStar: "fourStars";
|
|
806
806
|
};
|
|
807
|
+
readonly PAYMENT_TYPE: {
|
|
808
|
+
readonly PAY_AT_HOTEL: "PAY_AT_HOTEL";
|
|
809
|
+
readonly PAY_AT_VENDOR: "PAY_AT_VENDOR";
|
|
810
|
+
};
|
|
807
811
|
};
|
|
808
812
|
readonly EXPENSIFY_DOMAINS: readonly ["expensify.com", "expensifail.com", "expensicorp.com"];
|
|
809
813
|
readonly SUBSCRIPTION_CHANGE_REASONS: {
|
package/dist/CONST.js
CHANGED
|
@@ -845,6 +845,10 @@ const CONST = {
|
|
|
845
845
|
longFlightFare: 'economy',
|
|
846
846
|
hotelStar: 'fourStars',
|
|
847
847
|
},
|
|
848
|
+
PAYMENT_TYPE: {
|
|
849
|
+
PAY_AT_HOTEL: 'PAY_AT_HOTEL',
|
|
850
|
+
PAY_AT_VENDOR: 'PAY_AT_VENDOR',
|
|
851
|
+
},
|
|
848
852
|
},
|
|
849
853
|
// Expensify domains
|
|
850
854
|
EXPENSIFY_DOMAINS: ['expensify.com', 'expensifail.com', 'expensicorp.com'],
|