Built motion from commit 53172ac8.|2.6.30
[motion2.git] / server / api / faxInteraction / index.js
index 0a8b966..d94ed66 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa91c=['index','/describe','get','/:id','show','/:id/messages','/:id/download','download','post','/:id/tags','tracked','fax','faxinteraction:addtags','addTags','put','faxinteraction:update','delete','faxinteraction:destroy','removeTags','exports','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','isAuthenticated'];(function(_0x5cf7cf,_0x1e61c5){var _0x662b75=function(_0x5c1a13){while(--_0x5c1a13){_0x5cf7cf['push'](_0x5cf7cf['shift']());}};_0x662b75(++_0x1e61c5);}(_0xa91c,0x68));var _0xca91=function(_0x4a25e3,_0xffc2aa){_0x4a25e3=_0x4a25e3-0x0;var _0xc2ac02=_0xa91c[_0x4a25e3];return _0xc2ac02;};'use strict';var multer=require('multer');var util=require(_0xca91('0x0'));var path=require(_0xca91('0x1'));var timeout=require(_0xca91('0x2'));var express=require(_0xca91('0x3'));var router=express[_0xca91('0x4')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xca91('0x5'));var config=require(_0xca91('0x6'));var controller=require('./faxInteraction.controller');router['get']('/',auth[_0xca91('0x7')](),controller[_0xca91('0x8')]);router['get'](_0xca91('0x9'),auth['isAuthenticated'](),controller['describe']);router[_0xca91('0xa')](_0xca91('0xb'),auth[_0xca91('0x7')](),controller[_0xca91('0xc')]);router[_0xca91('0xa')](_0xca91('0xd'),auth[_0xca91('0x7')](),controller['getMessages']);router[_0xca91('0xa')](_0xca91('0xe'),auth[_0xca91('0x7')](),controller[_0xca91('0xf')]);router[_0xca91('0x10')]('/',auth[_0xca91('0x7')](),controller['create']);router[_0xca91('0x10')](_0xca91('0xd'),auth['isAuthenticated'](),controller['addMessage']);router[_0xca91('0x10')](_0xca91('0x11'),auth[_0xca91('0x7')](),interaction[_0xca91('0x12')](_0xca91('0x13'),_0xca91('0x14')),controller[_0xca91('0x15')]);router[_0xca91('0x16')](_0xca91('0xb'),auth['isAuthenticated'](),interaction['tracked'](_0xca91('0x13'),_0xca91('0x17')),controller['update']);router[_0xca91('0x18')](_0xca91('0xb'),auth[_0xca91('0x7')](),interaction[_0xca91('0x12')](_0xca91('0x13'),_0xca91('0x19')),controller['destroy']);router['delete'](_0xca91('0x11'),auth[_0xca91('0x7')](),controller[_0xca91('0x1a')]);module[_0xca91('0x1b')]=router;
\ No newline at end of file
+var _0x2df9=['post','create','addMessage','fax','faxinteraction:addtags','addTags','put','tracked','faxinteraction:update','delete','/:id/tags','removeTags','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../config/environment','./faxInteraction.controller','isAuthenticated','index','get','/describe','describe','/:id','show','/:id/messages','getMessages','/:id/download','download'];(function(_0xb0f7c3,_0x4eae95){var _0x28ea68=function(_0x4395a7){while(--_0x4395a7){_0xb0f7c3['push'](_0xb0f7c3['shift']());}};_0x28ea68(++_0x4eae95);}(_0x2df9,0x14d));var _0x92df=function(_0x3d4fa6,_0x5d2c63){_0x3d4fa6=_0x3d4fa6-0x0;var _0x5f46fd=_0x2df9[_0x3d4fa6];return _0x5f46fd;};'use strict';var multer=require(_0x92df('0x0'));var util=require(_0x92df('0x1'));var path=require(_0x92df('0x2'));var timeout=require(_0x92df('0x3'));var express=require(_0x92df('0x4'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x92df('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x92df('0x6'));var controller=require(_0x92df('0x7'));router['get']('/',auth[_0x92df('0x8')](),controller[_0x92df('0x9')]);router[_0x92df('0xa')](_0x92df('0xb'),auth[_0x92df('0x8')](),controller[_0x92df('0xc')]);router[_0x92df('0xa')](_0x92df('0xd'),auth[_0x92df('0x8')](),controller[_0x92df('0xe')]);router['get'](_0x92df('0xf'),auth[_0x92df('0x8')](),controller[_0x92df('0x10')]);router['get'](_0x92df('0x11'),auth[_0x92df('0x8')](),controller[_0x92df('0x12')]);router[_0x92df('0x13')]('/',auth['isAuthenticated'](),controller[_0x92df('0x14')]);router[_0x92df('0x13')](_0x92df('0xf'),auth[_0x92df('0x8')](),controller[_0x92df('0x15')]);router['post']('/:id/tags',auth[_0x92df('0x8')](),interaction['tracked'](_0x92df('0x16'),_0x92df('0x17')),controller[_0x92df('0x18')]);router[_0x92df('0x19')](_0x92df('0xd'),auth[_0x92df('0x8')](),interaction[_0x92df('0x1a')]('fax',_0x92df('0x1b')),controller['update']);router[_0x92df('0x1c')](_0x92df('0xd'),auth[_0x92df('0x8')](),interaction[_0x92df('0x1a')]('fax','faxinteraction:destroy'),controller['destroy']);router[_0x92df('0x1c')](_0x92df('0x1d'),auth[_0x92df('0x8')](),controller[_0x92df('0x1e')]);module[_0x92df('0x1f')]=router;
\ No newline at end of file