Built motion from commit 42801a18.|2.6.28
[motion2.git] / server / api / openchannelAccount / index.js
index bc3de77..00d6184 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8aad=['index','get','describe','/:id','/:id/dispositions','getDispositions','getAnswers','/:id/applications','getApplications','/:id/interactions','getInteractions','getAgents','post','create','/:id/canned_answers','addAnswer','/:id/notify','notify','addApplications','/:id/users','addAgents','/:id/send','send','update','destroy','delete','removeDispositions','removeAnswers','removeAgents','exports','multer','util','connect-timeout','Router','fs-extra','../../config/environment','isAuthenticated'];(function(_0x43aa6e,_0xd75f81){var _0xfc07d8=function(_0xcf50d4){while(--_0xcf50d4){_0x43aa6e['push'](_0x43aa6e['shift']());}};_0xfc07d8(++_0xd75f81);}(_0x8aad,0x146));var _0xd8aa=function(_0x155f53,_0x424e91){_0x155f53=_0x155f53-0x0;var _0x598b4a=_0x8aad[_0x155f53];return _0x598b4a;};'use strict';var multer=require(_0xd8aa('0x0'));var util=require(_0xd8aa('0x1'));var path=require('path');var timeout=require(_0xd8aa('0x2'));var express=require('express');var router=express[_0xd8aa('0x3')]();var fs_extra=require(_0xd8aa('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xd8aa('0x5'));var controller=require('./openchannelAccount.controller');router['get']('/',auth[_0xd8aa('0x6')](),controller[_0xd8aa('0x7')]);router[_0xd8aa('0x8')]('/describe',auth[_0xd8aa('0x6')](),controller[_0xd8aa('0x9')]);router[_0xd8aa('0x8')](_0xd8aa('0xa'),auth['isAuthenticated'](),controller['show']);router[_0xd8aa('0x8')](_0xd8aa('0xb'),auth[_0xd8aa('0x6')](),controller[_0xd8aa('0xc')]);router[_0xd8aa('0x8')]('/:id/canned_answers',auth[_0xd8aa('0x6')](),controller[_0xd8aa('0xd')]);router[_0xd8aa('0x8')](_0xd8aa('0xe'),auth[_0xd8aa('0x6')](),controller[_0xd8aa('0xf')]);router[_0xd8aa('0x8')](_0xd8aa('0x10'),auth[_0xd8aa('0x6')](),controller[_0xd8aa('0x11')]);router['get']('/:id/users',auth[_0xd8aa('0x6')](),controller[_0xd8aa('0x12')]);router[_0xd8aa('0x13')]('/',auth['isAuthenticated'](),controller[_0xd8aa('0x14')]);router[_0xd8aa('0x13')](_0xd8aa('0xb'),auth[_0xd8aa('0x6')](),controller['addDisposition']);router[_0xd8aa('0x13')](_0xd8aa('0x15'),auth['isAuthenticated'](),controller[_0xd8aa('0x16')]);router[_0xd8aa('0x13')](_0xd8aa('0x17'),controller[_0xd8aa('0x18')]);router[_0xd8aa('0x13')]('/:id/applications',auth[_0xd8aa('0x6')](),controller[_0xd8aa('0x19')]);router[_0xd8aa('0x13')](_0xd8aa('0x1a'),auth['isAuthenticated'](),controller[_0xd8aa('0x1b')]);router[_0xd8aa('0x13')](_0xd8aa('0x1c'),auth[_0xd8aa('0x6')](),controller[_0xd8aa('0x1d')]);router['put'](_0xd8aa('0xa'),auth[_0xd8aa('0x6')](),controller[_0xd8aa('0x1e')]);router['delete'](_0xd8aa('0xa'),auth[_0xd8aa('0x6')](),controller[_0xd8aa('0x1f')]);router[_0xd8aa('0x20')](_0xd8aa('0xb'),auth[_0xd8aa('0x6')](),controller[_0xd8aa('0x21')]);router[_0xd8aa('0x20')](_0xd8aa('0x15'),auth[_0xd8aa('0x6')](),controller[_0xd8aa('0x22')]);router[_0xd8aa('0x20')](_0xd8aa('0x1a'),auth['isAuthenticated'](),controller[_0xd8aa('0x23')]);module[_0xd8aa('0x24')]=router;
\ No newline at end of file
+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(_0x15dcfc,_0x9d2060){var _0x57cc5c=function(_0x5b0c56){while(--_0x5b0c56){_0x15dcfc['push'](_0x15dcfc['shift']());}};_0x57cc5c(++_0x9d2060);}(_0xb03e,0x1eb));var _0xeb03=function(_0x4a9a96,_0x56dbc9){_0x4a9a96=_0x4a9a96-0x0;var _0x40cb8d=_0xb03e[_0x4a9a96];return _0x40cb8d;};'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