Built motion from commit f25620e4.|2.6.30
[motion2.git] / server / api / faxInteraction / index.js
index 01b18d9..337be53 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x6c69=['/:id/messages','getMessages','/:id/download','download','post','create','addMessage','/:id/tags','tracked','fax','faxinteraction:addtags','addTags','put','faxinteraction:update','delete','faxinteraction:destroy','destroy','removeTags','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/describe','describe','/:id','show'];(function(_0x56b4b8,_0x2cf6ba){var _0x33c0c2=function(_0x53c774){while(--_0x53c774){_0x56b4b8['push'](_0x56b4b8['shift']());}};_0x33c0c2(++_0x2cf6ba);}(_0x6c69,0xbc));var _0x96c6=function(_0x566816,_0x73fea5){_0x566816=_0x566816-0x0;var _0x36719c=_0x6c69[_0x566816];return _0x36719c;};'use strict';var multer=require(_0x96c6('0x0'));var util=require(_0x96c6('0x1'));var path=require(_0x96c6('0x2'));var timeout=require(_0x96c6('0x3'));var express=require('express');var router=express[_0x96c6('0x4')]();var fs_extra=require(_0x96c6('0x5'));var auth=require(_0x96c6('0x6'));var interaction=require(_0x96c6('0x7'));var config=require(_0x96c6('0x8'));var controller=require('./faxInteraction.controller');router[_0x96c6('0x9')]('/',auth[_0x96c6('0xa')](),controller[_0x96c6('0xb')]);router['get'](_0x96c6('0xc'),auth[_0x96c6('0xa')](),controller[_0x96c6('0xd')]);router['get'](_0x96c6('0xe'),auth[_0x96c6('0xa')](),controller[_0x96c6('0xf')]);router[_0x96c6('0x9')](_0x96c6('0x10'),auth['isAuthenticated'](),controller[_0x96c6('0x11')]);router['get'](_0x96c6('0x12'),auth[_0x96c6('0xa')](),controller[_0x96c6('0x13')]);router[_0x96c6('0x14')]('/',auth[_0x96c6('0xa')](),controller[_0x96c6('0x15')]);router[_0x96c6('0x14')](_0x96c6('0x10'),auth[_0x96c6('0xa')](),controller[_0x96c6('0x16')]);router['post'](_0x96c6('0x17'),auth[_0x96c6('0xa')](),interaction[_0x96c6('0x18')](_0x96c6('0x19'),_0x96c6('0x1a')),controller[_0x96c6('0x1b')]);router[_0x96c6('0x1c')](_0x96c6('0xe'),auth[_0x96c6('0xa')](),interaction[_0x96c6('0x18')]('fax',_0x96c6('0x1d')),controller['update']);router[_0x96c6('0x1e')](_0x96c6('0xe'),auth[_0x96c6('0xa')](),interaction[_0x96c6('0x18')]('fax',_0x96c6('0x1f')),controller[_0x96c6('0x20')]);router['delete'](_0x96c6('0x17'),auth['isAuthenticated'](),controller[_0x96c6('0x21')]);module['exports']=router;
\ No newline at end of file
+var _0x0a12=['connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./faxInteraction.controller','get','isAuthenticated','index','/describe','/:id','show','/:id/messages','getMessages','/:id/download','download','post','/:id/tags','tracked','fax','faxinteraction:addtags','faxinteraction:update','delete','faxinteraction:destroy','destroy','removeTags','multer','util','path'];(function(_0x18df4c,_0x5f3667){var _0x44a246=function(_0x2febaf){while(--_0x2febaf){_0x18df4c['push'](_0x18df4c['shift']());}};_0x44a246(++_0x5f3667);}(_0x0a12,0x1bf));var _0x20a1=function(_0x87b0ff,_0x314389){_0x87b0ff=_0x87b0ff-0x0;var _0x3bc0b2=_0x0a12[_0x87b0ff];return _0x3bc0b2;};'use strict';var multer=require(_0x20a1('0x0'));var util=require(_0x20a1('0x1'));var path=require(_0x20a1('0x2'));var timeout=require(_0x20a1('0x3'));var express=require(_0x20a1('0x4'));var router=express[_0x20a1('0x5')]();var fs_extra=require(_0x20a1('0x6'));var auth=require(_0x20a1('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0x20a1('0x8'));var controller=require(_0x20a1('0x9'));router[_0x20a1('0xa')]('/',auth[_0x20a1('0xb')](),controller[_0x20a1('0xc')]);router[_0x20a1('0xa')](_0x20a1('0xd'),auth[_0x20a1('0xb')](),controller['describe']);router[_0x20a1('0xa')](_0x20a1('0xe'),auth[_0x20a1('0xb')](),controller[_0x20a1('0xf')]);router['get'](_0x20a1('0x10'),auth[_0x20a1('0xb')](),controller[_0x20a1('0x11')]);router['get'](_0x20a1('0x12'),auth['isAuthenticated'](),controller[_0x20a1('0x13')]);router[_0x20a1('0x14')]('/',auth['isAuthenticated'](),controller['create']);router['post'](_0x20a1('0x10'),auth['isAuthenticated'](),controller['addMessage']);router[_0x20a1('0x14')](_0x20a1('0x15'),auth[_0x20a1('0xb')](),interaction[_0x20a1('0x16')](_0x20a1('0x17'),_0x20a1('0x18')),controller['addTags']);router['put']('/:id',auth[_0x20a1('0xb')](),interaction['tracked'](_0x20a1('0x17'),_0x20a1('0x19')),controller['update']);router[_0x20a1('0x1a')]('/:id',auth['isAuthenticated'](),interaction['tracked'](_0x20a1('0x17'),_0x20a1('0x1b')),controller[_0x20a1('0x1c')]);router[_0x20a1('0x1a')](_0x20a1('0x15'),auth[_0x20a1('0xb')](),controller[_0x20a1('0x1d')]);module['exports']=router;
\ No newline at end of file