capacitor-moengage-core
Version:
MoEngage is a mobile marketing automation company. This capacitor SDK helps you track events, trigger smart notifications.
89 lines • 2.87 kB
JavaScript
/**
* User attribute Gender options
*/
export var MoEUserGender;
(function (MoEUserGender) {
MoEUserGender["MALE"] = "male";
MoEUserGender["FEMALE"] = "female";
MoEUserGender["OTHER"] = "other";
})(MoEUserGender || (MoEUserGender = {}));
/**
* Status of the application.
*/
export var MoEAppStatus;
(function (MoEAppStatus) {
/**
* Fresh installation of the app instance.
*/
MoEAppStatus["INSTALL"] = "install";
/**
* App was already present and user has updated the app.
*/
MoEAppStatus["UPDATE"] = "update";
})(MoEAppStatus || (MoEAppStatus = {}));
/**
* InApp Action type
*/
export var MoEInAppActionType;
(function (MoEInAppActionType) {
MoEInAppActionType["NAVIGATION"] = "navigation";
MoEInAppActionType["CUSTOM"] = "custom";
})(MoEInAppActionType || (MoEInAppActionType = {}));
/**
* Platform Data
*/
export var MoEPlatform;
(function (MoEPlatform) {
MoEPlatform["iOS"] = "iOS";
MoEPlatform["ANDROID"] = "android";
})(MoEPlatform || (MoEPlatform = {}));
/**
* Supported push services
*/
export var MoEPushService;
(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";
})(MoEPushService || (MoEPushService = {}));
/**
* Permission Type
*/
export var MoEPermissionType;
(function (MoEPermissionType) {
MoEPermissionType["PUSH"] = "push";
})(MoEPermissionType || (MoEPermissionType = {}));
/**
* Nudge Position values
*/
export var MoENudgePosition;
(function (MoENudgePosition) {
MoENudgePosition["Top"] = "top";
MoENudgePosition["Bottom"] = "bottom";
MoENudgePosition["BottomLeft"] = "bottomLeft";
MoENudgePosition["BottomRight"] = "bottomRight";
MoENudgePosition["Any"] = "any";
})(MoENudgePosition || (MoENudgePosition = {}));
/**
* Authentication type.
*/
export var MoEAuthenticationType;
(function (MoEAuthenticationType) {
MoEAuthenticationType["JWT"] = "JWT";
})(MoEAuthenticationType || (MoEAuthenticationType = {}));
/**
* JWT authentication error codes.
*/
export var MoEJwtErrorCode;
(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";
})(MoEJwtErrorCode || (MoEJwtErrorCode = {}));
//# sourceMappingURL=definitions.js.map