Built motion from commit 538092ac.|2.6.10
[motion2.git] / server / api / mailAccount / index.js
index f133e3e..eaa19f1 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb5e8=['/:id','show','/:id/dispositions','/:id/canned_answers','getAnswers','/:id/in_servers','getImap','/:id/out_servers','/:id/interactions','getInteractions','/:id/applications','getApplications','getMessages','verifySmtp','/:id/users','getAgents','addDisposition','post','addAnswer','create','addSmtp','addInteraction','addApplications','/:id/send','send','addAgents','put','update','delete','removeDispositions','removeAnswers','removeImap','removeSmtp','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./mailAccount.controller','get','isAuthenticated','index','/describe'];(function(_0x3b39dc,_0xdf368b){var _0x3080ac=function(_0x3f32a3){while(--_0x3f32a3){_0x3b39dc['push'](_0x3b39dc['shift']());}};_0x3080ac(++_0xdf368b);}(_0xb5e8,0xe1));var _0x8b5e=function(_0x2646dc,_0x1449dd){_0x2646dc=_0x2646dc-0x0;var _0x1a4f6c=_0xb5e8[_0x2646dc];return _0x1a4f6c;};'use strict';var multer=require(_0x8b5e('0x0'));var util=require(_0x8b5e('0x1'));var path=require(_0x8b5e('0x2'));var timeout=require(_0x8b5e('0x3'));var express=require(_0x8b5e('0x4'));var router=express[_0x8b5e('0x5')]();var fs_extra=require(_0x8b5e('0x6'));var auth=require(_0x8b5e('0x7'));var interaction=require(_0x8b5e('0x8'));var config=require(_0x8b5e('0x9'));var controller=require(_0x8b5e('0xa'));router[_0x8b5e('0xb')]('/',auth[_0x8b5e('0xc')](),controller[_0x8b5e('0xd')]);router[_0x8b5e('0xb')](_0x8b5e('0xe'),auth[_0x8b5e('0xc')](),controller['describe']);router[_0x8b5e('0xb')](_0x8b5e('0xf'),auth[_0x8b5e('0xc')](),controller[_0x8b5e('0x10')]);router[_0x8b5e('0xb')](_0x8b5e('0x11'),auth[_0x8b5e('0xc')](),controller['getDispositions']);router[_0x8b5e('0xb')](_0x8b5e('0x12'),auth[_0x8b5e('0xc')](),controller[_0x8b5e('0x13')]);router[_0x8b5e('0xb')](_0x8b5e('0x14'),auth[_0x8b5e('0xc')](),controller[_0x8b5e('0x15')]);router[_0x8b5e('0xb')](_0x8b5e('0x16'),auth[_0x8b5e('0xc')](),controller['getSmtp']);router['get'](_0x8b5e('0x17'),auth['isAuthenticated'](),controller[_0x8b5e('0x18')]);router[_0x8b5e('0xb')](_0x8b5e('0x19'),auth[_0x8b5e('0xc')](),controller[_0x8b5e('0x1a')]);router[_0x8b5e('0xb')]('/:id/messages',auth['isAuthenticated'](),controller[_0x8b5e('0x1b')]);router['get']('/:id/verify',auth[_0x8b5e('0xc')](),controller[_0x8b5e('0x1c')]);router['get'](_0x8b5e('0x1d'),auth['isAuthenticated'](),controller[_0x8b5e('0x1e')]);router['post'](_0x8b5e('0x11'),auth[_0x8b5e('0xc')](),controller[_0x8b5e('0x1f')]);router[_0x8b5e('0x20')](_0x8b5e('0x12'),auth['isAuthenticated'](),controller[_0x8b5e('0x21')]);router[_0x8b5e('0x20')]('/',auth[_0x8b5e('0xc')](),controller[_0x8b5e('0x22')]);router[_0x8b5e('0x20')]('/:id/in_servers',auth[_0x8b5e('0xc')](),controller['addImap']);router[_0x8b5e('0x20')](_0x8b5e('0x16'),auth[_0x8b5e('0xc')](),controller[_0x8b5e('0x23')]);router[_0x8b5e('0x20')](_0x8b5e('0x17'),auth['isAuthenticated'](),controller[_0x8b5e('0x24')]);router['post'](_0x8b5e('0x19'),auth[_0x8b5e('0xc')](),controller[_0x8b5e('0x25')]);router[_0x8b5e('0x20')](_0x8b5e('0x26'),auth[_0x8b5e('0xc')](),controller[_0x8b5e('0x27')]);router[_0x8b5e('0x20')]('/:id/users',auth[_0x8b5e('0xc')](),controller[_0x8b5e('0x28')]);router[_0x8b5e('0x29')](_0x8b5e('0xf'),auth[_0x8b5e('0xc')](),controller[_0x8b5e('0x2a')]);router[_0x8b5e('0x2b')](_0x8b5e('0x11'),auth[_0x8b5e('0xc')](),controller[_0x8b5e('0x2c')]);router['delete'](_0x8b5e('0x12'),auth[_0x8b5e('0xc')](),controller[_0x8b5e('0x2d')]);router['delete'](_0x8b5e('0x14'),auth[_0x8b5e('0xc')](),controller[_0x8b5e('0x2e')]);router[_0x8b5e('0x2b')](_0x8b5e('0x16'),auth[_0x8b5e('0xc')](),controller[_0x8b5e('0x2f')]);router['delete'](_0x8b5e('0xf'),auth[_0x8b5e('0xc')](),controller['destroy']);router['delete'](_0x8b5e('0x1d'),auth[_0x8b5e('0xc')](),controller['removeAgents']);module['exports']=router;
\ No newline at end of file
+var _0x7b0d=['index','/describe','/:id','show','/:id/dispositions','getDispositions','getAnswers','/:id/in_servers','getImap','/:id/out_servers','getSmtp','/:id/interactions','getInteractions','getApplications','/:id/messages','/:id/verify','verifySmtp','post','addDisposition','/:id/canned_answers','addAnswer','addImap','addSmtp','addInteraction','/:id/applications','addApplications','/:id/send','/:id/users','addAgents','put','update','delete','removeDispositions','removeAnswers','removeImap','removeSmtp','destroy','removeAgents','exports','multer','path','connect-timeout','express','fs-extra','../../components/interaction/service','../../config/environment','./mailAccount.controller','get','isAuthenticated'];(function(_0x5e1592,_0x1dc178){var _0x2062b5=function(_0x1ba0ba){while(--_0x1ba0ba){_0x5e1592['push'](_0x5e1592['shift']());}};_0x2062b5(++_0x1dc178);}(_0x7b0d,0x89));var _0xd7b0=function(_0x102e37,_0x14a181){_0x102e37=_0x102e37-0x0;var _0x35a07c=_0x7b0d[_0x102e37];return _0x35a07c;};'use strict';var multer=require(_0xd7b0('0x0'));var util=require('util');var path=require(_0xd7b0('0x1'));var timeout=require(_0xd7b0('0x2'));var express=require(_0xd7b0('0x3'));var router=express['Router']();var fs_extra=require(_0xd7b0('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xd7b0('0x5'));var config=require(_0xd7b0('0x6'));var controller=require(_0xd7b0('0x7'));router[_0xd7b0('0x8')]('/',auth[_0xd7b0('0x9')](),controller[_0xd7b0('0xa')]);router['get'](_0xd7b0('0xb'),auth[_0xd7b0('0x9')](),controller['describe']);router[_0xd7b0('0x8')](_0xd7b0('0xc'),auth[_0xd7b0('0x9')](),controller[_0xd7b0('0xd')]);router[_0xd7b0('0x8')](_0xd7b0('0xe'),auth['isAuthenticated'](),controller[_0xd7b0('0xf')]);router[_0xd7b0('0x8')]('/:id/canned_answers',auth[_0xd7b0('0x9')](),controller[_0xd7b0('0x10')]);router[_0xd7b0('0x8')](_0xd7b0('0x11'),auth[_0xd7b0('0x9')](),controller[_0xd7b0('0x12')]);router[_0xd7b0('0x8')](_0xd7b0('0x13'),auth[_0xd7b0('0x9')](),controller[_0xd7b0('0x14')]);router['get'](_0xd7b0('0x15'),auth[_0xd7b0('0x9')](),controller[_0xd7b0('0x16')]);router[_0xd7b0('0x8')]('/:id/applications',auth[_0xd7b0('0x9')](),controller[_0xd7b0('0x17')]);router['get'](_0xd7b0('0x18'),auth[_0xd7b0('0x9')](),controller['getMessages']);router[_0xd7b0('0x8')](_0xd7b0('0x19'),auth[_0xd7b0('0x9')](),controller[_0xd7b0('0x1a')]);router['get']('/:id/users',auth[_0xd7b0('0x9')](),controller['getAgents']);router[_0xd7b0('0x1b')](_0xd7b0('0xe'),auth['isAuthenticated'](),controller[_0xd7b0('0x1c')]);router[_0xd7b0('0x1b')](_0xd7b0('0x1d'),auth['isAuthenticated'](),controller[_0xd7b0('0x1e')]);router[_0xd7b0('0x1b')]('/',auth['isAuthenticated'](),controller['create']);router[_0xd7b0('0x1b')]('/:id/in_servers',auth[_0xd7b0('0x9')](),controller[_0xd7b0('0x1f')]);router['post'](_0xd7b0('0x13'),auth['isAuthenticated'](),controller[_0xd7b0('0x20')]);router[_0xd7b0('0x1b')](_0xd7b0('0x15'),auth[_0xd7b0('0x9')](),controller[_0xd7b0('0x21')]);router['post'](_0xd7b0('0x22'),auth[_0xd7b0('0x9')](),controller[_0xd7b0('0x23')]);router[_0xd7b0('0x1b')](_0xd7b0('0x24'),auth[_0xd7b0('0x9')](),controller['send']);router[_0xd7b0('0x1b')](_0xd7b0('0x25'),auth[_0xd7b0('0x9')](),controller[_0xd7b0('0x26')]);router[_0xd7b0('0x27')]('/:id',auth[_0xd7b0('0x9')](),controller[_0xd7b0('0x28')]);router[_0xd7b0('0x29')]('/:id/dispositions',auth[_0xd7b0('0x9')](),controller[_0xd7b0('0x2a')]);router[_0xd7b0('0x29')](_0xd7b0('0x1d'),auth[_0xd7b0('0x9')](),controller[_0xd7b0('0x2b')]);router['delete'](_0xd7b0('0x11'),auth[_0xd7b0('0x9')](),controller[_0xd7b0('0x2c')]);router['delete'](_0xd7b0('0x13'),auth[_0xd7b0('0x9')](),controller[_0xd7b0('0x2d')]);router[_0xd7b0('0x29')](_0xd7b0('0xc'),auth['isAuthenticated'](),controller[_0xd7b0('0x2e')]);router[_0xd7b0('0x29')](_0xd7b0('0x25'),auth['isAuthenticated'](),controller[_0xd7b0('0x2f')]);module[_0xd7b0('0x30')]=router;
\ No newline at end of file