Built motion from commit 973e3e332e1c8e2f84c4b0cd2e5af794131724f5. Version 3.0.0...
[motion-next.git] / server / config / seedContact.js
index 96b0c3d..4ecb803 100644 (file)
@@ -1 +1 @@
-const a853_0x3a0c=['Biondo','then','hopper2','contacts2','catch','now','finished\x20populating','bulkCreate','destroy','log','@xcally.com','push','CmContact','innocenzo.biondo','CmHopper','Innocenzo','hopper1','contacts1'];(function(_0x5557dd,_0x3a0c96){const _0x5c48fd=function(_0x11e9d6){while(--_0x11e9d6){_0x5557dd['push'](_0x5557dd['shift']());}};_0x5c48fd(++_0x3a0c96);}(a853_0x3a0c,0x194));const a853_0x5c48=function(_0x5557dd,_0x3a0c96){_0x5557dd=_0x5557dd-0x0;let _0x5c48fd=a853_0x3a0c[_0x5557dd];return _0x5c48fd;};const _0x36ebc5=a853_0x5c48;'use strict';const db=require('../mysqldb')['db'],contacts=[],hopper=[],contacts2=[],hopper2=[];for(let i=0x1;i<=0x4b0;i+=0x1){contacts['push']({'id':i,'firstName':_0x36ebc5('0x7')+i,'lastName':_0x36ebc5('0xa')+i,'phone':0xf879fb460+i,'email':_0x36ebc5('0x5')+i+_0x36ebc5('0x2')});}for(let i=0x1;i<=0x4b0;i+=0x1){hopper[_0x36ebc5('0x3')]({'id':i,'active':![],'scheduledat':Date[_0x36ebc5('0xf')](),'countbusyretry':0x0,'countcongestionretry':0x0,'countnoanswerretry':0x0,'ContactId':i,'ListId':0x1,'UserId':0x1,'VoiceQueueId':0x3fd,'createdAt':Date['now'](),'updatedAt':Date['now']()});}for(let i=0x4b1;i<=0x960;i+=0x1){contacts2['push']({'id':i,'firstName':_0x36ebc5('0x7')+i,'lastName':'Biondo'+i,'phone':0xf879fb460+i,'email':_0x36ebc5('0x5')+i+_0x36ebc5('0x2')});}for(let i=0x4b1;i<=0x960;i+=0x1){hopper2[_0x36ebc5('0x3')]({'id':i,'active':![],'scheduledat':Date['now'](),'countbusyretry':0x0,'countcongestionretry':0x0,'countnoanswerretry':0x0,'ContactId':i,'ListId':0x1,'UserId':0x1,'VoiceQueueId':0x3fd,'createdAt':Date[_0x36ebc5('0xf')](),'updatedAt':Date[_0x36ebc5('0xf')]()});}db['CmContact'][_0x36ebc5('0x0')]({'where':{}})[_0x36ebc5('0xb')](function(){const _0x3fa896=_0x36ebc5;return db[_0x3fa896('0x4')]['bulkCreate'](contacts);})['then'](function(){const _0x10bda2=_0x36ebc5;return console[_0x10bda2('0x1')]('finished\x20populating',_0x10bda2('0x9')),db[_0x10bda2('0x6')][_0x10bda2('0x0')]({'where':{}});})[_0x36ebc5('0xb')](function(){const _0x4329a5=_0x36ebc5;return db[_0x4329a5('0x6')][_0x4329a5('0x11')](hopper);})[_0x36ebc5('0xb')](function(){const _0x35bc3b=_0x36ebc5;return console[_0x35bc3b('0x1')](_0x35bc3b('0x10'),_0x35bc3b('0x8')),db[_0x35bc3b('0x4')][_0x35bc3b('0x11')](contacts2);})[_0x36ebc5('0xb')](function(){const _0x11bd15=_0x36ebc5;return console[_0x11bd15('0x1')]('finished\x20populating',_0x11bd15('0xd')),db[_0x11bd15('0x6')]['bulkCreate'](hopper2);})[_0x36ebc5('0xb')](function(){const _0x4c17e6=_0x36ebc5;console['log'](_0x4c17e6('0x10'),_0x4c17e6('0xc'));})[_0x36ebc5('0xe')](function(_0x11e9d6){const _0x4756c=_0x36ebc5;console[_0x4756c('0x1')](_0x11e9d6);});
\ No newline at end of file
+const a853_0x1bbd=['push','Biondo','destroy','innocenzo.biondo','../mysqldb','hopper1','now','Innocenzo','then','log','CmHopper','hopper2','contacts2','bulkCreate','catch','CmContact','finished\x20populating','contacts1','@xcally.com'];(function(_0x5152bb,_0x1bbd47){const _0x388c8f=function(_0x3c2b75){while(--_0x3c2b75){_0x5152bb['push'](_0x5152bb['shift']());}};_0x388c8f(++_0x1bbd47);}(a853_0x1bbd,0x103));const a853_0x388c=function(_0x5152bb,_0x1bbd47){_0x5152bb=_0x5152bb-0x0;let _0x388c8f=a853_0x1bbd[_0x5152bb];return _0x388c8f;};const _0x4655dc=a853_0x388c;'use strict';const db=require(_0x4655dc('0xb'))['db'],contacts=[],hopper=[],contacts2=[],hopper2=[];for(let i=0x1;i<=0x4b0;i+=0x1){contacts[_0x4655dc('0x7')]({'id':i,'firstName':_0x4655dc('0xe')+i,'lastName':'Biondo'+i,'phone':0xf879fb460+i,'email':_0x4655dc('0xa')+i+'@xcally.com'});}for(let i=0x1;i<=0x4b0;i+=0x1){hopper[_0x4655dc('0x7')]({'id':i,'active':![],'scheduledat':Date[_0x4655dc('0xd')](),'countbusyretry':0x0,'countcongestionretry':0x0,'countnoanswerretry':0x0,'ContactId':i,'ListId':0x1,'UserId':0x1,'VoiceQueueId':0x3fd,'createdAt':Date[_0x4655dc('0xd')](),'updatedAt':Date[_0x4655dc('0xd')]()});}for(let i=0x4b1;i<=0x960;i+=0x1){contacts2[_0x4655dc('0x7')]({'id':i,'firstName':'Innocenzo'+i,'lastName':_0x4655dc('0x8')+i,'phone':0xf879fb460+i,'email':'innocenzo.biondo'+i+_0x4655dc('0x6')});}for(let i=0x4b1;i<=0x960;i+=0x1){hopper2['push']({'id':i,'active':![],'scheduledat':Date['now'](),'countbusyretry':0x0,'countcongestionretry':0x0,'countnoanswerretry':0x0,'ContactId':i,'ListId':0x1,'UserId':0x1,'VoiceQueueId':0x3fd,'createdAt':Date['now'](),'updatedAt':Date['now']()});}db[_0x4655dc('0x3')][_0x4655dc('0x9')]({'where':{}})[_0x4655dc('0xf')](function(){const _0x3a27e1=_0x4655dc;return db[_0x3a27e1('0x3')][_0x3a27e1('0x1')](contacts);})['then'](function(){const _0x3e5f09=_0x4655dc;return console[_0x3e5f09('0x10')]('finished\x20populating',_0x3e5f09('0x5')),db[_0x3e5f09('0x11')][_0x3e5f09('0x9')]({'where':{}});})[_0x4655dc('0xf')](function(){const _0x1c0540=_0x4655dc;return db[_0x1c0540('0x11')][_0x1c0540('0x1')](hopper);})[_0x4655dc('0xf')](function(){const _0x2615bb=_0x4655dc;return console[_0x2615bb('0x10')](_0x2615bb('0x4'),_0x2615bb('0xc')),db[_0x2615bb('0x3')][_0x2615bb('0x1')](contacts2);})[_0x4655dc('0xf')](function(){const _0x2c3b88=_0x4655dc;return console['log'](_0x2c3b88('0x4'),_0x2c3b88('0x0')),db[_0x2c3b88('0x11')][_0x2c3b88('0x1')](hopper2);})['then'](function(){const _0x52aed7=_0x4655dc;console['log'](_0x52aed7('0x4'),_0x52aed7('0x12'));})[_0x4655dc('0x2')](function(_0x3c2b75){const _0x3e6df3=_0x4655dc;console[_0x3e6df3('0x10')](_0x3c2b75);});
\ No newline at end of file