Built motion from commit 953226e6.|2.6.32
[motion2.git] / server / api / faxAccount / index.js
index 7a81478..1d32fa5 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-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(_0x49a4e0,_0x2a7368){var _0x54171a=function(_0x21053f){while(--_0x21053f){_0x49a4e0['push'](_0x49a4e0['shift']());}};_0x54171a(++_0x2a7368);}(_0xa9e0,0x123));var _0x0a9e=function(_0x6c993a,_0x5ea3ab){_0x6c993a=_0x6c993a-0x0;var _0x27f547=_0xa9e0[_0x6c993a];return _0x27f547;};'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
+var _0xa437=['put','update','delete','destroy','/:id/dispositions','removeAnswers','removeAgents','exports','multer','path','express','Router','../../components/auth/service','./faxAccount.controller','get','isAuthenticated','index','/:id','show','getDispositions','/:id/canned_answers','/:id/interactions','/:id/applications','/:id/messages','getMessages','/:id/users','getAgents','post','create','addDisposition','addAnswer','addInteraction','addApplications','addAccountApplications','updateAccountApplications','/:id/send','send','addAgents'];(function(_0x5029a7,_0x26c3c5){var _0xfa3750=function(_0x30ebf1){while(--_0x30ebf1){_0x5029a7['push'](_0x5029a7['shift']());}};_0xfa3750(++_0x26c3c5);}(_0xa437,0x1d0));var _0x7a43=function(_0x18a79d,_0x57bd2c){_0x18a79d=_0x18a79d-0x0;var _0x4f8848=_0xa437[_0x18a79d];return _0x4f8848;};'use strict';var multer=require(_0x7a43('0x0'));var util=require('util');var path=require(_0x7a43('0x1'));var timeout=require('connect-timeout');var express=require(_0x7a43('0x2'));var router=express[_0x7a43('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x7a43('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x7a43('0x5'));router[_0x7a43('0x6')]('/',auth[_0x7a43('0x7')](),controller[_0x7a43('0x8')]);router[_0x7a43('0x6')]('/describe',auth[_0x7a43('0x7')](),controller['describe']);router['get'](_0x7a43('0x9'),auth[_0x7a43('0x7')](),controller[_0x7a43('0xa')]);router[_0x7a43('0x6')]('/:id/dispositions',auth[_0x7a43('0x7')](),controller[_0x7a43('0xb')]);router['get'](_0x7a43('0xc'),auth[_0x7a43('0x7')](),controller['getAnswers']);router[_0x7a43('0x6')](_0x7a43('0xd'),auth[_0x7a43('0x7')](),controller['getInteractions']);router[_0x7a43('0x6')](_0x7a43('0xe'),auth[_0x7a43('0x7')](),controller['getApplications']);router[_0x7a43('0x6')](_0x7a43('0xf'),auth['isAuthenticated'](),controller[_0x7a43('0x10')]);router[_0x7a43('0x6')](_0x7a43('0x11'),auth[_0x7a43('0x7')](),controller[_0x7a43('0x12')]);router[_0x7a43('0x13')]('/',auth[_0x7a43('0x7')](),controller[_0x7a43('0x14')]);router[_0x7a43('0x13')]('/:id/dispositions',auth['isAuthenticated'](),controller[_0x7a43('0x15')]);router[_0x7a43('0x13')](_0x7a43('0xc'),auth[_0x7a43('0x7')](),controller[_0x7a43('0x16')]);router['post'](_0x7a43('0xd'),auth[_0x7a43('0x7')](),controller[_0x7a43('0x17')]);router[_0x7a43('0x13')](_0x7a43('0xe'),auth[_0x7a43('0x7')](),controller[_0x7a43('0x18')]);router['post']('/addaccountapplications',auth[_0x7a43('0x7')](),controller[_0x7a43('0x19')]);router['post']('/updateaccountapplications',auth[_0x7a43('0x7')](),controller[_0x7a43('0x1a')]);router['post'](_0x7a43('0x1b'),auth['isAuthenticated'](),controller[_0x7a43('0x1c')]);router[_0x7a43('0x13')]('/:id/users',auth[_0x7a43('0x7')](),controller[_0x7a43('0x1d')]);router[_0x7a43('0x1e')](_0x7a43('0x9'),auth[_0x7a43('0x7')](),controller[_0x7a43('0x1f')]);router[_0x7a43('0x20')]('/:id',auth[_0x7a43('0x7')](),controller[_0x7a43('0x21')]);router[_0x7a43('0x20')](_0x7a43('0x22'),auth['isAuthenticated'](),controller['removeDispositions']);router[_0x7a43('0x20')](_0x7a43('0xc'),auth[_0x7a43('0x7')](),controller[_0x7a43('0x23')]);router[_0x7a43('0x20')]('/:id/users',auth['isAuthenticated'](),controller[_0x7a43('0x24')]);module[_0x7a43('0x25')]=router;
\ No newline at end of file