Built motion from commit 8a44b97.|0.0.56
[motion.git] / server / models / user_has_voice_queue.js
1 var _0xf1c0=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x55\x73\x65\x72\x48\x61\x73\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x42\x4F\x4F\x4C\x45\x41\x4E","\x44\x41\x54\x45","\x49\x4E\x54\x45\x47\x45\x52","\x53\x54\x52\x49\x4E\x47","\x30","\x6C\x61\x73\x74\x63\x61\x6C\x6C","\x73\x65\x74\x44\x61\x74\x61\x56\x61\x6C\x75\x65","\x46\x52\x4F\x4D\x5F\x55\x4E\x49\x58\x54\x49\x4D\x45","\x25\x59\x2D\x25\x6D\x2D\x25\x64\x20\x25\x48\x3A\x25\x69\x3A\x25\x73","\x66\x6E","\x73\x74\x61\x74\x75\x73","\x55\x4E\x4B\x4E\x4F\x57\x4E","\x4E\x4F\x54\x5F\x49\x4E\x55\x53\x45","\x31","\x49\x4E\x55\x53\x45","\x32","\x42\x55\x53\x59","\x33","\x49\x4E\x56\x41\x4C\x49\x44","\x34","\x55\x4E\x41\x56\x41\x49\x4C\x41\x42\x4C\x45","\x35","\x52\x49\x4E\x47\x49\x4E\x47","\x36","\x52\x49\x4E\x47\x49\x4E\x55\x53\x45","\x37","\x4F\x4E\x48\x4F\x4C\x44","\x38","\x73\x74\x61\x74\x75\x73\x64\x65\x73\x63","\x73\x74\x61\x74\x75\x73\x41\x74","\x4E\x4F\x57","\x70\x61\x75\x73\x65\x64","\x75\x73\x65\x72\x5F\x68\x61\x73\x5F\x76\x6F\x69\x63\x65\x5F\x71\x75\x65\x75\x65\x73","\x6D\x65\x6D\x62\x65\x72\x6E\x61\x6D\x65","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0xf1c0[0]);module[_0xf1c0[1]]=function(_0xa342x2,_0xa342x3){var _0xa342x4=_0xa342x2[_0xf1c0[37]](_0xf1c0[2],{logged:{type:_0xa342x3[_0xf1c0[3]],defaultValue:false},loggedAt:{type:_0xa342x3[_0xf1c0[4]]},ringinuse:{type:_0xa342x3[_0xf1c0[3]]},penalty:{type:_0xa342x3[_0xf1c0[5]],defaultValue:0},stateinterface:{type:_0xa342x3[_0xf1c0[6]]},queue:{type:_0xa342x3[_0xf1c0[6]]},membername:{type:_0xa342x3[_0xf1c0[6]]},interface:{type:_0xa342x3[_0xf1c0[6]]},membership:{type:_0xa342x3[_0xf1c0[6]]},callstaken:{type:_0xa342x3[_0xf1c0[5]]},lastcall:{type:_0xa342x3[_0xf1c0[4]],set:function(_0xa342x5){if(_0xa342x5===_0xf1c0[7]){this[_0xf1c0[9]](_0xf1c0[8],null)}else {this[_0xf1c0[9]](_0xf1c0[8],_0xa342x2[_0xf1c0[12]](_0xf1c0[10],_0xa342x5,_0xf1c0[11]))}}},status:{type:_0xa342x3[_0xf1c0[5]],set:function(_0xa342x6){this[_0xf1c0[9]](_0xf1c0[13],_0xa342x6);var _0xa342x7=_0xf1c0[14];switch(_0xa342x6){case _0xf1c0[7]:_0xa342x7=_0xf1c0[14];break;case _0xf1c0[16]:_0xa342x7=_0xf1c0[15];break;case _0xf1c0[18]:_0xa342x7=_0xf1c0[17];break;case _0xf1c0[20]:_0xa342x7=_0xf1c0[19];break;case _0xf1c0[22]:_0xa342x7=_0xf1c0[21];break;case _0xf1c0[24]:_0xa342x7=_0xf1c0[23];break;case _0xf1c0[26]:_0xa342x7=_0xf1c0[25];break;case _0xf1c0[28]:_0xa342x7=_0xf1c0[27];break;case _0xf1c0[30]:_0xa342x7=_0xf1c0[29];break};this[_0xf1c0[9]](_0xf1c0[31],_0xa342x7);this[_0xf1c0[9]](_0xf1c0[32],_0xa342x2[_0xf1c0[12]](_0xf1c0[33]))}},statusdesc:{type:_0xa342x3[_0xf1c0[6]]},statusAt:{type:_0xa342x3[_0xf1c0[4]]},paused:{type:_0xa342x3[_0xf1c0[3]],defaultValue:false,set:function(_0xa342x8){this[_0xf1c0[9]](_0xf1c0[34],parseInt(_0xa342x8,10)?true:false)}},pausedAt:{type:_0xa342x3[_0xf1c0[4]]},reason:{type:_0xa342x3[_0xf1c0[6]]}},{tableName:_0xf1c0[35],indexes:[{name:_0xf1c0[36],fields:[_0xf1c0[36]]}]});return _0xa342x4}