Built motion from commit 98bf79a.|0.0.48
[motion.git] / server / models / contact_phone.js
1 var _0xab8a=["\x65\x78\x70\x6F\x72\x74\x73","\x43\x6F\x6E\x74\x61\x63\x74\x50\x68\x6F\x6E\x65","\x53\x54\x52\x49\x4E\x47","\x63\x6F\x6E\x74\x61\x63\x74\x5F\x70\x68\x6F\x6E\x65\x73","\x63\x6F\x6E\x74\x61\x63\x74\x5F\x68\x61\x73\x5F\x70\x68\x6F\x6E\x65\x73","\x62\x65\x6C\x6F\x6E\x67\x73\x54\x6F\x4D\x61\x6E\x79","\x49\x6E\x62\x6F\x75\x6E\x64\x73","\x73\x6F\x75\x72\x63\x65","\x68\x61\x73\x4D\x61\x6E\x79","\x4F\x75\x74\x62\x6F\x75\x6E\x64\x73","\x64\x65\x73\x74\x69\x6E\x61\x74\x69\x6F\x6E","\x64\x65\x66\x69\x6E\x65"];module[_0xab8a[0]]=function(_0xfefbx1,_0xfefbx2){var _0xfefbx3=_0xfefbx1[_0xab8a[11]](_0xab8a[1],{phone:{type:_0xfefbx2[_0xab8a[2]],primaryKey:true}},{tableName:_0xab8a[3],associate:function(_0xfefbx4){_0xfefbx3[_0xab8a[5]](_0xfefbx4.Contact,{through:_0xab8a[4]});_0xfefbx3[_0xab8a[8]](_0xfefbx4.ReportCall,{as:_0xab8a[6],foreignKey:_0xab8a[7],constraints:false});_0xfefbx3[_0xab8a[8]](_0xfefbx4.ReportCall,{as:_0xab8a[9],foreignKey:_0xab8a[10],constraints:false})}});return _0xfefbx3}