X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FcannedAnswer%2Findex.js;h=28051970d1f92600842da4f9a1503652f7caf547;hb=795c8454f12f8a41fb2cd31a1270c087e5e59e94;hp=d1a13dd252dfd5e7459a6be04901cbc67fb0f4e7;hpb=01b994ccefecbcf0783b039dab259e973f97957c;p=motion2.git diff --git a/server/api/cannedAnswer/index.js b/server/api/cannedAnswer/index.js index d1a13dd..2805197 100644 --- a/server/api/cannedAnswer/index.js +++ b/server/api/cannedAnswer/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xf78b=['isAuthenticated','index','get','/:id','show','post','put','update','delete','exports','util','path','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./cannedAnswer.controller'];(function(_0x2d2c63,_0x5a661d){var _0x16e3e7=function(_0x36d501){while(--_0x36d501){_0x2d2c63['push'](_0x2d2c63['shift']());}};_0x16e3e7(++_0x5a661d);}(_0xf78b,0xe2));var _0xbf78=function(_0xd196ba,_0x3bebf4){_0xd196ba=_0xd196ba-0x0;var _0x39419e=_0xf78b[_0xd196ba];return _0x39419e;};'use strict';var multer=require('multer');var util=require(_0xbf78('0x0'));var path=require(_0xbf78('0x1'));var timeout=require('connect-timeout');var express=require(_0xbf78('0x2'));var router=express[_0xbf78('0x3')]();var fs_extra=require(_0xbf78('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xbf78('0x5'));var config=require(_0xbf78('0x6'));var controller=require(_0xbf78('0x7'));router['get']('/',auth[_0xbf78('0x8')](),controller[_0xbf78('0x9')]);router[_0xbf78('0xa')](_0xbf78('0xb'),auth[_0xbf78('0x8')](),controller[_0xbf78('0xc')]);router[_0xbf78('0xd')]('/',auth[_0xbf78('0x8')](),controller['create']);router[_0xbf78('0xe')](_0xbf78('0xb'),auth[_0xbf78('0x8')](),controller[_0xbf78('0xf')]);router[_0xbf78('0x10')]('/:id',auth[_0xbf78('0x8')](),controller['destroy']);module[_0xbf78('0x11')]=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