X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FcannedAnswer%2Findex.js;h=36f031d4e9ad013e19529b6b495096b37a2269a0;hb=f1d1468b3a09c62a6041ebd552725da73d637879;hp=4e90186d57682ef097f1be653bfb8a08fd97bc26;hpb=b2ace134e5eb466deeb396f27c0c22876a7ffeae;p=motion2.git diff --git a/server/api/cannedAnswer/index.js b/server/api/cannedAnswer/index.js index 4e90186..36f031d 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 _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 +var _0x0b9d=['../../components/auth/service','../../components/interaction/service','../../config/environment','./cannedAnswer.controller','isAuthenticated','get','/:id','show','create','put','update','destroy','util','path','connect-timeout','express','Router','fs-extra'];(function(_0x1825b6,_0x36e47b){var _0x14e726=function(_0x531a93){while(--_0x531a93){_0x1825b6['push'](_0x1825b6['shift']());}};_0x14e726(++_0x36e47b);}(_0x0b9d,0x78));var _0xd0b9=function(_0x17ab23,_0x43c1e4){_0x17ab23=_0x17ab23-0x0;var _0x8176f5=_0x0b9d[_0x17ab23];return _0x8176f5;};'use strict';var multer=require('multer');var util=require(_0xd0b9('0x0'));var path=require(_0xd0b9('0x1'));var timeout=require(_0xd0b9('0x2'));var express=require(_0xd0b9('0x3'));var router=express[_0xd0b9('0x4')]();var fs_extra=require(_0xd0b9('0x5'));var auth=require(_0xd0b9('0x6'));var interaction=require(_0xd0b9('0x7'));var config=require(_0xd0b9('0x8'));var controller=require(_0xd0b9('0x9'));router['get']('/',auth[_0xd0b9('0xa')](),controller['index']);router[_0xd0b9('0xb')](_0xd0b9('0xc'),auth[_0xd0b9('0xa')](),controller[_0xd0b9('0xd')]);router['post']('/',auth['isAuthenticated'](),controller[_0xd0b9('0xe')]);router[_0xd0b9('0xf')](_0xd0b9('0xc'),auth[_0xd0b9('0xa')](),controller[_0xd0b9('0x10')]);router['delete'](_0xd0b9('0xc'),auth['isAuthenticated'](),controller[_0xd0b9('0x11')]);module['exports']=router; \ No newline at end of file