Built motion from commit 3000230.|0.0.51
[motion.git] / server / models / variable.js
1 var _0xe6ac=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x6F\x72\x74\x73","\x56\x61\x72\x69\x61\x62\x6C\x65","\x53\x54\x52\x49\x4E\x47","\x76\x61\x72\x69\x61\x62\x6C\x65\x73","\x68\x61\x73\x4D\x61\x6E\x79","\x66\x69\x65\x6C\x64\x73","\x61\x64\x64\x53\x63\x6F\x70\x65","\x64\x65\x66\x69\x6E\x65"];_0xe6ac[0];module[_0xe6ac[1]]=function(_0x2dbfx1,_0x2dbfx2){var _0x2dbfx3=_0x2dbfx1[_0xe6ac[8]](_0xe6ac[2],{name:{type:_0x2dbfx2[_0xe6ac[3]],unique:true,allowNull:false,validate:{notEmpty:true}},description:_0x2dbfx2[_0xe6ac[3]]},{tableName:_0xe6ac[4],associate:function(_0x2dbfx4){_0x2dbfx3[_0xe6ac[5]](_0x2dbfx4.ZendeskField);_0x2dbfx3[_0xe6ac[5]](_0x2dbfx4.DeskField);_0x2dbfx3[_0xe6ac[5]](_0x2dbfx4.SalesforceField);_0x2dbfx3[_0xe6ac[5]](_0x2dbfx4.FreshdeskField);_0x2dbfx3[_0xe6ac[5]](_0x2dbfx4.SugarcrmField);_0x2dbfx3[_0xe6ac[7]](_0xe6ac[6],{include:[{all:true}]})}});return _0x2dbfx3}