Built motion from commit (unavailable).|2.5.6
[motion2.git] / server / api / faxAccount / index.js
index 8c187b5..ef678ea 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfaa7=['updateAccountApplications','/:id/send','addAgents','put','update','destroy','delete','removeDispositions','/:id/canned_answers','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxAccount.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/dispositions','getDispositions','getAnswers','/:id/interactions','/:id/applications','getApplications','/:id/messages','getMessages','/:id/users','post','addAnswer','addInteraction','/addaccountapplications','addAccountApplications','/updateaccountapplications'];(function(_0xf945d5,_0x1dc500){var _0x69ddaf=function(_0x584b54){while(--_0x584b54){_0xf945d5['push'](_0xf945d5['shift']());}};_0x69ddaf(++_0x1dc500);}(_0xfaa7,0x81));var _0x7faa=function(_0x140f1c,_0x42ecf6){_0x140f1c=_0x140f1c-0x0;var _0x55e2b1=_0xfaa7[_0x140f1c];return _0x55e2b1;};'use strict';var multer=require(_0x7faa('0x0'));var util=require(_0x7faa('0x1'));var path=require(_0x7faa('0x2'));var timeout=require(_0x7faa('0x3'));var express=require(_0x7faa('0x4'));var router=express['Router']();var auth=require(_0x7faa('0x5'));var interaction=require(_0x7faa('0x6'));var config=require(_0x7faa('0x7'));var controller=require(_0x7faa('0x8'));router[_0x7faa('0x9')]('/',auth[_0x7faa('0xa')](),controller[_0x7faa('0xb')]);router[_0x7faa('0x9')](_0x7faa('0xc'),auth[_0x7faa('0xa')](),controller[_0x7faa('0xd')]);router['get'](_0x7faa('0xe'),auth[_0x7faa('0xa')](),controller[_0x7faa('0xf')]);router['get'](_0x7faa('0x10'),auth[_0x7faa('0xa')](),controller[_0x7faa('0x11')]);router[_0x7faa('0x9')]('/:id/canned_answers',auth[_0x7faa('0xa')](),controller[_0x7faa('0x12')]);router[_0x7faa('0x9')](_0x7faa('0x13'),auth['isAuthenticated'](),controller['getInteractions']);router[_0x7faa('0x9')](_0x7faa('0x14'),auth[_0x7faa('0xa')](),controller[_0x7faa('0x15')]);router[_0x7faa('0x9')](_0x7faa('0x16'),auth[_0x7faa('0xa')](),controller[_0x7faa('0x17')]);router['get'](_0x7faa('0x18'),auth['isAuthenticated'](),controller['getAgents']);router[_0x7faa('0x19')]('/',auth[_0x7faa('0xa')](),controller['create']);router[_0x7faa('0x19')](_0x7faa('0x10'),auth[_0x7faa('0xa')](),controller['addDisposition']);router['post']('/:id/canned_answers',auth[_0x7faa('0xa')](),controller[_0x7faa('0x1a')]);router['post']('/:id/interactions',auth[_0x7faa('0xa')](),controller[_0x7faa('0x1b')]);router[_0x7faa('0x19')](_0x7faa('0x14'),auth[_0x7faa('0xa')](),controller['addApplications']);router[_0x7faa('0x19')](_0x7faa('0x1c'),auth[_0x7faa('0xa')](),controller[_0x7faa('0x1d')]);router[_0x7faa('0x19')](_0x7faa('0x1e'),auth[_0x7faa('0xa')](),controller[_0x7faa('0x1f')]);router['post'](_0x7faa('0x20'),auth['isAuthenticated'](),controller['send']);router[_0x7faa('0x19')]('/:id/users',auth[_0x7faa('0xa')](),controller[_0x7faa('0x21')]);router[_0x7faa('0x22')](_0x7faa('0xe'),auth[_0x7faa('0xa')](),controller[_0x7faa('0x23')]);router['delete'](_0x7faa('0xe'),auth[_0x7faa('0xa')](),controller[_0x7faa('0x24')]);router[_0x7faa('0x25')](_0x7faa('0x10'),auth[_0x7faa('0xa')](),controller[_0x7faa('0x26')]);router[_0x7faa('0x25')](_0x7faa('0x27'),auth['isAuthenticated'](),controller['removeAnswers']);router[_0x7faa('0x25')](_0x7faa('0x18'),auth['isAuthenticated'](),controller['removeAgents']);module['exports']=router;
\ No newline at end of file
+var _0x5fb8=['addAccountApplications','/updateaccountapplications','updateAccountApplications','/:id/send','send','addAgents','put','update','delete','destroy','removeAnswers','removeAgents','exports','multer','path','connect-timeout','Router','../../components/interaction/service','get','isAuthenticated','/describe','describe','/:id','getDispositions','getAnswers','/:id/interactions','/:id/applications','getApplications','/:id/messages','getMessages','/:id/users','getAgents','create','/:id/dispositions','post','/:id/canned_answers','addAnswer','addInteraction','addApplications','/addaccountapplications'];(function(_0x196a6f,_0x475886){var _0x3be594=function(_0x57617e){while(--_0x57617e){_0x196a6f['push'](_0x196a6f['shift']());}};_0x3be594(++_0x475886);}(_0x5fb8,0xd5));var _0x85fb=function(_0x437582,_0x17fbab){_0x437582=_0x437582-0x0;var _0xd34156=_0x5fb8[_0x437582];return _0xd34156;};'use strict';var multer=require(_0x85fb('0x0'));var util=require('util');var path=require(_0x85fb('0x1'));var timeout=require(_0x85fb('0x2'));var express=require('express');var router=express[_0x85fb('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x85fb('0x4'));var config=require('../../config/environment');var controller=require('./faxAccount.controller');router[_0x85fb('0x5')]('/',auth[_0x85fb('0x6')](),controller['index']);router[_0x85fb('0x5')](_0x85fb('0x7'),auth[_0x85fb('0x6')](),controller[_0x85fb('0x8')]);router['get'](_0x85fb('0x9'),auth['isAuthenticated'](),controller['show']);router['get']('/:id/dispositions',auth[_0x85fb('0x6')](),controller[_0x85fb('0xa')]);router[_0x85fb('0x5')]('/:id/canned_answers',auth['isAuthenticated'](),controller[_0x85fb('0xb')]);router['get'](_0x85fb('0xc'),auth[_0x85fb('0x6')](),controller['getInteractions']);router['get'](_0x85fb('0xd'),auth[_0x85fb('0x6')](),controller[_0x85fb('0xe')]);router[_0x85fb('0x5')](_0x85fb('0xf'),auth[_0x85fb('0x6')](),controller[_0x85fb('0x10')]);router[_0x85fb('0x5')](_0x85fb('0x11'),auth['isAuthenticated'](),controller[_0x85fb('0x12')]);router['post']('/',auth[_0x85fb('0x6')](),controller[_0x85fb('0x13')]);router['post'](_0x85fb('0x14'),auth[_0x85fb('0x6')](),controller['addDisposition']);router[_0x85fb('0x15')](_0x85fb('0x16'),auth[_0x85fb('0x6')](),controller[_0x85fb('0x17')]);router[_0x85fb('0x15')](_0x85fb('0xc'),auth['isAuthenticated'](),controller[_0x85fb('0x18')]);router[_0x85fb('0x15')](_0x85fb('0xd'),auth[_0x85fb('0x6')](),controller[_0x85fb('0x19')]);router['post'](_0x85fb('0x1a'),auth[_0x85fb('0x6')](),controller[_0x85fb('0x1b')]);router[_0x85fb('0x15')](_0x85fb('0x1c'),auth['isAuthenticated'](),controller[_0x85fb('0x1d')]);router[_0x85fb('0x15')](_0x85fb('0x1e'),auth['isAuthenticated'](),controller[_0x85fb('0x1f')]);router['post'](_0x85fb('0x11'),auth[_0x85fb('0x6')](),controller[_0x85fb('0x20')]);router[_0x85fb('0x21')](_0x85fb('0x9'),auth[_0x85fb('0x6')](),controller[_0x85fb('0x22')]);router[_0x85fb('0x23')]('/:id',auth[_0x85fb('0x6')](),controller[_0x85fb('0x24')]);router['delete'](_0x85fb('0x14'),auth[_0x85fb('0x6')](),controller['removeDispositions']);router[_0x85fb('0x23')](_0x85fb('0x16'),auth[_0x85fb('0x6')](),controller[_0x85fb('0x25')]);router['delete'](_0x85fb('0x11'),auth['isAuthenticated'](),controller[_0x85fb('0x26')]);module[_0x85fb('0x27')]=router;
\ No newline at end of file