Built motion from commit 1ea47bf4.|2.6.34
[motion2.git] / server / api / openchannelAccount / index.js
index a1a5852..6632391 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4213=['/:id/users','post','create','addAnswer','/:id/notify','notify','addApplications','put','update','delete','destroy','/:id/dispositions','removeAnswers','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','./openchannelAccount.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/canned_answers','getAnswers','/:id/applications','/:id/interactions','getInteractions'];(function(_0x4a103,_0x45dc99){var _0x4680d2=function(_0x58e6a8){while(--_0x58e6a8){_0x4a103['push'](_0x4a103['shift']());}};_0x4680d2(++_0x45dc99);}(_0x4213,0x77));var _0x3421=function(_0x282160,_0x2b7f23){_0x282160=_0x282160-0x0;var _0x1b9077=_0x4213[_0x282160];return _0x1b9077;};'use strict';var multer=require(_0x3421('0x0'));var util=require(_0x3421('0x1'));var path=require(_0x3421('0x2'));var timeout=require(_0x3421('0x3'));var express=require(_0x3421('0x4'));var router=express[_0x3421('0x5')]();var fs_extra=require(_0x3421('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0x3421('0x7'));var config=require('../../config/environment');var controller=require(_0x3421('0x8'));router[_0x3421('0x9')]('/',auth[_0x3421('0xa')](),controller[_0x3421('0xb')]);router['get'](_0x3421('0xc'),auth[_0x3421('0xa')](),controller[_0x3421('0xd')]);router[_0x3421('0x9')](_0x3421('0xe'),auth['isAuthenticated'](),controller[_0x3421('0xf')]);router['get']('/:id/dispositions',auth[_0x3421('0xa')](),controller['getDispositions']);router[_0x3421('0x9')](_0x3421('0x10'),auth[_0x3421('0xa')](),controller[_0x3421('0x11')]);router[_0x3421('0x9')](_0x3421('0x12'),auth[_0x3421('0xa')](),controller['getApplications']);router[_0x3421('0x9')](_0x3421('0x13'),auth[_0x3421('0xa')](),controller[_0x3421('0x14')]);router[_0x3421('0x9')](_0x3421('0x15'),auth[_0x3421('0xa')](),controller['getAgents']);router[_0x3421('0x16')]('/',auth['isAuthenticated'](),controller[_0x3421('0x17')]);router[_0x3421('0x16')]('/:id/dispositions',auth[_0x3421('0xa')](),controller['addDisposition']);router[_0x3421('0x16')](_0x3421('0x10'),auth['isAuthenticated'](),controller[_0x3421('0x18')]);router[_0x3421('0x16')](_0x3421('0x19'),controller[_0x3421('0x1a')]);router[_0x3421('0x16')](_0x3421('0x12'),auth[_0x3421('0xa')](),controller[_0x3421('0x1b')]);router[_0x3421('0x16')](_0x3421('0x15'),auth[_0x3421('0xa')](),controller['addAgents']);router[_0x3421('0x16')]('/:id/send',auth['isAuthenticated'](),controller['send']);router[_0x3421('0x1c')](_0x3421('0xe'),auth[_0x3421('0xa')](),controller[_0x3421('0x1d')]);router[_0x3421('0x1e')](_0x3421('0xe'),auth[_0x3421('0xa')](),controller[_0x3421('0x1f')]);router[_0x3421('0x1e')](_0x3421('0x20'),auth['isAuthenticated'](),controller['removeDispositions']);router['delete'](_0x3421('0x10'),auth[_0x3421('0xa')](),controller[_0x3421('0x21')]);router['delete']('/:id/users',auth[_0x3421('0xa')](),controller['removeAgents']);module[_0x3421('0x22')]=router;
\ No newline at end of file
+var _0xeb3b=['getAnswers','/:id/applications','getApplications','getInteractions','getAgents','post','create','/:id/notify','notify','addApplications','addAgents','/:id/send','put','delete','destroy','removeDispositions','removeAnswers','/:id/users','multer','util','path','connect-timeout','express','../../components/auth/service','../../config/environment','get','isAuthenticated','index','/describe','/:id','show','/:id/dispositions','/:id/canned_answers'];(function(_0x602242,_0x3ecec6){var _0x37e751=function(_0x421285){while(--_0x421285){_0x602242['push'](_0x602242['shift']());}};_0x37e751(++_0x3ecec6);}(_0xeb3b,0x19e));var _0xbeb3=function(_0x412342,_0x180734){_0x412342=_0x412342-0x0;var _0x3e62cb=_0xeb3b[_0x412342];return _0x3e62cb;};'use strict';var multer=require(_0xbeb3('0x0'));var util=require(_0xbeb3('0x1'));var path=require(_0xbeb3('0x2'));var timeout=require(_0xbeb3('0x3'));var express=require(_0xbeb3('0x4'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xbeb3('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xbeb3('0x6'));var controller=require('./openchannelAccount.controller');router[_0xbeb3('0x7')]('/',auth[_0xbeb3('0x8')](),controller[_0xbeb3('0x9')]);router[_0xbeb3('0x7')](_0xbeb3('0xa'),auth[_0xbeb3('0x8')](),controller['describe']);router[_0xbeb3('0x7')](_0xbeb3('0xb'),auth[_0xbeb3('0x8')](),controller[_0xbeb3('0xc')]);router[_0xbeb3('0x7')](_0xbeb3('0xd'),auth[_0xbeb3('0x8')](),controller['getDispositions']);router[_0xbeb3('0x7')](_0xbeb3('0xe'),auth['isAuthenticated'](),controller[_0xbeb3('0xf')]);router[_0xbeb3('0x7')](_0xbeb3('0x10'),auth[_0xbeb3('0x8')](),controller[_0xbeb3('0x11')]);router[_0xbeb3('0x7')]('/:id/interactions',auth['isAuthenticated'](),controller[_0xbeb3('0x12')]);router[_0xbeb3('0x7')]('/:id/users',auth['isAuthenticated'](),controller[_0xbeb3('0x13')]);router[_0xbeb3('0x14')]('/',auth[_0xbeb3('0x8')](),controller[_0xbeb3('0x15')]);router[_0xbeb3('0x14')]('/:id/dispositions',auth[_0xbeb3('0x8')](),controller['addDisposition']);router[_0xbeb3('0x14')]('/:id/canned_answers',auth['isAuthenticated'](),controller['addAnswer']);router[_0xbeb3('0x14')](_0xbeb3('0x16'),controller[_0xbeb3('0x17')]);router[_0xbeb3('0x14')]('/:id/applications',auth[_0xbeb3('0x8')](),controller[_0xbeb3('0x18')]);router[_0xbeb3('0x14')]('/:id/users',auth['isAuthenticated'](),controller[_0xbeb3('0x19')]);router['post'](_0xbeb3('0x1a'),auth['isAuthenticated'](),controller['send']);router[_0xbeb3('0x1b')](_0xbeb3('0xb'),auth[_0xbeb3('0x8')](),controller['update']);router[_0xbeb3('0x1c')](_0xbeb3('0xb'),auth['isAuthenticated'](),controller[_0xbeb3('0x1d')]);router[_0xbeb3('0x1c')]('/:id/dispositions',auth[_0xbeb3('0x8')](),controller[_0xbeb3('0x1e')]);router[_0xbeb3('0x1c')](_0xbeb3('0xe'),auth[_0xbeb3('0x8')](),controller[_0xbeb3('0x1f')]);router[_0xbeb3('0x1c')](_0xbeb3('0x20'),auth[_0xbeb3('0x8')](),controller['removeAgents']);module['exports']=router;
\ No newline at end of file