Built motion from commit 775e2a94.|2.6.3
[motion2.git] / server / api / faxAccount / index.js
index 77ab85c..4744d15 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfc45=['/:id/messages','/:id/users','getAgents','post','addAnswer','/:id/interactions','addApplications','/addaccountapplications','/updateaccountapplications','updateAccountApplications','/:id/send','addAgents','put','update','delete','removeAnswers','removeAgents','exports','multer','util','path','connect-timeout','express','../../components/auth/service','get','isAuthenticated','describe','/:id','show','/:id/dispositions','/:id/canned_answers','getAnswers','getInteractions','/:id/applications','getApplications'];(function(_0x5e6b76,_0x53a93e){var _0x11c216=function(_0x9b5767){while(--_0x9b5767){_0x5e6b76['push'](_0x5e6b76['shift']());}};_0x11c216(++_0x53a93e);}(_0xfc45,0x9e));var _0x5fc4=function(_0x524810,_0x393ec5){_0x524810=_0x524810-0x0;var _0x3889f8=_0xfc45[_0x524810];return _0x3889f8;};'use strict';var multer=require(_0x5fc4('0x0'));var util=require(_0x5fc4('0x1'));var path=require(_0x5fc4('0x2'));var timeout=require(_0x5fc4('0x3'));var express=require(_0x5fc4('0x4'));var router=express['Router']();var auth=require(_0x5fc4('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./faxAccount.controller');router[_0x5fc4('0x6')]('/',auth[_0x5fc4('0x7')](),controller['index']);router[_0x5fc4('0x6')]('/describe',auth[_0x5fc4('0x7')](),controller[_0x5fc4('0x8')]);router[_0x5fc4('0x6')](_0x5fc4('0x9'),auth[_0x5fc4('0x7')](),controller[_0x5fc4('0xa')]);router[_0x5fc4('0x6')](_0x5fc4('0xb'),auth[_0x5fc4('0x7')](),controller['getDispositions']);router[_0x5fc4('0x6')](_0x5fc4('0xc'),auth['isAuthenticated'](),controller[_0x5fc4('0xd')]);router['get']('/:id/interactions',auth[_0x5fc4('0x7')](),controller[_0x5fc4('0xe')]);router[_0x5fc4('0x6')](_0x5fc4('0xf'),auth[_0x5fc4('0x7')](),controller[_0x5fc4('0x10')]);router['get'](_0x5fc4('0x11'),auth[_0x5fc4('0x7')](),controller['getMessages']);router[_0x5fc4('0x6')](_0x5fc4('0x12'),auth[_0x5fc4('0x7')](),controller[_0x5fc4('0x13')]);router[_0x5fc4('0x14')]('/',auth[_0x5fc4('0x7')](),controller['create']);router[_0x5fc4('0x14')](_0x5fc4('0xb'),auth[_0x5fc4('0x7')](),controller['addDisposition']);router[_0x5fc4('0x14')](_0x5fc4('0xc'),auth['isAuthenticated'](),controller[_0x5fc4('0x15')]);router['post'](_0x5fc4('0x16'),auth[_0x5fc4('0x7')](),controller['addInteraction']);router['post'](_0x5fc4('0xf'),auth[_0x5fc4('0x7')](),controller[_0x5fc4('0x17')]);router[_0x5fc4('0x14')](_0x5fc4('0x18'),auth[_0x5fc4('0x7')](),controller['addAccountApplications']);router[_0x5fc4('0x14')](_0x5fc4('0x19'),auth['isAuthenticated'](),controller[_0x5fc4('0x1a')]);router['post'](_0x5fc4('0x1b'),auth[_0x5fc4('0x7')](),controller['send']);router['post'](_0x5fc4('0x12'),auth[_0x5fc4('0x7')](),controller[_0x5fc4('0x1c')]);router[_0x5fc4('0x1d')](_0x5fc4('0x9'),auth['isAuthenticated'](),controller[_0x5fc4('0x1e')]);router[_0x5fc4('0x1f')](_0x5fc4('0x9'),auth['isAuthenticated'](),controller['destroy']);router[_0x5fc4('0x1f')](_0x5fc4('0xb'),auth[_0x5fc4('0x7')](),controller['removeDispositions']);router[_0x5fc4('0x1f')]('/:id/canned_answers',auth[_0x5fc4('0x7')](),controller[_0x5fc4('0x20')]);router[_0x5fc4('0x1f')]('/:id/users',auth['isAuthenticated'](),controller[_0x5fc4('0x21')]);module[_0x5fc4('0x22')]=router;
\ No newline at end of file
+var _0xa9e0=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxAccount.controller','get','index','/describe','show','/:id/dispositions','isAuthenticated','getDispositions','/:id/interactions','getInteractions','/:id/applications','/:id/messages','getMessages','/:id/users','getAgents','post','addDisposition','/:id/canned_answers','addAnswer','addInteraction','addApplications','addAccountApplications','/updateaccountapplications','/:id/send','send','addAgents','put','/:id','update','destroy','delete','removeDispositions','removeAnswers','removeAgents','exports','multer','util','path'];(function(_0x3a41fb,_0x2a9a6d){var _0x27b6c0=function(_0xadcdae){while(--_0xadcdae){_0x3a41fb['push'](_0x3a41fb['shift']());}};_0x27b6c0(++_0x2a9a6d);}(_0xa9e0,0x123));var _0x0a9e=function(_0x37bd26,_0x5ad346){_0x37bd26=_0x37bd26-0x0;var _0xe83dc4=_0xa9e0[_0x37bd26];return _0xe83dc4;};'use strict';var multer=require(_0x0a9e('0x0'));var util=require(_0x0a9e('0x1'));var path=require(_0x0a9e('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x0a9e('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x0a9e('0x4'));var interaction=require(_0x0a9e('0x5'));var config=require(_0x0a9e('0x6'));var controller=require(_0x0a9e('0x7'));router[_0x0a9e('0x8')]('/',auth['isAuthenticated'](),controller[_0x0a9e('0x9')]);router[_0x0a9e('0x8')](_0x0a9e('0xa'),auth['isAuthenticated'](),controller['describe']);router[_0x0a9e('0x8')]('/:id',auth['isAuthenticated'](),controller[_0x0a9e('0xb')]);router[_0x0a9e('0x8')](_0x0a9e('0xc'),auth[_0x0a9e('0xd')](),controller[_0x0a9e('0xe')]);router[_0x0a9e('0x8')]('/:id/canned_answers',auth['isAuthenticated'](),controller['getAnswers']);router['get'](_0x0a9e('0xf'),auth[_0x0a9e('0xd')](),controller[_0x0a9e('0x10')]);router[_0x0a9e('0x8')](_0x0a9e('0x11'),auth[_0x0a9e('0xd')](),controller['getApplications']);router[_0x0a9e('0x8')](_0x0a9e('0x12'),auth[_0x0a9e('0xd')](),controller[_0x0a9e('0x13')]);router[_0x0a9e('0x8')](_0x0a9e('0x14'),auth['isAuthenticated'](),controller[_0x0a9e('0x15')]);router['post']('/',auth[_0x0a9e('0xd')](),controller['create']);router[_0x0a9e('0x16')](_0x0a9e('0xc'),auth['isAuthenticated'](),controller[_0x0a9e('0x17')]);router['post'](_0x0a9e('0x18'),auth[_0x0a9e('0xd')](),controller[_0x0a9e('0x19')]);router[_0x0a9e('0x16')](_0x0a9e('0xf'),auth[_0x0a9e('0xd')](),controller[_0x0a9e('0x1a')]);router[_0x0a9e('0x16')](_0x0a9e('0x11'),auth[_0x0a9e('0xd')](),controller[_0x0a9e('0x1b')]);router[_0x0a9e('0x16')]('/addaccountapplications',auth[_0x0a9e('0xd')](),controller[_0x0a9e('0x1c')]);router['post'](_0x0a9e('0x1d'),auth['isAuthenticated'](),controller['updateAccountApplications']);router[_0x0a9e('0x16')](_0x0a9e('0x1e'),auth[_0x0a9e('0xd')](),controller[_0x0a9e('0x1f')]);router['post'](_0x0a9e('0x14'),auth[_0x0a9e('0xd')](),controller[_0x0a9e('0x20')]);router[_0x0a9e('0x21')](_0x0a9e('0x22'),auth[_0x0a9e('0xd')](),controller[_0x0a9e('0x23')]);router['delete']('/:id',auth[_0x0a9e('0xd')](),controller[_0x0a9e('0x24')]);router[_0x0a9e('0x25')](_0x0a9e('0xc'),auth['isAuthenticated'](),controller[_0x0a9e('0x26')]);router['delete'](_0x0a9e('0x18'),auth['isAuthenticated'](),controller[_0x0a9e('0x27')]);router[_0x0a9e('0x25')](_0x0a9e('0x14'),auth[_0x0a9e('0xd')](),controller[_0x0a9e('0x28')]);module[_0x0a9e('0x29')]=router;
\ No newline at end of file