Built motion from commit bab6f49e.|2.6.17
[motion2.git] / server / api / faxQueue / index.js
index 2e4d93c..f1d839e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x958a=['Router','fs-extra','../../components/auth/service','../../config/environment','get','isAuthenticated','index','/describe','describe','show','/:id/members','getMembers','/:id/teams','getTeams','/:id/users','create','post','addTeams','addAgents','put','/:id','update','delete','removeTeams','removeAgents','exports','multer','util','connect-timeout','express'];(function(_0x193927,_0x545c88){var _0x1d21b1=function(_0x55ab7d){while(--_0x55ab7d){_0x193927['push'](_0x193927['shift']());}};_0x1d21b1(++_0x545c88);}(_0x958a,0x128));var _0xa958=function(_0x1bbf2e,_0x5bec34){_0x1bbf2e=_0x1bbf2e-0x0;var _0x10928a=_0x958a[_0x1bbf2e];return _0x10928a;};'use strict';var multer=require(_0xa958('0x0'));var util=require(_0xa958('0x1'));var path=require('path');var timeout=require(_0xa958('0x2'));var express=require(_0xa958('0x3'));var router=express[_0xa958('0x4')]();var fs_extra=require(_0xa958('0x5'));var auth=require(_0xa958('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xa958('0x7'));var controller=require('./faxQueue.controller');router[_0xa958('0x8')]('/',auth[_0xa958('0x9')](),controller[_0xa958('0xa')]);router[_0xa958('0x8')](_0xa958('0xb'),auth[_0xa958('0x9')](),controller[_0xa958('0xc')]);router['get']('/:id',auth[_0xa958('0x9')](),controller[_0xa958('0xd')]);router[_0xa958('0x8')](_0xa958('0xe'),auth[_0xa958('0x9')](),controller[_0xa958('0xf')]);router[_0xa958('0x8')](_0xa958('0x10'),auth[_0xa958('0x9')](),controller[_0xa958('0x11')]);router[_0xa958('0x8')](_0xa958('0x12'),auth[_0xa958('0x9')](),controller['getAgents']);router['post']('/',auth['isAuthenticated'](),controller[_0xa958('0x13')]);router[_0xa958('0x14')](_0xa958('0x10'),auth['isAuthenticated'](),controller[_0xa958('0x15')]);router['post']('/:id/users',auth['isAuthenticated'](),controller[_0xa958('0x16')]);router[_0xa958('0x17')](_0xa958('0x18'),auth[_0xa958('0x9')](),controller[_0xa958('0x19')]);router[_0xa958('0x1a')](_0xa958('0x18'),auth[_0xa958('0x9')](),controller['destroy']);router[_0xa958('0x1a')]('/:id/teams',auth[_0xa958('0x9')](),controller[_0xa958('0x1b')]);router['delete'](_0xa958('0x12'),auth[_0xa958('0x9')](),controller[_0xa958('0x1c')]);module[_0xa958('0x1d')]=router;
\ No newline at end of file
+var _0x1623=['delete','destroy','removeAgents','multer','connect-timeout','express','Router','fs-extra','../../components/auth/service','./faxQueue.controller','isAuthenticated','index','/describe','describe','get','/:id','show','getMembers','/:id/teams','getTeams','/:id/users','getAgents','post','put'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x1623,0xab));var _0x3162=function(_0x17b40f,_0x45723a){_0x17b40f=_0x17b40f-0x0;var _0x33ee6a=_0x1623[_0x17b40f];return _0x33ee6a;};'use strict';var multer=require(_0x3162('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x3162('0x1'));var express=require(_0x3162('0x2'));var router=express[_0x3162('0x3')]();var fs_extra=require(_0x3162('0x4'));var auth=require(_0x3162('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x3162('0x6'));router['get']('/',auth[_0x3162('0x7')](),controller[_0x3162('0x8')]);router['get'](_0x3162('0x9'),auth[_0x3162('0x7')](),controller[_0x3162('0xa')]);router[_0x3162('0xb')](_0x3162('0xc'),auth[_0x3162('0x7')](),controller[_0x3162('0xd')]);router[_0x3162('0xb')]('/:id/members',auth['isAuthenticated'](),controller[_0x3162('0xe')]);router[_0x3162('0xb')](_0x3162('0xf'),auth[_0x3162('0x7')](),controller[_0x3162('0x10')]);router[_0x3162('0xb')](_0x3162('0x11'),auth[_0x3162('0x7')](),controller[_0x3162('0x12')]);router['post']('/',auth[_0x3162('0x7')](),controller['create']);router[_0x3162('0x13')](_0x3162('0xf'),auth['isAuthenticated'](),controller['addTeams']);router[_0x3162('0x13')](_0x3162('0x11'),auth[_0x3162('0x7')](),controller['addAgents']);router[_0x3162('0x14')](_0x3162('0xc'),auth[_0x3162('0x7')](),controller['update']);router[_0x3162('0x15')](_0x3162('0xc'),auth[_0x3162('0x7')](),controller[_0x3162('0x16')]);router[_0x3162('0x15')](_0x3162('0xf'),auth[_0x3162('0x7')](),controller['removeTeams']);router[_0x3162('0x15')](_0x3162('0x11'),auth[_0x3162('0x7')](),controller[_0x3162('0x17')]);module['exports']=router;
\ No newline at end of file