Built motion from commit ffdca78c.|2.6.24
[motion2.git] / server / api / faxAccount / index.js
index 67891ef..4373af1 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x7c6e=['express','Router','../../components/auth/service','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','getDispositions','/:id/canned_answers','/:id/interactions','getInteractions','getApplications','/:id/messages','getMessages','/:id/users','getAgents','post','create','/:id/dispositions','addDisposition','addAnswer','addInteraction','addApplications','addAccountApplications','/updateaccountapplications','updateAccountApplications','/:id/send','send','addAgents','update','delete','removeDispositions','exports','util','path','connect-timeout'];(function(_0x2e5750,_0x2f194b){var _0x469393=function(_0x404efc){while(--_0x404efc){_0x2e5750['push'](_0x2e5750['shift']());}};_0x469393(++_0x2f194b);}(_0x7c6e,0x10e));var _0xe7c6=function(_0x4c2d40,_0x47ccb7){_0x4c2d40=_0x4c2d40-0x0;var _0xf91d6d=_0x7c6e[_0x4c2d40];return _0xf91d6d;};'use strict';var multer=require('multer');var util=require(_0xe7c6('0x0'));var path=require(_0xe7c6('0x1'));var timeout=require(_0xe7c6('0x2'));var express=require(_0xe7c6('0x3'));var router=express[_0xe7c6('0x4')]();var auth=require(_0xe7c6('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xe7c6('0x6'));var controller=require('./faxAccount.controller');router[_0xe7c6('0x7')]('/',auth[_0xe7c6('0x8')](),controller[_0xe7c6('0x9')]);router[_0xe7c6('0x7')](_0xe7c6('0xa'),auth[_0xe7c6('0x8')](),controller[_0xe7c6('0xb')]);router[_0xe7c6('0x7')](_0xe7c6('0xc'),auth['isAuthenticated'](),controller['show']);router[_0xe7c6('0x7')]('/:id/dispositions',auth[_0xe7c6('0x8')](),controller[_0xe7c6('0xd')]);router[_0xe7c6('0x7')](_0xe7c6('0xe'),auth[_0xe7c6('0x8')](),controller['getAnswers']);router[_0xe7c6('0x7')](_0xe7c6('0xf'),auth[_0xe7c6('0x8')](),controller[_0xe7c6('0x10')]);router[_0xe7c6('0x7')]('/:id/applications',auth[_0xe7c6('0x8')](),controller[_0xe7c6('0x11')]);router[_0xe7c6('0x7')](_0xe7c6('0x12'),auth[_0xe7c6('0x8')](),controller[_0xe7c6('0x13')]);router[_0xe7c6('0x7')](_0xe7c6('0x14'),auth[_0xe7c6('0x8')](),controller[_0xe7c6('0x15')]);router[_0xe7c6('0x16')]('/',auth[_0xe7c6('0x8')](),controller[_0xe7c6('0x17')]);router[_0xe7c6('0x16')](_0xe7c6('0x18'),auth[_0xe7c6('0x8')](),controller[_0xe7c6('0x19')]);router[_0xe7c6('0x16')](_0xe7c6('0xe'),auth[_0xe7c6('0x8')](),controller[_0xe7c6('0x1a')]);router[_0xe7c6('0x16')](_0xe7c6('0xf'),auth[_0xe7c6('0x8')](),controller[_0xe7c6('0x1b')]);router[_0xe7c6('0x16')]('/:id/applications',auth[_0xe7c6('0x8')](),controller[_0xe7c6('0x1c')]);router[_0xe7c6('0x16')]('/addaccountapplications',auth['isAuthenticated'](),controller[_0xe7c6('0x1d')]);router[_0xe7c6('0x16')](_0xe7c6('0x1e'),auth[_0xe7c6('0x8')](),controller[_0xe7c6('0x1f')]);router[_0xe7c6('0x16')](_0xe7c6('0x20'),auth[_0xe7c6('0x8')](),controller[_0xe7c6('0x21')]);router['post']('/:id/users',auth['isAuthenticated'](),controller[_0xe7c6('0x22')]);router['put']('/:id',auth['isAuthenticated'](),controller[_0xe7c6('0x23')]);router[_0xe7c6('0x24')](_0xe7c6('0xc'),auth['isAuthenticated'](),controller['destroy']);router[_0xe7c6('0x24')](_0xe7c6('0x18'),auth['isAuthenticated'](),controller[_0xe7c6('0x25')]);router[_0xe7c6('0x24')](_0xe7c6('0xe'),auth[_0xe7c6('0x8')](),controller['removeAnswers']);router[_0xe7c6('0x24')](_0xe7c6('0x14'),auth[_0xe7c6('0x8')](),controller['removeAgents']);module[_0xe7c6('0x26')]=router;
\ No newline at end of file
+var _0xf5e0=['/:id/dispositions','addAnswer','/:id/interactions','addInteraction','/:id/applications','addApplications','/addaccountapplications','addAccountApplications','/updateaccountapplications','updateAccountApplications','send','/:id/users','addAgents','put','update','destroy','removeDispositions','delete','removeAnswers','removeAgents','util','path','connect-timeout','express','../../components/auth/service','../../config/environment','./faxAccount.controller','get','isAuthenticated','index','/describe','describe','/:id','getDispositions','/:id/canned_answers','getAnswers','getInteractions','getApplications','/:id/messages','getMessages','getAgents','post'];(function(_0x4bc428,_0xf56dd9){var _0x3ca37f=function(_0x39db20){while(--_0x39db20){_0x4bc428['push'](_0x4bc428['shift']());}};_0x3ca37f(++_0xf56dd9);}(_0xf5e0,0x13a));var _0x0f5e=function(_0x3e5086,_0x48f4a2){_0x3e5086=_0x3e5086-0x0;var _0xfeb102=_0xf5e0[_0x3e5086];return _0xfeb102;};'use strict';var multer=require('multer');var util=require(_0x0f5e('0x0'));var path=require(_0x0f5e('0x1'));var timeout=require(_0x0f5e('0x2'));var express=require(_0x0f5e('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x0f5e('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x0f5e('0x5'));var controller=require(_0x0f5e('0x6'));router[_0x0f5e('0x7')]('/',auth[_0x0f5e('0x8')](),controller[_0x0f5e('0x9')]);router[_0x0f5e('0x7')](_0x0f5e('0xa'),auth[_0x0f5e('0x8')](),controller[_0x0f5e('0xb')]);router[_0x0f5e('0x7')](_0x0f5e('0xc'),auth[_0x0f5e('0x8')](),controller['show']);router['get']('/:id/dispositions',auth[_0x0f5e('0x8')](),controller[_0x0f5e('0xd')]);router[_0x0f5e('0x7')](_0x0f5e('0xe'),auth[_0x0f5e('0x8')](),controller[_0x0f5e('0xf')]);router[_0x0f5e('0x7')]('/:id/interactions',auth['isAuthenticated'](),controller[_0x0f5e('0x10')]);router[_0x0f5e('0x7')]('/:id/applications',auth['isAuthenticated'](),controller[_0x0f5e('0x11')]);router[_0x0f5e('0x7')](_0x0f5e('0x12'),auth[_0x0f5e('0x8')](),controller[_0x0f5e('0x13')]);router[_0x0f5e('0x7')]('/:id/users',auth['isAuthenticated'](),controller[_0x0f5e('0x14')]);router[_0x0f5e('0x15')]('/',auth['isAuthenticated'](),controller['create']);router['post'](_0x0f5e('0x16'),auth['isAuthenticated'](),controller['addDisposition']);router['post'](_0x0f5e('0xe'),auth[_0x0f5e('0x8')](),controller[_0x0f5e('0x17')]);router[_0x0f5e('0x15')](_0x0f5e('0x18'),auth['isAuthenticated'](),controller[_0x0f5e('0x19')]);router[_0x0f5e('0x15')](_0x0f5e('0x1a'),auth['isAuthenticated'](),controller[_0x0f5e('0x1b')]);router['post'](_0x0f5e('0x1c'),auth[_0x0f5e('0x8')](),controller[_0x0f5e('0x1d')]);router[_0x0f5e('0x15')](_0x0f5e('0x1e'),auth[_0x0f5e('0x8')](),controller[_0x0f5e('0x1f')]);router['post']('/:id/send',auth[_0x0f5e('0x8')](),controller[_0x0f5e('0x20')]);router[_0x0f5e('0x15')](_0x0f5e('0x21'),auth[_0x0f5e('0x8')](),controller[_0x0f5e('0x22')]);router[_0x0f5e('0x23')](_0x0f5e('0xc'),auth['isAuthenticated'](),controller[_0x0f5e('0x24')]);router['delete'](_0x0f5e('0xc'),auth['isAuthenticated'](),controller[_0x0f5e('0x25')]);router['delete'](_0x0f5e('0x16'),auth['isAuthenticated'](),controller[_0x0f5e('0x26')]);router[_0x0f5e('0x27')](_0x0f5e('0xe'),auth[_0x0f5e('0x8')](),controller[_0x0f5e('0x28')]);router[_0x0f5e('0x27')](_0x0f5e('0x21'),auth[_0x0f5e('0x8')](),controller[_0x0f5e('0x29')]);module['exports']=router;
\ No newline at end of file