capacitor-moengage-core
Version:
MoEngage is a mobile marketing automation company. This capacitor SDK helps you track events, trigger smart notifications.
100 lines (94 loc) • 3.3 kB
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
var core = require('@capacitor/core');
/**
* User attribute Gender options
*/
exports.MoEUserGender = void 0;
(function (MoEUserGender) {
MoEUserGender["MALE"] = "male";
MoEUserGender["FEMALE"] = "female";
MoEUserGender["OTHER"] = "other";
})(exports.MoEUserGender || (exports.MoEUserGender = {}));
/**
* Status of the application.
*/
exports.MoEAppStatus = void 0;
(function (MoEAppStatus) {
/**
* Fresh installation of the app instance.
*/
MoEAppStatus["INSTALL"] = "install";
/**
* App was already present and user has updated the app.
*/
MoEAppStatus["UPDATE"] = "update";
})(exports.MoEAppStatus || (exports.MoEAppStatus = {}));
/**
* InApp Action type
*/
exports.MoEInAppActionType = void 0;
(function (MoEInAppActionType) {
MoEInAppActionType["NAVIGATION"] = "navigation";
MoEInAppActionType["CUSTOM"] = "custom";
})(exports.MoEInAppActionType || (exports.MoEInAppActionType = {}));
/**
* Platform Data
*/
exports.MoEPlatform = void 0;
(function (MoEPlatform) {
MoEPlatform["iOS"] = "iOS";
MoEPlatform["ANDROID"] = "android";
})(exports.MoEPlatform || (exports.MoEPlatform = {}));
/**
* Supported push services
*/
exports.MoEPushService = void 0;
(function (MoEPushService) {
MoEPushService[MoEPushService["APNS"] = 0] = "APNS";
MoEPushService[MoEPushService["FCM"] = 1] = "FCM";
MoEPushService[MoEPushService["MI_PUSH"] = 2] = "MI_PUSH";
MoEPushService[MoEPushService["PUSH_KIT"] = 3] = "PUSH_KIT";
})(exports.MoEPushService || (exports.MoEPushService = {}));
/**
* Permission Type
*/
exports.MoEPermissionType = void 0;
(function (MoEPermissionType) {
MoEPermissionType["PUSH"] = "push";
})(exports.MoEPermissionType || (exports.MoEPermissionType = {}));
/**
* Nudge Position values
*/
exports.MoENudgePosition = void 0;
(function (MoENudgePosition) {
MoENudgePosition["Top"] = "top";
MoENudgePosition["Bottom"] = "bottom";
MoENudgePosition["BottomLeft"] = "bottomLeft";
MoENudgePosition["BottomRight"] = "bottomRight";
MoENudgePosition["Any"] = "any";
})(exports.MoENudgePosition || (exports.MoENudgePosition = {}));
/**
* Authentication type.
*/
exports.MoEAuthenticationType = void 0;
(function (MoEAuthenticationType) {
MoEAuthenticationType["JWT"] = "JWT";
})(exports.MoEAuthenticationType || (exports.MoEAuthenticationType = {}));
/**
* JWT authentication error codes.
*/
exports.MoEJwtErrorCode = void 0;
(function (MoEJwtErrorCode) {
MoEJwtErrorCode["TimeConstraintFailure"] = "TIME_CONSTRAINT_FAILURE";
MoEJwtErrorCode["DecryptionFailed"] = "DECRYPTION_FAILED";
MoEJwtErrorCode["HeaderTypeIncompatible"] = "HEADER_TYPE_INCOMPATIBLE";
MoEJwtErrorCode["PayloadContentMissing"] = "PAYLOAD_CONTENT_MISSING";
MoEJwtErrorCode["InvalidSignature"] = "INVALID_SIGNATURE";
MoEJwtErrorCode["IdentifierMismatch"] = "IDENTIFIER_MISMATCH";
MoEJwtErrorCode["Unknown"] = "UNKNOWN";
MoEJwtErrorCode["TokenNotAvailable"] = "TOKEN_NOT_AVAILABLE";
})(exports.MoEJwtErrorCode || (exports.MoEJwtErrorCode = {}));
const MoECapacitorCore = core.registerPlugin('MoECapacitorCore', {});
exports.MoECapacitorCore = MoECapacitorCore;
//# sourceMappingURL=plugin.cjs.js.map