2018-07-09 17:27:12 +00:00
|
|
|
const PersistentSubscriptionNakEventAction = Object.freeze({
|
2016-03-11 06:57:39 +00:00
|
|
|
Unknown: 0,
|
|
|
|
Park: 1,
|
|
|
|
Retry: 2,
|
|
|
|
Skip: 3,
|
2018-07-09 17:27:12 +00:00
|
|
|
Stop: 4,
|
|
|
|
isValid: function(value) {
|
|
|
|
for(var k in PersistentSubscriptionNakEventAction) {
|
|
|
|
if (PersistentSubscriptionNakEventAction[k] === value) return true;
|
|
|
|
}
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
});
|
2016-03-11 06:57:39 +00:00
|
|
|
|
2018-07-09 17:27:12 +00:00
|
|
|
module.exports = PersistentSubscriptionNakEventAction;
|