Built motion from commit efa66e19.|2.6.22
[motion2.git] / server / api / openchannelAccount / index.js
index b30dc72..5a81c06 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x94ed=['../../components/interaction/service','get','index','/describe','isAuthenticated','describe','/:id','show','/:id/dispositions','getDispositions','/:id/canned_answers','getAnswers','/:id/applications','getApplications','/:id/interactions','/:id/users','create','addDisposition','post','addAnswer','/:id/notify','notify','addApplications','/:id/send','send','delete','removeDispositions','removeAnswers','multer','util','Router','fs-extra','../../components/auth/service'];(function(_0x2f0f8b,_0x9a8877){var _0x5304f9=function(_0x59ea26){while(--_0x59ea26){_0x2f0f8b['push'](_0x2f0f8b['shift']());}};_0x5304f9(++_0x9a8877);}(_0x94ed,0x103));var _0xd94e=function(_0x17784a,_0x42fe44){_0x17784a=_0x17784a-0x0;var _0x41aded=_0x94ed[_0x17784a];return _0x41aded;};'use strict';var multer=require(_0xd94e('0x0'));var util=require(_0xd94e('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0xd94e('0x2')]();var fs_extra=require(_0xd94e('0x3'));var auth=require(_0xd94e('0x4'));var interaction=require(_0xd94e('0x5'));var config=require('../../config/environment');var controller=require('./openchannelAccount.controller');router[_0xd94e('0x6')]('/',auth['isAuthenticated'](),controller[_0xd94e('0x7')]);router[_0xd94e('0x6')](_0xd94e('0x8'),auth[_0xd94e('0x9')](),controller[_0xd94e('0xa')]);router['get'](_0xd94e('0xb'),auth[_0xd94e('0x9')](),controller[_0xd94e('0xc')]);router[_0xd94e('0x6')](_0xd94e('0xd'),auth[_0xd94e('0x9')](),controller[_0xd94e('0xe')]);router[_0xd94e('0x6')](_0xd94e('0xf'),auth['isAuthenticated'](),controller[_0xd94e('0x10')]);router[_0xd94e('0x6')](_0xd94e('0x11'),auth[_0xd94e('0x9')](),controller[_0xd94e('0x12')]);router[_0xd94e('0x6')](_0xd94e('0x13'),auth[_0xd94e('0x9')](),controller['getInteractions']);router[_0xd94e('0x6')](_0xd94e('0x14'),auth[_0xd94e('0x9')](),controller['getAgents']);router['post']('/',auth['isAuthenticated'](),controller[_0xd94e('0x15')]);router['post'](_0xd94e('0xd'),auth[_0xd94e('0x9')](),controller[_0xd94e('0x16')]);router[_0xd94e('0x17')]('/:id/canned_answers',auth['isAuthenticated'](),controller[_0xd94e('0x18')]);router[_0xd94e('0x17')](_0xd94e('0x19'),controller[_0xd94e('0x1a')]);router[_0xd94e('0x17')](_0xd94e('0x11'),auth[_0xd94e('0x9')](),controller[_0xd94e('0x1b')]);router[_0xd94e('0x17')](_0xd94e('0x14'),auth['isAuthenticated'](),controller['addAgents']);router['post'](_0xd94e('0x1c'),auth[_0xd94e('0x9')](),controller[_0xd94e('0x1d')]);router['put'](_0xd94e('0xb'),auth[_0xd94e('0x9')](),controller['update']);router[_0xd94e('0x1e')](_0xd94e('0xb'),auth[_0xd94e('0x9')](),controller['destroy']);router['delete'](_0xd94e('0xd'),auth['isAuthenticated'](),controller[_0xd94e('0x1f')]);router['delete'](_0xd94e('0xf'),auth[_0xd94e('0x9')](),controller[_0xd94e('0x20')]);router[_0xd94e('0x1e')](_0xd94e('0x14'),auth['isAuthenticated'](),controller['removeAgents']);module['exports']=router;
\ No newline at end of file
+var _0x6840=['describe','/:id','show','/:id/dispositions','getDispositions','get','/:id/canned_answers','getAnswers','/:id/applications','getApplications','/:id/interactions','getInteractions','/:id/users','getAgents','post','create','addAnswer','/:id/notify','addApplications','/:id/send','send','put','update','delete','destroy','removeDispositions','removeAnswers','removeAgents','exports','multer','path','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','./openchannelAccount.controller','isAuthenticated','index','/describe'];(function(_0x128221,_0x1848ea){var _0x195298=function(_0x207b82){while(--_0x207b82){_0x128221['push'](_0x128221['shift']());}};_0x195298(++_0x1848ea);}(_0x6840,0x12e));var _0x0684=function(_0x4a9fb1,_0x273043){_0x4a9fb1=_0x4a9fb1-0x0;var _0x348672=_0x6840[_0x4a9fb1];return _0x348672;};'use strict';var multer=require(_0x0684('0x0'));var util=require('util');var path=require(_0x0684('0x1'));var timeout=require(_0x0684('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x0684('0x3'));var auth=require(_0x0684('0x4'));var interaction=require(_0x0684('0x5'));var config=require('../../config/environment');var controller=require(_0x0684('0x6'));router['get']('/',auth[_0x0684('0x7')](),controller[_0x0684('0x8')]);router['get'](_0x0684('0x9'),auth[_0x0684('0x7')](),controller[_0x0684('0xa')]);router['get'](_0x0684('0xb'),auth[_0x0684('0x7')](),controller[_0x0684('0xc')]);router['get'](_0x0684('0xd'),auth[_0x0684('0x7')](),controller[_0x0684('0xe')]);router[_0x0684('0xf')](_0x0684('0x10'),auth[_0x0684('0x7')](),controller[_0x0684('0x11')]);router[_0x0684('0xf')](_0x0684('0x12'),auth[_0x0684('0x7')](),controller[_0x0684('0x13')]);router[_0x0684('0xf')](_0x0684('0x14'),auth[_0x0684('0x7')](),controller[_0x0684('0x15')]);router[_0x0684('0xf')](_0x0684('0x16'),auth[_0x0684('0x7')](),controller[_0x0684('0x17')]);router[_0x0684('0x18')]('/',auth[_0x0684('0x7')](),controller[_0x0684('0x19')]);router[_0x0684('0x18')](_0x0684('0xd'),auth[_0x0684('0x7')](),controller['addDisposition']);router[_0x0684('0x18')]('/:id/canned_answers',auth['isAuthenticated'](),controller[_0x0684('0x1a')]);router[_0x0684('0x18')](_0x0684('0x1b'),controller['notify']);router['post'](_0x0684('0x12'),auth[_0x0684('0x7')](),controller[_0x0684('0x1c')]);router['post']('/:id/users',auth['isAuthenticated'](),controller['addAgents']);router[_0x0684('0x18')](_0x0684('0x1d'),auth[_0x0684('0x7')](),controller[_0x0684('0x1e')]);router[_0x0684('0x1f')](_0x0684('0xb'),auth[_0x0684('0x7')](),controller[_0x0684('0x20')]);router[_0x0684('0x21')](_0x0684('0xb'),auth[_0x0684('0x7')](),controller[_0x0684('0x22')]);router[_0x0684('0x21')](_0x0684('0xd'),auth[_0x0684('0x7')](),controller[_0x0684('0x23')]);router[_0x0684('0x21')](_0x0684('0x10'),auth[_0x0684('0x7')](),controller[_0x0684('0x24')]);router[_0x0684('0x21')]('/:id/users',auth[_0x0684('0x7')](),controller[_0x0684('0x25')]);module[_0x0684('0x26')]=router;
\ No newline at end of file