Built motion from commit 746c7d2a.|2.5.35
[motion2.git] / server / api / openchannelAccount / index.js
index 6d4c9df..6409cfb 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x7731=['Router','fs-extra','../../components/auth/service','../../config/environment','./openchannelAccount.controller','get','isAuthenticated','index','/describe','/:id','show','getDispositions','getAnswers','/:id/applications','getApplications','getInteractions','/:id/users','getAgents','post','create','/:id/dispositions','/:id/canned_answers','notify','addApplications','/:id/send','send','put','update','destroy','delete','removeDispositions','removeAnswers','removeAgents','multer','util','path','connect-timeout','express'];(function(_0x53becf,_0x3665f2){var _0x393683=function(_0x2ac5fb){while(--_0x2ac5fb){_0x53becf['push'](_0x53becf['shift']());}};_0x393683(++_0x3665f2);}(_0x7731,0x105));var _0x1773=function(_0x27219e,_0x3205cb){_0x27219e=_0x27219e-0x0;var _0x200209=_0x7731[_0x27219e];return _0x200209;};'use strict';var multer=require(_0x1773('0x0'));var util=require(_0x1773('0x1'));var path=require(_0x1773('0x2'));var timeout=require(_0x1773('0x3'));var express=require(_0x1773('0x4'));var router=express[_0x1773('0x5')]();var fs_extra=require(_0x1773('0x6'));var auth=require(_0x1773('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0x1773('0x8'));var controller=require(_0x1773('0x9'));router[_0x1773('0xa')]('/',auth[_0x1773('0xb')](),controller[_0x1773('0xc')]);router[_0x1773('0xa')](_0x1773('0xd'),auth[_0x1773('0xb')](),controller['describe']);router['get'](_0x1773('0xe'),auth[_0x1773('0xb')](),controller[_0x1773('0xf')]);router[_0x1773('0xa')]('/:id/dispositions',auth['isAuthenticated'](),controller[_0x1773('0x10')]);router[_0x1773('0xa')]('/:id/canned_answers',auth[_0x1773('0xb')](),controller[_0x1773('0x11')]);router[_0x1773('0xa')](_0x1773('0x12'),auth[_0x1773('0xb')](),controller[_0x1773('0x13')]);router['get']('/:id/interactions',auth['isAuthenticated'](),controller[_0x1773('0x14')]);router[_0x1773('0xa')](_0x1773('0x15'),auth[_0x1773('0xb')](),controller[_0x1773('0x16')]);router[_0x1773('0x17')]('/',auth[_0x1773('0xb')](),controller[_0x1773('0x18')]);router['post'](_0x1773('0x19'),auth[_0x1773('0xb')](),controller['addDisposition']);router[_0x1773('0x17')](_0x1773('0x1a'),auth[_0x1773('0xb')](),controller['addAnswer']);router['post']('/:id/notify',controller[_0x1773('0x1b')]);router['post'](_0x1773('0x12'),auth[_0x1773('0xb')](),controller[_0x1773('0x1c')]);router[_0x1773('0x17')](_0x1773('0x15'),auth['isAuthenticated'](),controller['addAgents']);router[_0x1773('0x17')](_0x1773('0x1d'),auth[_0x1773('0xb')](),controller[_0x1773('0x1e')]);router[_0x1773('0x1f')]('/:id',auth['isAuthenticated'](),controller[_0x1773('0x20')]);router['delete'](_0x1773('0xe'),auth['isAuthenticated'](),controller[_0x1773('0x21')]);router[_0x1773('0x22')](_0x1773('0x19'),auth[_0x1773('0xb')](),controller[_0x1773('0x23')]);router[_0x1773('0x22')](_0x1773('0x1a'),auth[_0x1773('0xb')](),controller[_0x1773('0x24')]);router[_0x1773('0x22')]('/:id/users',auth[_0x1773('0xb')](),controller[_0x1773('0x25')]);module['exports']=router;
\ No newline at end of file
+var _0x2342=['getAgents','post','create','addDisposition','addAnswer','/:id/notify','notify','addApplications','addAgents','/:id/send','send','put','/:id','update','delete','destroy','removeDispositions','removeAnswers','removeAgents','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelAccount.controller','get','isAuthenticated','index','/describe','describe','/:id/dispositions','getDispositions','/:id/canned_answers','getAnswers','/:id/applications','getApplications','/:id/interactions','getInteractions','/:id/users'];(function(_0x27ed1f,_0x128269){var _0x1091fb=function(_0x152166){while(--_0x152166){_0x27ed1f['push'](_0x27ed1f['shift']());}};_0x1091fb(++_0x128269);}(_0x2342,0x197));var _0x2234=function(_0x22885d,_0x1d3193){_0x22885d=_0x22885d-0x0;var _0x7a79c0=_0x2342[_0x22885d];return _0x7a79c0;};'use strict';var multer=require(_0x2234('0x0'));var util=require(_0x2234('0x1'));var path=require('path');var timeout=require(_0x2234('0x2'));var express=require(_0x2234('0x3'));var router=express[_0x2234('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x2234('0x5'));var interaction=require(_0x2234('0x6'));var config=require(_0x2234('0x7'));var controller=require(_0x2234('0x8'));router[_0x2234('0x9')]('/',auth[_0x2234('0xa')](),controller[_0x2234('0xb')]);router['get'](_0x2234('0xc'),auth[_0x2234('0xa')](),controller[_0x2234('0xd')]);router['get']('/:id',auth[_0x2234('0xa')](),controller['show']);router[_0x2234('0x9')](_0x2234('0xe'),auth['isAuthenticated'](),controller[_0x2234('0xf')]);router[_0x2234('0x9')](_0x2234('0x10'),auth[_0x2234('0xa')](),controller[_0x2234('0x11')]);router[_0x2234('0x9')](_0x2234('0x12'),auth[_0x2234('0xa')](),controller[_0x2234('0x13')]);router[_0x2234('0x9')](_0x2234('0x14'),auth['isAuthenticated'](),controller[_0x2234('0x15')]);router[_0x2234('0x9')](_0x2234('0x16'),auth['isAuthenticated'](),controller[_0x2234('0x17')]);router[_0x2234('0x18')]('/',auth[_0x2234('0xa')](),controller[_0x2234('0x19')]);router[_0x2234('0x18')]('/:id/dispositions',auth[_0x2234('0xa')](),controller[_0x2234('0x1a')]);router['post'](_0x2234('0x10'),auth[_0x2234('0xa')](),controller[_0x2234('0x1b')]);router['post'](_0x2234('0x1c'),controller[_0x2234('0x1d')]);router['post']('/:id/applications',auth['isAuthenticated'](),controller[_0x2234('0x1e')]);router[_0x2234('0x18')](_0x2234('0x16'),auth[_0x2234('0xa')](),controller[_0x2234('0x1f')]);router[_0x2234('0x18')](_0x2234('0x20'),auth[_0x2234('0xa')](),controller[_0x2234('0x21')]);router[_0x2234('0x22')](_0x2234('0x23'),auth[_0x2234('0xa')](),controller[_0x2234('0x24')]);router[_0x2234('0x25')](_0x2234('0x23'),auth[_0x2234('0xa')](),controller[_0x2234('0x26')]);router[_0x2234('0x25')](_0x2234('0xe'),auth[_0x2234('0xa')](),controller[_0x2234('0x27')]);router[_0x2234('0x25')]('/:id/canned_answers',auth[_0x2234('0xa')](),controller[_0x2234('0x28')]);router[_0x2234('0x25')](_0x2234('0x16'),auth[_0x2234('0xa')](),controller[_0x2234('0x29')]);module[_0x2234('0x2a')]=router;
\ No newline at end of file