Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / api / mailAccount / index.js
index aec09b0..76a8928 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x5cfb=['getMessages','verifySmtp','getAgents','post','/:id/dispositions','create','addInteraction','addApplications','/:id/send','send','/:id/users','addAgents','put','update','delete','removeAnswers','removeImap','removeSmtp','destroy','removeAgents','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailAccount.controller','isAuthenticated','index','get','/describe','describe','/:id','show','getDispositions','/:id/canned_answers','getAnswers','/:id/in_servers','getImap','/:id/out_servers','/:id/interactions','getInteractions','/:id/applications','getApplications'];(function(_0xb16c61,_0x1a57a1){var _0x42caf9=function(_0x153599){while(--_0x153599){_0xb16c61['push'](_0xb16c61['shift']());}};_0x42caf9(++_0x1a57a1);}(_0x5cfb,0x1ea));var _0xb5cf=function(_0x4c7966,_0x2db8e0){_0x4c7966=_0x4c7966-0x0;var _0x42ce35=_0x5cfb[_0x4c7966];return _0x42ce35;};'use strict';var multer=require(_0xb5cf('0x0'));var util=require(_0xb5cf('0x1'));var path=require(_0xb5cf('0x2'));var timeout=require(_0xb5cf('0x3'));var express=require('express');var router=express[_0xb5cf('0x4')]();var fs_extra=require(_0xb5cf('0x5'));var auth=require(_0xb5cf('0x6'));var interaction=require(_0xb5cf('0x7'));var config=require(_0xb5cf('0x8'));var controller=require(_0xb5cf('0x9'));router['get']('/',auth[_0xb5cf('0xa')](),controller[_0xb5cf('0xb')]);router[_0xb5cf('0xc')](_0xb5cf('0xd'),auth[_0xb5cf('0xa')](),controller[_0xb5cf('0xe')]);router[_0xb5cf('0xc')](_0xb5cf('0xf'),auth[_0xb5cf('0xa')](),controller[_0xb5cf('0x10')]);router[_0xb5cf('0xc')]('/:id/dispositions',auth[_0xb5cf('0xa')](),controller[_0xb5cf('0x11')]);router['get'](_0xb5cf('0x12'),auth[_0xb5cf('0xa')](),controller[_0xb5cf('0x13')]);router[_0xb5cf('0xc')](_0xb5cf('0x14'),auth[_0xb5cf('0xa')](),controller[_0xb5cf('0x15')]);router[_0xb5cf('0xc')](_0xb5cf('0x16'),auth[_0xb5cf('0xa')](),controller['getSmtp']);router[_0xb5cf('0xc')](_0xb5cf('0x17'),auth[_0xb5cf('0xa')](),controller[_0xb5cf('0x18')]);router[_0xb5cf('0xc')](_0xb5cf('0x19'),auth[_0xb5cf('0xa')](),controller[_0xb5cf('0x1a')]);router['get']('/:id/messages',auth[_0xb5cf('0xa')](),controller[_0xb5cf('0x1b')]);router[_0xb5cf('0xc')]('/:id/verify',auth[_0xb5cf('0xa')](),controller[_0xb5cf('0x1c')]);router[_0xb5cf('0xc')]('/:id/users',auth['isAuthenticated'](),controller[_0xb5cf('0x1d')]);router[_0xb5cf('0x1e')](_0xb5cf('0x1f'),auth[_0xb5cf('0xa')](),controller['addDisposition']);router[_0xb5cf('0x1e')](_0xb5cf('0x12'),auth[_0xb5cf('0xa')](),controller['addAnswer']);router[_0xb5cf('0x1e')]('/',auth[_0xb5cf('0xa')](),controller[_0xb5cf('0x20')]);router[_0xb5cf('0x1e')](_0xb5cf('0x14'),auth[_0xb5cf('0xa')](),controller['addImap']);router[_0xb5cf('0x1e')](_0xb5cf('0x16'),auth[_0xb5cf('0xa')](),controller['addSmtp']);router['post'](_0xb5cf('0x17'),auth[_0xb5cf('0xa')](),controller[_0xb5cf('0x21')]);router[_0xb5cf('0x1e')]('/:id/applications',auth[_0xb5cf('0xa')](),controller[_0xb5cf('0x22')]);router[_0xb5cf('0x1e')](_0xb5cf('0x23'),auth[_0xb5cf('0xa')](),controller[_0xb5cf('0x24')]);router[_0xb5cf('0x1e')](_0xb5cf('0x25'),auth[_0xb5cf('0xa')](),controller[_0xb5cf('0x26')]);router[_0xb5cf('0x27')](_0xb5cf('0xf'),auth[_0xb5cf('0xa')](),controller[_0xb5cf('0x28')]);router[_0xb5cf('0x29')](_0xb5cf('0x1f'),auth[_0xb5cf('0xa')](),controller['removeDispositions']);router[_0xb5cf('0x29')]('/:id/canned_answers',auth[_0xb5cf('0xa')](),controller[_0xb5cf('0x2a')]);router[_0xb5cf('0x29')](_0xb5cf('0x14'),auth[_0xb5cf('0xa')](),controller[_0xb5cf('0x2b')]);router[_0xb5cf('0x29')](_0xb5cf('0x16'),auth['isAuthenticated'](),controller[_0xb5cf('0x2c')]);router[_0xb5cf('0x29')](_0xb5cf('0xf'),auth['isAuthenticated'](),controller[_0xb5cf('0x2d')]);router[_0xb5cf('0x29')]('/:id/users',auth[_0xb5cf('0xa')](),controller[_0xb5cf('0x2e')]);module['exports']=router;
\ No newline at end of file
+var _0x3bf1=['create','addSmtp','addApplications','send','/:id/users','addAgents','put','update','delete','removeDispositions','removeAnswers','removeSmtp','destroy','exports','multer','util','path','Router','fs-extra','../../components/auth/service','../../config/environment','isAuthenticated','get','/describe','/:id','/:id/dispositions','getDispositions','/:id/canned_answers','getAnswers','/:id/in_servers','/:id/out_servers','getSmtp','getInteractions','/:id/applications','getApplications','/:id/messages','getMessages','/:id/verify','getAgents','post','addDisposition','addAnswer'];(function(_0xfc8634,_0x45312b){var _0x130cb8=function(_0x330a8d){while(--_0x330a8d){_0xfc8634['push'](_0xfc8634['shift']());}};_0x130cb8(++_0x45312b);}(_0x3bf1,0x1b2));var _0x13bf=function(_0x4bc96e,_0x4e763d){_0x4bc96e=_0x4bc96e-0x0;var _0x511ff7=_0x3bf1[_0x4bc96e];return _0x511ff7;};'use strict';var multer=require(_0x13bf('0x0'));var util=require(_0x13bf('0x1'));var path=require(_0x13bf('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x13bf('0x3')]();var fs_extra=require(_0x13bf('0x4'));var auth=require(_0x13bf('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x13bf('0x6'));var controller=require('./mailAccount.controller');router['get']('/',auth[_0x13bf('0x7')](),controller['index']);router[_0x13bf('0x8')](_0x13bf('0x9'),auth[_0x13bf('0x7')](),controller['describe']);router[_0x13bf('0x8')](_0x13bf('0xa'),auth[_0x13bf('0x7')](),controller['show']);router[_0x13bf('0x8')](_0x13bf('0xb'),auth[_0x13bf('0x7')](),controller[_0x13bf('0xc')]);router[_0x13bf('0x8')](_0x13bf('0xd'),auth['isAuthenticated'](),controller[_0x13bf('0xe')]);router[_0x13bf('0x8')](_0x13bf('0xf'),auth['isAuthenticated'](),controller['getImap']);router[_0x13bf('0x8')](_0x13bf('0x10'),auth['isAuthenticated'](),controller[_0x13bf('0x11')]);router[_0x13bf('0x8')]('/:id/interactions',auth['isAuthenticated'](),controller[_0x13bf('0x12')]);router['get'](_0x13bf('0x13'),auth[_0x13bf('0x7')](),controller[_0x13bf('0x14')]);router[_0x13bf('0x8')](_0x13bf('0x15'),auth[_0x13bf('0x7')](),controller[_0x13bf('0x16')]);router[_0x13bf('0x8')](_0x13bf('0x17'),auth[_0x13bf('0x7')](),controller['verifySmtp']);router['get']('/:id/users',auth[_0x13bf('0x7')](),controller[_0x13bf('0x18')]);router[_0x13bf('0x19')](_0x13bf('0xb'),auth[_0x13bf('0x7')](),controller[_0x13bf('0x1a')]);router[_0x13bf('0x19')](_0x13bf('0xd'),auth['isAuthenticated'](),controller[_0x13bf('0x1b')]);router['post']('/',auth['isAuthenticated'](),controller[_0x13bf('0x1c')]);router['post'](_0x13bf('0xf'),auth['isAuthenticated'](),controller['addImap']);router[_0x13bf('0x19')]('/:id/out_servers',auth[_0x13bf('0x7')](),controller[_0x13bf('0x1d')]);router['post']('/:id/interactions',auth[_0x13bf('0x7')](),controller['addInteraction']);router[_0x13bf('0x19')](_0x13bf('0x13'),auth[_0x13bf('0x7')](),controller[_0x13bf('0x1e')]);router['post']('/:id/send',auth[_0x13bf('0x7')](),controller[_0x13bf('0x1f')]);router['post'](_0x13bf('0x20'),auth[_0x13bf('0x7')](),controller[_0x13bf('0x21')]);router[_0x13bf('0x22')](_0x13bf('0xa'),auth[_0x13bf('0x7')](),controller[_0x13bf('0x23')]);router[_0x13bf('0x24')]('/:id/dispositions',auth[_0x13bf('0x7')](),controller[_0x13bf('0x25')]);router['delete'](_0x13bf('0xd'),auth[_0x13bf('0x7')](),controller[_0x13bf('0x26')]);router[_0x13bf('0x24')](_0x13bf('0xf'),auth[_0x13bf('0x7')](),controller['removeImap']);router[_0x13bf('0x24')](_0x13bf('0x10'),auth[_0x13bf('0x7')](),controller[_0x13bf('0x27')]);router['delete'](_0x13bf('0xa'),auth[_0x13bf('0x7')](),controller[_0x13bf('0x28')]);router[_0x13bf('0x24')](_0x13bf('0x20'),auth[_0x13bf('0x7')](),controller['removeAgents']);module[_0x13bf('0x29')]=router;
\ No newline at end of file