Built motion from commit 092f8824.|2.5.49
[motion2.git] / server / api / cannedAnswer / index.js
index 7a75ae6..8f91020 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb602=['index','isAuthenticated','show','post','create','delete','destroy','exports','multer','util','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./cannedAnswer.controller','get'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xb602,0x1c8));var _0x2b60=function(_0x49754d,_0x171c18){_0x49754d=_0x49754d-0x0;var _0x29326a=_0xb602[_0x49754d];return _0x29326a;};'use strict';var multer=require(_0x2b60('0x0'));var util=require(_0x2b60('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0x2b60('0x2')]();var fs_extra=require(_0x2b60('0x3'));var auth=require(_0x2b60('0x4'));var interaction=require(_0x2b60('0x5'));var config=require('../../config/environment');var controller=require(_0x2b60('0x6'));router[_0x2b60('0x7')]('/',auth['isAuthenticated'](),controller[_0x2b60('0x8')]);router['get']('/:id',auth[_0x2b60('0x9')](),controller[_0x2b60('0xa')]);router[_0x2b60('0xb')]('/',auth[_0x2b60('0x9')](),controller[_0x2b60('0xc')]);router['put']('/:id',auth[_0x2b60('0x9')](),controller['update']);router[_0x2b60('0xd')]('/:id',auth[_0x2b60('0x9')](),controller[_0x2b60('0xe')]);module[_0x2b60('0xf')]=router;
\ No newline at end of file
+var _0xb28e=['util','express','Router','../../components/auth/service','../../config/environment','./cannedAnswer.controller','get','isAuthenticated','index','/:id','show','create','put','update','delete','destroy','exports','multer'];(function(_0x4f21f7,_0x580a0d){var _0x54f37a=function(_0x4bd410){while(--_0x4bd410){_0x4f21f7['push'](_0x4f21f7['shift']());}};_0x54f37a(++_0x580a0d);}(_0xb28e,0xc5));var _0xeb28=function(_0x16fc99,_0x23589d){_0x16fc99=_0x16fc99-0x0;var _0x8ed00a=_0xb28e[_0x16fc99];return _0x8ed00a;};'use strict';var multer=require(_0xeb28('0x0'));var util=require(_0xeb28('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xeb28('0x2'));var router=express[_0xeb28('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0xeb28('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xeb28('0x5'));var controller=require(_0xeb28('0x6'));router[_0xeb28('0x7')]('/',auth[_0xeb28('0x8')](),controller[_0xeb28('0x9')]);router['get'](_0xeb28('0xa'),auth[_0xeb28('0x8')](),controller[_0xeb28('0xb')]);router['post']('/',auth[_0xeb28('0x8')](),controller[_0xeb28('0xc')]);router[_0xeb28('0xd')]('/:id',auth[_0xeb28('0x8')](),controller[_0xeb28('0xe')]);router[_0xeb28('0xf')](_0xeb28('0xa'),auth[_0xeb28('0x8')](),controller[_0xeb28('0x10')]);module[_0xeb28('0x11')]=router;
\ No newline at end of file