Built motion from commit (unavailable).|2.5.1
[motion2.git] / server / api / openchannelAccount / index.js
index 8e87337..61066eb 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4b30=['addApplications','/:id/users','addAgents','/:id/send','send','put','update','delete','destroy','removeAnswers','exports','multer','util','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelAccount.controller','get','isAuthenticated','index','describe','/:id','show','/:id/dispositions','getDispositions','/:id/canned_answers','getApplications','/:id/interactions','getAgents','post','addDisposition','addAnswer','/:id/notify','notify','/:id/applications'];(function(_0x2a490f,_0x3cb94b){var _0x4683ff=function(_0x8fe63a){while(--_0x8fe63a){_0x2a490f['push'](_0x2a490f['shift']());}};_0x4683ff(++_0x3cb94b);}(_0x4b30,0x1a2));var _0x04b3=function(_0x17d928,_0x15f099){_0x17d928=_0x17d928-0x0;var _0x2c812c=_0x4b30[_0x17d928];return _0x2c812c;};'use strict';var multer=require(_0x04b3('0x0'));var util=require(_0x04b3('0x1'));var path=require('path');var timeout=require(_0x04b3('0x2'));var express=require(_0x04b3('0x3'));var router=express['Router']();var auth=require(_0x04b3('0x4'));var interaction=require(_0x04b3('0x5'));var config=require(_0x04b3('0x6'));var controller=require(_0x04b3('0x7'));router[_0x04b3('0x8')]('/',auth[_0x04b3('0x9')](),controller[_0x04b3('0xa')]);router[_0x04b3('0x8')]('/describe',auth[_0x04b3('0x9')](),controller[_0x04b3('0xb')]);router['get'](_0x04b3('0xc'),auth[_0x04b3('0x9')](),controller[_0x04b3('0xd')]);router[_0x04b3('0x8')](_0x04b3('0xe'),auth['isAuthenticated'](),controller[_0x04b3('0xf')]);router[_0x04b3('0x8')](_0x04b3('0x10'),auth[_0x04b3('0x9')](),controller['getAnswers']);router[_0x04b3('0x8')]('/:id/applications',auth[_0x04b3('0x9')](),controller[_0x04b3('0x11')]);router[_0x04b3('0x8')](_0x04b3('0x12'),auth[_0x04b3('0x9')](),controller['getInteractions']);router[_0x04b3('0x8')]('/:id/users',auth['isAuthenticated'](),controller[_0x04b3('0x13')]);router['post']('/',auth[_0x04b3('0x9')](),controller['create']);router[_0x04b3('0x14')](_0x04b3('0xe'),auth[_0x04b3('0x9')](),controller[_0x04b3('0x15')]);router[_0x04b3('0x14')](_0x04b3('0x10'),auth[_0x04b3('0x9')](),controller[_0x04b3('0x16')]);router[_0x04b3('0x14')](_0x04b3('0x17'),controller[_0x04b3('0x18')]);router[_0x04b3('0x14')](_0x04b3('0x19'),auth[_0x04b3('0x9')](),controller[_0x04b3('0x1a')]);router['post'](_0x04b3('0x1b'),auth[_0x04b3('0x9')](),controller[_0x04b3('0x1c')]);router['post'](_0x04b3('0x1d'),auth[_0x04b3('0x9')](),controller[_0x04b3('0x1e')]);router[_0x04b3('0x1f')](_0x04b3('0xc'),auth['isAuthenticated'](),controller[_0x04b3('0x20')]);router[_0x04b3('0x21')]('/:id',auth[_0x04b3('0x9')](),controller[_0x04b3('0x22')]);router[_0x04b3('0x21')]('/:id/dispositions',auth['isAuthenticated'](),controller['removeDispositions']);router['delete'](_0x04b3('0x10'),auth[_0x04b3('0x9')](),controller[_0x04b3('0x23')]);router[_0x04b3('0x21')](_0x04b3('0x1b'),auth[_0x04b3('0x9')](),controller['removeAgents']);module[_0x04b3('0x24')]=router;
\ No newline at end of file
+var _0x3a39=['multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelAccount.controller','get','index','/describe','isAuthenticated','describe','/:id','show','/:id/dispositions','getDispositions','/:id/canned_answers','/:id/applications','/:id/interactions','/:id/users','post','addDisposition','addAnswer','/:id/notify','notify','addAgents','/:id/send','send','delete','destroy','removeDispositions','removeAnswers','removeAgents','exports'];(function(_0x12f1e0,_0x5e1353){var _0x48a611=function(_0x10fd55){while(--_0x10fd55){_0x12f1e0['push'](_0x12f1e0['shift']());}};_0x48a611(++_0x5e1353);}(_0x3a39,0x120));var _0x93a3=function(_0x1d1779,_0x284147){_0x1d1779=_0x1d1779-0x0;var _0x2377e9=_0x3a39[_0x1d1779];return _0x2377e9;};'use strict';var multer=require(_0x93a3('0x0'));var util=require(_0x93a3('0x1'));var path=require(_0x93a3('0x2'));var timeout=require('connect-timeout');var express=require(_0x93a3('0x3'));var router=express[_0x93a3('0x4')]();var auth=require(_0x93a3('0x5'));var interaction=require(_0x93a3('0x6'));var config=require(_0x93a3('0x7'));var controller=require(_0x93a3('0x8'));router[_0x93a3('0x9')]('/',auth['isAuthenticated'](),controller[_0x93a3('0xa')]);router[_0x93a3('0x9')](_0x93a3('0xb'),auth[_0x93a3('0xc')](),controller[_0x93a3('0xd')]);router[_0x93a3('0x9')](_0x93a3('0xe'),auth['isAuthenticated'](),controller[_0x93a3('0xf')]);router[_0x93a3('0x9')](_0x93a3('0x10'),auth['isAuthenticated'](),controller[_0x93a3('0x11')]);router[_0x93a3('0x9')](_0x93a3('0x12'),auth['isAuthenticated'](),controller['getAnswers']);router[_0x93a3('0x9')](_0x93a3('0x13'),auth[_0x93a3('0xc')](),controller['getApplications']);router['get'](_0x93a3('0x14'),auth[_0x93a3('0xc')](),controller['getInteractions']);router[_0x93a3('0x9')](_0x93a3('0x15'),auth[_0x93a3('0xc')](),controller['getAgents']);router['post']('/',auth[_0x93a3('0xc')](),controller['create']);router[_0x93a3('0x16')](_0x93a3('0x10'),auth[_0x93a3('0xc')](),controller[_0x93a3('0x17')]);router[_0x93a3('0x16')](_0x93a3('0x12'),auth[_0x93a3('0xc')](),controller[_0x93a3('0x18')]);router[_0x93a3('0x16')](_0x93a3('0x19'),controller[_0x93a3('0x1a')]);router['post']('/:id/applications',auth['isAuthenticated'](),controller['addApplications']);router[_0x93a3('0x16')](_0x93a3('0x15'),auth[_0x93a3('0xc')](),controller[_0x93a3('0x1b')]);router['post'](_0x93a3('0x1c'),auth[_0x93a3('0xc')](),controller[_0x93a3('0x1d')]);router['put'](_0x93a3('0xe'),auth[_0x93a3('0xc')](),controller['update']);router[_0x93a3('0x1e')]('/:id',auth[_0x93a3('0xc')](),controller[_0x93a3('0x1f')]);router[_0x93a3('0x1e')](_0x93a3('0x10'),auth['isAuthenticated'](),controller[_0x93a3('0x20')]);router[_0x93a3('0x1e')]('/:id/canned_answers',auth[_0x93a3('0xc')](),controller[_0x93a3('0x21')]);router[_0x93a3('0x1e')](_0x93a3('0x15'),auth[_0x93a3('0xc')](),controller[_0x93a3('0x22')]);module[_0x93a3('0x23')]=router;
\ No newline at end of file