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