const a18_0x3ab191=a18_0x2a4e;function a18_0xd8be(){const _0x71359b=['active','35797091yLOZlb','pending','1989040fXpFPG','1393hUvrEK','10hfNhNV','35nJQNOc','6728NfnSkn','1373892WZReCu','model','105993NKMoar','1936416BVqAIl','246298Rgjjhn','2bJHBId','inactive','index'];a18_0xd8be=function(){return _0x71359b;};return a18_0xd8be();}(function(_0x3912d0,_0x215246){const _0x1df3c2=a18_0x2a4e,_0x17a2d0=_0x3912d0();while(!![]){try{const _0x500576=parseInt(_0x1df3c2(0xda))/0x1*(parseInt(_0x1df3c2(0xd9))/0x2)+-parseInt(_0x1df3c2(0xd8))/0x3+-parseInt(_0x1df3c2(0xe0))/0x4+parseInt(_0x1df3c2(0xe3))/0x5*(-parseInt(_0x1df3c2(0xe5))/0x6)+parseInt(_0x1df3c2(0xe1))/0x7*(parseInt(_0x1df3c2(0xe4))/0x8)+-parseInt(_0x1df3c2(0xd7))/0x9+parseInt(_0x1df3c2(0xe2))/0xa*(parseInt(_0x1df3c2(0xde))/0xb);if(_0x500576===_0x215246)break;else _0x17a2d0['push'](_0x17a2d0['shift']());}catch(_0x242e83){_0x17a2d0['push'](_0x17a2d0['shift']());}}}(a18_0xd8be,0xde4db));import a18_0x250667 from'mongoose';const userSessionSchema=new a18_0x250667['Schema']({'userId':{'type':String,'required':!![]},'phoneNumber':{'type':String,'required':!![],'unique':!![]},'status':{'type':String,'enum':[a18_0x3ab191(0xdf),a18_0x3ab191(0xdd),a18_0x3ab191(0xdb)],'default':'pending'},'listening':{'type':Boolean,'default':![]},'lastConnectedAt':{'type':Date},'settings':{'prefix':{'type':String},'disabledCommands':{'type':[String],'default':undefined},'whatsappCommands':{'type':Boolean},'idleTimeMs':{'type':Number}},'updatedAt':{'type':Date,'default':Date['now']}});function a18_0x2a4e(_0x1cf978,_0xb31b42){_0x1cf978=_0x1cf978-0xd6;const _0xd8bed4=a18_0xd8be();let _0x2a4ed5=_0xd8bed4[_0x1cf978];return _0x2a4ed5;}userSessionSchema[a18_0x3ab191(0xdc)]({'userId':0x1,'status':0x1}),userSessionSchema['index']({'listening':0x1,'status':0x1});export default a18_0x250667[a18_0x3ab191(0xd6)]('UserSession',userSessionSchema);