Built motion from commit 00bf23f6.|2.6.16
[motion2.git] / server / api / faxAccount / index.js
index a2bb916..ba4298c 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x7b45=['/:id','show','/:id/dispositions','/:id/canned_answers','getAnswers','/:id/interactions','getInteractions','/:id/applications','getApplications','/:id/messages','getMessages','/:id/users','getAgents','post','create','addInteraction','addApplications','/addaccountapplications','addAccountApplications','/updateaccountapplications','/:id/send','update','delete','destroy','removeDispositions','exports','util','path','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','describe'];(function(_0x480455,_0x449bb4){var _0x9105e4=function(_0xd6fdcd){while(--_0xd6fdcd){_0x480455['push'](_0x480455['shift']());}};_0x9105e4(++_0x449bb4);}(_0x7b45,0xaa));var _0x57b4=function(_0x5811c9,_0x53aa8c){_0x5811c9=_0x5811c9-0x0;var _0x353260=_0x7b45[_0x5811c9];return _0x353260;};'use strict';var multer=require('multer');var util=require(_0x57b4('0x0'));var path=require(_0x57b4('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x57b4('0x2')]();var auth=require(_0x57b4('0x3'));var interaction=require(_0x57b4('0x4'));var config=require(_0x57b4('0x5'));var controller=require('./faxAccount.controller');router[_0x57b4('0x6')]('/',auth[_0x57b4('0x7')](),controller[_0x57b4('0x8')]);router[_0x57b4('0x6')]('/describe',auth[_0x57b4('0x7')](),controller[_0x57b4('0x9')]);router[_0x57b4('0x6')](_0x57b4('0xa'),auth[_0x57b4('0x7')](),controller[_0x57b4('0xb')]);router[_0x57b4('0x6')](_0x57b4('0xc'),auth[_0x57b4('0x7')](),controller['getDispositions']);router[_0x57b4('0x6')](_0x57b4('0xd'),auth[_0x57b4('0x7')](),controller[_0x57b4('0xe')]);router[_0x57b4('0x6')](_0x57b4('0xf'),auth['isAuthenticated'](),controller[_0x57b4('0x10')]);router[_0x57b4('0x6')](_0x57b4('0x11'),auth[_0x57b4('0x7')](),controller[_0x57b4('0x12')]);router[_0x57b4('0x6')](_0x57b4('0x13'),auth[_0x57b4('0x7')](),controller[_0x57b4('0x14')]);router[_0x57b4('0x6')](_0x57b4('0x15'),auth['isAuthenticated'](),controller[_0x57b4('0x16')]);router[_0x57b4('0x17')]('/',auth[_0x57b4('0x7')](),controller[_0x57b4('0x18')]);router[_0x57b4('0x17')](_0x57b4('0xc'),auth[_0x57b4('0x7')](),controller['addDisposition']);router[_0x57b4('0x17')](_0x57b4('0xd'),auth[_0x57b4('0x7')](),controller['addAnswer']);router[_0x57b4('0x17')]('/:id/interactions',auth[_0x57b4('0x7')](),controller[_0x57b4('0x19')]);router[_0x57b4('0x17')]('/:id/applications',auth[_0x57b4('0x7')](),controller[_0x57b4('0x1a')]);router[_0x57b4('0x17')](_0x57b4('0x1b'),auth[_0x57b4('0x7')](),controller[_0x57b4('0x1c')]);router[_0x57b4('0x17')](_0x57b4('0x1d'),auth[_0x57b4('0x7')](),controller['updateAccountApplications']);router[_0x57b4('0x17')](_0x57b4('0x1e'),auth[_0x57b4('0x7')](),controller['send']);router['post'](_0x57b4('0x15'),auth[_0x57b4('0x7')](),controller['addAgents']);router['put'](_0x57b4('0xa'),auth[_0x57b4('0x7')](),controller[_0x57b4('0x1f')]);router[_0x57b4('0x20')](_0x57b4('0xa'),auth[_0x57b4('0x7')](),controller[_0x57b4('0x21')]);router[_0x57b4('0x20')](_0x57b4('0xc'),auth[_0x57b4('0x7')](),controller[_0x57b4('0x22')]);router[_0x57b4('0x20')](_0x57b4('0xd'),auth[_0x57b4('0x7')](),controller['removeAnswers']);router[_0x57b4('0x20')](_0x57b4('0x15'),auth[_0x57b4('0x7')](),controller['removeAgents']);module[_0x57b4('0x23')]=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(_0x9becf1,_0xd30b8){var _0x19ac7c=function(_0x220916){while(--_0x220916){_0x9becf1['push'](_0x9becf1['shift']());}};_0x19ac7c(++_0xd30b8);}(_0xa9e0,0x123));var _0x0a9e=function(_0x4ea69d,_0x290f53){_0x4ea69d=_0x4ea69d-0x0;var _0x5318e0=_0xa9e0[_0x4ea69d];return _0x5318e0;};'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