Built motion from commit 06eb8eb0.|2.6.31
[motion2.git] / server / api / faxAccount / index.js
index ac97b7a..7766c8d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf31b=['/:id/dispositions','getDispositions','/:id/canned_answers','getAnswers','/:id/interactions','getApplications','/:id/messages','/:id/users','getAgents','post','addDisposition','addAnswer','addInteraction','addApplications','/addaccountapplications','updateAccountApplications','/:id/send','send','addAgents','put','/:id','update','destroy','delete','removeAnswers','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','isAuthenticated','get','/describe','show'];(function(_0x41edab,_0x255da0){var _0x48df17=function(_0x1bdd17){while(--_0x1bdd17){_0x41edab['push'](_0x41edab['shift']());}};_0x48df17(++_0x255da0);}(_0xf31b,0x1a0));var _0xbf31=function(_0x301625,_0x56a1e0){_0x301625=_0x301625-0x0;var _0x516a33=_0xf31b[_0x301625];return _0x516a33;};'use strict';var multer=require(_0xbf31('0x0'));var util=require(_0xbf31('0x1'));var path=require(_0xbf31('0x2'));var timeout=require(_0xbf31('0x3'));var express=require(_0xbf31('0x4'));var router=express[_0xbf31('0x5')]();var fs_extra=require(_0xbf31('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0xbf31('0x7'));var config=require(_0xbf31('0x8'));var controller=require('./faxAccount.controller');router['get']('/',auth[_0xbf31('0x9')](),controller['index']);router[_0xbf31('0xa')](_0xbf31('0xb'),auth['isAuthenticated'](),controller['describe']);router[_0xbf31('0xa')]('/:id',auth[_0xbf31('0x9')](),controller[_0xbf31('0xc')]);router[_0xbf31('0xa')](_0xbf31('0xd'),auth[_0xbf31('0x9')](),controller[_0xbf31('0xe')]);router[_0xbf31('0xa')](_0xbf31('0xf'),auth[_0xbf31('0x9')](),controller[_0xbf31('0x10')]);router[_0xbf31('0xa')](_0xbf31('0x11'),auth[_0xbf31('0x9')](),controller['getInteractions']);router['get']('/:id/applications',auth['isAuthenticated'](),controller[_0xbf31('0x12')]);router[_0xbf31('0xa')](_0xbf31('0x13'),auth[_0xbf31('0x9')](),controller['getMessages']);router['get'](_0xbf31('0x14'),auth[_0xbf31('0x9')](),controller[_0xbf31('0x15')]);router[_0xbf31('0x16')]('/',auth[_0xbf31('0x9')](),controller['create']);router[_0xbf31('0x16')]('/:id/dispositions',auth['isAuthenticated'](),controller[_0xbf31('0x17')]);router[_0xbf31('0x16')](_0xbf31('0xf'),auth[_0xbf31('0x9')](),controller[_0xbf31('0x18')]);router['post']('/:id/interactions',auth[_0xbf31('0x9')](),controller[_0xbf31('0x19')]);router[_0xbf31('0x16')]('/:id/applications',auth[_0xbf31('0x9')](),controller[_0xbf31('0x1a')]);router[_0xbf31('0x16')](_0xbf31('0x1b'),auth[_0xbf31('0x9')](),controller['addAccountApplications']);router[_0xbf31('0x16')]('/updateaccountapplications',auth['isAuthenticated'](),controller[_0xbf31('0x1c')]);router[_0xbf31('0x16')](_0xbf31('0x1d'),auth[_0xbf31('0x9')](),controller[_0xbf31('0x1e')]);router[_0xbf31('0x16')]('/:id/users',auth[_0xbf31('0x9')](),controller[_0xbf31('0x1f')]);router[_0xbf31('0x20')](_0xbf31('0x21'),auth[_0xbf31('0x9')](),controller[_0xbf31('0x22')]);router['delete'](_0xbf31('0x21'),auth[_0xbf31('0x9')](),controller[_0xbf31('0x23')]);router[_0xbf31('0x24')](_0xbf31('0xd'),auth['isAuthenticated'](),controller['removeDispositions']);router[_0xbf31('0x24')](_0xbf31('0xf'),auth[_0xbf31('0x9')](),controller[_0xbf31('0x25')]);router['delete']('/:id/users',auth['isAuthenticated'](),controller['removeAgents']);module[_0xbf31('0x26')]=router;
\ No newline at end of file
+var _0x06d2=['getDispositions','/:id/canned_answers','getAnswers','getApplications','getMessages','/:id/users','getAgents','post','create','addDisposition','addAnswer','addInteraction','addApplications','/addaccountapplications','addAccountApplications','updateAccountApplications','send','addAgents','update','delete','destroy','removeDispositions','removeAnswers','removeAgents','multer','util','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','describe','/:id','/:id/dispositions'];(function(_0x370e93,_0x134964){var _0x3e09de=function(_0x2f4bb8){while(--_0x2f4bb8){_0x370e93['push'](_0x370e93['shift']());}};_0x3e09de(++_0x134964);}(_0x06d2,0x194));var _0x206d=function(_0x2d1400,_0x38b458){_0x2d1400=_0x2d1400-0x0;var _0x429d74=_0x06d2[_0x2d1400];return _0x429d74;};'use strict';var multer=require(_0x206d('0x0'));var util=require(_0x206d('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x206d('0x2'));var router=express[_0x206d('0x3')]();var fs_extra=require(_0x206d('0x4'));var auth=require(_0x206d('0x5'));var interaction=require(_0x206d('0x6'));var config=require(_0x206d('0x7'));var controller=require('./faxAccount.controller');router[_0x206d('0x8')]('/',auth[_0x206d('0x9')](),controller[_0x206d('0xa')]);router[_0x206d('0x8')]('/describe',auth['isAuthenticated'](),controller[_0x206d('0xb')]);router[_0x206d('0x8')](_0x206d('0xc'),auth[_0x206d('0x9')](),controller['show']);router[_0x206d('0x8')](_0x206d('0xd'),auth['isAuthenticated'](),controller[_0x206d('0xe')]);router['get'](_0x206d('0xf'),auth[_0x206d('0x9')](),controller[_0x206d('0x10')]);router['get']('/:id/interactions',auth[_0x206d('0x9')](),controller['getInteractions']);router[_0x206d('0x8')]('/:id/applications',auth[_0x206d('0x9')](),controller[_0x206d('0x11')]);router[_0x206d('0x8')]('/:id/messages',auth[_0x206d('0x9')](),controller[_0x206d('0x12')]);router['get'](_0x206d('0x13'),auth[_0x206d('0x9')](),controller[_0x206d('0x14')]);router[_0x206d('0x15')]('/',auth[_0x206d('0x9')](),controller[_0x206d('0x16')]);router[_0x206d('0x15')](_0x206d('0xd'),auth[_0x206d('0x9')](),controller[_0x206d('0x17')]);router['post']('/:id/canned_answers',auth['isAuthenticated'](),controller[_0x206d('0x18')]);router[_0x206d('0x15')]('/:id/interactions',auth[_0x206d('0x9')](),controller[_0x206d('0x19')]);router[_0x206d('0x15')]('/:id/applications',auth[_0x206d('0x9')](),controller[_0x206d('0x1a')]);router[_0x206d('0x15')](_0x206d('0x1b'),auth[_0x206d('0x9')](),controller[_0x206d('0x1c')]);router['post']('/updateaccountapplications',auth['isAuthenticated'](),controller[_0x206d('0x1d')]);router[_0x206d('0x15')]('/:id/send',auth[_0x206d('0x9')](),controller[_0x206d('0x1e')]);router[_0x206d('0x15')](_0x206d('0x13'),auth[_0x206d('0x9')](),controller[_0x206d('0x1f')]);router['put']('/:id',auth[_0x206d('0x9')](),controller[_0x206d('0x20')]);router[_0x206d('0x21')]('/:id',auth[_0x206d('0x9')](),controller[_0x206d('0x22')]);router[_0x206d('0x21')](_0x206d('0xd'),auth['isAuthenticated'](),controller[_0x206d('0x23')]);router['delete']('/:id/canned_answers',auth[_0x206d('0x9')](),controller[_0x206d('0x24')]);router[_0x206d('0x21')](_0x206d('0x13'),auth[_0x206d('0x9')](),controller[_0x206d('0x25')]);module['exports']=router;
\ No newline at end of file