Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / api / faxInteraction / index.js
index b474e38..e5588bd 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa571=['isAuthenticated','index','get','/describe','describe','/:id','show','/:id/messages','getMessages','/:id/download','download','post','/:id/tags','tracked','faxinteraction:addtags','addTags','put','update','delete','fax','faxinteraction:destroy','removeTags','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','./faxInteraction.controller'];(function(_0x3dbccc,_0x56c4a7){var _0x560c00=function(_0x4371b1){while(--_0x4371b1){_0x3dbccc['push'](_0x3dbccc['shift']());}};_0x560c00(++_0x56c4a7);}(_0xa571,0x107));var _0x1a57=function(_0x213b74,_0x46786a){_0x213b74=_0x213b74-0x0;var _0x31a624=_0xa571[_0x213b74];return _0x31a624;};'use strict';var multer=require(_0x1a57('0x0'));var util=require(_0x1a57('0x1'));var path=require(_0x1a57('0x2'));var timeout=require(_0x1a57('0x3'));var express=require('express');var router=express[_0x1a57('0x4')]();var auth=require(_0x1a57('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x1a57('0x6'));router['get']('/',auth[_0x1a57('0x7')](),controller[_0x1a57('0x8')]);router[_0x1a57('0x9')](_0x1a57('0xa'),auth[_0x1a57('0x7')](),controller[_0x1a57('0xb')]);router['get'](_0x1a57('0xc'),auth[_0x1a57('0x7')](),controller[_0x1a57('0xd')]);router['get'](_0x1a57('0xe'),auth[_0x1a57('0x7')](),controller[_0x1a57('0xf')]);router[_0x1a57('0x9')](_0x1a57('0x10'),auth[_0x1a57('0x7')](),controller[_0x1a57('0x11')]);router[_0x1a57('0x12')]('/',auth['isAuthenticated'](),controller['create']);router[_0x1a57('0x12')](_0x1a57('0xe'),auth[_0x1a57('0x7')](),controller['addMessage']);router[_0x1a57('0x12')](_0x1a57('0x13'),auth['isAuthenticated'](),interaction[_0x1a57('0x14')]('fax',_0x1a57('0x15')),controller[_0x1a57('0x16')]);router[_0x1a57('0x17')](_0x1a57('0xc'),auth['isAuthenticated'](),interaction[_0x1a57('0x14')]('fax','faxinteraction:update'),controller[_0x1a57('0x18')]);router[_0x1a57('0x19')](_0x1a57('0xc'),auth['isAuthenticated'](),interaction[_0x1a57('0x14')](_0x1a57('0x1a'),_0x1a57('0x1b')),controller['destroy']);router[_0x1a57('0x19')](_0x1a57('0x13'),auth[_0x1a57('0x7')](),controller[_0x1a57('0x1c')]);module[_0x1a57('0x1d')]=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