Heino / models /Notification.js
Mervvebulx's picture
Heino bot dosyaları güncellendi
1c25da5 verified
Raw History Blame Contribute Delete
1.83 kB
function a16_0x125c(_0x97fd4a,_0x17c6db){_0x97fd4a=_0x97fd4a-0x1c4;const _0x373757=a16_0x3737();let _0x125cce=_0x373757[_0x97fd4a];return _0x125cce;}const a16_0x5cabf3=a16_0x125c;(function(_0x70e531,_0x4b695c){const _0x5dc613=a16_0x125c,_0x101bdb=_0x70e531();while(!![]){try{const _0x268e5a=-parseInt(_0x5dc613(0x1cf))/0x1+-parseInt(_0x5dc613(0x1cc))/0x2+parseInt(_0x5dc613(0x1c9))/0x3+-parseInt(_0x5dc613(0x1ca))/0x4*(-parseInt(_0x5dc613(0x1cd))/0x5)+parseInt(_0x5dc613(0x1d1))/0x6*(parseInt(_0x5dc613(0x1c8))/0x7)+parseInt(_0x5dc613(0x1d3))/0x8*(-parseInt(_0x5dc613(0x1c5))/0x9)+-parseInt(_0x5dc613(0x1c4))/0xa*(-parseInt(_0x5dc613(0x1cb))/0xb);if(_0x268e5a===_0x4b695c)break;else _0x101bdb['push'](_0x101bdb['shift']());}catch(_0x4d20e1){_0x101bdb['push'](_0x101bdb['shift']());}}}(a16_0x3737,0x1b3ef));import a16_0xd79385 from'mongoose';const notificationSchema=new a16_0xd79385[(a16_0x5cabf3(0x1c7))]({'userId':{'type':String,'required':!![]},'consumer':{'type':String,'default':a16_0x5cabf3(0x1ce)},'phoneNumber':{'type':String,'default':null},'jobId':{'type':String},'event':{'type':String,'required':!![]},'data':{'type':a16_0xd79385[a16_0x5cabf3(0x1c7)]['Types'][a16_0x5cabf3(0x1d2)],'default':{}},'createdAt':{'type':Date,'default':Date[a16_0x5cabf3(0x1d4)]},'expiresAt':{'type':Date}});function a16_0x3737(){const _0x3837eb=['Mixed','114664JAdmqF','now','454620oHMQpz','99pbsBrR','model','Schema','406616kNwomO','152784klteZr','75308BAlKZk','22dKIyrt','249428iDqIQN','40ViGCOy','default','14668UnamFW','Notification','12LlnhjQ'];a16_0x3737=function(){return _0x3837eb;};return a16_0x3737();}notificationSchema['index']({'userId':0x1,'consumer':0x1,'_id':0x1}),notificationSchema['index']({'expiresAt':0x1},{'expireAfterSeconds':0x0});export default a16_0xd79385[a16_0x5cabf3(0x1c6)](a16_0x5cabf3(0x1d0),notificationSchema);