Built motion from commit 9c91e9f5.|2.6.29
[motion2.git] / server / api / mailAccount / index.js
index 554997a..acf8a51 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x647b=['delete','removeAnswers','removeSmtp','destroy','removeAgents','multer','util','path','connect-timeout','fs-extra','../../config/environment','./mailAccount.controller','get','isAuthenticated','index','/describe','/:id','show','/:id/dispositions','getDispositions','getAnswers','/:id/in_servers','getImap','getInteractions','/:id/applications','getMessages','verifySmtp','/:id/users','addDisposition','/:id/canned_answers','addAnswer','post','create','addImap','/:id/out_servers','/:id/interactions','addApplications','send','addAgents','put'];(function(_0x47a5bd,_0x508329){var _0x5c2184=function(_0x40ddea){while(--_0x40ddea){_0x47a5bd['push'](_0x47a5bd['shift']());}};_0x5c2184(++_0x508329);}(_0x647b,0xf5));var _0xb647=function(_0x3ab51d,_0x2fa01d){_0x3ab51d=_0x3ab51d-0x0;var _0x29a04e=_0x647b[_0x3ab51d];return _0x29a04e;};'use strict';var multer=require(_0xb647('0x0'));var util=require(_0xb647('0x1'));var path=require(_0xb647('0x2'));var timeout=require(_0xb647('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0xb647('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xb647('0x5'));var controller=require(_0xb647('0x6'));router[_0xb647('0x7')]('/',auth[_0xb647('0x8')](),controller[_0xb647('0x9')]);router[_0xb647('0x7')](_0xb647('0xa'),auth['isAuthenticated'](),controller['describe']);router[_0xb647('0x7')](_0xb647('0xb'),auth[_0xb647('0x8')](),controller[_0xb647('0xc')]);router[_0xb647('0x7')](_0xb647('0xd'),auth[_0xb647('0x8')](),controller[_0xb647('0xe')]);router[_0xb647('0x7')]('/:id/canned_answers',auth[_0xb647('0x8')](),controller[_0xb647('0xf')]);router[_0xb647('0x7')](_0xb647('0x10'),auth['isAuthenticated'](),controller[_0xb647('0x11')]);router[_0xb647('0x7')]('/:id/out_servers',auth['isAuthenticated'](),controller['getSmtp']);router[_0xb647('0x7')]('/:id/interactions',auth[_0xb647('0x8')](),controller[_0xb647('0x12')]);router[_0xb647('0x7')](_0xb647('0x13'),auth['isAuthenticated'](),controller['getApplications']);router[_0xb647('0x7')]('/:id/messages',auth[_0xb647('0x8')](),controller[_0xb647('0x14')]);router[_0xb647('0x7')]('/:id/verify',auth['isAuthenticated'](),controller[_0xb647('0x15')]);router[_0xb647('0x7')](_0xb647('0x16'),auth[_0xb647('0x8')](),controller['getAgents']);router['post'](_0xb647('0xd'),auth[_0xb647('0x8')](),controller[_0xb647('0x17')]);router['post'](_0xb647('0x18'),auth['isAuthenticated'](),controller[_0xb647('0x19')]);router[_0xb647('0x1a')]('/',auth[_0xb647('0x8')](),controller[_0xb647('0x1b')]);router[_0xb647('0x1a')](_0xb647('0x10'),auth[_0xb647('0x8')](),controller[_0xb647('0x1c')]);router['post'](_0xb647('0x1d'),auth[_0xb647('0x8')](),controller['addSmtp']);router[_0xb647('0x1a')](_0xb647('0x1e'),auth[_0xb647('0x8')](),controller['addInteraction']);router[_0xb647('0x1a')](_0xb647('0x13'),auth['isAuthenticated'](),controller[_0xb647('0x1f')]);router[_0xb647('0x1a')]('/:id/send',auth[_0xb647('0x8')](),controller[_0xb647('0x20')]);router[_0xb647('0x1a')](_0xb647('0x16'),auth[_0xb647('0x8')](),controller[_0xb647('0x21')]);router[_0xb647('0x22')](_0xb647('0xb'),auth[_0xb647('0x8')](),controller['update']);router[_0xb647('0x23')](_0xb647('0xd'),auth['isAuthenticated'](),controller['removeDispositions']);router[_0xb647('0x23')](_0xb647('0x18'),auth[_0xb647('0x8')](),controller[_0xb647('0x24')]);router['delete']('/:id/in_servers',auth['isAuthenticated'](),controller['removeImap']);router['delete'](_0xb647('0x1d'),auth[_0xb647('0x8')](),controller[_0xb647('0x25')]);router[_0xb647('0x23')](_0xb647('0xb'),auth[_0xb647('0x8')](),controller[_0xb647('0x26')]);router['delete'](_0xb647('0x16'),auth['isAuthenticated'](),controller[_0xb647('0x27')]);module['exports']=router;
\ No newline at end of file
+var _0x9748=['get','/describe','isAuthenticated','describe','/:id','getDispositions','/:id/canned_answers','/:id/in_servers','getImap','/:id/out_servers','getSmtp','/:id/interactions','getInteractions','/:id/applications','getApplications','/:id/messages','/:id/verify','getAgents','post','/:id/dispositions','addDisposition','addAnswer','addImap','addSmtp','addInteraction','send','/:id/users','addAgents','put','update','delete','removeImap','removeSmtp','destroy','removeAgents','exports','multer','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./mailAccount.controller'];(function(_0x1f9664,_0x4b5cdf){var _0x413e2b=function(_0x5d64f1){while(--_0x5d64f1){_0x1f9664['push'](_0x1f9664['shift']());}};_0x413e2b(++_0x4b5cdf);}(_0x9748,0x7e));var _0x8974=function(_0x3281ff,_0x37183e){_0x3281ff=_0x3281ff-0x0;var _0x4aed29=_0x9748[_0x3281ff];return _0x4aed29;};'use strict';var multer=require(_0x8974('0x0'));var util=require(_0x8974('0x1'));var path=require(_0x8974('0x2'));var timeout=require(_0x8974('0x3'));var express=require(_0x8974('0x4'));var router=express[_0x8974('0x5')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x8974('0x6'));var config=require(_0x8974('0x7'));var controller=require(_0x8974('0x8'));router[_0x8974('0x9')]('/',auth['isAuthenticated'](),controller['index']);router[_0x8974('0x9')](_0x8974('0xa'),auth[_0x8974('0xb')](),controller[_0x8974('0xc')]);router[_0x8974('0x9')](_0x8974('0xd'),auth['isAuthenticated'](),controller['show']);router[_0x8974('0x9')]('/:id/dispositions',auth[_0x8974('0xb')](),controller[_0x8974('0xe')]);router[_0x8974('0x9')](_0x8974('0xf'),auth['isAuthenticated'](),controller['getAnswers']);router[_0x8974('0x9')](_0x8974('0x10'),auth['isAuthenticated'](),controller[_0x8974('0x11')]);router['get'](_0x8974('0x12'),auth[_0x8974('0xb')](),controller[_0x8974('0x13')]);router['get'](_0x8974('0x14'),auth['isAuthenticated'](),controller[_0x8974('0x15')]);router[_0x8974('0x9')](_0x8974('0x16'),auth['isAuthenticated'](),controller[_0x8974('0x17')]);router[_0x8974('0x9')](_0x8974('0x18'),auth[_0x8974('0xb')](),controller['getMessages']);router[_0x8974('0x9')](_0x8974('0x19'),auth[_0x8974('0xb')](),controller['verifySmtp']);router[_0x8974('0x9')]('/:id/users',auth[_0x8974('0xb')](),controller[_0x8974('0x1a')]);router[_0x8974('0x1b')](_0x8974('0x1c'),auth[_0x8974('0xb')](),controller[_0x8974('0x1d')]);router['post']('/:id/canned_answers',auth[_0x8974('0xb')](),controller[_0x8974('0x1e')]);router[_0x8974('0x1b')]('/',auth[_0x8974('0xb')](),controller['create']);router[_0x8974('0x1b')]('/:id/in_servers',auth[_0x8974('0xb')](),controller[_0x8974('0x1f')]);router[_0x8974('0x1b')](_0x8974('0x12'),auth[_0x8974('0xb')](),controller[_0x8974('0x20')]);router['post'](_0x8974('0x14'),auth[_0x8974('0xb')](),controller[_0x8974('0x21')]);router[_0x8974('0x1b')](_0x8974('0x16'),auth[_0x8974('0xb')](),controller['addApplications']);router[_0x8974('0x1b')]('/:id/send',auth['isAuthenticated'](),controller[_0x8974('0x22')]);router['post'](_0x8974('0x23'),auth[_0x8974('0xb')](),controller[_0x8974('0x24')]);router[_0x8974('0x25')](_0x8974('0xd'),auth['isAuthenticated'](),controller[_0x8974('0x26')]);router[_0x8974('0x27')](_0x8974('0x1c'),auth[_0x8974('0xb')](),controller['removeDispositions']);router[_0x8974('0x27')](_0x8974('0xf'),auth[_0x8974('0xb')](),controller['removeAnswers']);router['delete'](_0x8974('0x10'),auth[_0x8974('0xb')](),controller[_0x8974('0x28')]);router[_0x8974('0x27')]('/:id/out_servers',auth['isAuthenticated'](),controller[_0x8974('0x29')]);router[_0x8974('0x27')](_0x8974('0xd'),auth[_0x8974('0xb')](),controller[_0x8974('0x2a')]);router[_0x8974('0x27')](_0x8974('0x23'),auth[_0x8974('0xb')](),controller[_0x8974('0x2b')]);module[_0x8974('0x2c')]=router;
\ No newline at end of file