Built motion from commit ddca4d0d.|2.5.47
[motion2.git] / server / api / faxInteraction / index.js
index cd8d9c3..beb5eee 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbaf0=['removeTags','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./faxInteraction.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/messages','getMessages','/:id/download','download','post','addMessage','fax','faxinteraction:addtags','addTags','put','faxinteraction:update','update','delete','tracked','faxinteraction:destroy','destroy','/:id/tags'];(function(_0x19a0ad,_0x313bc1){var _0x138308=function(_0x5ab72e){while(--_0x5ab72e){_0x19a0ad['push'](_0x19a0ad['shift']());}};_0x138308(++_0x313bc1);}(_0xbaf0,0x12a));var _0x0baf=function(_0x19e35c,_0x29cd1e){_0x19e35c=_0x19e35c-0x0;var _0x3e1fe8=_0xbaf0[_0x19e35c];return _0x3e1fe8;};'use strict';var multer=require('multer');var util=require(_0x0baf('0x0'));var path=require(_0x0baf('0x1'));var timeout=require(_0x0baf('0x2'));var express=require(_0x0baf('0x3'));var router=express[_0x0baf('0x4')]();var auth=require(_0x0baf('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x0baf('0x6'));var controller=require(_0x0baf('0x7'));router[_0x0baf('0x8')]('/',auth[_0x0baf('0x9')](),controller[_0x0baf('0xa')]);router[_0x0baf('0x8')](_0x0baf('0xb'),auth[_0x0baf('0x9')](),controller[_0x0baf('0xc')]);router['get'](_0x0baf('0xd'),auth['isAuthenticated'](),controller[_0x0baf('0xe')]);router[_0x0baf('0x8')](_0x0baf('0xf'),auth[_0x0baf('0x9')](),controller[_0x0baf('0x10')]);router[_0x0baf('0x8')](_0x0baf('0x11'),auth[_0x0baf('0x9')](),controller[_0x0baf('0x12')]);router[_0x0baf('0x13')]('/',auth[_0x0baf('0x9')](),controller['create']);router['post'](_0x0baf('0xf'),auth[_0x0baf('0x9')](),controller[_0x0baf('0x14')]);router[_0x0baf('0x13')]('/:id/tags',auth[_0x0baf('0x9')](),interaction['tracked'](_0x0baf('0x15'),_0x0baf('0x16')),controller[_0x0baf('0x17')]);router[_0x0baf('0x18')](_0x0baf('0xd'),auth[_0x0baf('0x9')](),interaction['tracked']('fax',_0x0baf('0x19')),controller[_0x0baf('0x1a')]);router[_0x0baf('0x1b')](_0x0baf('0xd'),auth[_0x0baf('0x9')](),interaction[_0x0baf('0x1c')]('fax',_0x0baf('0x1d')),controller[_0x0baf('0x1e')]);router[_0x0baf('0x1b')](_0x0baf('0x1f'),auth[_0x0baf('0x9')](),controller[_0x0baf('0x20')]);module['exports']=router;
\ No newline at end of file
+var _0x770d=['/:id/messages','getMessages','/:id/download','download','post','create','addMessage','fax','addTags','put','/:id','tracked','faxinteraction:destroy','destroy','/:id/tags','removeTags','exports','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxInteraction.controller','get','isAuthenticated','index','/describe','describe','show'];(function(_0x4a9b33,_0x116d3c){var _0x7ae1cf=function(_0x4be18c){while(--_0x4be18c){_0x4a9b33['push'](_0x4a9b33['shift']());}};_0x7ae1cf(++_0x116d3c);}(_0x770d,0x91));var _0xd770=function(_0x224084,_0x2b14b0){_0x224084=_0x224084-0x0;var _0x273153=_0x770d[_0x224084];return _0x273153;};'use strict';var multer=require('multer');var util=require(_0xd770('0x0'));var path=require(_0xd770('0x1'));var timeout=require('connect-timeout');var express=require(_0xd770('0x2'));var router=express[_0xd770('0x3')]();var fs_extra=require(_0xd770('0x4'));var auth=require(_0xd770('0x5'));var interaction=require(_0xd770('0x6'));var config=require(_0xd770('0x7'));var controller=require(_0xd770('0x8'));router[_0xd770('0x9')]('/',auth[_0xd770('0xa')](),controller[_0xd770('0xb')]);router[_0xd770('0x9')](_0xd770('0xc'),auth['isAuthenticated'](),controller[_0xd770('0xd')]);router[_0xd770('0x9')]('/:id',auth[_0xd770('0xa')](),controller[_0xd770('0xe')]);router[_0xd770('0x9')](_0xd770('0xf'),auth[_0xd770('0xa')](),controller[_0xd770('0x10')]);router[_0xd770('0x9')](_0xd770('0x11'),auth[_0xd770('0xa')](),controller[_0xd770('0x12')]);router[_0xd770('0x13')]('/',auth[_0xd770('0xa')](),controller[_0xd770('0x14')]);router[_0xd770('0x13')]('/:id/messages',auth[_0xd770('0xa')](),controller[_0xd770('0x15')]);router['post']('/:id/tags',auth[_0xd770('0xa')](),interaction['tracked'](_0xd770('0x16'),'faxinteraction:addtags'),controller[_0xd770('0x17')]);router[_0xd770('0x18')](_0xd770('0x19'),auth[_0xd770('0xa')](),interaction['tracked'](_0xd770('0x16'),'faxinteraction:update'),controller['update']);router['delete'](_0xd770('0x19'),auth['isAuthenticated'](),interaction[_0xd770('0x1a')]('fax',_0xd770('0x1b')),controller[_0xd770('0x1c')]);router['delete'](_0xd770('0x1d'),auth[_0xd770('0xa')](),controller[_0xd770('0x1e')]);module[_0xd770('0x1f')]=router;
\ No newline at end of file