Built motion from commit 52c8a02d.|2.6.29
[motion2.git] / server / api / cannedAnswer / index.js
index 7db27cf..2805197 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x61bc=['show','post','put','update','delete','multer','path','Router','fs-extra','../../components/auth/service','../../config/environment','./cannedAnswer.controller','isAuthenticated','/:id'];(function(_0x8885cb,_0x3f000e){var _0x25ba05=function(_0xb10e25){while(--_0xb10e25){_0x8885cb['push'](_0x8885cb['shift']());}};_0x25ba05(++_0x3f000e);}(_0x61bc,0x67));var _0xc61b=function(_0x13a973,_0xacdf00){_0x13a973=_0x13a973-0x0;var _0x115e08=_0x61bc[_0x13a973];return _0x115e08;};'use strict';var multer=require(_0xc61b('0x0'));var util=require('util');var path=require(_0xc61b('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xc61b('0x2')]();var fs_extra=require(_0xc61b('0x3'));var auth=require(_0xc61b('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xc61b('0x5'));var controller=require(_0xc61b('0x6'));router['get']('/',auth[_0xc61b('0x7')](),controller['index']);router['get'](_0xc61b('0x8'),auth[_0xc61b('0x7')](),controller[_0xc61b('0x9')]);router[_0xc61b('0xa')]('/',auth[_0xc61b('0x7')](),controller['create']);router[_0xc61b('0xb')](_0xc61b('0x8'),auth[_0xc61b('0x7')](),controller[_0xc61b('0xc')]);router[_0xc61b('0xd')](_0xc61b('0x8'),auth[_0xc61b('0x7')](),controller['destroy']);module['exports']=router;
\ No newline at end of file
+var _0x81ed=['index','/:id','post','update','delete','destroy','multer','util','fs-extra','../../config/environment','./cannedAnswer.controller','get','isAuthenticated'];(function(_0x22413e,_0x3db0ee){var _0x4f7239=function(_0x119707){while(--_0x119707){_0x22413e['push'](_0x22413e['shift']());}};_0x4f7239(++_0x3db0ee);}(_0x81ed,0xf0));var _0xd81e=function(_0x2153a2,_0x2054f0){_0x2153a2=_0x2153a2-0x0;var _0x23fcc6=_0x81ed[_0x2153a2];return _0x23fcc6;};'use strict';var multer=require(_0xd81e('0x0'));var util=require(_0xd81e('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var fs_extra=require(_0xd81e('0x2'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xd81e('0x3'));var controller=require(_0xd81e('0x4'));router[_0xd81e('0x5')]('/',auth[_0xd81e('0x6')](),controller[_0xd81e('0x7')]);router[_0xd81e('0x5')](_0xd81e('0x8'),auth['isAuthenticated'](),controller['show']);router[_0xd81e('0x9')]('/',auth[_0xd81e('0x6')](),controller['create']);router['put'](_0xd81e('0x8'),auth[_0xd81e('0x6')](),controller[_0xd81e('0xa')]);router[_0xd81e('0xb')](_0xd81e('0x8'),auth[_0xd81e('0x6')](),controller[_0xd81e('0xc')]);module['exports']=router;
\ No newline at end of file