Built motion from commit 497d3d92.|2.5.43
[motion2.git] / server / api / cannedAnswer / index.js
index cd6972a..98b08bc 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xdc2c=['put','destroy','exports','multer','util','path','express','Router','./cannedAnswer.controller','isAuthenticated','index','get','/:id','show','post','create'];(function(_0x2a1da9,_0x1d1296){var _0x1d86ae=function(_0x5454eb){while(--_0x5454eb){_0x2a1da9['push'](_0x2a1da9['shift']());}};_0x1d86ae(++_0x1d1296);}(_0xdc2c,0xe3));var _0xcdc2=function(_0x443425,_0x4874f0){_0x443425=_0x443425-0x0;var _0x52ec83=_0xdc2c[_0x443425];return _0x52ec83;};'use strict';var multer=require(_0xcdc2('0x0'));var util=require(_0xcdc2('0x1'));var path=require(_0xcdc2('0x2'));var timeout=require('connect-timeout');var express=require(_0xcdc2('0x3'));var router=express[_0xcdc2('0x4')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xcdc2('0x5'));router['get']('/',auth[_0xcdc2('0x6')](),controller[_0xcdc2('0x7')]);router[_0xcdc2('0x8')](_0xcdc2('0x9'),auth['isAuthenticated'](),controller[_0xcdc2('0xa')]);router[_0xcdc2('0xb')]('/',auth[_0xcdc2('0x6')](),controller[_0xcdc2('0xc')]);router[_0xcdc2('0xd')](_0xcdc2('0x9'),auth[_0xcdc2('0x6')](),controller['update']);router['delete'](_0xcdc2('0x9'),auth[_0xcdc2('0x6')](),controller[_0xcdc2('0xe')]);module[_0xcdc2('0xf')]=router;
\ No newline at end of file
+var _0xb075=['index','/:id','show','post','put','update','delete','destroy','exports','multer','path','connect-timeout','express','fs-extra','../../components/interaction/service','../../config/environment','./cannedAnswer.controller','get','isAuthenticated'];(function(_0x5d8afd,_0xd7f769){var _0x336c61=function(_0x539e58){while(--_0x539e58){_0x5d8afd['push'](_0x5d8afd['shift']());}};_0x336c61(++_0xd7f769);}(_0xb075,0x1d1));var _0x5b07=function(_0xb68b25,_0x580b03){_0xb68b25=_0xb68b25-0x0;var _0x5ecf79=_0xb075[_0xb68b25];return _0x5ecf79;};'use strict';var multer=require(_0x5b07('0x0'));var util=require('util');var path=require(_0x5b07('0x1'));var timeout=require(_0x5b07('0x2'));var express=require(_0x5b07('0x3'));var router=express['Router']();var fs_extra=require(_0x5b07('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0x5b07('0x5'));var config=require(_0x5b07('0x6'));var controller=require(_0x5b07('0x7'));router[_0x5b07('0x8')]('/',auth[_0x5b07('0x9')](),controller[_0x5b07('0xa')]);router[_0x5b07('0x8')](_0x5b07('0xb'),auth['isAuthenticated'](),controller[_0x5b07('0xc')]);router[_0x5b07('0xd')]('/',auth[_0x5b07('0x9')](),controller['create']);router[_0x5b07('0xe')](_0x5b07('0xb'),auth[_0x5b07('0x9')](),controller[_0x5b07('0xf')]);router[_0x5b07('0x10')](_0x5b07('0xb'),auth['isAuthenticated'](),controller[_0x5b07('0x11')]);module[_0x5b07('0x12')]=router;
\ No newline at end of file