Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / api / faxInteraction / index.js
index 16af16d..e5588bd 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa234=['get','isAuthenticated','index','/describe','describe','/:id','show','/:id/messages','getMessages','/:id/download','download','post','addMessage','/:id/tags','tracked','fax','faxinteraction:update','update','faxinteraction:destroy','destroy','delete','removeTags','multer','util','path','connect-timeout','express','fs-extra','../../components/interaction/service','./faxInteraction.controller'];(function(_0x346dba,_0x4301dd){var _0x3fafe1=function(_0x27bc63){while(--_0x27bc63){_0x346dba['push'](_0x346dba['shift']());}};_0x3fafe1(++_0x4301dd);}(_0xa234,0x142));var _0x4a23=function(_0x20e08b,_0x481bd7){_0x20e08b=_0x20e08b-0x0;var _0x1b8bc7=_0xa234[_0x20e08b];return _0x1b8bc7;};'use strict';var multer=require(_0x4a23('0x0'));var util=require(_0x4a23('0x1'));var path=require(_0x4a23('0x2'));var timeout=require(_0x4a23('0x3'));var express=require(_0x4a23('0x4'));var router=express['Router']();var fs_extra=require(_0x4a23('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x4a23('0x6'));var config=require('../../config/environment');var controller=require(_0x4a23('0x7'));router[_0x4a23('0x8')]('/',auth[_0x4a23('0x9')](),controller[_0x4a23('0xa')]);router[_0x4a23('0x8')](_0x4a23('0xb'),auth['isAuthenticated'](),controller[_0x4a23('0xc')]);router[_0x4a23('0x8')](_0x4a23('0xd'),auth[_0x4a23('0x9')](),controller[_0x4a23('0xe')]);router[_0x4a23('0x8')](_0x4a23('0xf'),auth[_0x4a23('0x9')](),controller[_0x4a23('0x10')]);router[_0x4a23('0x8')](_0x4a23('0x11'),auth['isAuthenticated'](),controller[_0x4a23('0x12')]);router[_0x4a23('0x13')]('/',auth[_0x4a23('0x9')](),controller['create']);router[_0x4a23('0x13')](_0x4a23('0xf'),auth[_0x4a23('0x9')](),controller[_0x4a23('0x14')]);router['post'](_0x4a23('0x15'),auth[_0x4a23('0x9')](),interaction[_0x4a23('0x16')](_0x4a23('0x17'),'faxinteraction:addtags'),controller['addTags']);router['put']('/:id',auth['isAuthenticated'](),interaction[_0x4a23('0x16')](_0x4a23('0x17'),_0x4a23('0x18')),controller[_0x4a23('0x19')]);router['delete'](_0x4a23('0xd'),auth['isAuthenticated'](),interaction[_0x4a23('0x16')](_0x4a23('0x17'),_0x4a23('0x1a')),controller[_0x4a23('0x1b')]);router[_0x4a23('0x1c')](_0x4a23('0x15'),auth['isAuthenticated'](),controller[_0x4a23('0x1d')]);module['exports']=router;
\ No newline at end of file
+var _0x4304=['update','delete','faxinteraction:destroy','destroy','removeTags','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./faxInteraction.controller','get','isAuthenticated','index','describe','show','/:id/messages','/:id/download','post','addMessage','/:id/tags','tracked','addTags','/:id','fax','faxinteraction:update'];(function(_0x3e1b08,_0x501bbc){var _0x2987bb=function(_0x182831){while(--_0x182831){_0x3e1b08['push'](_0x3e1b08['shift']());}};_0x2987bb(++_0x501bbc);}(_0x4304,0x199));var _0x4430=function(_0x349c57,_0x262f3b){_0x349c57=_0x349c57-0x0;var _0x293208=_0x4304[_0x349c57];return _0x293208;};'use strict';var multer=require(_0x4430('0x0'));var util=require(_0x4430('0x1'));var path=require(_0x4430('0x2'));var timeout=require(_0x4430('0x3'));var express=require(_0x4430('0x4'));var router=express[_0x4430('0x5')]();var fs_extra=require(_0x4430('0x6'));var auth=require(_0x4430('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0x4430('0x8'));var controller=require(_0x4430('0x9'));router[_0x4430('0xa')]('/',auth[_0x4430('0xb')](),controller[_0x4430('0xc')]);router[_0x4430('0xa')]('/describe',auth[_0x4430('0xb')](),controller[_0x4430('0xd')]);router['get']('/:id',auth[_0x4430('0xb')](),controller[_0x4430('0xe')]);router[_0x4430('0xa')](_0x4430('0xf'),auth['isAuthenticated'](),controller['getMessages']);router[_0x4430('0xa')](_0x4430('0x10'),auth[_0x4430('0xb')](),controller['download']);router[_0x4430('0x11')]('/',auth['isAuthenticated'](),controller['create']);router[_0x4430('0x11')](_0x4430('0xf'),auth[_0x4430('0xb')](),controller[_0x4430('0x12')]);router['post'](_0x4430('0x13'),auth[_0x4430('0xb')](),interaction[_0x4430('0x14')]('fax','faxinteraction:addtags'),controller[_0x4430('0x15')]);router['put'](_0x4430('0x16'),auth[_0x4430('0xb')](),interaction[_0x4430('0x14')](_0x4430('0x17'),_0x4430('0x18')),controller[_0x4430('0x19')]);router[_0x4430('0x1a')](_0x4430('0x16'),auth[_0x4430('0xb')](),interaction[_0x4430('0x14')](_0x4430('0x17'),_0x4430('0x1b')),controller[_0x4430('0x1c')]);router[_0x4430('0x1a')](_0x4430('0x13'),auth[_0x4430('0xb')](),controller[_0x4430('0x1d')]);module[_0x4430('0x1e')]=router;
\ No newline at end of file