Built motion from commit 8750aad.|0.0.41
[motion.git] / server / models / interval.js
1 var _0x2a4b=["\x75\x74\x69\x6C","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x75\x74\x69\x6C\x73\x2F\x76\x6F\x69\x63\x65\x5F\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x65\x78\x70\x6F\x72\x74\x73","\x49\x6E\x74\x65\x72\x76\x61\x6C","\x53\x54\x52\x49\x4E\x47","\x6E\x61\x6D\x65\x5F\x69\x6E\x74\x65\x72\x76\x61\x6C\x69\x64","\x69\x6E\x74\x65\x72\x76\x61\x6C\x73","\x53\x75\x62\x49\x6E\x74\x65\x72\x76\x61\x6C\x73","\x63\x61\x73\x63\x61\x64\x65","\x68\x61\x73\x4D\x61\x6E\x79","\x56\x6F\x69\x63\x65\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x73","\x4D\x61\x69\x6C\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x64\x65\x66\x69\x6E\x65"];var util=require(_0x2a4b[0]);var _=require(_0x2a4b[1]);var veUtil=require(_0x2a4b[2]);var Applications=veUtil[_0x2a4b[3]];module[_0x2a4b[4]]=function(_0xce70x5,_0xce70x6){var _0xce70x7=_0xce70x5[_0x2a4b[15]](_0x2a4b[5],{name:{type:_0xce70x6[_0x2a4b[6]],unique:_0x2a4b[7]},interval:{type:_0xce70x6[_0x2a4b[6]],allowNull:true},IntervalId:{type:_0xce70x6.INTEGER(11),unique:_0x2a4b[7]}},{tableName:_0x2a4b[8],associate:function(_0xce70x8){_0xce70x7[_0x2a4b[11]](_0xce70x8.Interval,{as:_0x2a4b[9],onDelete:_0x2a4b[10]});_0xce70x7[_0x2a4b[11]](_0xce70x8.VoiceExtension,{as:_0x2a4b[12]});_0xce70x7[_0x2a4b[11]](_0xce70x8.MailApplication,{as:_0x2a4b[13]});_0xce70x7[_0x2a4b[11]](_0xce70x8.MailApplication,{as:_0x2a4b[14]});}});return _0xce70x7;};