18 var _0x958a=['index','/describe','describe','show','/:id/dispositions','getDispositions','/:id/canned_answers','getAnswers','/:id/applications','getInteractions','create','post','addDisposition','notify','addApplications','/:id/users','addAgents','send','put','update','/:id','delete','removeAnswers','removeAgents','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','get','isAuthenticated'];(function(_0x4914e2,_0x48be8f){var _0x2dcd07=function(_0x1a2565){while(--_0x1a2565){_0x4914e2['push'](_0x4914e2['shift']());}};_0x2dcd07(++_0x48be8f);}(_0x958a,0x128));var _0xa958=function(_0x3a1194,_0x6a211f){_0x3a1194=_0x3a1194-0x0;var _0x173e3a=_0x958a[_0x3a1194];return _0x173e3a;};'use strict';var multer=require(_0xa958('0x0'));var util=require(_0xa958('0x1'));var path=require('path');var timeout=require(_0xa958('0x2'));var express=require(_0xa958('0x3'));var router=express[_0xa958('0x4')]();var fs_extra=require(_0xa958('0x5'));var auth=require(_0xa958('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xa958('0x7'));var controller=require('./openchannelAccount.controller');router[_0xa958('0x8')]('/',auth[_0xa958('0x9')](),controller[_0xa958('0xa')]);router[_0xa958('0x8')](_0xa958('0xb'),auth[_0xa958('0x9')](),controller[_0xa958('0xc')]);router['get']('/:id',auth[_0xa958('0x9')](),controller[_0xa958('0xd')]);router[_0xa958('0x8')](_0xa958('0xe'),auth[_0xa958('0x9')](),controller[_0xa958('0xf')]);router[_0xa958('0x8')](_0xa958('0x10'),auth[_0xa958('0x9')](),controller[_0xa958('0x11')]);router[_0xa958('0x8')](_0xa958('0x12'),auth[_0xa958('0x9')](),controller['getApplications']);router['get']('/:id/interactions',auth[_0xa958('0x9')](),controller[_0xa958('0x13')]);router[_0xa958('0x8')]('/:id/users',auth[_0xa958('0x9')](),controller['getAgents']);router['post']('/',auth['isAuthenticated'](),controller[_0xa958('0x14')]);router[_0xa958('0x15')](_0xa958('0xe'),auth[_0xa958('0x9')](),controller[_0xa958('0x16')]);router[_0xa958('0x15')](_0xa958('0x10'),auth[_0xa958('0x9')](),controller['addAnswer']);router[_0xa958('0x15')]('/:id/notify',controller[_0xa958('0x17')]);router[_0xa958('0x15')]('/:id/applications',auth[_0xa958('0x9')](),controller[_0xa958('0x18')]);router[_0xa958('0x15')](_0xa958('0x19'),auth[_0xa958('0x9')](),controller[_0xa958('0x1a')]);router['post']('/:id/send',auth[_0xa958('0x9')](),controller[_0xa958('0x1b')]);router[_0xa958('0x1c')]('/:id',auth[_0xa958('0x9')](),controller[_0xa958('0x1d')]);router['delete'](_0xa958('0x1e'),auth[_0xa958('0x9')](),controller['destroy']);router['delete'](_0xa958('0xe'),auth[_0xa958('0x9')](),controller['removeDispositions']);router[_0xa958('0x1f')](_0xa958('0x10'),auth[_0xa958('0x9')](),controller[_0xa958('0x20')]);router[_0xa958('0x1f')](_0xa958('0x19'),auth['isAuthenticated'](),controller[_0xa958('0x21')]);module['exports']=router;