Built motion from commit 97153652.|2.6.26
[motion2.git] / server / api / cannedAnswer / index.js
index 30315a4..c5e9dc6 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x17c3=['create','isAuthenticated','update','delete','destroy','multer','util','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./cannedAnswer.controller','index','get','/:id','show','post'];(function(_0x1dd903,_0xfaa5bc){var _0x4d1740=function(_0x234d75){while(--_0x234d75){_0x1dd903['push'](_0x1dd903['shift']());}};_0x4d1740(++_0xfaa5bc);}(_0x17c3,0x71));var _0x317c=function(_0x44921b,_0x274619){_0x44921b=_0x44921b-0x0;var _0x2be581=_0x17c3[_0x44921b];return _0x2be581;};'use strict';var multer=require(_0x317c('0x0'));var util=require(_0x317c('0x1'));var path=require('path');var timeout=require(_0x317c('0x2'));var express=require(_0x317c('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x317c('0x4'));var interaction=require(_0x317c('0x5'));var config=require(_0x317c('0x6'));var controller=require(_0x317c('0x7'));router['get']('/',auth['isAuthenticated'](),controller[_0x317c('0x8')]);router[_0x317c('0x9')](_0x317c('0xa'),auth['isAuthenticated'](),controller[_0x317c('0xb')]);router[_0x317c('0xc')]('/',auth['isAuthenticated'](),controller[_0x317c('0xd')]);router['put']('/:id',auth[_0x317c('0xe')](),controller[_0x317c('0xf')]);router[_0x317c('0x10')]('/:id',auth[_0x317c('0xe')](),controller[_0x317c('0x11')]);module['exports']=router;
\ No newline at end of file
+var _0x8421=['create','put','update','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./cannedAnswer.controller','get','index','/:id','isAuthenticated','show','post'];(function(_0x292c2b,_0x29e359){var _0x459dc0=function(_0xb38d3b){while(--_0xb38d3b){_0x292c2b['push'](_0x292c2b['shift']());}};_0x459dc0(++_0x29e359);}(_0x8421,0x131));var _0x1842=function(_0x4adfcc,_0x4ef91a){_0x4adfcc=_0x4adfcc-0x0;var _0x566c4e=_0x8421[_0x4adfcc];return _0x566c4e;};'use strict';var multer=require(_0x1842('0x0'));var util=require(_0x1842('0x1'));var path=require(_0x1842('0x2'));var timeout=require(_0x1842('0x3'));var express=require(_0x1842('0x4'));var router=express[_0x1842('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x1842('0x6'));var interaction=require(_0x1842('0x7'));var config=require('../../config/environment');var controller=require(_0x1842('0x8'));router[_0x1842('0x9')]('/',auth['isAuthenticated'](),controller[_0x1842('0xa')]);router[_0x1842('0x9')](_0x1842('0xb'),auth[_0x1842('0xc')](),controller[_0x1842('0xd')]);router[_0x1842('0xe')]('/',auth[_0x1842('0xc')](),controller[_0x1842('0xf')]);router[_0x1842('0x10')](_0x1842('0xb'),auth[_0x1842('0xc')](),controller[_0x1842('0x11')]);router['delete'](_0x1842('0xb'),auth[_0x1842('0xc')](),controller[_0x1842('0x12')]);module[_0x1842('0x13')]=router;
\ No newline at end of file