Built motion from commit (unavailable).|2.4.11
[motion2.git] / server / api / openchannelAccount / index.js
index 6ff8920..e2c861f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x0bb2=['post','addAnswer','/:id/notify','notify','/:id/users','addAgents','/:id/send','send','put','update','delete','destroy','removeDispositions','removeAnswers','removeAgents','exports','multer','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./openchannelAccount.controller','get','index','/:id','isAuthenticated','/:id/dispositions','getDispositions','/:id/canned_answers','getAnswers','getInteractions'];(function(_0x2c91e9,_0x2fb965){var _0x13f0ff=function(_0xb39edf){while(--_0xb39edf){_0x2c91e9['push'](_0x2c91e9['shift']());}};_0x13f0ff(++_0x2fb965);}(_0x0bb2,0x15a));var _0x20bb=function(_0x2b291a,_0x4b3cfb){_0x2b291a=_0x2b291a-0x0;var _0x52ef53=_0x0bb2[_0x2b291a];return _0x52ef53;};'use strict';var multer=require(_0x20bb('0x0'));var util=require('util');var path=require(_0x20bb('0x1'));var timeout=require(_0x20bb('0x2'));var express=require(_0x20bb('0x3'));var router=express[_0x20bb('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x20bb('0x5'));var config=require(_0x20bb('0x6'));var controller=require(_0x20bb('0x7'));router[_0x20bb('0x8')]('/',auth['isAuthenticated'](),controller[_0x20bb('0x9')]);router['get']('/describe',auth['isAuthenticated'](),controller['describe']);router['get'](_0x20bb('0xa'),auth[_0x20bb('0xb')](),controller['show']);router[_0x20bb('0x8')](_0x20bb('0xc'),auth['isAuthenticated'](),controller[_0x20bb('0xd')]);router[_0x20bb('0x8')](_0x20bb('0xe'),auth[_0x20bb('0xb')](),controller[_0x20bb('0xf')]);router[_0x20bb('0x8')]('/:id/applications',auth[_0x20bb('0xb')](),controller['getApplications']);router[_0x20bb('0x8')]('/:id/interactions',auth[_0x20bb('0xb')](),controller[_0x20bb('0x10')]);router[_0x20bb('0x8')]('/:id/users',auth[_0x20bb('0xb')](),controller['getAgents']);router[_0x20bb('0x11')]('/',auth[_0x20bb('0xb')](),controller['create']);router[_0x20bb('0x11')](_0x20bb('0xc'),auth[_0x20bb('0xb')](),controller['addDisposition']);router[_0x20bb('0x11')]('/:id/canned_answers',auth[_0x20bb('0xb')](),controller[_0x20bb('0x12')]);router['post'](_0x20bb('0x13'),controller[_0x20bb('0x14')]);router['post']('/:id/applications',auth['isAuthenticated'](),controller['addApplications']);router['post'](_0x20bb('0x15'),auth['isAuthenticated'](),controller[_0x20bb('0x16')]);router['post'](_0x20bb('0x17'),auth['isAuthenticated'](),controller[_0x20bb('0x18')]);router[_0x20bb('0x19')]('/:id',auth['isAuthenticated'](),controller[_0x20bb('0x1a')]);router[_0x20bb('0x1b')]('/:id',auth['isAuthenticated'](),controller[_0x20bb('0x1c')]);router['delete'](_0x20bb('0xc'),auth[_0x20bb('0xb')](),controller[_0x20bb('0x1d')]);router[_0x20bb('0x1b')](_0x20bb('0xe'),auth['isAuthenticated'](),controller[_0x20bb('0x1e')]);router['delete']('/:id/users',auth[_0x20bb('0xb')](),controller[_0x20bb('0x1f')]);module[_0x20bb('0x20')]=router;
\ No newline at end of file
+var _0xb170=['show','/:id/dispositions','getDispositions','getAnswers','/:id/applications','getApplications','/:id/users','getAgents','post','addDisposition','addAnswer','/:id/notify','notify','addApplications','addAgents','/:id/send','send','update','delete','destroy','removeDispositions','/:id/canned_answers','removeAnswers','removeAgents','exports','multer','util','path','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelAccount.controller','get','isAuthenticated','index','describe','/:id'];(function(_0x460c61,_0x40461e){var _0x401398=function(_0x136044){while(--_0x136044){_0x460c61['push'](_0x460c61['shift']());}};_0x401398(++_0x40461e);}(_0xb170,0x1d5));var _0x0b17=function(_0x1cc8fe,_0x105328){_0x1cc8fe=_0x1cc8fe-0x0;var _0x230054=_0xb170[_0x1cc8fe];return _0x230054;};'use strict';var multer=require(_0x0b17('0x0'));var util=require(_0x0b17('0x1'));var path=require(_0x0b17('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require(_0x0b17('0x3'));var interaction=require(_0x0b17('0x4'));var config=require(_0x0b17('0x5'));var controller=require(_0x0b17('0x6'));router[_0x0b17('0x7')]('/',auth[_0x0b17('0x8')](),controller[_0x0b17('0x9')]);router[_0x0b17('0x7')]('/describe',auth[_0x0b17('0x8')](),controller[_0x0b17('0xa')]);router[_0x0b17('0x7')](_0x0b17('0xb'),auth['isAuthenticated'](),controller[_0x0b17('0xc')]);router[_0x0b17('0x7')](_0x0b17('0xd'),auth[_0x0b17('0x8')](),controller[_0x0b17('0xe')]);router[_0x0b17('0x7')]('/:id/canned_answers',auth[_0x0b17('0x8')](),controller[_0x0b17('0xf')]);router['get'](_0x0b17('0x10'),auth[_0x0b17('0x8')](),controller[_0x0b17('0x11')]);router[_0x0b17('0x7')]('/:id/interactions',auth[_0x0b17('0x8')](),controller['getInteractions']);router[_0x0b17('0x7')](_0x0b17('0x12'),auth[_0x0b17('0x8')](),controller[_0x0b17('0x13')]);router['post']('/',auth[_0x0b17('0x8')](),controller['create']);router[_0x0b17('0x14')](_0x0b17('0xd'),auth[_0x0b17('0x8')](),controller[_0x0b17('0x15')]);router[_0x0b17('0x14')]('/:id/canned_answers',auth[_0x0b17('0x8')](),controller[_0x0b17('0x16')]);router[_0x0b17('0x14')](_0x0b17('0x17'),controller[_0x0b17('0x18')]);router[_0x0b17('0x14')](_0x0b17('0x10'),auth[_0x0b17('0x8')](),controller[_0x0b17('0x19')]);router[_0x0b17('0x14')](_0x0b17('0x12'),auth['isAuthenticated'](),controller[_0x0b17('0x1a')]);router['post'](_0x0b17('0x1b'),auth[_0x0b17('0x8')](),controller[_0x0b17('0x1c')]);router['put']('/:id',auth['isAuthenticated'](),controller[_0x0b17('0x1d')]);router[_0x0b17('0x1e')](_0x0b17('0xb'),auth['isAuthenticated'](),controller[_0x0b17('0x1f')]);router['delete']('/:id/dispositions',auth[_0x0b17('0x8')](),controller[_0x0b17('0x20')]);router[_0x0b17('0x1e')](_0x0b17('0x21'),auth[_0x0b17('0x8')](),controller[_0x0b17('0x22')]);router[_0x0b17('0x1e')](_0x0b17('0x12'),auth['isAuthenticated'](),controller[_0x0b17('0x23')]);module[_0x0b17('0x24')]=router;
\ No newline at end of file