Built motion from commit (unavailable).|2.4.4
[motion2.git] / server / api / openchannelAccount / index.js
index 87b6d99..32aafa1 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8b8f=['path','connect-timeout','express','Router','../../components/auth/service','./openchannelAccount.controller','get','isAuthenticated','index','/describe','describe','show','getDispositions','/:id/canned_answers','getAnswers','getApplications','/:id/interactions','getInteractions','/:id/users','getAgents','post','create','addDisposition','/:id/notify','/:id/applications','addApplications','addAgents','send','put','/:id','delete','destroy','removeAnswers','exports','multer','util'];(function(_0x3874a2,_0x3d3193){var _0x54ea24=function(_0x41a102){while(--_0x41a102){_0x3874a2['push'](_0x3874a2['shift']());}};_0x54ea24(++_0x3d3193);}(_0x8b8f,0x11e));var _0xf8b8=function(_0x5985a4,_0x3c18fa){_0x5985a4=_0x5985a4-0x0;var _0x5b3726=_0x8b8f[_0x5985a4];return _0x5b3726;};'use strict';var multer=require(_0xf8b8('0x0'));var util=require(_0xf8b8('0x1'));var path=require(_0xf8b8('0x2'));var timeout=require(_0xf8b8('0x3'));var express=require(_0xf8b8('0x4'));var router=express[_0xf8b8('0x5')]();var auth=require(_0xf8b8('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xf8b8('0x7'));router[_0xf8b8('0x8')]('/',auth[_0xf8b8('0x9')](),controller[_0xf8b8('0xa')]);router[_0xf8b8('0x8')](_0xf8b8('0xb'),auth[_0xf8b8('0x9')](),controller[_0xf8b8('0xc')]);router[_0xf8b8('0x8')]('/:id',auth[_0xf8b8('0x9')](),controller[_0xf8b8('0xd')]);router[_0xf8b8('0x8')]('/:id/dispositions',auth['isAuthenticated'](),controller[_0xf8b8('0xe')]);router[_0xf8b8('0x8')](_0xf8b8('0xf'),auth['isAuthenticated'](),controller[_0xf8b8('0x10')]);router[_0xf8b8('0x8')]('/:id/applications',auth[_0xf8b8('0x9')](),controller[_0xf8b8('0x11')]);router['get'](_0xf8b8('0x12'),auth[_0xf8b8('0x9')](),controller[_0xf8b8('0x13')]);router['get'](_0xf8b8('0x14'),auth[_0xf8b8('0x9')](),controller[_0xf8b8('0x15')]);router[_0xf8b8('0x16')]('/',auth[_0xf8b8('0x9')](),controller[_0xf8b8('0x17')]);router[_0xf8b8('0x16')]('/:id/dispositions',auth[_0xf8b8('0x9')](),controller[_0xf8b8('0x18')]);router[_0xf8b8('0x16')]('/:id/canned_answers',auth[_0xf8b8('0x9')](),controller['addAnswer']);router[_0xf8b8('0x16')](_0xf8b8('0x19'),controller['notify']);router[_0xf8b8('0x16')](_0xf8b8('0x1a'),auth[_0xf8b8('0x9')](),controller[_0xf8b8('0x1b')]);router[_0xf8b8('0x16')](_0xf8b8('0x14'),auth[_0xf8b8('0x9')](),controller[_0xf8b8('0x1c')]);router[_0xf8b8('0x16')]('/:id/send',auth[_0xf8b8('0x9')](),controller[_0xf8b8('0x1d')]);router[_0xf8b8('0x1e')](_0xf8b8('0x1f'),auth[_0xf8b8('0x9')](),controller['update']);router[_0xf8b8('0x20')](_0xf8b8('0x1f'),auth['isAuthenticated'](),controller[_0xf8b8('0x21')]);router['delete']('/:id/dispositions',auth[_0xf8b8('0x9')](),controller['removeDispositions']);router[_0xf8b8('0x20')](_0xf8b8('0xf'),auth[_0xf8b8('0x9')](),controller[_0xf8b8('0x22')]);router[_0xf8b8('0x20')](_0xf8b8('0x14'),auth['isAuthenticated'](),controller['removeAgents']);module[_0xf8b8('0x23')]=router;
\ No newline at end of file
+var _0x0944=['../../config/environment','./openchannelAccount.controller','get','/describe','/:id','getDispositions','/:id/canned_answers','getAnswers','/:id/applications','isAuthenticated','getApplications','/:id/interactions','getInteractions','/:id/users','getAgents','post','create','/:id/dispositions','addDisposition','addAnswer','/:id/notify','addApplications','addAgents','put','update','destroy','delete','removeDispositions','removeAnswers','removeAgents','exports','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x131ad2,_0x1fceea){var _0x43d058=function(_0x3f14e1){while(--_0x3f14e1){_0x131ad2['push'](_0x131ad2['shift']());}};_0x43d058(++_0x1fceea);}(_0x0944,0x1cf));var _0x4094=function(_0x4653f7,_0x3d3ae3){_0x4653f7=_0x4653f7-0x0;var _0x5454da=_0x0944[_0x4653f7];return _0x5454da;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0x4094('0x0'));var express=require(_0x4094('0x1'));var router=express[_0x4094('0x2')]();var auth=require(_0x4094('0x3'));var interaction=require(_0x4094('0x4'));var config=require(_0x4094('0x5'));var controller=require(_0x4094('0x6'));router[_0x4094('0x7')]('/',auth['isAuthenticated'](),controller['index']);router[_0x4094('0x7')](_0x4094('0x8'),auth['isAuthenticated'](),controller['describe']);router[_0x4094('0x7')](_0x4094('0x9'),auth['isAuthenticated'](),controller['show']);router['get']('/:id/dispositions',auth['isAuthenticated'](),controller[_0x4094('0xa')]);router[_0x4094('0x7')](_0x4094('0xb'),auth['isAuthenticated'](),controller[_0x4094('0xc')]);router['get'](_0x4094('0xd'),auth[_0x4094('0xe')](),controller[_0x4094('0xf')]);router[_0x4094('0x7')](_0x4094('0x10'),auth[_0x4094('0xe')](),controller[_0x4094('0x11')]);router[_0x4094('0x7')](_0x4094('0x12'),auth['isAuthenticated'](),controller[_0x4094('0x13')]);router[_0x4094('0x14')]('/',auth[_0x4094('0xe')](),controller[_0x4094('0x15')]);router[_0x4094('0x14')](_0x4094('0x16'),auth[_0x4094('0xe')](),controller[_0x4094('0x17')]);router[_0x4094('0x14')](_0x4094('0xb'),auth[_0x4094('0xe')](),controller[_0x4094('0x18')]);router['post'](_0x4094('0x19'),controller['notify']);router['post'](_0x4094('0xd'),auth['isAuthenticated'](),controller[_0x4094('0x1a')]);router[_0x4094('0x14')](_0x4094('0x12'),auth['isAuthenticated'](),controller[_0x4094('0x1b')]);router[_0x4094('0x14')]('/:id/send',auth[_0x4094('0xe')](),controller['send']);router[_0x4094('0x1c')](_0x4094('0x9'),auth[_0x4094('0xe')](),controller[_0x4094('0x1d')]);router['delete'](_0x4094('0x9'),auth[_0x4094('0xe')](),controller[_0x4094('0x1e')]);router[_0x4094('0x1f')]('/:id/dispositions',auth['isAuthenticated'](),controller[_0x4094('0x20')]);router[_0x4094('0x1f')](_0x4094('0xb'),auth[_0x4094('0xe')](),controller[_0x4094('0x21')]);router[_0x4094('0x1f')]('/:id/users',auth['isAuthenticated'](),controller[_0x4094('0x22')]);module[_0x4094('0x23')]=router;
\ No newline at end of file