Built motion from commit bfc7a72f7045b27461c9a5d1f71c1a658cfd0b8b. Version 3.0.0...
[motion-next.git] / server / config / seedDB / companies.js
index 1918560..4802c4d 100644 (file)
@@ -1 +1 @@
-const a857_0x40ec=['www.xcallymotion.com','app','catch','Turin','+3901119886500','xcally.com','Corso\x20Vittorio\x20Emanuele\x20II,\x20111','CmCompany','../../mysqldb','10128','+390110960070','Companies\x20have\x20been\x20created','error','create','09668910012','info@xcally.com','bulkCreate','info'];(function(_0x44e173,_0x40ec74){const _0x163b2b=function(_0x19fcd7){while(--_0x19fcd7){_0x44e173['push'](_0x44e173['shift']());}};_0x163b2b(++_0x40ec74);}(a857_0x40ec,0x13e));const a857_0x163b=function(_0x44e173,_0x40ec74){_0x44e173=_0x44e173-0x0;let _0x163b2b=a857_0x40ec[_0x44e173];return _0x163b2b;};const _0x45712e=a857_0x163b;'use strict';const db=require(_0x45712e('0xe'))['db'],logger=require('../logger')(_0x45712e('0x7')),companies=[{'id':0x1,'name':'Xenialab','type':'srl','vat':_0x45712e('0x2'),'phone':_0x45712e('0xa'),'fax':_0x45712e('0x10'),'website':_0x45712e('0x6'),'email':_0x45712e('0x3'),'emailDomain':_0x45712e('0xb'),'street':_0x45712e('0xc'),'postalCode':_0x45712e('0xf'),'city':_0x45712e('0x9'),'country':'Italy','description':'company\x20auto\x20generated'}];exports[_0x45712e('0x1')]=function(){const _0xc91322=_0x45712e;return db[_0xc91322('0xd')][_0xc91322('0x4')](companies,{'ignoreDuplicates':!![],'individualHooks':!![]})['then'](function(){const _0x56cd48=_0xc91322;logger[_0x56cd48('0x5')](_0x56cd48('0x11'));})[_0xc91322('0x8')](function(){const _0x3c8ebb=_0xc91322;logger[_0x3c8ebb('0x0')]('Can\x27t\x20create\x20Companies');});};
\ No newline at end of file
+const a857_0x3ac8=['www.xcallymotion.com','create','+3901119886500','app','09668910012','company\x20auto\x20generated','info@xcally.com','error','+390110960070','catch','xcally.com','../logger','Turin','info','Can\x27t\x20create\x20Companies','Xenialab','CmCompany','10128','../../mysqldb'];(function(_0x569b3c,_0x3ac834){const _0x4a1284=function(_0x2daf48){while(--_0x2daf48){_0x569b3c['push'](_0x569b3c['shift']());}};_0x4a1284(++_0x3ac834);}(a857_0x3ac8,0xc8));const a857_0x4a12=function(_0x569b3c,_0x3ac834){_0x569b3c=_0x569b3c-0x0;let _0x4a1284=a857_0x3ac8[_0x569b3c];return _0x4a1284;};const _0x19788f=a857_0x4a12;'use strict';const db=require(_0x19788f('0x8'))['db'],logger=require(_0x19788f('0x1'))(_0x19788f('0xc')),companies=[{'id':0x1,'name':_0x19788f('0x5'),'type':'srl','vat':_0x19788f('0xd'),'phone':_0x19788f('0xb'),'fax':_0x19788f('0x11'),'website':_0x19788f('0x9'),'email':_0x19788f('0xf'),'emailDomain':_0x19788f('0x0'),'street':'Corso\x20Vittorio\x20Emanuele\x20II,\x20111','postalCode':_0x19788f('0x7'),'city':_0x19788f('0x2'),'country':'Italy','description':_0x19788f('0xe')}];exports[_0x19788f('0xa')]=function(){const _0x19f8be=_0x19788f;return db[_0x19f8be('0x6')]['bulkCreate'](companies,{'ignoreDuplicates':!![],'individualHooks':!![]})['then'](function(){const _0x5f4d3e=_0x19f8be;logger[_0x5f4d3e('0x3')]('Companies\x20have\x20been\x20created');})[_0x19f8be('0x12')](function(){const _0x133d23=_0x19f8be;logger[_0x133d23('0x10')](_0x133d23('0x4'));});};
\ No newline at end of file