Built motion from commit 538092ac.|2.6.10
[motion2.git] / server / api / openchannelAccount / index.js
index 33b5111..450613d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x97a3=['./openchannelAccount.controller','get','isAuthenticated','index','describe','/:id','/:id/dispositions','getDispositions','/:id/canned_answers','/:id/applications','getApplications','/:id/interactions','getInteractions','/:id/users','getAgents','addDisposition','post','addAnswer','notify','addApplications','addAgents','/:id/send','send','put','update','delete','removeAnswers','removeAgents','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment'];(function(_0x3e63f5,_0x2890f6){var _0x32138a=function(_0x4d20f8){while(--_0x4d20f8){_0x3e63f5['push'](_0x3e63f5['shift']());}};_0x32138a(++_0x2890f6);}(_0x97a3,0xfa));var _0x397a=function(_0x36c749,_0x5b21a3){_0x36c749=_0x36c749-0x0;var _0x3afaa4=_0x97a3[_0x36c749];return _0x3afaa4;};'use strict';var multer=require(_0x397a('0x0'));var util=require(_0x397a('0x1'));var path=require(_0x397a('0x2'));var timeout=require(_0x397a('0x3'));var express=require(_0x397a('0x4'));var router=express[_0x397a('0x5')]();var fs_extra=require(_0x397a('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0x397a('0x7'));var config=require(_0x397a('0x8'));var controller=require(_0x397a('0x9'));router[_0x397a('0xa')]('/',auth[_0x397a('0xb')](),controller[_0x397a('0xc')]);router[_0x397a('0xa')]('/describe',auth[_0x397a('0xb')](),controller[_0x397a('0xd')]);router[_0x397a('0xa')](_0x397a('0xe'),auth[_0x397a('0xb')](),controller['show']);router[_0x397a('0xa')](_0x397a('0xf'),auth['isAuthenticated'](),controller[_0x397a('0x10')]);router[_0x397a('0xa')](_0x397a('0x11'),auth[_0x397a('0xb')](),controller['getAnswers']);router[_0x397a('0xa')](_0x397a('0x12'),auth[_0x397a('0xb')](),controller[_0x397a('0x13')]);router[_0x397a('0xa')](_0x397a('0x14'),auth[_0x397a('0xb')](),controller[_0x397a('0x15')]);router[_0x397a('0xa')](_0x397a('0x16'),auth[_0x397a('0xb')](),controller[_0x397a('0x17')]);router['post']('/',auth[_0x397a('0xb')](),controller['create']);router['post']('/:id/dispositions',auth[_0x397a('0xb')](),controller[_0x397a('0x18')]);router[_0x397a('0x19')](_0x397a('0x11'),auth[_0x397a('0xb')](),controller[_0x397a('0x1a')]);router[_0x397a('0x19')]('/:id/notify',controller[_0x397a('0x1b')]);router[_0x397a('0x19')](_0x397a('0x12'),auth[_0x397a('0xb')](),controller[_0x397a('0x1c')]);router[_0x397a('0x19')](_0x397a('0x16'),auth['isAuthenticated'](),controller[_0x397a('0x1d')]);router[_0x397a('0x19')](_0x397a('0x1e'),auth[_0x397a('0xb')](),controller[_0x397a('0x1f')]);router[_0x397a('0x20')]('/:id',auth[_0x397a('0xb')](),controller[_0x397a('0x21')]);router[_0x397a('0x22')](_0x397a('0xe'),auth[_0x397a('0xb')](),controller['destroy']);router[_0x397a('0x22')](_0x397a('0xf'),auth[_0x397a('0xb')](),controller['removeDispositions']);router[_0x397a('0x22')]('/:id/canned_answers',auth[_0x397a('0xb')](),controller[_0x397a('0x23')]);router[_0x397a('0x22')](_0x397a('0x16'),auth['isAuthenticated'](),controller[_0x397a('0x24')]);module['exports']=router;
\ No newline at end of file
+var _0x530b=['/:id','/:id/dispositions','getDispositions','/:id/canned_answers','/:id/applications','getApplications','/:id/interactions','getInteractions','/:id/users','getAgents','post','create','addDisposition','addAnswer','/:id/notify','notify','addApplications','addAgents','/:id/send','send','update','delete','destroy','removeDispositions','removeAnswers','removeAgents','multer','path','express','fs-extra','../../components/auth/service','../../config/environment','./openchannelAccount.controller','isAuthenticated','index','get','/describe','describe'];(function(_0x5e00c5,_0x1c1d33){var _0x52cab8=function(_0x49c16c){while(--_0x49c16c){_0x5e00c5['push'](_0x5e00c5['shift']());}};_0x52cab8(++_0x1c1d33);}(_0x530b,0x1e2));var _0xb530=function(_0x3239f5,_0x50e77c){_0x3239f5=_0x3239f5-0x0;var _0x3559c8=_0x530b[_0x3239f5];return _0x3559c8;};'use strict';var multer=require(_0xb530('0x0'));var util=require('util');var path=require(_0xb530('0x1'));var timeout=require('connect-timeout');var express=require(_0xb530('0x2'));var router=express['Router']();var fs_extra=require(_0xb530('0x3'));var auth=require(_0xb530('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xb530('0x5'));var controller=require(_0xb530('0x6'));router['get']('/',auth[_0xb530('0x7')](),controller[_0xb530('0x8')]);router[_0xb530('0x9')](_0xb530('0xa'),auth[_0xb530('0x7')](),controller[_0xb530('0xb')]);router['get'](_0xb530('0xc'),auth['isAuthenticated'](),controller['show']);router[_0xb530('0x9')](_0xb530('0xd'),auth[_0xb530('0x7')](),controller[_0xb530('0xe')]);router['get'](_0xb530('0xf'),auth[_0xb530('0x7')](),controller['getAnswers']);router[_0xb530('0x9')](_0xb530('0x10'),auth[_0xb530('0x7')](),controller[_0xb530('0x11')]);router[_0xb530('0x9')](_0xb530('0x12'),auth['isAuthenticated'](),controller[_0xb530('0x13')]);router[_0xb530('0x9')](_0xb530('0x14'),auth[_0xb530('0x7')](),controller[_0xb530('0x15')]);router[_0xb530('0x16')]('/',auth[_0xb530('0x7')](),controller[_0xb530('0x17')]);router['post'](_0xb530('0xd'),auth[_0xb530('0x7')](),controller[_0xb530('0x18')]);router['post'](_0xb530('0xf'),auth[_0xb530('0x7')](),controller[_0xb530('0x19')]);router[_0xb530('0x16')](_0xb530('0x1a'),controller[_0xb530('0x1b')]);router[_0xb530('0x16')](_0xb530('0x10'),auth['isAuthenticated'](),controller[_0xb530('0x1c')]);router['post'](_0xb530('0x14'),auth['isAuthenticated'](),controller[_0xb530('0x1d')]);router[_0xb530('0x16')](_0xb530('0x1e'),auth['isAuthenticated'](),controller[_0xb530('0x1f')]);router['put'](_0xb530('0xc'),auth[_0xb530('0x7')](),controller[_0xb530('0x20')]);router[_0xb530('0x21')](_0xb530('0xc'),auth[_0xb530('0x7')](),controller[_0xb530('0x22')]);router[_0xb530('0x21')](_0xb530('0xd'),auth[_0xb530('0x7')](),controller[_0xb530('0x23')]);router['delete'](_0xb530('0xf'),auth['isAuthenticated'](),controller[_0xb530('0x24')]);router[_0xb530('0x21')](_0xb530('0x14'),auth['isAuthenticated'](),controller[_0xb530('0x25')]);module['exports']=router;
\ No newline at end of file