Built motion from commit 6a0adb95.|2.6.31
[motion2.git] / server / api / openchannelAccount / index.js
index 1712d8b..688764b 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4325=['getInteractions','/:id/users','post','create','addAnswer','/:id/notify','notify','addApplications','addAgents','/:id/send','send','put','destroy','delete','removeDispositions','removeAnswers','removeAgents','exports','multer','util','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./openchannelAccount.controller','isAuthenticated','index','/describe','describe','get','/:id','show','/:id/dispositions','getDispositions','/:id/canned_answers','/:id/applications','/:id/interactions'];(function(_0x4973ff,_0x30abe4){var _0x4dd6b6=function(_0x5b7a5c){while(--_0x5b7a5c){_0x4973ff['push'](_0x4973ff['shift']());}};_0x4dd6b6(++_0x30abe4);}(_0x4325,0x1da));var _0x5432=function(_0x3bf83f,_0x181cac){_0x3bf83f=_0x3bf83f-0x0;var _0x22c4a9=_0x4325[_0x3bf83f];return _0x22c4a9;};'use strict';var multer=require(_0x5432('0x0'));var util=require(_0x5432('0x1'));var path=require('path');var timeout=require(_0x5432('0x2'));var express=require(_0x5432('0x3'));var router=express[_0x5432('0x4')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x5432('0x5'));var config=require(_0x5432('0x6'));var controller=require(_0x5432('0x7'));router['get']('/',auth[_0x5432('0x8')](),controller[_0x5432('0x9')]);router['get'](_0x5432('0xa'),auth['isAuthenticated'](),controller[_0x5432('0xb')]);router[_0x5432('0xc')](_0x5432('0xd'),auth[_0x5432('0x8')](),controller[_0x5432('0xe')]);router['get'](_0x5432('0xf'),auth['isAuthenticated'](),controller[_0x5432('0x10')]);router[_0x5432('0xc')](_0x5432('0x11'),auth[_0x5432('0x8')](),controller['getAnswers']);router['get'](_0x5432('0x12'),auth[_0x5432('0x8')](),controller['getApplications']);router[_0x5432('0xc')](_0x5432('0x13'),auth[_0x5432('0x8')](),controller[_0x5432('0x14')]);router[_0x5432('0xc')](_0x5432('0x15'),auth['isAuthenticated'](),controller['getAgents']);router[_0x5432('0x16')]('/',auth[_0x5432('0x8')](),controller[_0x5432('0x17')]);router[_0x5432('0x16')](_0x5432('0xf'),auth[_0x5432('0x8')](),controller['addDisposition']);router[_0x5432('0x16')]('/:id/canned_answers',auth[_0x5432('0x8')](),controller[_0x5432('0x18')]);router[_0x5432('0x16')](_0x5432('0x19'),controller[_0x5432('0x1a')]);router['post'](_0x5432('0x12'),auth[_0x5432('0x8')](),controller[_0x5432('0x1b')]);router[_0x5432('0x16')](_0x5432('0x15'),auth[_0x5432('0x8')](),controller[_0x5432('0x1c')]);router['post'](_0x5432('0x1d'),auth[_0x5432('0x8')](),controller[_0x5432('0x1e')]);router[_0x5432('0x1f')](_0x5432('0xd'),auth['isAuthenticated'](),controller['update']);router['delete'](_0x5432('0xd'),auth[_0x5432('0x8')](),controller[_0x5432('0x20')]);router[_0x5432('0x21')]('/:id/dispositions',auth['isAuthenticated'](),controller[_0x5432('0x22')]);router[_0x5432('0x21')]('/:id/canned_answers',auth[_0x5432('0x8')](),controller[_0x5432('0x23')]);router[_0x5432('0x21')]('/:id/users',auth[_0x5432('0x8')](),controller[_0x5432('0x24')]);module[_0x5432('0x25')]=router;
\ No newline at end of file
+var _0x1eba=['removeAnswers','removeAgents','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelAccount.controller','get','isAuthenticated','index','/describe','describe','getAnswers','getApplications','/:id/interactions','getAgents','post','create','/:id/dispositions','addDisposition','/:id/canned_answers','addAnswer','/:id/notify','notify','/:id/applications','addApplications','/:id/users','addAgents','put','/:id','update','destroy','removeDispositions','delete'];(function(_0x2837a8,_0x2caef6){var _0x579692=function(_0x1886c1){while(--_0x1886c1){_0x2837a8['push'](_0x2837a8['shift']());}};_0x579692(++_0x2caef6);}(_0x1eba,0x1d7));var _0xa1eb=function(_0x401676,_0x3f1436){_0x401676=_0x401676-0x0;var _0x4f13fe=_0x1eba[_0x401676];return _0x4f13fe;};'use strict';var multer=require(_0xa1eb('0x0'));var util=require(_0xa1eb('0x1'));var path=require(_0xa1eb('0x2'));var timeout=require(_0xa1eb('0x3'));var express=require(_0xa1eb('0x4'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xa1eb('0x5'));var interaction=require(_0xa1eb('0x6'));var config=require(_0xa1eb('0x7'));var controller=require(_0xa1eb('0x8'));router[_0xa1eb('0x9')]('/',auth[_0xa1eb('0xa')](),controller[_0xa1eb('0xb')]);router[_0xa1eb('0x9')](_0xa1eb('0xc'),auth[_0xa1eb('0xa')](),controller[_0xa1eb('0xd')]);router[_0xa1eb('0x9')]('/:id',auth[_0xa1eb('0xa')](),controller['show']);router[_0xa1eb('0x9')]('/:id/dispositions',auth[_0xa1eb('0xa')](),controller['getDispositions']);router[_0xa1eb('0x9')]('/:id/canned_answers',auth[_0xa1eb('0xa')](),controller[_0xa1eb('0xe')]);router[_0xa1eb('0x9')]('/:id/applications',auth[_0xa1eb('0xa')](),controller[_0xa1eb('0xf')]);router['get'](_0xa1eb('0x10'),auth['isAuthenticated'](),controller['getInteractions']);router[_0xa1eb('0x9')]('/:id/users',auth[_0xa1eb('0xa')](),controller[_0xa1eb('0x11')]);router[_0xa1eb('0x12')]('/',auth[_0xa1eb('0xa')](),controller[_0xa1eb('0x13')]);router[_0xa1eb('0x12')](_0xa1eb('0x14'),auth[_0xa1eb('0xa')](),controller[_0xa1eb('0x15')]);router['post'](_0xa1eb('0x16'),auth['isAuthenticated'](),controller[_0xa1eb('0x17')]);router[_0xa1eb('0x12')](_0xa1eb('0x18'),controller[_0xa1eb('0x19')]);router['post'](_0xa1eb('0x1a'),auth[_0xa1eb('0xa')](),controller[_0xa1eb('0x1b')]);router[_0xa1eb('0x12')](_0xa1eb('0x1c'),auth[_0xa1eb('0xa')](),controller[_0xa1eb('0x1d')]);router[_0xa1eb('0x12')]('/:id/send',auth[_0xa1eb('0xa')](),controller['send']);router[_0xa1eb('0x1e')](_0xa1eb('0x1f'),auth[_0xa1eb('0xa')](),controller[_0xa1eb('0x20')]);router['delete']('/:id',auth[_0xa1eb('0xa')](),controller[_0xa1eb('0x21')]);router['delete'](_0xa1eb('0x14'),auth[_0xa1eb('0xa')](),controller[_0xa1eb('0x22')]);router[_0xa1eb('0x23')](_0xa1eb('0x16'),auth[_0xa1eb('0xa')](),controller[_0xa1eb('0x24')]);router[_0xa1eb('0x23')](_0xa1eb('0x1c'),auth[_0xa1eb('0xa')](),controller[_0xa1eb('0x25')]);module[_0xa1eb('0x26')]=router;
\ No newline at end of file