Built motion from commit b0a9a629.|2.6.33
[motion2.git] / server / api / openchannelAccount / index.js
index eb1a597..0a26285 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xe5af=['exports','util','path','express','Router','fs-extra','../../components/interaction/service','get','isAuthenticated','/describe','describe','/:id/dispositions','/:id/canned_answers','getAnswers','getApplications','/:id/interactions','/:id/users','getAgents','post','create','addDisposition','addAnswer','notify','addApplications','addAgents','/:id/send','send','put','delete','/:id','removeAnswers'];(function(_0x1ce323,_0x28cb41){var _0x12b7d5=function(_0xed362a){while(--_0xed362a){_0x1ce323['push'](_0x1ce323['shift']());}};_0x12b7d5(++_0x28cb41);}(_0xe5af,0x9c));var _0xfe5a=function(_0x5a99e8,_0x5784cc){_0x5a99e8=_0x5a99e8-0x0;var _0x241ebf=_0xe5af[_0x5a99e8];return _0x241ebf;};'use strict';var multer=require('multer');var util=require(_0xfe5a('0x0'));var path=require(_0xfe5a('0x1'));var timeout=require('connect-timeout');var express=require(_0xfe5a('0x2'));var router=express[_0xfe5a('0x3')]();var fs_extra=require(_0xfe5a('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xfe5a('0x5'));var config=require('../../config/environment');var controller=require('./openchannelAccount.controller');router[_0xfe5a('0x6')]('/',auth[_0xfe5a('0x7')](),controller['index']);router['get'](_0xfe5a('0x8'),auth[_0xfe5a('0x7')](),controller[_0xfe5a('0x9')]);router[_0xfe5a('0x6')]('/:id',auth[_0xfe5a('0x7')](),controller['show']);router['get'](_0xfe5a('0xa'),auth[_0xfe5a('0x7')](),controller['getDispositions']);router[_0xfe5a('0x6')](_0xfe5a('0xb'),auth[_0xfe5a('0x7')](),controller[_0xfe5a('0xc')]);router[_0xfe5a('0x6')]('/:id/applications',auth[_0xfe5a('0x7')](),controller[_0xfe5a('0xd')]);router[_0xfe5a('0x6')](_0xfe5a('0xe'),auth[_0xfe5a('0x7')](),controller['getInteractions']);router[_0xfe5a('0x6')](_0xfe5a('0xf'),auth[_0xfe5a('0x7')](),controller[_0xfe5a('0x10')]);router[_0xfe5a('0x11')]('/',auth[_0xfe5a('0x7')](),controller[_0xfe5a('0x12')]);router[_0xfe5a('0x11')](_0xfe5a('0xa'),auth[_0xfe5a('0x7')](),controller[_0xfe5a('0x13')]);router[_0xfe5a('0x11')](_0xfe5a('0xb'),auth[_0xfe5a('0x7')](),controller[_0xfe5a('0x14')]);router[_0xfe5a('0x11')]('/:id/notify',controller[_0xfe5a('0x15')]);router[_0xfe5a('0x11')]('/:id/applications',auth[_0xfe5a('0x7')](),controller[_0xfe5a('0x16')]);router[_0xfe5a('0x11')]('/:id/users',auth['isAuthenticated'](),controller[_0xfe5a('0x17')]);router[_0xfe5a('0x11')](_0xfe5a('0x18'),auth[_0xfe5a('0x7')](),controller[_0xfe5a('0x19')]);router[_0xfe5a('0x1a')]('/:id',auth[_0xfe5a('0x7')](),controller['update']);router[_0xfe5a('0x1b')](_0xfe5a('0x1c'),auth[_0xfe5a('0x7')](),controller['destroy']);router['delete'](_0xfe5a('0xa'),auth[_0xfe5a('0x7')](),controller['removeDispositions']);router[_0xfe5a('0x1b')](_0xfe5a('0xb'),auth['isAuthenticated'](),controller[_0xfe5a('0x1d')]);router[_0xfe5a('0x1b')](_0xfe5a('0xf'),auth[_0xfe5a('0x7')](),controller['removeAgents']);module[_0xfe5a('0x1e')]=router;
\ No newline at end of file
+var _0xb03e=['addApplications','/:id/users','/:id/send','send','put','update','delete','destroy','removeAnswers','removeAgents','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelAccount.controller','get','isAuthenticated','/describe','describe','/:id','show','/:id/dispositions','getDispositions','/:id/canned_answers','getAnswers','/:id/applications','getApplications','/:id/interactions','getInteractions','getAgents','post','addAnswer','/:id/notify','notify'];(function(_0xf65ecb,_0x331801){var _0x213052=function(_0x3ddf70){while(--_0x3ddf70){_0xf65ecb['push'](_0xf65ecb['shift']());}};_0x213052(++_0x331801);}(_0xb03e,0x1eb));var _0xeb03=function(_0x37d675,_0x2b1f4a){_0x37d675=_0x37d675-0x0;var _0x3b6d58=_0xb03e[_0x37d675];return _0x3b6d58;};'use strict';var multer=require('multer');var util=require(_0xeb03('0x0'));var path=require(_0xeb03('0x1'));var timeout=require(_0xeb03('0x2'));var express=require(_0xeb03('0x3'));var router=express[_0xeb03('0x4')]();var fs_extra=require(_0xeb03('0x5'));var auth=require(_0xeb03('0x6'));var interaction=require(_0xeb03('0x7'));var config=require(_0xeb03('0x8'));var controller=require(_0xeb03('0x9'));router[_0xeb03('0xa')]('/',auth[_0xeb03('0xb')](),controller['index']);router[_0xeb03('0xa')](_0xeb03('0xc'),auth[_0xeb03('0xb')](),controller[_0xeb03('0xd')]);router[_0xeb03('0xa')](_0xeb03('0xe'),auth['isAuthenticated'](),controller[_0xeb03('0xf')]);router[_0xeb03('0xa')](_0xeb03('0x10'),auth['isAuthenticated'](),controller[_0xeb03('0x11')]);router['get'](_0xeb03('0x12'),auth[_0xeb03('0xb')](),controller[_0xeb03('0x13')]);router[_0xeb03('0xa')](_0xeb03('0x14'),auth[_0xeb03('0xb')](),controller[_0xeb03('0x15')]);router[_0xeb03('0xa')](_0xeb03('0x16'),auth[_0xeb03('0xb')](),controller[_0xeb03('0x17')]);router[_0xeb03('0xa')]('/:id/users',auth[_0xeb03('0xb')](),controller[_0xeb03('0x18')]);router[_0xeb03('0x19')]('/',auth[_0xeb03('0xb')](),controller['create']);router[_0xeb03('0x19')](_0xeb03('0x10'),auth[_0xeb03('0xb')](),controller['addDisposition']);router[_0xeb03('0x19')](_0xeb03('0x12'),auth[_0xeb03('0xb')](),controller[_0xeb03('0x1a')]);router[_0xeb03('0x19')](_0xeb03('0x1b'),controller[_0xeb03('0x1c')]);router[_0xeb03('0x19')](_0xeb03('0x14'),auth[_0xeb03('0xb')](),controller[_0xeb03('0x1d')]);router[_0xeb03('0x19')](_0xeb03('0x1e'),auth[_0xeb03('0xb')](),controller['addAgents']);router[_0xeb03('0x19')](_0xeb03('0x1f'),auth[_0xeb03('0xb')](),controller[_0xeb03('0x20')]);router[_0xeb03('0x21')](_0xeb03('0xe'),auth[_0xeb03('0xb')](),controller[_0xeb03('0x22')]);router[_0xeb03('0x23')]('/:id',auth[_0xeb03('0xb')](),controller[_0xeb03('0x24')]);router[_0xeb03('0x23')](_0xeb03('0x10'),auth[_0xeb03('0xb')](),controller['removeDispositions']);router[_0xeb03('0x23')](_0xeb03('0x12'),auth[_0xeb03('0xb')](),controller[_0xeb03('0x25')]);router[_0xeb03('0x23')](_0xeb03('0x1e'),auth[_0xeb03('0xb')](),controller[_0xeb03('0x26')]);module[_0xeb03('0x27')]=router;
\ No newline at end of file