Built motion from commit d1eab355.|2.6.28
[motion2.git] / server / api / cannedAnswer / index.js
index ded1a23..36f031d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xeea1=['Router','../../components/interaction/service','../../config/environment','./cannedAnswer.controller','get','index','/:id','isAuthenticated','show','create','update','delete','exports','multer','connect-timeout'];(function(_0x4a88b5,_0x5cd99c){var _0xc55b9b=function(_0x51559c){while(--_0x51559c){_0x4a88b5['push'](_0x4a88b5['shift']());}};_0xc55b9b(++_0x5cd99c);}(_0xeea1,0xfd));var _0x1eea=function(_0x1e2532,_0xb156e8){_0x1e2532=_0x1e2532-0x0;var _0x159658=_0xeea1[_0x1e2532];return _0x159658;};'use strict';var multer=require(_0x1eea('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x1eea('0x1'));var express=require('express');var router=express[_0x1eea('0x2')]();var auth=require('../../components/auth/service');var interaction=require(_0x1eea('0x3'));var config=require(_0x1eea('0x4'));var controller=require(_0x1eea('0x5'));router[_0x1eea('0x6')]('/',auth['isAuthenticated'](),controller[_0x1eea('0x7')]);router[_0x1eea('0x6')](_0x1eea('0x8'),auth[_0x1eea('0x9')](),controller[_0x1eea('0xa')]);router['post']('/',auth[_0x1eea('0x9')](),controller[_0x1eea('0xb')]);router['put'](_0x1eea('0x8'),auth[_0x1eea('0x9')](),controller[_0x1eea('0xc')]);router[_0x1eea('0xd')](_0x1eea('0x8'),auth[_0x1eea('0x9')](),controller['destroy']);module[_0x1eea('0xe')]=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