Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / faxAccount / index.js
index 66e5a64..964ce29 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xafc7=['destroy','delete','removeDispositions','removeAnswers','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','get','isAuthenticated','index','describe','show','/:id/dispositions','getDispositions','/:id/interactions','getApplications','/:id/messages','/:id/users','getAgents','create','addDisposition','/:id/canned_answers','addAnswer','post','addInteraction','/addaccountapplications','addAccountApplications','/updateaccountapplications','updateAccountApplications','/:id/send','send','addAgents','/:id','update'];(function(_0x10ea3a,_0x1909b6){var _0x3202a0=function(_0x2fb5bb){while(--_0x2fb5bb){_0x10ea3a['push'](_0x10ea3a['shift']());}};_0x3202a0(++_0x1909b6);}(_0xafc7,0xe9));var _0x7afc=function(_0x3b380d,_0x4bf247){_0x3b380d=_0x3b380d-0x0;var _0x54502b=_0xafc7[_0x3b380d];return _0x54502b;};'use strict';var multer=require(_0x7afc('0x0'));var util=require(_0x7afc('0x1'));var path=require(_0x7afc('0x2'));var timeout=require(_0x7afc('0x3'));var express=require('express');var router=express[_0x7afc('0x4')]();var auth=require(_0x7afc('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./faxAccount.controller');router[_0x7afc('0x6')]('/',auth[_0x7afc('0x7')](),controller[_0x7afc('0x8')]);router['get']('/describe',auth[_0x7afc('0x7')](),controller[_0x7afc('0x9')]);router[_0x7afc('0x6')]('/:id',auth[_0x7afc('0x7')](),controller[_0x7afc('0xa')]);router[_0x7afc('0x6')](_0x7afc('0xb'),auth['isAuthenticated'](),controller[_0x7afc('0xc')]);router[_0x7afc('0x6')]('/:id/canned_answers',auth[_0x7afc('0x7')](),controller['getAnswers']);router[_0x7afc('0x6')](_0x7afc('0xd'),auth['isAuthenticated'](),controller['getInteractions']);router[_0x7afc('0x6')]('/:id/applications',auth[_0x7afc('0x7')](),controller[_0x7afc('0xe')]);router[_0x7afc('0x6')](_0x7afc('0xf'),auth[_0x7afc('0x7')](),controller['getMessages']);router[_0x7afc('0x6')](_0x7afc('0x10'),auth[_0x7afc('0x7')](),controller[_0x7afc('0x11')]);router['post']('/',auth[_0x7afc('0x7')](),controller[_0x7afc('0x12')]);router['post'](_0x7afc('0xb'),auth['isAuthenticated'](),controller[_0x7afc('0x13')]);router['post'](_0x7afc('0x14'),auth[_0x7afc('0x7')](),controller[_0x7afc('0x15')]);router[_0x7afc('0x16')](_0x7afc('0xd'),auth[_0x7afc('0x7')](),controller[_0x7afc('0x17')]);router[_0x7afc('0x16')]('/:id/applications',auth[_0x7afc('0x7')](),controller['addApplications']);router[_0x7afc('0x16')](_0x7afc('0x18'),auth[_0x7afc('0x7')](),controller[_0x7afc('0x19')]);router[_0x7afc('0x16')](_0x7afc('0x1a'),auth[_0x7afc('0x7')](),controller[_0x7afc('0x1b')]);router['post'](_0x7afc('0x1c'),auth[_0x7afc('0x7')](),controller[_0x7afc('0x1d')]);router[_0x7afc('0x16')](_0x7afc('0x10'),auth[_0x7afc('0x7')](),controller[_0x7afc('0x1e')]);router['put'](_0x7afc('0x1f'),auth[_0x7afc('0x7')](),controller[_0x7afc('0x20')]);router['delete'](_0x7afc('0x1f'),auth[_0x7afc('0x7')](),controller[_0x7afc('0x21')]);router[_0x7afc('0x22')](_0x7afc('0xb'),auth[_0x7afc('0x7')](),controller[_0x7afc('0x23')]);router[_0x7afc('0x22')](_0x7afc('0x14'),auth['isAuthenticated'](),controller[_0x7afc('0x24')]);router[_0x7afc('0x22')](_0x7afc('0x10'),auth[_0x7afc('0x7')](),controller['removeAgents']);module[_0x7afc('0x25')]=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(_0x1f21f7,_0x34eda3){var _0x276ed6=function(_0x1e7737){while(--_0x1e7737){_0x1f21f7['push'](_0x1f21f7['shift']());}};_0x276ed6(++_0x34eda3);}(_0xa9e0,0x123));var _0x0a9e=function(_0x24237f,_0x4cf32c){_0x24237f=_0x24237f-0x0;var _0x48298e=_0xa9e0[_0x24237f];return _0x48298e;};'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