Built motion from commit 47436d59.|2.6.7
[motion2.git] / server / api / faxQueue / index.js
index ac8d8e2..57c4009 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xafc4=['exports','multer','path','express','Router','fs-extra','../../components/auth/service','get','isAuthenticated','index','/describe','/:id','show','/:id/members','getTeams','/:id/users','getAgents','post','create','/:id/teams','addTeams','update','delete','destroy','removeTeams','removeAgents'];(function(_0xa3e07c,_0x479916){var _0x4f85e9=function(_0x2e2ac2){while(--_0x2e2ac2){_0xa3e07c['push'](_0xa3e07c['shift']());}};_0x4f85e9(++_0x479916);}(_0xafc4,0x69));var _0x4afc=function(_0x2bf2eb,_0x1aafeb){_0x2bf2eb=_0x2bf2eb-0x0;var _0x660889=_0xafc4[_0x2bf2eb];return _0x660889;};'use strict';var multer=require(_0x4afc('0x0'));var util=require('util');var path=require(_0x4afc('0x1'));var timeout=require('connect-timeout');var express=require(_0x4afc('0x2'));var router=express[_0x4afc('0x3')]();var fs_extra=require(_0x4afc('0x4'));var auth=require(_0x4afc('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./faxQueue.controller');router[_0x4afc('0x6')]('/',auth[_0x4afc('0x7')](),controller[_0x4afc('0x8')]);router[_0x4afc('0x6')](_0x4afc('0x9'),auth[_0x4afc('0x7')](),controller['describe']);router[_0x4afc('0x6')](_0x4afc('0xa'),auth[_0x4afc('0x7')](),controller[_0x4afc('0xb')]);router[_0x4afc('0x6')](_0x4afc('0xc'),auth['isAuthenticated'](),controller['getMembers']);router[_0x4afc('0x6')]('/:id/teams',auth[_0x4afc('0x7')](),controller[_0x4afc('0xd')]);router['get'](_0x4afc('0xe'),auth[_0x4afc('0x7')](),controller[_0x4afc('0xf')]);router[_0x4afc('0x10')]('/',auth[_0x4afc('0x7')](),controller[_0x4afc('0x11')]);router[_0x4afc('0x10')](_0x4afc('0x12'),auth['isAuthenticated'](),controller[_0x4afc('0x13')]);router[_0x4afc('0x10')](_0x4afc('0xe'),auth[_0x4afc('0x7')](),controller['addAgents']);router['put'](_0x4afc('0xa'),auth['isAuthenticated'](),controller[_0x4afc('0x14')]);router[_0x4afc('0x15')](_0x4afc('0xa'),auth[_0x4afc('0x7')](),controller[_0x4afc('0x16')]);router[_0x4afc('0x15')](_0x4afc('0x12'),auth[_0x4afc('0x7')](),controller[_0x4afc('0x17')]);router[_0x4afc('0x15')](_0x4afc('0xe'),auth['isAuthenticated'](),controller[_0x4afc('0x18')]);module[_0x4afc('0x19')]=router;
\ No newline at end of file
+var _0xd046=['util','path','connect-timeout','Router','../../components/interaction/service','./faxQueue.controller','index','get','describe','show','/:id/members','/:id/teams','isAuthenticated','getTeams','getAgents','post','create','addTeams','/:id/users','addAgents','put','/:id','update','delete','destroy','removeAgents','exports'];(function(_0x382eee,_0x112003){var _0x2c2289=function(_0x472ee2){while(--_0x472ee2){_0x382eee['push'](_0x382eee['shift']());}};_0x2c2289(++_0x112003);}(_0xd046,0x129));var _0x6d04=function(_0x15f366,_0x17c48d){_0x15f366=_0x15f366-0x0;var _0x567f26=_0xd046[_0x15f366];return _0x567f26;};'use strict';var multer=require('multer');var util=require(_0x6d04('0x0'));var path=require(_0x6d04('0x1'));var timeout=require(_0x6d04('0x2'));var express=require('express');var router=express[_0x6d04('0x3')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x6d04('0x4'));var config=require('../../config/environment');var controller=require(_0x6d04('0x5'));router['get']('/',auth['isAuthenticated'](),controller[_0x6d04('0x6')]);router[_0x6d04('0x7')]('/describe',auth['isAuthenticated'](),controller[_0x6d04('0x8')]);router[_0x6d04('0x7')]('/:id',auth['isAuthenticated'](),controller[_0x6d04('0x9')]);router['get'](_0x6d04('0xa'),auth['isAuthenticated'](),controller['getMembers']);router['get'](_0x6d04('0xb'),auth[_0x6d04('0xc')](),controller[_0x6d04('0xd')]);router[_0x6d04('0x7')]('/:id/users',auth[_0x6d04('0xc')](),controller[_0x6d04('0xe')]);router[_0x6d04('0xf')]('/',auth[_0x6d04('0xc')](),controller[_0x6d04('0x10')]);router[_0x6d04('0xf')](_0x6d04('0xb'),auth[_0x6d04('0xc')](),controller[_0x6d04('0x11')]);router[_0x6d04('0xf')](_0x6d04('0x12'),auth[_0x6d04('0xc')](),controller[_0x6d04('0x13')]);router[_0x6d04('0x14')](_0x6d04('0x15'),auth[_0x6d04('0xc')](),controller[_0x6d04('0x16')]);router[_0x6d04('0x17')](_0x6d04('0x15'),auth[_0x6d04('0xc')](),controller[_0x6d04('0x18')]);router[_0x6d04('0x17')](_0x6d04('0xb'),auth[_0x6d04('0xc')](),controller['removeTeams']);router[_0x6d04('0x17')](_0x6d04('0x12'),auth[_0x6d04('0xc')](),controller[_0x6d04('0x19')]);module[_0x6d04('0x1a')]=router;
\ No newline at end of file