Built motion from commit ffdca78c.|2.6.24
[motion2.git] / server / api / faxAccount / index.js
index 66e5a64..4373af1 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xafc7=['destroy','delete','removeDispositions','removeAnswers','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','get','isAuthenticated','index','describe','show','/:id/dispositions','getDispositions','/:id/interactions','getApplications','/:id/messages','/:id/users','getAgents','create','addDisposition','/:id/canned_answers','addAnswer','post','addInteraction','/addaccountapplications','addAccountApplications','/updateaccountapplications','updateAccountApplications','/:id/send','send','addAgents','/:id','update'];(function(_0x10ea3a,_0x1909b6){var _0x3202a0=function(_0x2fb5bb){while(--_0x2fb5bb){_0x10ea3a['push'](_0x10ea3a['shift']());}};_0x3202a0(++_0x1909b6);}(_0xafc7,0xe9));var _0x7afc=function(_0x3b380d,_0x4bf247){_0x3b380d=_0x3b380d-0x0;var _0x54502b=_0xafc7[_0x3b380d];return _0x54502b;};'use strict';var multer=require(_0x7afc('0x0'));var util=require(_0x7afc('0x1'));var path=require(_0x7afc('0x2'));var timeout=require(_0x7afc('0x3'));var express=require('express');var router=express[_0x7afc('0x4')]();var auth=require(_0x7afc('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./faxAccount.controller');router[_0x7afc('0x6')]('/',auth[_0x7afc('0x7')](),controller[_0x7afc('0x8')]);router['get']('/describe',auth[_0x7afc('0x7')](),controller[_0x7afc('0x9')]);router[_0x7afc('0x6')]('/:id',auth[_0x7afc('0x7')](),controller[_0x7afc('0xa')]);router[_0x7afc('0x6')](_0x7afc('0xb'),auth['isAuthenticated'](),controller[_0x7afc('0xc')]);router[_0x7afc('0x6')]('/:id/canned_answers',auth[_0x7afc('0x7')](),controller['getAnswers']);router[_0x7afc('0x6')](_0x7afc('0xd'),auth['isAuthenticated'](),controller['getInteractions']);router[_0x7afc('0x6')]('/:id/applications',auth[_0x7afc('0x7')](),controller[_0x7afc('0xe')]);router[_0x7afc('0x6')](_0x7afc('0xf'),auth[_0x7afc('0x7')](),controller['getMessages']);router[_0x7afc('0x6')](_0x7afc('0x10'),auth[_0x7afc('0x7')](),controller[_0x7afc('0x11')]);router['post']('/',auth[_0x7afc('0x7')](),controller[_0x7afc('0x12')]);router['post'](_0x7afc('0xb'),auth['isAuthenticated'](),controller[_0x7afc('0x13')]);router['post'](_0x7afc('0x14'),auth[_0x7afc('0x7')](),controller[_0x7afc('0x15')]);router[_0x7afc('0x16')](_0x7afc('0xd'),auth[_0x7afc('0x7')](),controller[_0x7afc('0x17')]);router[_0x7afc('0x16')]('/:id/applications',auth[_0x7afc('0x7')](),controller['addApplications']);router[_0x7afc('0x16')](_0x7afc('0x18'),auth[_0x7afc('0x7')](),controller[_0x7afc('0x19')]);router[_0x7afc('0x16')](_0x7afc('0x1a'),auth[_0x7afc('0x7')](),controller[_0x7afc('0x1b')]);router['post'](_0x7afc('0x1c'),auth[_0x7afc('0x7')](),controller[_0x7afc('0x1d')]);router[_0x7afc('0x16')](_0x7afc('0x10'),auth[_0x7afc('0x7')](),controller[_0x7afc('0x1e')]);router['put'](_0x7afc('0x1f'),auth[_0x7afc('0x7')](),controller[_0x7afc('0x20')]);router['delete'](_0x7afc('0x1f'),auth[_0x7afc('0x7')](),controller[_0x7afc('0x21')]);router[_0x7afc('0x22')](_0x7afc('0xb'),auth[_0x7afc('0x7')](),controller[_0x7afc('0x23')]);router[_0x7afc('0x22')](_0x7afc('0x14'),auth['isAuthenticated'](),controller[_0x7afc('0x24')]);router[_0x7afc('0x22')](_0x7afc('0x10'),auth[_0x7afc('0x7')](),controller['removeAgents']);module[_0x7afc('0x25')]=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