Built motion from commit 0bd120ac.|2.6.25
[motion2.git] / server / api / faxInteraction / index.js
index 060bd14..74e9366 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x7f4c=['download','create','post','addMessage','/:id/tags','tracked','fax','/:id','faxinteraction:update','update','delete','faxinteraction:destroy','destroy','removeTags','exports','multer','path','express','fs-extra','../../components/interaction/service','./faxInteraction.controller','get','isAuthenticated','/describe','describe','show','/:id/messages','/:id/download'];(function(_0x501510,_0x61caa9){var _0x1e6ee5=function(_0x32845b){while(--_0x32845b){_0x501510['push'](_0x501510['shift']());}};_0x1e6ee5(++_0x61caa9);}(_0x7f4c,0x1eb));var _0xc7f4=function(_0x1ae419,_0x5b1fc0){_0x1ae419=_0x1ae419-0x0;var _0x11f984=_0x7f4c[_0x1ae419];return _0x11f984;};'use strict';var multer=require(_0xc7f4('0x0'));var util=require('util');var path=require(_0xc7f4('0x1'));var timeout=require('connect-timeout');var express=require(_0xc7f4('0x2'));var router=express['Router']();var fs_extra=require(_0xc7f4('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0xc7f4('0x4'));var config=require('../../config/environment');var controller=require(_0xc7f4('0x5'));router[_0xc7f4('0x6')]('/',auth[_0xc7f4('0x7')](),controller['index']);router[_0xc7f4('0x6')](_0xc7f4('0x8'),auth[_0xc7f4('0x7')](),controller[_0xc7f4('0x9')]);router[_0xc7f4('0x6')]('/:id',auth[_0xc7f4('0x7')](),controller[_0xc7f4('0xa')]);router[_0xc7f4('0x6')](_0xc7f4('0xb'),auth[_0xc7f4('0x7')](),controller['getMessages']);router[_0xc7f4('0x6')](_0xc7f4('0xc'),auth[_0xc7f4('0x7')](),controller[_0xc7f4('0xd')]);router['post']('/',auth[_0xc7f4('0x7')](),controller[_0xc7f4('0xe')]);router[_0xc7f4('0xf')](_0xc7f4('0xb'),auth[_0xc7f4('0x7')](),controller[_0xc7f4('0x10')]);router[_0xc7f4('0xf')](_0xc7f4('0x11'),auth[_0xc7f4('0x7')](),interaction[_0xc7f4('0x12')](_0xc7f4('0x13'),'faxinteraction:addtags'),controller['addTags']);router['put'](_0xc7f4('0x14'),auth[_0xc7f4('0x7')](),interaction[_0xc7f4('0x12')](_0xc7f4('0x13'),_0xc7f4('0x15')),controller[_0xc7f4('0x16')]);router[_0xc7f4('0x17')](_0xc7f4('0x14'),auth[_0xc7f4('0x7')](),interaction['tracked']('fax',_0xc7f4('0x18')),controller[_0xc7f4('0x19')]);router['delete'](_0xc7f4('0x11'),auth[_0xc7f4('0x7')](),controller[_0xc7f4('0x1a')]);module[_0xc7f4('0x1b')]=router;
\ No newline at end of file
+var _0xd9f1=['util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','/describe','describe','show','getMessages','/:id/download','download','post','create','addMessage','/:id/tags','tracked','fax','faxinteraction:addtags','addTags','put','delete','/:id','faxinteraction:destroy','exports','multer'];(function(_0xb97587,_0x6db04f){var _0x23786c=function(_0x447f73){while(--_0x447f73){_0xb97587['push'](_0xb97587['shift']());}};_0x23786c(++_0x6db04f);}(_0xd9f1,0x1df));var _0x1d9f=function(_0x5cfb92,_0x5797e6){_0x5cfb92=_0x5cfb92-0x0;var _0x1cd7c2=_0xd9f1[_0x5cfb92];return _0x1cd7c2;};'use strict';var multer=require(_0x1d9f('0x0'));var util=require(_0x1d9f('0x1'));var path=require('path');var timeout=require(_0x1d9f('0x2'));var express=require(_0x1d9f('0x3'));var router=express[_0x1d9f('0x4')]();var fs_extra=require(_0x1d9f('0x5'));var auth=require(_0x1d9f('0x6'));var interaction=require(_0x1d9f('0x7'));var config=require(_0x1d9f('0x8'));var controller=require('./faxInteraction.controller');router[_0x1d9f('0x9')]('/',auth[_0x1d9f('0xa')](),controller['index']);router[_0x1d9f('0x9')](_0x1d9f('0xb'),auth['isAuthenticated'](),controller[_0x1d9f('0xc')]);router[_0x1d9f('0x9')]('/:id',auth['isAuthenticated'](),controller[_0x1d9f('0xd')]);router[_0x1d9f('0x9')]('/:id/messages',auth[_0x1d9f('0xa')](),controller[_0x1d9f('0xe')]);router[_0x1d9f('0x9')](_0x1d9f('0xf'),auth[_0x1d9f('0xa')](),controller[_0x1d9f('0x10')]);router[_0x1d9f('0x11')]('/',auth[_0x1d9f('0xa')](),controller[_0x1d9f('0x12')]);router[_0x1d9f('0x11')]('/:id/messages',auth['isAuthenticated'](),controller[_0x1d9f('0x13')]);router['post'](_0x1d9f('0x14'),auth['isAuthenticated'](),interaction[_0x1d9f('0x15')](_0x1d9f('0x16'),_0x1d9f('0x17')),controller[_0x1d9f('0x18')]);router[_0x1d9f('0x19')]('/:id',auth['isAuthenticated'](),interaction[_0x1d9f('0x15')](_0x1d9f('0x16'),'faxinteraction:update'),controller['update']);router[_0x1d9f('0x1a')](_0x1d9f('0x1b'),auth[_0x1d9f('0xa')](),interaction[_0x1d9f('0x15')]('fax',_0x1d9f('0x1c')),controller['destroy']);router[_0x1d9f('0x1a')]('/:id/tags',auth[_0x1d9f('0xa')](),controller['removeTags']);module[_0x1d9f('0x1d')]=router;
\ No newline at end of file