Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / api / cannedAnswer / index.js
index 92208bc..4e90186 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf3aa=['exports','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','index','get','/:id','isAuthenticated','post','create','put','update','delete','destroy'];(function(_0xcf5436,_0x4632c3){var _0xc4f5c8=function(_0x567528){while(--_0x567528){_0xcf5436['push'](_0xcf5436['shift']());}};_0xc4f5c8(++_0x4632c3);}(_0xf3aa,0x16a));var _0xaf3a=function(_0x144db7,_0x592719){_0x144db7=_0x144db7-0x0;var _0x3efe6a=_0xf3aa[_0x144db7];return _0x3efe6a;};'use strict';var multer=require(_0xaf3a('0x0'));var util=require('util');var path=require(_0xaf3a('0x1'));var timeout=require(_0xaf3a('0x2'));var express=require(_0xaf3a('0x3'));var router=express[_0xaf3a('0x4')]();var auth=require(_0xaf3a('0x5'));var interaction=require(_0xaf3a('0x6'));var config=require(_0xaf3a('0x7'));var controller=require('./cannedAnswer.controller');router['get']('/',auth['isAuthenticated'](),controller[_0xaf3a('0x8')]);router[_0xaf3a('0x9')](_0xaf3a('0xa'),auth[_0xaf3a('0xb')](),controller['show']);router[_0xaf3a('0xc')]('/',auth['isAuthenticated'](),controller[_0xaf3a('0xd')]);router[_0xaf3a('0xe')](_0xaf3a('0xa'),auth[_0xaf3a('0xb')](),controller[_0xaf3a('0xf')]);router[_0xaf3a('0x10')](_0xaf3a('0xa'),auth[_0xaf3a('0xb')](),controller[_0xaf3a('0x11')]);module[_0xaf3a('0x12')]=router;
\ No newline at end of file
+var _0x2b82=['util','express','fs-extra','./cannedAnswer.controller','get','isAuthenticated','/:id','show','create','put','delete','destroy','exports','multer'];(function(_0x566d9d,_0x1884f9){var _0x479385=function(_0x60f08f){while(--_0x60f08f){_0x566d9d['push'](_0x566d9d['shift']());}};_0x479385(++_0x1884f9);}(_0x2b82,0x1bf));var _0x22b8=function(_0x530525,_0x7e14ec){_0x530525=_0x530525-0x0;var _0x41a015=_0x2b82[_0x530525];return _0x41a015;};'use strict';var multer=require(_0x22b8('0x0'));var util=require(_0x22b8('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x22b8('0x2'));var router=express['Router']();var fs_extra=require(_0x22b8('0x3'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x22b8('0x4'));router[_0x22b8('0x5')]('/',auth[_0x22b8('0x6')](),controller['index']);router['get'](_0x22b8('0x7'),auth[_0x22b8('0x6')](),controller[_0x22b8('0x8')]);router['post']('/',auth[_0x22b8('0x6')](),controller[_0x22b8('0x9')]);router[_0x22b8('0xa')]('/:id',auth[_0x22b8('0x6')](),controller['update']);router[_0x22b8('0xb')]('/:id',auth[_0x22b8('0x6')](),controller[_0x22b8('0xc')]);module[_0x22b8('0xd')]=router;
\ No newline at end of file