X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FfaxQueue%2Findex.js;h=2873e25d46ca4d484556af931118bd6faf7234e7;hb=f1d1468b3a09c62a6041ebd552725da73d637879;hp=260a168bafb7c2b0bff88c8e358c4b12007b6d1b;hpb=d2fd33d6b242a53e18c7b82fe692ff8c6c0965a8;p=motion2.git diff --git a/server/api/faxQueue/index.js b/server/api/faxQueue/index.js index 260a168..2873e25 100644 --- a/server/api/faxQueue/index.js +++ b/server/api/faxQueue/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xdeb3=['exports','util','path','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxQueue.controller','isAuthenticated','get','describe','/:id','show','/:id/members','/:id/teams','getTeams','/:id/users','getAgents','post','addTeams','put','update','delete','removeTeams','removeAgents'];(function(_0x410e63,_0x5cfb30){var _0x211782=function(_0x2e229c){while(--_0x2e229c){_0x410e63['push'](_0x410e63['shift']());}};_0x211782(++_0x5cfb30);}(_0xdeb3,0xb7));var _0x3deb=function(_0xfae23b,_0x2be4ba){_0xfae23b=_0xfae23b-0x0;var _0x200640=_0xdeb3[_0xfae23b];return _0x200640;};'use strict';var multer=require('multer');var util=require(_0x3deb('0x0'));var path=require(_0x3deb('0x1'));var timeout=require(_0x3deb('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x3deb('0x3'));var auth=require(_0x3deb('0x4'));var interaction=require(_0x3deb('0x5'));var config=require(_0x3deb('0x6'));var controller=require(_0x3deb('0x7'));router['get']('/',auth[_0x3deb('0x8')](),controller['index']);router[_0x3deb('0x9')]('/describe',auth[_0x3deb('0x8')](),controller[_0x3deb('0xa')]);router[_0x3deb('0x9')](_0x3deb('0xb'),auth[_0x3deb('0x8')](),controller[_0x3deb('0xc')]);router[_0x3deb('0x9')](_0x3deb('0xd'),auth[_0x3deb('0x8')](),controller['getMembers']);router['get'](_0x3deb('0xe'),auth[_0x3deb('0x8')](),controller[_0x3deb('0xf')]);router['get'](_0x3deb('0x10'),auth[_0x3deb('0x8')](),controller[_0x3deb('0x11')]);router[_0x3deb('0x12')]('/',auth['isAuthenticated'](),controller['create']);router['post'](_0x3deb('0xe'),auth[_0x3deb('0x8')](),controller[_0x3deb('0x13')]);router['post'](_0x3deb('0x10'),auth[_0x3deb('0x8')](),controller['addAgents']);router[_0x3deb('0x14')](_0x3deb('0xb'),auth['isAuthenticated'](),controller[_0x3deb('0x15')]);router['delete'](_0x3deb('0xb'),auth['isAuthenticated'](),controller['destroy']);router[_0x3deb('0x16')](_0x3deb('0xe'),auth[_0x3deb('0x8')](),controller[_0x3deb('0x17')]);router[_0x3deb('0x16')](_0x3deb('0x10'),auth['isAuthenticated'](),controller[_0x3deb('0x18')]);module[_0x3deb('0x19')]=router; \ No newline at end of file +var _0xc9c3=['/:id','show','/:id/members','getMembers','/:id/users','getAgents','post','addAgents','put','update','destroy','delete','/:id/teams','removeTeams','removeAgents','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./faxQueue.controller','get','/describe','isAuthenticated','describe'];(function(_0x56b855,_0x42d918){var _0x38fa49=function(_0x4c6379){while(--_0x4c6379){_0x56b855['push'](_0x56b855['shift']());}};_0x38fa49(++_0x42d918);}(_0xc9c3,0x96));var _0x3c9c=function(_0x229af8,_0x53c152){_0x229af8=_0x229af8-0x0;var _0xb6282e=_0xc9c3[_0x229af8];return _0xb6282e;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x3c9c('0x0'));var timeout=require('connect-timeout');var express=require(_0x3c9c('0x1'));var router=express[_0x3c9c('0x2')]();var fs_extra=require(_0x3c9c('0x3'));var auth=require(_0x3c9c('0x4'));var interaction=require(_0x3c9c('0x5'));var config=require(_0x3c9c('0x6'));var controller=require(_0x3c9c('0x7'));router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0x3c9c('0x8')](_0x3c9c('0x9'),auth[_0x3c9c('0xa')](),controller[_0x3c9c('0xb')]);router[_0x3c9c('0x8')](_0x3c9c('0xc'),auth[_0x3c9c('0xa')](),controller[_0x3c9c('0xd')]);router[_0x3c9c('0x8')](_0x3c9c('0xe'),auth['isAuthenticated'](),controller[_0x3c9c('0xf')]);router[_0x3c9c('0x8')]('/:id/teams',auth[_0x3c9c('0xa')](),controller['getTeams']);router[_0x3c9c('0x8')](_0x3c9c('0x10'),auth[_0x3c9c('0xa')](),controller[_0x3c9c('0x11')]);router['post']('/',auth['isAuthenticated'](),controller['create']);router[_0x3c9c('0x12')]('/:id/teams',auth['isAuthenticated'](),controller['addTeams']);router[_0x3c9c('0x12')]('/:id/users',auth[_0x3c9c('0xa')](),controller[_0x3c9c('0x13')]);router[_0x3c9c('0x14')](_0x3c9c('0xc'),auth['isAuthenticated'](),controller[_0x3c9c('0x15')]);router['delete']('/:id',auth['isAuthenticated'](),controller[_0x3c9c('0x16')]);router[_0x3c9c('0x17')](_0x3c9c('0x18'),auth[_0x3c9c('0xa')](),controller[_0x3c9c('0x19')]);router[_0x3c9c('0x17')](_0x3c9c('0x10'),auth['isAuthenticated'](),controller[_0x3c9c('0x1a')]);module['exports']=router; \ No newline at end of file