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