fastmail-masked-email
Version:
A library for creating, deleting, and updating Fastmail masked emails
28 lines • 1.02 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Action = exports.API_HOSTNAME = exports.MASKED_EMAIL_CAPABILITY = exports.MASKED_EMAIL_CALLS = exports.JMAP = void 0;
exports.JMAP = {
CORE: 'urn:ietf:params:jmap:core'
};
exports.MASKED_EMAIL_CALLS = {
get: 'MaskedEmail/get',
set: 'MaskedEmail/set'
};
exports.MASKED_EMAIL_CAPABILITY = 'https://www.fastmail.com/dev/maskedemail';
/**
* The default hostname for the Fastmail API
*/
exports.API_HOSTNAME = 'api.fastmail.com';
/**
* Descriptive actions that can be passed to the axios error handler
*/
var Action;
(function (Action) {
Action["CREATE"] = "creating a masked email";
Action["SESSION"] = "getting a session";
Action["LIST"] = "listing masked emails";
Action["GET_BY_ID"] = "getting a masked email by id";
Action["DELETE"] = "deleting a masked email";
Action["UPDATE"] = "updating a masked email";
})(Action || (exports.Action = Action = {}));
//# sourceMappingURL=constants.js.map