Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / api / mailAccount / index.js
index 76a8928..4761755 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-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
+var _0x0782=['getInteractions','/:id/messages','getMessages','/:id/verify','verifySmtp','post','addDisposition','addAnswer','create','addImap','addSmtp','addInteraction','/:id/send','/:id/users','addAgents','delete','removeDispositions','/:id/canned_answers','removeAnswers','removeImap','destroy','removeAgents','util','path','connect-timeout','express','../../components/auth/service','../../config/environment','./mailAccount.controller','get','isAuthenticated','index','/describe','/:id','/:id/dispositions','getDispositions','/:id/in_servers','getImap','/:id/out_servers','getSmtp','/:id/interactions'];(function(_0x16b3f9,_0x3e746f){var _0x421fe0=function(_0x86bc97){while(--_0x86bc97){_0x16b3f9['push'](_0x16b3f9['shift']());}};_0x421fe0(++_0x3e746f);}(_0x0782,0xe3));var _0x2078=function(_0x36dfbd,_0x5bfe2d){_0x36dfbd=_0x36dfbd-0x0;var _0x4ecad9=_0x0782[_0x36dfbd];return _0x4ecad9;};'use strict';var multer=require('multer');var util=require(_0x2078('0x0'));var path=require(_0x2078('0x1'));var timeout=require(_0x2078('0x2'));var express=require(_0x2078('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x2078('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x2078('0x5'));var controller=require(_0x2078('0x6'));router[_0x2078('0x7')]('/',auth[_0x2078('0x8')](),controller[_0x2078('0x9')]);router[_0x2078('0x7')](_0x2078('0xa'),auth[_0x2078('0x8')](),controller['describe']);router[_0x2078('0x7')](_0x2078('0xb'),auth[_0x2078('0x8')](),controller['show']);router['get'](_0x2078('0xc'),auth[_0x2078('0x8')](),controller[_0x2078('0xd')]);router[_0x2078('0x7')]('/:id/canned_answers',auth[_0x2078('0x8')](),controller['getAnswers']);router['get'](_0x2078('0xe'),auth[_0x2078('0x8')](),controller[_0x2078('0xf')]);router[_0x2078('0x7')](_0x2078('0x10'),auth[_0x2078('0x8')](),controller[_0x2078('0x11')]);router[_0x2078('0x7')](_0x2078('0x12'),auth['isAuthenticated'](),controller[_0x2078('0x13')]);router[_0x2078('0x7')]('/:id/applications',auth[_0x2078('0x8')](),controller['getApplications']);router[_0x2078('0x7')](_0x2078('0x14'),auth[_0x2078('0x8')](),controller[_0x2078('0x15')]);router[_0x2078('0x7')](_0x2078('0x16'),auth[_0x2078('0x8')](),controller[_0x2078('0x17')]);router[_0x2078('0x7')]('/:id/users',auth['isAuthenticated'](),controller['getAgents']);router[_0x2078('0x18')](_0x2078('0xc'),auth[_0x2078('0x8')](),controller[_0x2078('0x19')]);router['post']('/:id/canned_answers',auth['isAuthenticated'](),controller[_0x2078('0x1a')]);router[_0x2078('0x18')]('/',auth[_0x2078('0x8')](),controller[_0x2078('0x1b')]);router[_0x2078('0x18')](_0x2078('0xe'),auth[_0x2078('0x8')](),controller[_0x2078('0x1c')]);router[_0x2078('0x18')](_0x2078('0x10'),auth[_0x2078('0x8')](),controller[_0x2078('0x1d')]);router['post'](_0x2078('0x12'),auth[_0x2078('0x8')](),controller[_0x2078('0x1e')]);router[_0x2078('0x18')]('/:id/applications',auth[_0x2078('0x8')](),controller['addApplications']);router[_0x2078('0x18')](_0x2078('0x1f'),auth['isAuthenticated'](),controller['send']);router[_0x2078('0x18')](_0x2078('0x20'),auth[_0x2078('0x8')](),controller[_0x2078('0x21')]);router['put']('/:id',auth[_0x2078('0x8')](),controller['update']);router[_0x2078('0x22')](_0x2078('0xc'),auth[_0x2078('0x8')](),controller[_0x2078('0x23')]);router[_0x2078('0x22')](_0x2078('0x24'),auth[_0x2078('0x8')](),controller[_0x2078('0x25')]);router['delete'](_0x2078('0xe'),auth[_0x2078('0x8')](),controller[_0x2078('0x26')]);router[_0x2078('0x22')](_0x2078('0x10'),auth[_0x2078('0x8')](),controller['removeSmtp']);router[_0x2078('0x22')](_0x2078('0xb'),auth['isAuthenticated'](),controller[_0x2078('0x27')]);router[_0x2078('0x22')](_0x2078('0x20'),auth[_0x2078('0x8')](),controller[_0x2078('0x28')]);module['exports']=router;
\ No newline at end of file