caa75d07bae03965c311dbd1e1d15c0b96b186d5
[motion-next.git] / server / config / seedDB / dispositions.js
1 const a1023_0x5478=['Dispositions\x20have\x20been\x20created','../../mysqldb','Sold','error','Disposition','create','Fax','bulkCreate','then','catch','Special','info','Not\x20Interested','../logger','Can\x27t\x20create\x20Companies','app','Interested'];(function(_0x46c02c,_0x14804b){const _0x5478b8=function(_0x3c2174){while(--_0x3c2174){_0x46c02c['push'](_0x46c02c['shift']());}};_0x5478b8(++_0x14804b);}(a1023_0x5478,0xb1));const a1023_0x3c21=function(_0x46c02c,_0x14804b){_0x46c02c=_0x46c02c-0x11c;let _0x5478b8=a1023_0x5478[_0x46c02c];return _0x5478b8;};const a1023_0x533769=a1023_0x3c21;'use strict';const {db}=require(a1023_0x533769(0x127)),logger=require(a1023_0x533769(0x122))(a1023_0x533769(0x124)),dispositions=[{'name':a1023_0x533769(0x12c)},{'name':'Answer\x20Machine'},{'name':a1023_0x533769(0x125)},{'name':a1023_0x533769(0x121)},{'name':a1023_0x533769(0x128)},{'name':a1023_0x533769(0x11f)}];exports[a1023_0x533769(0x12b)]=function(){const _0x4971af=a1023_0x533769;return db[_0x4971af(0x12a)][_0x4971af(0x11c)](dispositions,{'ignoreDuplicates':!![],'individualHooks':!![]})[_0x4971af(0x11d)](function(){const _0x42b3cd=_0x4971af;logger[_0x42b3cd(0x120)](_0x42b3cd(0x126));})[_0x4971af(0x11e)](function(){const _0x39c986=_0x4971af;logger[_0x39c986(0x129)](_0x39c986(0x123));});};