Built motion from commit 6132600.|0.0.40
[motion.git] / server / models / fax_account.js
1 var _0xa852=["\x63\x72\x79\x70\x74\x6F","\x65\x78\x70\x6F\x72\x74\x73","\x46\x61\x78\x41\x63\x63\x6F\x75\x6E\x74","\x53\x54\x52\x49\x4E\x47","\x42\x4F\x4F\x4C\x45\x41\x4E","\x39\x36\x30\x30","\x31\x34\x34\x30\x30","\x33\x33\x36\x30\x30","\x66\x61\x78\x5F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F","\x68\x61\x73\x4D\x61\x6E\x79","\x64\x65\x66\x69\x6E\x65"];var crypto=require(_0xa852[0]);module[_0xa852[1]]=function(_0x8546x2,_0x8546x3){var _0x8546x4=_0x8546x2[_0xa852[11]](_0xa852[2],{description:_0x8546x3[_0xa852[3]],name:_0x8546x3[_0xa852[3]],phone:{type:_0x8546x3[_0xa852[3]],unique:true},ecm:{type:_0x8546x3[_0xa852[4]],defaultValue:false},faxheader:_0x8546x3[_0xa852[3]],localid:_0x8546x3[_0xa852[3]],maxrate:{type:_0x8546x3.ENUM(_0xa852[5],_0xa852[6],_0xa852[7]),defaultValue:_0xa852[7]},minrate:{type:_0x8546x3.ENUM(_0xa852[5],_0xa852[6],_0xa852[7]),defaultValue:_0xa852[5]}},{tableName:_0xa852[8],associate:function(_0x8546x5){_0x8546x4[_0xa852[9]](_0x8546x5.Trunk);_0x8546x4[_0xa852[10]](_0x8546x5.FaxRoom);_0x8546x4[_0xa852[10]](_0x8546x5.FaxApplication);}});return _0x8546x4;};