Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / api / cannedAnswer / index.js
index 74404af..4e90186 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfbc2=['../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','/:id','create','put','update','delete','exports','multer','util','connect-timeout','express','fs-extra'];(function(_0x3697c8,_0x18478e){var _0x3ef75a=function(_0x46012a){while(--_0x46012a){_0x3697c8['push'](_0x3697c8['shift']());}};_0x3ef75a(++_0x18478e);}(_0xfbc2,0x10b));var _0x2fbc=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xfbc2[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0x2fbc('0x0'));var util=require(_0x2fbc('0x1'));var path=require('path');var timeout=require(_0x2fbc('0x2'));var express=require(_0x2fbc('0x3'));var router=express['Router']();var fs_extra=require(_0x2fbc('0x4'));var auth=require(_0x2fbc('0x5'));var interaction=require(_0x2fbc('0x6'));var config=require(_0x2fbc('0x7'));var controller=require('./cannedAnswer.controller');router[_0x2fbc('0x8')]('/',auth[_0x2fbc('0x9')](),controller['index']);router[_0x2fbc('0x8')](_0x2fbc('0xa'),auth[_0x2fbc('0x9')](),controller['show']);router['post']('/',auth[_0x2fbc('0x9')](),controller[_0x2fbc('0xb')]);router[_0x2fbc('0xc')](_0x2fbc('0xa'),auth[_0x2fbc('0x9')](),controller[_0x2fbc('0xd')]);router[_0x2fbc('0xe')](_0x2fbc('0xa'),auth[_0x2fbc('0x9')](),controller['destroy']);module[_0x2fbc('0xf')]=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