Built motion from commit d1eab355.|2.6.28
[motion2.git] / server / api / cannedAnswer / index.js
index d1a13dd..36f031d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf78b=['isAuthenticated','index','get','/:id','show','post','put','update','delete','exports','util','path','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./cannedAnswer.controller'];(function(_0x2d2c63,_0x5a661d){var _0x16e3e7=function(_0x36d501){while(--_0x36d501){_0x2d2c63['push'](_0x2d2c63['shift']());}};_0x16e3e7(++_0x5a661d);}(_0xf78b,0xe2));var _0xbf78=function(_0xd196ba,_0x3bebf4){_0xd196ba=_0xd196ba-0x0;var _0x39419e=_0xf78b[_0xd196ba];return _0x39419e;};'use strict';var multer=require('multer');var util=require(_0xbf78('0x0'));var path=require(_0xbf78('0x1'));var timeout=require('connect-timeout');var express=require(_0xbf78('0x2'));var router=express[_0xbf78('0x3')]();var fs_extra=require(_0xbf78('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xbf78('0x5'));var config=require(_0xbf78('0x6'));var controller=require(_0xbf78('0x7'));router['get']('/',auth[_0xbf78('0x8')](),controller[_0xbf78('0x9')]);router[_0xbf78('0xa')](_0xbf78('0xb'),auth[_0xbf78('0x8')](),controller[_0xbf78('0xc')]);router[_0xbf78('0xd')]('/',auth[_0xbf78('0x8')](),controller['create']);router[_0xbf78('0xe')](_0xbf78('0xb'),auth[_0xbf78('0x8')](),controller[_0xbf78('0xf')]);router[_0xbf78('0x10')]('/:id',auth[_0xbf78('0x8')](),controller['destroy']);module[_0xbf78('0x11')]=router;
\ No newline at end of file
+var _0x0b9d=['../../components/auth/service','../../components/interaction/service','../../config/environment','./cannedAnswer.controller','isAuthenticated','get','/:id','show','create','put','update','destroy','util','path','connect-timeout','express','Router','fs-extra'];(function(_0x1825b6,_0x36e47b){var _0x14e726=function(_0x531a93){while(--_0x531a93){_0x1825b6['push'](_0x1825b6['shift']());}};_0x14e726(++_0x36e47b);}(_0x0b9d,0x78));var _0xd0b9=function(_0x17ab23,_0x43c1e4){_0x17ab23=_0x17ab23-0x0;var _0x8176f5=_0x0b9d[_0x17ab23];return _0x8176f5;};'use strict';var multer=require('multer');var util=require(_0xd0b9('0x0'));var path=require(_0xd0b9('0x1'));var timeout=require(_0xd0b9('0x2'));var express=require(_0xd0b9('0x3'));var router=express[_0xd0b9('0x4')]();var fs_extra=require(_0xd0b9('0x5'));var auth=require(_0xd0b9('0x6'));var interaction=require(_0xd0b9('0x7'));var config=require(_0xd0b9('0x8'));var controller=require(_0xd0b9('0x9'));router['get']('/',auth[_0xd0b9('0xa')](),controller['index']);router[_0xd0b9('0xb')](_0xd0b9('0xc'),auth[_0xd0b9('0xa')](),controller[_0xd0b9('0xd')]);router['post']('/',auth['isAuthenticated'](),controller[_0xd0b9('0xe')]);router[_0xd0b9('0xf')](_0xd0b9('0xc'),auth[_0xd0b9('0xa')](),controller[_0xd0b9('0x10')]);router['delete'](_0xd0b9('0xc'),auth['isAuthenticated'](),controller[_0xd0b9('0x11')]);module['exports']=router;
\ No newline at end of file