Built motion from commit ddca4d0d.|2.5.47
[motion2.git] / server / api / mailAccount / index.js
index 6b5a6ab..c59fd87 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x53de=['getInteractions','/:id/applications','getApplications','/:id/messages','getMessages','/:id/verify','verifySmtp','/:id/users','post','addSmtp','addApplications','send','addAgents','put','update','delete','removeDispositions','removeAnswers','removeImap','destroy','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/interaction/service','../../config/environment','./mailAccount.controller','isAuthenticated','get','/describe','/:id','/:id/dispositions','getDispositions','/:id/canned_answers','getAnswers','/:id/in_servers','/:id/out_servers','/:id/interactions'];(function(_0x1a89a1,_0x56d889){var _0x3d5b46=function(_0x56debf){while(--_0x56debf){_0x1a89a1['push'](_0x1a89a1['shift']());}};_0x3d5b46(++_0x56d889);}(_0x53de,0x90));var _0xe53d=function(_0x4327fe,_0x4f8040){_0x4327fe=_0x4327fe-0x0;var _0x138651=_0x53de[_0x4327fe];return _0x138651;};'use strict';var multer=require(_0xe53d('0x0'));var util=require(_0xe53d('0x1'));var path=require(_0xe53d('0x2'));var timeout=require(_0xe53d('0x3'));var express=require(_0xe53d('0x4'));var router=express['Router']();var fs_extra=require(_0xe53d('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xe53d('0x6'));var config=require(_0xe53d('0x7'));var controller=require(_0xe53d('0x8'));router['get']('/',auth[_0xe53d('0x9')](),controller['index']);router[_0xe53d('0xa')](_0xe53d('0xb'),auth[_0xe53d('0x9')](),controller['describe']);router[_0xe53d('0xa')](_0xe53d('0xc'),auth[_0xe53d('0x9')](),controller['show']);router['get'](_0xe53d('0xd'),auth[_0xe53d('0x9')](),controller[_0xe53d('0xe')]);router[_0xe53d('0xa')](_0xe53d('0xf'),auth[_0xe53d('0x9')](),controller[_0xe53d('0x10')]);router['get'](_0xe53d('0x11'),auth['isAuthenticated'](),controller['getImap']);router[_0xe53d('0xa')](_0xe53d('0x12'),auth['isAuthenticated'](),controller['getSmtp']);router[_0xe53d('0xa')](_0xe53d('0x13'),auth[_0xe53d('0x9')](),controller[_0xe53d('0x14')]);router[_0xe53d('0xa')](_0xe53d('0x15'),auth[_0xe53d('0x9')](),controller[_0xe53d('0x16')]);router['get'](_0xe53d('0x17'),auth[_0xe53d('0x9')](),controller[_0xe53d('0x18')]);router['get'](_0xe53d('0x19'),auth[_0xe53d('0x9')](),controller[_0xe53d('0x1a')]);router['get'](_0xe53d('0x1b'),auth[_0xe53d('0x9')](),controller['getAgents']);router[_0xe53d('0x1c')]('/:id/dispositions',auth[_0xe53d('0x9')](),controller['addDisposition']);router[_0xe53d('0x1c')]('/:id/canned_answers',auth['isAuthenticated'](),controller['addAnswer']);router[_0xe53d('0x1c')]('/',auth['isAuthenticated'](),controller['create']);router[_0xe53d('0x1c')](_0xe53d('0x11'),auth[_0xe53d('0x9')](),controller['addImap']);router[_0xe53d('0x1c')]('/:id/out_servers',auth[_0xe53d('0x9')](),controller[_0xe53d('0x1d')]);router[_0xe53d('0x1c')](_0xe53d('0x13'),auth[_0xe53d('0x9')](),controller['addInteraction']);router[_0xe53d('0x1c')]('/:id/applications',auth[_0xe53d('0x9')](),controller[_0xe53d('0x1e')]);router['post']('/:id/send',auth['isAuthenticated'](),controller[_0xe53d('0x1f')]);router[_0xe53d('0x1c')]('/:id/users',auth['isAuthenticated'](),controller[_0xe53d('0x20')]);router[_0xe53d('0x21')](_0xe53d('0xc'),auth['isAuthenticated'](),controller[_0xe53d('0x22')]);router[_0xe53d('0x23')](_0xe53d('0xd'),auth[_0xe53d('0x9')](),controller[_0xe53d('0x24')]);router[_0xe53d('0x23')]('/:id/canned_answers',auth['isAuthenticated'](),controller[_0xe53d('0x25')]);router['delete']('/:id/in_servers',auth[_0xe53d('0x9')](),controller[_0xe53d('0x26')]);router[_0xe53d('0x23')](_0xe53d('0x12'),auth[_0xe53d('0x9')](),controller['removeSmtp']);router[_0xe53d('0x23')](_0xe53d('0xc'),auth['isAuthenticated'](),controller[_0xe53d('0x27')]);router[_0xe53d('0x23')](_0xe53d('0x1b'),auth[_0xe53d('0x9')](),controller['removeAgents']);module[_0xe53d('0x28')]=router;
\ No newline at end of file
+var _0xf5f4=['/:id/canned_answers','getAnswers','/:id/in_servers','getImap','/:id/out_servers','getSmtp','/:id/interactions','/:id/applications','/:id/messages','getMessages','/:id/verify','verifySmtp','post','addDisposition','create','addImap','addSmtp','addInteraction','addApplications','/:id/send','send','/:id/users','addAgents','update','delete','removeImap','removeSmtp','destroy','exports','multer','util','path','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailAccount.controller','isAuthenticated','get','/describe','describe','/:id','/:id/dispositions','getDispositions'];(function(_0x3d9557,_0x5d09d2){var _0x359ff8=function(_0x784fa){while(--_0x784fa){_0x3d9557['push'](_0x3d9557['shift']());}};_0x359ff8(++_0x5d09d2);}(_0xf5f4,0x151));var _0x4f5f=function(_0x422ef2,_0x4990ac){_0x422ef2=_0x422ef2-0x0;var _0x30460d=_0xf5f4[_0x422ef2];return _0x30460d;};'use strict';var multer=require(_0x4f5f('0x0'));var util=require(_0x4f5f('0x1'));var path=require(_0x4f5f('0x2'));var timeout=require('connect-timeout');var express=require(_0x4f5f('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x4f5f('0x4'));var interaction=require(_0x4f5f('0x5'));var config=require(_0x4f5f('0x6'));var controller=require(_0x4f5f('0x7'));router['get']('/',auth[_0x4f5f('0x8')](),controller['index']);router[_0x4f5f('0x9')](_0x4f5f('0xa'),auth[_0x4f5f('0x8')](),controller[_0x4f5f('0xb')]);router[_0x4f5f('0x9')](_0x4f5f('0xc'),auth['isAuthenticated'](),controller['show']);router[_0x4f5f('0x9')](_0x4f5f('0xd'),auth['isAuthenticated'](),controller[_0x4f5f('0xe')]);router[_0x4f5f('0x9')](_0x4f5f('0xf'),auth[_0x4f5f('0x8')](),controller[_0x4f5f('0x10')]);router[_0x4f5f('0x9')](_0x4f5f('0x11'),auth['isAuthenticated'](),controller[_0x4f5f('0x12')]);router[_0x4f5f('0x9')](_0x4f5f('0x13'),auth['isAuthenticated'](),controller[_0x4f5f('0x14')]);router['get'](_0x4f5f('0x15'),auth['isAuthenticated'](),controller['getInteractions']);router[_0x4f5f('0x9')](_0x4f5f('0x16'),auth['isAuthenticated'](),controller['getApplications']);router[_0x4f5f('0x9')](_0x4f5f('0x17'),auth[_0x4f5f('0x8')](),controller[_0x4f5f('0x18')]);router[_0x4f5f('0x9')](_0x4f5f('0x19'),auth[_0x4f5f('0x8')](),controller[_0x4f5f('0x1a')]);router[_0x4f5f('0x9')]('/:id/users',auth[_0x4f5f('0x8')](),controller['getAgents']);router[_0x4f5f('0x1b')](_0x4f5f('0xd'),auth[_0x4f5f('0x8')](),controller[_0x4f5f('0x1c')]);router[_0x4f5f('0x1b')](_0x4f5f('0xf'),auth['isAuthenticated'](),controller['addAnswer']);router['post']('/',auth['isAuthenticated'](),controller[_0x4f5f('0x1d')]);router[_0x4f5f('0x1b')](_0x4f5f('0x11'),auth['isAuthenticated'](),controller[_0x4f5f('0x1e')]);router[_0x4f5f('0x1b')]('/:id/out_servers',auth[_0x4f5f('0x8')](),controller[_0x4f5f('0x1f')]);router['post'](_0x4f5f('0x15'),auth['isAuthenticated'](),controller[_0x4f5f('0x20')]);router['post'](_0x4f5f('0x16'),auth[_0x4f5f('0x8')](),controller[_0x4f5f('0x21')]);router[_0x4f5f('0x1b')](_0x4f5f('0x22'),auth[_0x4f5f('0x8')](),controller[_0x4f5f('0x23')]);router[_0x4f5f('0x1b')](_0x4f5f('0x24'),auth[_0x4f5f('0x8')](),controller[_0x4f5f('0x25')]);router['put']('/:id',auth[_0x4f5f('0x8')](),controller[_0x4f5f('0x26')]);router[_0x4f5f('0x27')](_0x4f5f('0xd'),auth['isAuthenticated'](),controller['removeDispositions']);router[_0x4f5f('0x27')]('/:id/canned_answers',auth[_0x4f5f('0x8')](),controller['removeAnswers']);router[_0x4f5f('0x27')](_0x4f5f('0x11'),auth['isAuthenticated'](),controller[_0x4f5f('0x28')]);router['delete'](_0x4f5f('0x13'),auth[_0x4f5f('0x8')](),controller[_0x4f5f('0x29')]);router[_0x4f5f('0x27')](_0x4f5f('0xc'),auth[_0x4f5f('0x8')](),controller[_0x4f5f('0x2a')]);router[_0x4f5f('0x27')](_0x4f5f('0x24'),auth[_0x4f5f('0x8')](),controller['removeAgents']);module[_0x4f5f('0x2b')]=router;
\ No newline at end of file