Built motion from commit 10af8726.|2.6.34
[motion2.git] / server / api / openchannelAccount / index.js
index 0a26285..e14966e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb03e=['addApplications','/:id/users','/:id/send','send','put','update','delete','destroy','removeAnswers','removeAgents','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelAccount.controller','get','isAuthenticated','/describe','describe','/:id','show','/:id/dispositions','getDispositions','/:id/canned_answers','getAnswers','/:id/applications','getApplications','/:id/interactions','getInteractions','getAgents','post','addAnswer','/:id/notify','notify'];(function(_0xf65ecb,_0x331801){var _0x213052=function(_0x3ddf70){while(--_0x3ddf70){_0xf65ecb['push'](_0xf65ecb['shift']());}};_0x213052(++_0x331801);}(_0xb03e,0x1eb));var _0xeb03=function(_0x37d675,_0x2b1f4a){_0x37d675=_0x37d675-0x0;var _0x3b6d58=_0xb03e[_0x37d675];return _0x3b6d58;};'use strict';var multer=require('multer');var util=require(_0xeb03('0x0'));var path=require(_0xeb03('0x1'));var timeout=require(_0xeb03('0x2'));var express=require(_0xeb03('0x3'));var router=express[_0xeb03('0x4')]();var fs_extra=require(_0xeb03('0x5'));var auth=require(_0xeb03('0x6'));var interaction=require(_0xeb03('0x7'));var config=require(_0xeb03('0x8'));var controller=require(_0xeb03('0x9'));router[_0xeb03('0xa')]('/',auth[_0xeb03('0xb')](),controller['index']);router[_0xeb03('0xa')](_0xeb03('0xc'),auth[_0xeb03('0xb')](),controller[_0xeb03('0xd')]);router[_0xeb03('0xa')](_0xeb03('0xe'),auth['isAuthenticated'](),controller[_0xeb03('0xf')]);router[_0xeb03('0xa')](_0xeb03('0x10'),auth['isAuthenticated'](),controller[_0xeb03('0x11')]);router['get'](_0xeb03('0x12'),auth[_0xeb03('0xb')](),controller[_0xeb03('0x13')]);router[_0xeb03('0xa')](_0xeb03('0x14'),auth[_0xeb03('0xb')](),controller[_0xeb03('0x15')]);router[_0xeb03('0xa')](_0xeb03('0x16'),auth[_0xeb03('0xb')](),controller[_0xeb03('0x17')]);router[_0xeb03('0xa')]('/:id/users',auth[_0xeb03('0xb')](),controller[_0xeb03('0x18')]);router[_0xeb03('0x19')]('/',auth[_0xeb03('0xb')](),controller['create']);router[_0xeb03('0x19')](_0xeb03('0x10'),auth[_0xeb03('0xb')](),controller['addDisposition']);router[_0xeb03('0x19')](_0xeb03('0x12'),auth[_0xeb03('0xb')](),controller[_0xeb03('0x1a')]);router[_0xeb03('0x19')](_0xeb03('0x1b'),controller[_0xeb03('0x1c')]);router[_0xeb03('0x19')](_0xeb03('0x14'),auth[_0xeb03('0xb')](),controller[_0xeb03('0x1d')]);router[_0xeb03('0x19')](_0xeb03('0x1e'),auth[_0xeb03('0xb')](),controller['addAgents']);router[_0xeb03('0x19')](_0xeb03('0x1f'),auth[_0xeb03('0xb')](),controller[_0xeb03('0x20')]);router[_0xeb03('0x21')](_0xeb03('0xe'),auth[_0xeb03('0xb')](),controller[_0xeb03('0x22')]);router[_0xeb03('0x23')]('/:id',auth[_0xeb03('0xb')](),controller[_0xeb03('0x24')]);router[_0xeb03('0x23')](_0xeb03('0x10'),auth[_0xeb03('0xb')](),controller['removeDispositions']);router[_0xeb03('0x23')](_0xeb03('0x12'),auth[_0xeb03('0xb')](),controller[_0xeb03('0x25')]);router[_0xeb03('0x23')](_0xeb03('0x1e'),auth[_0xeb03('0xb')](),controller[_0xeb03('0x26')]);module[_0xeb03('0x27')]=router;
\ No newline at end of file
+var _0x160f=['./openchannelAccount.controller','isAuthenticated','index','show','get','/:id/dispositions','/:id/canned_answers','/:id/applications','getApplications','/:id/users','getAgents','post','create','addDisposition','notify','addApplications','addAgents','/:id/send','send','/:id','update','delete','destroy','removeDispositions','removeAnswers','removeAgents','exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0xa979ff,_0x49e226){var _0xd63748=function(_0x499db8){while(--_0x499db8){_0xa979ff['push'](_0xa979ff['shift']());}};_0xd63748(++_0x49e226);}(_0x160f,0x1ef));var _0xf160=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x160f[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xf160('0x0'));var util=require(_0xf160('0x1'));var path=require(_0xf160('0x2'));var timeout=require(_0xf160('0x3'));var express=require('express');var router=express[_0xf160('0x4')]();var fs_extra=require(_0xf160('0x5'));var auth=require(_0xf160('0x6'));var interaction=require(_0xf160('0x7'));var config=require(_0xf160('0x8'));var controller=require(_0xf160('0x9'));router['get']('/',auth[_0xf160('0xa')](),controller[_0xf160('0xb')]);router['get']('/describe',auth[_0xf160('0xa')](),controller['describe']);router['get']('/:id',auth[_0xf160('0xa')](),controller[_0xf160('0xc')]);router[_0xf160('0xd')](_0xf160('0xe'),auth['isAuthenticated'](),controller['getDispositions']);router[_0xf160('0xd')](_0xf160('0xf'),auth[_0xf160('0xa')](),controller['getAnswers']);router[_0xf160('0xd')](_0xf160('0x10'),auth[_0xf160('0xa')](),controller[_0xf160('0x11')]);router[_0xf160('0xd')]('/:id/interactions',auth[_0xf160('0xa')](),controller['getInteractions']);router[_0xf160('0xd')](_0xf160('0x12'),auth[_0xf160('0xa')](),controller[_0xf160('0x13')]);router[_0xf160('0x14')]('/',auth[_0xf160('0xa')](),controller[_0xf160('0x15')]);router[_0xf160('0x14')](_0xf160('0xe'),auth['isAuthenticated'](),controller[_0xf160('0x16')]);router[_0xf160('0x14')](_0xf160('0xf'),auth[_0xf160('0xa')](),controller['addAnswer']);router[_0xf160('0x14')]('/:id/notify',controller[_0xf160('0x17')]);router[_0xf160('0x14')](_0xf160('0x10'),auth[_0xf160('0xa')](),controller[_0xf160('0x18')]);router[_0xf160('0x14')](_0xf160('0x12'),auth[_0xf160('0xa')](),controller[_0xf160('0x19')]);router['post'](_0xf160('0x1a'),auth[_0xf160('0xa')](),controller[_0xf160('0x1b')]);router['put'](_0xf160('0x1c'),auth[_0xf160('0xa')](),controller[_0xf160('0x1d')]);router[_0xf160('0x1e')](_0xf160('0x1c'),auth[_0xf160('0xa')](),controller[_0xf160('0x1f')]);router['delete'](_0xf160('0xe'),auth[_0xf160('0xa')](),controller[_0xf160('0x20')]);router[_0xf160('0x1e')]('/:id/canned_answers',auth[_0xf160('0xa')](),controller[_0xf160('0x21')]);router['delete']('/:id/users',auth[_0xf160('0xa')](),controller[_0xf160('0x22')]);module[_0xf160('0x23')]=router;
\ No newline at end of file