Built motion from commit cb845558.|2.6.34
[motion2.git] / server / api / faxInteraction / index.js
index 9d3be6c..663aa6d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf23b=['faxinteraction:destroy','removeTags','util','path','connect-timeout','express','Router','fs-extra','../../config/environment','get','isAuthenticated','index','/describe','/:id','/:id/messages','getMessages','download','create','post','addMessage','/:id/tags','tracked','fax','put','faxinteraction:update','update'];(function(_0x362000,_0x463b23){var _0x38510d=function(_0x5a8319){while(--_0x5a8319){_0x362000['push'](_0x362000['shift']());}};_0x38510d(++_0x463b23);}(_0xf23b,0x1d6));var _0xbf23=function(_0x20eebf,_0xed0412){_0x20eebf=_0x20eebf-0x0;var _0x561a5c=_0xf23b[_0x20eebf];return _0x561a5c;};'use strict';var multer=require('multer');var util=require(_0xbf23('0x0'));var path=require(_0xbf23('0x1'));var timeout=require(_0xbf23('0x2'));var express=require(_0xbf23('0x3'));var router=express[_0xbf23('0x4')]();var fs_extra=require(_0xbf23('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xbf23('0x6'));var controller=require('./faxInteraction.controller');router[_0xbf23('0x7')]('/',auth[_0xbf23('0x8')](),controller[_0xbf23('0x9')]);router[_0xbf23('0x7')](_0xbf23('0xa'),auth[_0xbf23('0x8')](),controller['describe']);router[_0xbf23('0x7')](_0xbf23('0xb'),auth[_0xbf23('0x8')](),controller['show']);router[_0xbf23('0x7')](_0xbf23('0xc'),auth[_0xbf23('0x8')](),controller[_0xbf23('0xd')]);router[_0xbf23('0x7')]('/:id/download',auth[_0xbf23('0x8')](),controller[_0xbf23('0xe')]);router['post']('/',auth[_0xbf23('0x8')](),controller[_0xbf23('0xf')]);router[_0xbf23('0x10')]('/:id/messages',auth['isAuthenticated'](),controller[_0xbf23('0x11')]);router[_0xbf23('0x10')](_0xbf23('0x12'),auth[_0xbf23('0x8')](),interaction[_0xbf23('0x13')](_0xbf23('0x14'),'faxinteraction:addtags'),controller['addTags']);router[_0xbf23('0x15')](_0xbf23('0xb'),auth[_0xbf23('0x8')](),interaction[_0xbf23('0x13')](_0xbf23('0x14'),_0xbf23('0x16')),controller[_0xbf23('0x17')]);router['delete'](_0xbf23('0xb'),auth[_0xbf23('0x8')](),interaction[_0xbf23('0x13')](_0xbf23('0x14'),_0xbf23('0x18')),controller['destroy']);router['delete'](_0xbf23('0x12'),auth['isAuthenticated'](),controller[_0xbf23('0x19')]);module['exports']=router;
\ No newline at end of file
+var _0x69a0=['/:id/tags','tracked','fax','faxinteraction:addtags','addTags','put','update','delete','faxinteraction:destroy','removeTags','exports','multer','util','path','connect-timeout','express','fs-extra','../../config/environment','get','isAuthenticated','/describe','describe','/:id','show','/:id/messages','getMessages','/:id/download','post','create','addMessage'];(function(_0x1690f2,_0x1497a2){var _0x1f806b=function(_0x12e9fb){while(--_0x12e9fb){_0x1690f2['push'](_0x1690f2['shift']());}};_0x1f806b(++_0x1497a2);}(_0x69a0,0x119));var _0x069a=function(_0x1f825c,_0x1c736d){_0x1f825c=_0x1f825c-0x0;var _0x968ffe=_0x69a0[_0x1f825c];return _0x968ffe;};'use strict';var multer=require(_0x069a('0x0'));var util=require(_0x069a('0x1'));var path=require(_0x069a('0x2'));var timeout=require(_0x069a('0x3'));var express=require(_0x069a('0x4'));var router=express['Router']();var fs_extra=require(_0x069a('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x069a('0x6'));var controller=require('./faxInteraction.controller');router[_0x069a('0x7')]('/',auth[_0x069a('0x8')](),controller['index']);router[_0x069a('0x7')](_0x069a('0x9'),auth[_0x069a('0x8')](),controller[_0x069a('0xa')]);router['get'](_0x069a('0xb'),auth[_0x069a('0x8')](),controller[_0x069a('0xc')]);router['get'](_0x069a('0xd'),auth[_0x069a('0x8')](),controller[_0x069a('0xe')]);router[_0x069a('0x7')](_0x069a('0xf'),auth['isAuthenticated'](),controller['download']);router[_0x069a('0x10')]('/',auth[_0x069a('0x8')](),controller[_0x069a('0x11')]);router[_0x069a('0x10')](_0x069a('0xd'),auth[_0x069a('0x8')](),controller[_0x069a('0x12')]);router['post'](_0x069a('0x13'),auth[_0x069a('0x8')](),interaction[_0x069a('0x14')](_0x069a('0x15'),_0x069a('0x16')),controller[_0x069a('0x17')]);router[_0x069a('0x18')]('/:id',auth[_0x069a('0x8')](),interaction[_0x069a('0x14')](_0x069a('0x15'),'faxinteraction:update'),controller[_0x069a('0x19')]);router[_0x069a('0x1a')](_0x069a('0xb'),auth[_0x069a('0x8')](),interaction[_0x069a('0x14')]('fax',_0x069a('0x1b')),controller['destroy']);router[_0x069a('0x1a')]('/:id/tags',auth[_0x069a('0x8')](),controller[_0x069a('0x1c')]);module[_0x069a('0x1d')]=router;
\ No newline at end of file