Built motion from commit fa4c4286.|2.6.29
[motion2.git] / server / api / faxAccount / index.js
index aefec59..555cac8 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8545=['/:id/users','getAgents','post','create','/:id/dispositions','addDisposition','addAnswer','addApplications','/addaccountapplications','addAccountApplications','/updateaccountapplications','updateAccountApplications','/:id/send','send','put','update','destroy','delete','removeAnswers','exports','multer','path','connect-timeout','express','../../components/auth/service','../../config/environment','./faxAccount.controller','isAuthenticated','index','/describe','describe','get','/:id','getDispositions','/:id/canned_answers','getAnswers','/:id/interactions','getInteractions','/:id/applications','getApplications','/:id/messages','getMessages'];(function(_0x4246ef,_0x508804){var _0x20d87b=function(_0x1cdd34){while(--_0x1cdd34){_0x4246ef['push'](_0x4246ef['shift']());}};_0x20d87b(++_0x508804);}(_0x8545,0x164));var _0x5854=function(_0x3070dc,_0x40cf11){_0x3070dc=_0x3070dc-0x0;var _0x431489=_0x8545[_0x3070dc];return _0x431489;};'use strict';var multer=require(_0x5854('0x0'));var util=require('util');var path=require(_0x5854('0x1'));var timeout=require(_0x5854('0x2'));var express=require(_0x5854('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x5854('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x5854('0x5'));var controller=require(_0x5854('0x6'));router['get']('/',auth[_0x5854('0x7')](),controller[_0x5854('0x8')]);router['get'](_0x5854('0x9'),auth[_0x5854('0x7')](),controller[_0x5854('0xa')]);router[_0x5854('0xb')](_0x5854('0xc'),auth[_0x5854('0x7')](),controller['show']);router[_0x5854('0xb')]('/:id/dispositions',auth[_0x5854('0x7')](),controller[_0x5854('0xd')]);router[_0x5854('0xb')](_0x5854('0xe'),auth[_0x5854('0x7')](),controller[_0x5854('0xf')]);router[_0x5854('0xb')](_0x5854('0x10'),auth[_0x5854('0x7')](),controller[_0x5854('0x11')]);router[_0x5854('0xb')](_0x5854('0x12'),auth[_0x5854('0x7')](),controller[_0x5854('0x13')]);router[_0x5854('0xb')](_0x5854('0x14'),auth['isAuthenticated'](),controller[_0x5854('0x15')]);router['get'](_0x5854('0x16'),auth['isAuthenticated'](),controller[_0x5854('0x17')]);router[_0x5854('0x18')]('/',auth['isAuthenticated'](),controller[_0x5854('0x19')]);router[_0x5854('0x18')](_0x5854('0x1a'),auth[_0x5854('0x7')](),controller[_0x5854('0x1b')]);router[_0x5854('0x18')](_0x5854('0xe'),auth['isAuthenticated'](),controller[_0x5854('0x1c')]);router[_0x5854('0x18')]('/:id/interactions',auth[_0x5854('0x7')](),controller['addInteraction']);router[_0x5854('0x18')](_0x5854('0x12'),auth[_0x5854('0x7')](),controller[_0x5854('0x1d')]);router[_0x5854('0x18')](_0x5854('0x1e'),auth[_0x5854('0x7')](),controller[_0x5854('0x1f')]);router['post'](_0x5854('0x20'),auth[_0x5854('0x7')](),controller[_0x5854('0x21')]);router[_0x5854('0x18')](_0x5854('0x22'),auth[_0x5854('0x7')](),controller[_0x5854('0x23')]);router[_0x5854('0x18')]('/:id/users',auth['isAuthenticated'](),controller['addAgents']);router[_0x5854('0x24')](_0x5854('0xc'),auth['isAuthenticated'](),controller[_0x5854('0x25')]);router['delete'](_0x5854('0xc'),auth[_0x5854('0x7')](),controller[_0x5854('0x26')]);router['delete'](_0x5854('0x1a'),auth[_0x5854('0x7')](),controller['removeDispositions']);router[_0x5854('0x27')](_0x5854('0xe'),auth['isAuthenticated'](),controller[_0x5854('0x28')]);router[_0x5854('0x27')](_0x5854('0x16'),auth[_0x5854('0x7')](),controller['removeAgents']);module[_0x5854('0x29')]=router;
\ No newline at end of file
+var _0x83a8=['/:id/dispositions','/:id/canned_answers','getAnswers','/:id/messages','getMessages','/:id/users','getAgents','post','create','addDisposition','/:id/interactions','addInteraction','/addaccountapplications','addAccountApplications','/updateaccountapplications','/:id/send','addAgents','delete','destroy','removeAnswers','removeAgents','exports','util','path','connect-timeout','express','fs-extra','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/describe','describe','/:id','show'];(function(_0x1ea87b,_0x3ba1b3){var _0xfe1c6f=function(_0x278a75){while(--_0x278a75){_0x1ea87b['push'](_0x1ea87b['shift']());}};_0xfe1c6f(++_0x3ba1b3);}(_0x83a8,0x17e));var _0x883a=function(_0x1269af,_0x514b8e){_0x1269af=_0x1269af-0x0;var _0x54b73f=_0x83a8[_0x1269af];return _0x54b73f;};'use strict';var multer=require('multer');var util=require(_0x883a('0x0'));var path=require(_0x883a('0x1'));var timeout=require(_0x883a('0x2'));var express=require(_0x883a('0x3'));var router=express['Router']();var fs_extra=require(_0x883a('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x883a('0x5'));var config=require(_0x883a('0x6'));var controller=require('./faxAccount.controller');router['get']('/',auth[_0x883a('0x7')](),controller[_0x883a('0x8')]);router[_0x883a('0x9')](_0x883a('0xa'),auth[_0x883a('0x7')](),controller[_0x883a('0xb')]);router[_0x883a('0x9')](_0x883a('0xc'),auth[_0x883a('0x7')](),controller[_0x883a('0xd')]);router['get'](_0x883a('0xe'),auth['isAuthenticated'](),controller['getDispositions']);router[_0x883a('0x9')](_0x883a('0xf'),auth[_0x883a('0x7')](),controller[_0x883a('0x10')]);router[_0x883a('0x9')]('/:id/interactions',auth[_0x883a('0x7')](),controller['getInteractions']);router['get']('/:id/applications',auth['isAuthenticated'](),controller['getApplications']);router[_0x883a('0x9')](_0x883a('0x11'),auth[_0x883a('0x7')](),controller[_0x883a('0x12')]);router['get'](_0x883a('0x13'),auth[_0x883a('0x7')](),controller[_0x883a('0x14')]);router[_0x883a('0x15')]('/',auth[_0x883a('0x7')](),controller[_0x883a('0x16')]);router['post'](_0x883a('0xe'),auth['isAuthenticated'](),controller[_0x883a('0x17')]);router['post']('/:id/canned_answers',auth[_0x883a('0x7')](),controller['addAnswer']);router[_0x883a('0x15')](_0x883a('0x18'),auth['isAuthenticated'](),controller[_0x883a('0x19')]);router[_0x883a('0x15')]('/:id/applications',auth[_0x883a('0x7')](),controller['addApplications']);router[_0x883a('0x15')](_0x883a('0x1a'),auth[_0x883a('0x7')](),controller[_0x883a('0x1b')]);router[_0x883a('0x15')](_0x883a('0x1c'),auth['isAuthenticated'](),controller['updateAccountApplications']);router[_0x883a('0x15')](_0x883a('0x1d'),auth[_0x883a('0x7')](),controller['send']);router[_0x883a('0x15')](_0x883a('0x13'),auth['isAuthenticated'](),controller[_0x883a('0x1e')]);router['put'](_0x883a('0xc'),auth[_0x883a('0x7')](),controller['update']);router[_0x883a('0x1f')]('/:id',auth['isAuthenticated'](),controller[_0x883a('0x20')]);router[_0x883a('0x1f')]('/:id/dispositions',auth[_0x883a('0x7')](),controller['removeDispositions']);router[_0x883a('0x1f')](_0x883a('0xf'),auth[_0x883a('0x7')](),controller[_0x883a('0x21')]);router['delete'](_0x883a('0x13'),auth[_0x883a('0x7')](),controller[_0x883a('0x22')]);module[_0x883a('0x23')]=router;
\ No newline at end of file