Built motion from commit f861bcb808219e66da88ba48b61bddb35224a65e. Version 3.0.0...
[motion-next.git] / server / migrations / 2.0.71.js
index 20a8e63..9b290b3 100644 (file)
@@ -1 +1 @@
-'use strict';const a1119_0xcfa5=['chatTimeout','final','settings','520327XDHwcx','BOOLEAN','systemAvatar','table\x20dropped\x20%s','Added\x20column\x20%s\x20to\x20%s','dropTable','info','4138Revjby','license','catch','sequence','76107IGOswb','Changed\x20column\x20%s\x20in\x20table\x20%s','then','Removed\x20column\x20%s\x20from\x20%s','query\x20%s','removeIndex','queueTransfer','migration','removeIndex\x20%s\x20%s','enableCustomerCheckmarks','agentTransferTimeout','12274QnhbJc','Renamed\x20column\x20from\x20%s\x20to\x20%s\x20on\x20%s','openchannel_accounts','renameColumn','removeColumn','1MDrBPB','addIndex\x20%s\x20%s\x20%s','query','STRING','28zicBQs','chat_websites','queueTransferTimeout','sequelize','TEXT','fax_accounts','tools_actions','UPDATE\x20settings\x20SET\x20chatTimeout\x20=\x200;','agentTransfer','util','144280IkGDuL','resolve','53fRHBpL','stringify','systemAlias','addIndex','657537EKcEWA','prototype','addColumn','queryInterface','INTEGER','499889FeZuoM','sms_accounts','tail','changeColumn','5bOBMMz','chatLicenseExceeded','enqueue','1WYJdZi','join','@config/logger','inspect'];const a1119_0x2d56=function(_0x141782,_0x279833){_0x141782=_0x141782-0x7a;let _0xcfa517=a1119_0xcfa5[_0x141782];return _0xcfa517;};const a1119_0x150731=a1119_0x2d56;(function(_0x4155d9,_0x3c413c){const _0x3cd8d7=a1119_0x2d56;while(!![]){try{const _0xd964c5=-parseInt(_0x3cd8d7(0xb7))*-parseInt(_0x3cd8d7(0x84))+-parseInt(_0x3cd8d7(0xb9))*-parseInt(_0x3cd8d7(0x95))+parseInt(_0x3cd8d7(0x7b))*-parseInt(_0x3cd8d7(0xa9))+-parseInt(_0x3cd8d7(0x99))+-parseInt(_0x3cd8d7(0xa4))*-parseInt(_0x3cd8d7(0xad))+-parseInt(_0x3cd8d7(0x87))*parseInt(_0x3cd8d7(0x80))+parseInt(_0x3cd8d7(0x8e));if(_0xd964c5===_0x3c413c)break;else _0x4155d9['push'](_0x4155d9['shift']());}catch(_0x22c73a){_0x4155d9['push'](_0x4155d9['shift']());}}}(a1119_0xcfa5,0x8b72c));const util=require(a1119_0x150731(0xb6)),logger=require(a1119_0x150731(0x89))(a1119_0x150731(0xa0)),Sequence=function(){};Sequence[a1119_0x150731(0x7c)][a1119_0x150731(0x86)]=function(_0x1ac394){const _0x42e03f=a1119_0x150731;this[_0x42e03f(0x82)]=this['tail']?this[_0x42e03f(0x82)]['finally'](_0x1ac394):_0x1ac394();};const Migration=function(_0x3a9c51){const _0x574605=a1119_0x150731;this[_0x574605(0x7e)]=_0x3a9c51,this[_0x574605(0x98)]=new Sequence();};Migration[a1119_0x150731(0x7c)][a1119_0x150731(0x83)]=function(_0x28b8aa,_0x1e8c0c,_0x343b36){const _0x47794a=a1119_0x150731,_0x15d098=this;this[_0x47794a(0x98)][_0x47794a(0x86)](function(){const _0x2112a7=_0x47794a;return _0x15d098[_0x2112a7(0x7e)][_0x2112a7(0x83)](_0x28b8aa,_0x1e8c0c,_0x343b36)[_0x2112a7(0x9b)](function(){const _0x1cfb50=_0x2112a7;logger['info'](_0x1cfb50(0x9a),_0x1e8c0c,_0x28b8aa);})[_0x2112a7(0x97)](function(_0x37cb6e){const _0x30f464=_0x2112a7;logger[_0x30f464(0x94)](JSON[_0x30f464(0xba)](_0x37cb6e));});});},Migration[a1119_0x150731(0x7c)][a1119_0x150731(0x7d)]=function(_0x1ca1d1,_0x1834f9,_0x4a63be){const _0x44cbc4=a1119_0x150731,_0x1373bf=this;this[_0x44cbc4(0x98)][_0x44cbc4(0x86)](function(){const _0x132024=_0x44cbc4;return _0x1373bf['queryInterface'][_0x132024(0x7d)](_0x1ca1d1,_0x1834f9,_0x4a63be)['then'](function(){const _0x118208=_0x132024;logger[_0x118208(0x94)](_0x118208(0x92),_0x1834f9,_0x1ca1d1);})[_0x132024(0x97)](function(_0x35c853){const _0x4f8c43=_0x132024;logger[_0x4f8c43(0x94)](JSON[_0x4f8c43(0xba)](_0x35c853));});});},Migration[a1119_0x150731(0x7c)]['dropTable']=function(_0x7a7fff){const _0x2e8081=this;this['sequence']['enqueue'](function(){const _0xf592c6=a1119_0x2d56;return _0x2e8081['queryInterface'][_0xf592c6(0x93)](_0x7a7fff,{'force':!![]})['then'](function(){const _0x107b21=_0xf592c6;logger[_0x107b21(0x94)](_0x107b21(0x91),_0x7a7fff);})[_0xf592c6(0x97)](function(_0xf4260e){const _0x53a70e=_0xf592c6;logger[_0x53a70e(0x94)](JSON[_0x53a70e(0xba)](_0xf4260e));});});},Migration[a1119_0x150731(0x7c)][a1119_0x150731(0x7a)]=function(_0x1a7dc0,_0x218a45,_0x3cdc2f){const _0x31949e=a1119_0x150731,_0x3b4639=this;this['sequence'][_0x31949e(0x86)](function(){const _0x24e0fa=_0x31949e;return _0x3b4639['queryInterface'][_0x24e0fa(0x7a)](_0x1a7dc0,_0x218a45,{'indexName':_0x3cdc2f})[_0x24e0fa(0x9b)](function(){const _0xd5bd43=_0x24e0fa;logger[_0xd5bd43(0x94)](_0xd5bd43(0xaa),_0x1a7dc0,_0x218a45[_0xd5bd43(0x88)](','),_0x3cdc2f);})[_0x24e0fa(0x97)](function(_0x569f8d){const _0x2b6810=_0x24e0fa;logger[_0x2b6810(0x94)](JSON[_0x2b6810(0xba)](_0x569f8d));});});},Migration[a1119_0x150731(0x7c)][a1119_0x150731(0x9e)]=function(_0x24327f,_0x53c884){const _0x19b7db=a1119_0x150731,_0x34582a=this;this[_0x19b7db(0x98)][_0x19b7db(0x86)](function(){const _0x7e6c37=_0x19b7db;return _0x34582a[_0x7e6c37(0x7e)][_0x7e6c37(0x9e)](_0x24327f,_0x53c884)[_0x7e6c37(0x9b)](function(){const _0xc01f9e=_0x7e6c37;logger[_0xc01f9e(0x94)](_0xc01f9e(0xa1),_0x24327f,_0x53c884);})[_0x7e6c37(0x97)](function(_0x29b82b){const _0x25084a=_0x7e6c37;logger[_0x25084a(0x94)](JSON['stringify'](_0x29b82b));});});},Migration[a1119_0x150731(0x7c)][a1119_0x150731(0xab)]=function(_0x3c02da){const _0x2c190e=a1119_0x150731,_0x20fd0e=this;this[_0x2c190e(0x98)]['enqueue'](function(){const _0x4705f4=_0x2c190e;return _0x20fd0e[_0x4705f4(0x7e)][_0x4705f4(0xb0)][_0x4705f4(0xab)](_0x3c02da)[_0x4705f4(0x9b)](function(){const _0x15a37d=_0x4705f4;logger[_0x15a37d(0x94)](_0x15a37d(0x9d),_0x3c02da);})[_0x4705f4(0x97)](function(_0x4ed046){const _0x2f234b=_0x4705f4;logger[_0x2f234b(0x94)](JSON[_0x2f234b(0xba)](_0x4ed046));});});},Migration['prototype'][a1119_0x150731(0xa8)]=function(_0xbdb8d4,_0x5c3399){const _0x44eff4=a1119_0x150731,_0x52b2de=this;this[_0x44eff4(0x98)][_0x44eff4(0x86)](function(){const _0x495a53=_0x44eff4;return _0x52b2de[_0x495a53(0x7e)][_0x495a53(0xa8)](_0xbdb8d4,_0x5c3399)[_0x495a53(0x9b)](function(){const _0x48372d=_0x495a53;logger[_0x48372d(0x94)](_0x48372d(0x9c),_0x5c3399,_0xbdb8d4);})['catch'](function(_0x4ea79a){const _0x2cfbf8=_0x495a53;logger['info'](util[_0x2cfbf8(0x8a)](_0x4ea79a,{'showHidden':![],'depth':null}));});});},Migration['prototype'][a1119_0x150731(0xa7)]=function(_0x1bb7c4,_0x33cf1a,_0x197ca6){const _0x2dc317=a1119_0x150731,_0x583519=this;this[_0x2dc317(0x98)][_0x2dc317(0x86)](function(){const _0x232534=_0x2dc317;return _0x583519[_0x232534(0x7e)][_0x232534(0xa7)](_0x1bb7c4,_0x33cf1a,_0x197ca6)['then'](function(){const _0x71227d=_0x232534;logger['info'](_0x71227d(0xa5),_0x33cf1a,_0x197ca6,_0x1bb7c4);})[_0x232534(0x97)](function(_0x51812a){const _0x3bb5f8=_0x232534;logger[_0x3bb5f8(0x94)](util[_0x3bb5f8(0x8a)](_0x51812a,{'showHidden':![],'depth':null}));});});},Migration[a1119_0x150731(0x7c)][a1119_0x150731(0x8c)]=function(_0xff3133){const _0x1ed832=a1119_0x150731;this[_0x1ed832(0x98)][_0x1ed832(0x86)](function(){return _0xff3133();});},module['exports']={'up':function(_0x2d785b,_0x2a94de){return new Promise(function(_0xceb06){const _0x3086f4=a1119_0x2d56,_0x49cf58=new Migration(_0x2d785b);_0x49cf58[_0x3086f4(0x7d)](_0x3086f4(0xae),_0x3086f4(0x9f),{'type':_0x2a94de[_0x3086f4(0x8f)],'defaultValue':![]}),_0x49cf58[_0x3086f4(0x7d)](_0x3086f4(0xae),_0x3086f4(0xa2),{'type':_0x2a94de[_0x3086f4(0x8f)],'defaultValue':![]}),_0x49cf58[_0x3086f4(0x7d)](_0x3086f4(0xae),_0x3086f4(0xaf),{'type':_0x2a94de[_0x3086f4(0x7f)],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c}),_0x49cf58['addColumn']('chat_websites',_0x3086f4(0xb5),{'type':_0x2a94de[_0x3086f4(0x8f)],'defaultValue':![]}),_0x49cf58['addColumn'](_0x3086f4(0xae),_0x3086f4(0xa3),{'type':_0x2a94de[_0x3086f4(0x7f)],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c}),_0x49cf58[_0x3086f4(0x7d)]('chat_websites',_0x3086f4(0xbb),{'type':_0x2a94de[_0x3086f4(0xac)],'defaultValue':'System'}),_0x49cf58['addColumn'](_0x3086f4(0xae),_0x3086f4(0x90),{'type':_0x2a94de['TEXT']}),_0x49cf58[_0x3086f4(0x7d)]('fax_accounts',_0x3086f4(0x9f),{'type':_0x2a94de[_0x3086f4(0x8f)],'defaultValue':![]}),_0x49cf58[_0x3086f4(0x7d)](_0x3086f4(0xb2),_0x3086f4(0xaf),{'type':_0x2a94de[_0x3086f4(0x7f)],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c}),_0x49cf58[_0x3086f4(0x7d)](_0x3086f4(0xb2),_0x3086f4(0xb5),{'type':_0x2a94de[_0x3086f4(0x8f)],'defaultValue':![]}),_0x49cf58[_0x3086f4(0x7d)](_0x3086f4(0xb2),'agentTransferTimeout',{'type':_0x2a94de[_0x3086f4(0x7f)],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c}),_0x49cf58['addColumn'](_0x3086f4(0xa6),'queueTransfer',{'type':_0x2a94de['BOOLEAN'],'defaultValue':![]}),_0x49cf58[_0x3086f4(0x7d)](_0x3086f4(0xa6),_0x3086f4(0xaf),{'type':_0x2a94de[_0x3086f4(0x7f)],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c}),_0x49cf58['addColumn'](_0x3086f4(0xa6),_0x3086f4(0xb5),{'type':_0x2a94de[_0x3086f4(0x8f)],'defaultValue':![]}),_0x49cf58['addColumn'](_0x3086f4(0xa6),_0x3086f4(0xa3),{'type':_0x2a94de[_0x3086f4(0x7f)],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c}),_0x49cf58[_0x3086f4(0x7d)](_0x3086f4(0x81),'queueTransfer',{'type':_0x2a94de[_0x3086f4(0x8f)],'defaultValue':![]}),_0x49cf58[_0x3086f4(0x7d)](_0x3086f4(0x81),_0x3086f4(0xaf),{'type':_0x2a94de[_0x3086f4(0x7f)],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c}),_0x49cf58[_0x3086f4(0x7d)]('sms_accounts',_0x3086f4(0xb5),{'type':_0x2a94de[_0x3086f4(0x8f)],'defaultValue':![]}),_0x49cf58[_0x3086f4(0x7d)](_0x3086f4(0x81),_0x3086f4(0xa3),{'type':_0x2a94de[_0x3086f4(0x7f)],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c}),_0x49cf58['addColumn'](_0x3086f4(0x8d),_0x3086f4(0x8b),{'type':_0x2a94de[_0x3086f4(0x7f)],'defaultValue':0x1e}),_0x49cf58['query'](_0x3086f4(0xb4)),_0x49cf58[_0x3086f4(0x7d)](_0x3086f4(0x8d),'phoneBarRememberMeEnabled',{'type':_0x2a94de['BOOLEAN'],'defaultValue':!![]}),_0x49cf58[_0x3086f4(0x7d)](_0x3086f4(0x96),_0x3086f4(0x85),{'type':_0x2a94de[_0x3086f4(0x7f)],'defaultValue':0x0}),_0x49cf58[_0x3086f4(0x7d)](_0x3086f4(0xb3),'data7',{'type':_0x2a94de[_0x3086f4(0xb1)]}),_0x49cf58['final'](_0xceb06);});},'down':function(){const _0x15b9b4=a1119_0x150731;return Promise[_0x15b9b4(0xb8)]();}};
\ No newline at end of file
+'use strict';const a1122_0x19db=['chatTimeout','agentTransferTimeout','removeIndex','Renamed\x20column\x20from\x20%s\x20to\x20%s\x20on\x20%s','agentTransfer','final','174119pQPokv','queryInterface','phoneBarRememberMeEnabled','sms_accounts','query','1126641yLQXZz','systemAvatar','BOOLEAN','@config/logger','openchannel_accounts','removeIndex\x20%s\x20%s','migration','1424294pRoRyr','447965zrUmuE','chat_websites','renameColumn','UPDATE\x20settings\x20SET\x20chatTimeout\x20=\x200;','INTEGER','TEXT','prototype','finally','Added\x20column\x20%s\x20to\x20%s','1178746rfmeGQ','resolve','enqueue','tail','System','inspect','Removed\x20column\x20%s\x20from\x20%s','15EcVtGs','then','57468PsLGeM','changeColumn','stringify','2noklGF','tools_actions','queueTransferTimeout','addColumn','fax_accounts','11PrvfFB','65181LUVyuO','sequence','addIndex','enableCustomerCheckmarks','queueTransfer','dropTable','removeColumn','util','query\x20%s','systemAlias','exports','catch','info'];const a1122_0x208e=function(_0x174b89,_0x355d45){_0x174b89=_0x174b89-0xc2;let _0x19dbd8=a1122_0x19db[_0x174b89];return _0x19dbd8;};const a1122_0x23bf4f=a1122_0x208e;(function(_0x59ee40,_0x3389e8){const _0x2d5568=a1122_0x208e;while(!![]){try{const _0x592d94=parseInt(_0x2d5568(0xc8))+-parseInt(_0x2d5568(0xf7))+parseInt(_0x2d5568(0xe3))*-parseInt(_0x2d5568(0xdb))+parseInt(_0x2d5568(0xc9))*-parseInt(_0x2d5568(0xde))+parseInt(_0x2d5568(0xd2))+-parseInt(_0x2d5568(0xfc))+parseInt(_0x2d5568(0xd9))*parseInt(_0x2d5568(0xe4));if(_0x592d94===_0x3389e8)break;else _0x59ee40['push'](_0x59ee40['shift']());}catch(_0x3fef45){_0x59ee40['push'](_0x59ee40['shift']());}}}(a1122_0x19db,0xb792d));const util=require(a1122_0x23bf4f(0xeb)),logger=require(a1122_0x23bf4f(0xc4))(a1122_0x23bf4f(0xc7)),Sequence=function(){};Sequence[a1122_0x23bf4f(0xcf)][a1122_0x23bf4f(0xd4)]=function(_0x23cfb3){const _0x99b961=a1122_0x23bf4f;this[_0x99b961(0xd5)]=this[_0x99b961(0xd5)]?this[_0x99b961(0xd5)][_0x99b961(0xd0)](_0x23cfb3):_0x23cfb3();};const Migration=function(_0x4da973){const _0x1e386d=a1122_0x23bf4f;this[_0x1e386d(0xf8)]=_0x4da973,this['sequence']=new Sequence();};Migration[a1122_0x23bf4f(0xcf)][a1122_0x23bf4f(0xdc)]=function(_0x39037b,_0x55213d,_0x44945a){const _0x1d60b5=a1122_0x23bf4f,_0x5e98fb=this;this['sequence'][_0x1d60b5(0xd4)](function(){const _0x53e8a0=_0x1d60b5;return _0x5e98fb[_0x53e8a0(0xf8)][_0x53e8a0(0xdc)](_0x39037b,_0x55213d,_0x44945a)[_0x53e8a0(0xda)](function(){const _0x344d7d=_0x53e8a0;logger[_0x344d7d(0xf0)]('Changed\x20column\x20%s\x20in\x20table\x20%s',_0x55213d,_0x39037b);})['catch'](function(_0x23c44d){const _0x161dfa=_0x53e8a0;logger[_0x161dfa(0xf0)](JSON[_0x161dfa(0xdd)](_0x23c44d));});});},Migration['prototype'][a1122_0x23bf4f(0xe1)]=function(_0x2f3a9f,_0x50f860,_0x26c19b){const _0x5d8c58=a1122_0x23bf4f,_0x4d84f8=this;this[_0x5d8c58(0xe5)]['enqueue'](function(){const _0x109f0f=_0x5d8c58;return _0x4d84f8[_0x109f0f(0xf8)]['addColumn'](_0x2f3a9f,_0x50f860,_0x26c19b)['then'](function(){const _0x56910a=_0x109f0f;logger[_0x56910a(0xf0)](_0x56910a(0xd1),_0x50f860,_0x2f3a9f);})[_0x109f0f(0xef)](function(_0x46fc3a){const _0x31c5ce=_0x109f0f;logger[_0x31c5ce(0xf0)](JSON[_0x31c5ce(0xdd)](_0x46fc3a));});});},Migration[a1122_0x23bf4f(0xcf)][a1122_0x23bf4f(0xe9)]=function(_0x3094f6){const _0x5f3024=a1122_0x23bf4f,_0xfc2800=this;this[_0x5f3024(0xe5)][_0x5f3024(0xd4)](function(){const _0x1b0c59=_0x5f3024;return _0xfc2800[_0x1b0c59(0xf8)][_0x1b0c59(0xe9)](_0x3094f6,{'force':!![]})['then'](function(){const _0x8c8c2f=_0x1b0c59;logger[_0x8c8c2f(0xf0)]('table\x20dropped\x20%s',_0x3094f6);})['catch'](function(_0x59006d){logger['info'](JSON['stringify'](_0x59006d));});});},Migration[a1122_0x23bf4f(0xcf)]['addIndex']=function(_0xc5dcb6,_0x4a6ff8,_0x4a7728){const _0x4bb031=a1122_0x23bf4f,_0x42047f=this;this['sequence'][_0x4bb031(0xd4)](function(){const _0x3f75c7=_0x4bb031;return _0x42047f[_0x3f75c7(0xf8)][_0x3f75c7(0xe6)](_0xc5dcb6,_0x4a6ff8,{'indexName':_0x4a7728})[_0x3f75c7(0xda)](function(){const _0x5c7e02=_0x3f75c7;logger[_0x5c7e02(0xf0)]('addIndex\x20%s\x20%s\x20%s',_0xc5dcb6,_0x4a6ff8['join'](','),_0x4a7728);})[_0x3f75c7(0xef)](function(_0x4188b0){const _0x1fa895=_0x3f75c7;logger[_0x1fa895(0xf0)](JSON['stringify'](_0x4188b0));});});},Migration[a1122_0x23bf4f(0xcf)]['removeIndex']=function(_0x531c33,_0x276c62){const _0x7709b6=a1122_0x23bf4f,_0x403d7f=this;this[_0x7709b6(0xe5)][_0x7709b6(0xd4)](function(){const _0x49198c=_0x7709b6;return _0x403d7f[_0x49198c(0xf8)][_0x49198c(0xf3)](_0x531c33,_0x276c62)[_0x49198c(0xda)](function(){const _0x15de58=_0x49198c;logger[_0x15de58(0xf0)](_0x15de58(0xc6),_0x531c33,_0x276c62);})[_0x49198c(0xef)](function(_0x9de29b){const _0x3d2ea9=_0x49198c;logger['info'](JSON[_0x3d2ea9(0xdd)](_0x9de29b));});});},Migration['prototype'][a1122_0x23bf4f(0xfb)]=function(_0x17ec58){const _0xf3df82=a1122_0x23bf4f,_0xd0ae99=this;this['sequence'][_0xf3df82(0xd4)](function(){const _0x421d7b=_0xf3df82;return _0xd0ae99[_0x421d7b(0xf8)]['sequelize']['query'](_0x17ec58)['then'](function(){const _0x3abd6e=_0x421d7b;logger['info'](_0x3abd6e(0xec),_0x17ec58);})[_0x421d7b(0xef)](function(_0x1e7c01){const _0x2aba06=_0x421d7b;logger[_0x2aba06(0xf0)](JSON[_0x2aba06(0xdd)](_0x1e7c01));});});},Migration[a1122_0x23bf4f(0xcf)][a1122_0x23bf4f(0xea)]=function(_0x13584a,_0x4f195c){const _0x2e4807=a1122_0x23bf4f,_0x4a0560=this;this[_0x2e4807(0xe5)][_0x2e4807(0xd4)](function(){const _0x2cdb73=_0x2e4807;return _0x4a0560[_0x2cdb73(0xf8)]['removeColumn'](_0x13584a,_0x4f195c)[_0x2cdb73(0xda)](function(){const _0x5de455=_0x2cdb73;logger['info'](_0x5de455(0xd8),_0x4f195c,_0x13584a);})[_0x2cdb73(0xef)](function(_0xb96f7f){const _0x54c589=_0x2cdb73;logger[_0x54c589(0xf0)](util[_0x54c589(0xd7)](_0xb96f7f,{'showHidden':![],'depth':null}));});});},Migration[a1122_0x23bf4f(0xcf)][a1122_0x23bf4f(0xcb)]=function(_0xacdeae,_0x134a5c,_0x54d6a3){const _0x1c6b49=this;this['sequence']['enqueue'](function(){const _0x30db03=a1122_0x208e;return _0x1c6b49[_0x30db03(0xf8)][_0x30db03(0xcb)](_0xacdeae,_0x134a5c,_0x54d6a3)['then'](function(){const _0xe870f0=_0x30db03;logger[_0xe870f0(0xf0)](_0xe870f0(0xf4),_0x134a5c,_0x54d6a3,_0xacdeae);})[_0x30db03(0xef)](function(_0x34b9c6){const _0x3540b3=_0x30db03;logger[_0x3540b3(0xf0)](util['inspect'](_0x34b9c6,{'showHidden':![],'depth':null}));});});},Migration['prototype']['final']=function(_0x1c3efa){const _0x2b3e56=a1122_0x23bf4f;this['sequence'][_0x2b3e56(0xd4)](function(){return _0x1c3efa();});},module[a1122_0x23bf4f(0xee)]={'up':function(_0x1efa37,_0x38715f){return new Promise(function(_0x420d5c){const _0x5227c1=a1122_0x208e,_0x4230c5=new Migration(_0x1efa37);_0x4230c5[_0x5227c1(0xe1)](_0x5227c1(0xca),_0x5227c1(0xe8),{'type':_0x38715f['BOOLEAN'],'defaultValue':![]}),_0x4230c5['addColumn'](_0x5227c1(0xca),_0x5227c1(0xe7),{'type':_0x38715f['BOOLEAN'],'defaultValue':![]}),_0x4230c5[_0x5227c1(0xe1)](_0x5227c1(0xca),_0x5227c1(0xe0),{'type':_0x38715f['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c}),_0x4230c5['addColumn'](_0x5227c1(0xca),_0x5227c1(0xf5),{'type':_0x38715f[_0x5227c1(0xc3)],'defaultValue':![]}),_0x4230c5['addColumn'](_0x5227c1(0xca),_0x5227c1(0xf2),{'type':_0x38715f['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c}),_0x4230c5['addColumn'](_0x5227c1(0xca),_0x5227c1(0xed),{'type':_0x38715f['STRING'],'defaultValue':_0x5227c1(0xd6)}),_0x4230c5[_0x5227c1(0xe1)]('chat_websites',_0x5227c1(0xc2),{'type':_0x38715f[_0x5227c1(0xce)]}),_0x4230c5[_0x5227c1(0xe1)](_0x5227c1(0xe2),_0x5227c1(0xe8),{'type':_0x38715f[_0x5227c1(0xc3)],'defaultValue':![]}),_0x4230c5['addColumn'](_0x5227c1(0xe2),_0x5227c1(0xe0),{'type':_0x38715f[_0x5227c1(0xcd)],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c}),_0x4230c5[_0x5227c1(0xe1)]('fax_accounts',_0x5227c1(0xf5),{'type':_0x38715f[_0x5227c1(0xc3)],'defaultValue':![]}),_0x4230c5[_0x5227c1(0xe1)](_0x5227c1(0xe2),_0x5227c1(0xf2),{'type':_0x38715f[_0x5227c1(0xcd)],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c}),_0x4230c5[_0x5227c1(0xe1)](_0x5227c1(0xc5),_0x5227c1(0xe8),{'type':_0x38715f[_0x5227c1(0xc3)],'defaultValue':![]}),_0x4230c5['addColumn'](_0x5227c1(0xc5),'queueTransferTimeout',{'type':_0x38715f[_0x5227c1(0xcd)],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c}),_0x4230c5[_0x5227c1(0xe1)](_0x5227c1(0xc5),_0x5227c1(0xf5),{'type':_0x38715f[_0x5227c1(0xc3)],'defaultValue':![]}),_0x4230c5[_0x5227c1(0xe1)](_0x5227c1(0xc5),_0x5227c1(0xf2),{'type':_0x38715f[_0x5227c1(0xcd)],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c}),_0x4230c5[_0x5227c1(0xe1)](_0x5227c1(0xfa),_0x5227c1(0xe8),{'type':_0x38715f[_0x5227c1(0xc3)],'defaultValue':![]}),_0x4230c5[_0x5227c1(0xe1)]('sms_accounts',_0x5227c1(0xe0),{'type':_0x38715f[_0x5227c1(0xcd)],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c}),_0x4230c5[_0x5227c1(0xe1)](_0x5227c1(0xfa),'agentTransfer',{'type':_0x38715f[_0x5227c1(0xc3)],'defaultValue':![]}),_0x4230c5[_0x5227c1(0xe1)]('sms_accounts',_0x5227c1(0xf2),{'type':_0x38715f['INTEGER'],'validate':{'min':0x1,'max':0x20c49b},'defaultValue':0x12c}),_0x4230c5[_0x5227c1(0xe1)]('settings',_0x5227c1(0xf1),{'type':_0x38715f[_0x5227c1(0xcd)],'defaultValue':0x1e}),_0x4230c5[_0x5227c1(0xfb)](_0x5227c1(0xcc)),_0x4230c5[_0x5227c1(0xe1)]('settings',_0x5227c1(0xf9),{'type':_0x38715f[_0x5227c1(0xc3)],'defaultValue':!![]}),_0x4230c5['addColumn']('license','chatLicenseExceeded',{'type':_0x38715f[_0x5227c1(0xcd)],'defaultValue':0x0}),_0x4230c5[_0x5227c1(0xe1)](_0x5227c1(0xdf),'data7',{'type':_0x38715f['TEXT']}),_0x4230c5[_0x5227c1(0xf6)](_0x420d5c);});},'down':function(){const _0x3671bb=a1122_0x23bf4f;return Promise[_0x3671bb(0xd3)]();}};
\ No newline at end of file