Built motion from commit d1eab355.|2.6.28
[motion2.git] / server / api / cannedAnswer / index.js
index 8fba995..36f031d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x3c5f=['isAuthenticated','index','/:id','post','create','put','update','delete','destroy','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get'];(function(_0x1b538b,_0x3f0056){var _0x1bace9=function(_0x6e45bb){while(--_0x6e45bb){_0x1b538b['push'](_0x1b538b['shift']());}};_0x1bace9(++_0x3f0056);}(_0x3c5f,0xcf));var _0xf3c5=function(_0x4fdb3a,_0x54f348){_0x4fdb3a=_0x4fdb3a-0x0;var _0x299941=_0x3c5f[_0x4fdb3a];return _0x299941;};'use strict';var multer=require('multer');var util=require(_0xf3c5('0x0'));var path=require(_0xf3c5('0x1'));var timeout=require(_0xf3c5('0x2'));var express=require(_0xf3c5('0x3'));var router=express['Router']();var fs_extra=require(_0xf3c5('0x4'));var auth=require(_0xf3c5('0x5'));var interaction=require(_0xf3c5('0x6'));var config=require(_0xf3c5('0x7'));var controller=require('./cannedAnswer.controller');router[_0xf3c5('0x8')]('/',auth[_0xf3c5('0x9')](),controller[_0xf3c5('0xa')]);router[_0xf3c5('0x8')](_0xf3c5('0xb'),auth[_0xf3c5('0x9')](),controller['show']);router[_0xf3c5('0xc')]('/',auth[_0xf3c5('0x9')](),controller[_0xf3c5('0xd')]);router[_0xf3c5('0xe')]('/:id',auth[_0xf3c5('0x9')](),controller[_0xf3c5('0xf')]);router[_0xf3c5('0x10')](_0xf3c5('0xb'),auth['isAuthenticated'](),controller[_0xf3c5('0x11')]);module['exports']=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