Built motion from commit 5ae82ce5.|2.6.7
[motion2.git] / server / api / whatsappQueue / index.js
index 385dc48..14b5552 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4f11=['create','addTeams','addAgents','put','update','delete','destroy','removeTeams','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappQueue.controller','get','isAuthenticated','describe','/:id','show','getMembers','/:id/teams','/:id/users','post'];(function(_0x12939d,_0x24971d){var _0x38f9ab=function(_0x23a8d5){while(--_0x23a8d5){_0x12939d['push'](_0x12939d['shift']());}};_0x38f9ab(++_0x24971d);}(_0x4f11,0xcd));var _0x14f1=function(_0x2df76e,_0x1207c2){_0x2df76e=_0x2df76e-0x0;var _0x2a5d53=_0x4f11[_0x2df76e];return _0x2a5d53;};'use strict';var multer=require(_0x14f1('0x0'));var util=require(_0x14f1('0x1'));var path=require(_0x14f1('0x2'));var timeout=require(_0x14f1('0x3'));var express=require(_0x14f1('0x4'));var router=express['Router']();var fs_extra=require(_0x14f1('0x5'));var auth=require(_0x14f1('0x6'));var interaction=require(_0x14f1('0x7'));var config=require(_0x14f1('0x8'));var controller=require(_0x14f1('0x9'));router[_0x14f1('0xa')]('/',auth[_0x14f1('0xb')](),controller['index']);router[_0x14f1('0xa')]('/describe',auth[_0x14f1('0xb')](),controller[_0x14f1('0xc')]);router[_0x14f1('0xa')](_0x14f1('0xd'),auth[_0x14f1('0xb')](),controller[_0x14f1('0xe')]);router[_0x14f1('0xa')]('/:id/members',auth[_0x14f1('0xb')](),controller[_0x14f1('0xf')]);router[_0x14f1('0xa')](_0x14f1('0x10'),auth['isAuthenticated'](),controller['getTeams']);router['get'](_0x14f1('0x11'),auth[_0x14f1('0xb')](),controller['getAgents']);router[_0x14f1('0x12')]('/',auth[_0x14f1('0xb')](),controller[_0x14f1('0x13')]);router[_0x14f1('0x12')](_0x14f1('0x10'),auth[_0x14f1('0xb')](),controller[_0x14f1('0x14')]);router[_0x14f1('0x12')](_0x14f1('0x11'),auth[_0x14f1('0xb')](),controller[_0x14f1('0x15')]);router[_0x14f1('0x16')](_0x14f1('0xd'),auth[_0x14f1('0xb')](),controller[_0x14f1('0x17')]);router[_0x14f1('0x18')](_0x14f1('0xd'),auth['isAuthenticated'](),controller[_0x14f1('0x19')]);router[_0x14f1('0x18')](_0x14f1('0x10'),auth[_0x14f1('0xb')](),controller[_0x14f1('0x1a')]);router[_0x14f1('0x18')](_0x14f1('0x11'),auth[_0x14f1('0xb')](),controller['removeAgents']);module[_0x14f1('0x1b')]=router;
\ No newline at end of file
+var _0x46cf=['express','../../components/interaction/service','./whatsappQueue.controller','get','isAuthenticated','index','describe','/:id','/:id/members','getMembers','/:id/users','getAgents','/:id/teams','addTeams','post','addAgents','put','update','destroy','delete','removeTeams','exports','path','connect-timeout'];(function(_0x25bc0a,_0x555154){var _0x3cfa8c=function(_0xc7391){while(--_0xc7391){_0x25bc0a['push'](_0x25bc0a['shift']());}};_0x3cfa8c(++_0x555154);}(_0x46cf,0x14e));var _0xf46c=function(_0x35885a,_0x42fed7){_0x35885a=_0x35885a-0x0;var _0xe86249=_0x46cf[_0x35885a];return _0xe86249;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xf46c('0x0'));var timeout=require(_0xf46c('0x1'));var express=require(_0xf46c('0x2'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xf46c('0x3'));var config=require('../../config/environment');var controller=require(_0xf46c('0x4'));router[_0xf46c('0x5')]('/',auth[_0xf46c('0x6')](),controller[_0xf46c('0x7')]);router[_0xf46c('0x5')]('/describe',auth['isAuthenticated'](),controller[_0xf46c('0x8')]);router['get'](_0xf46c('0x9'),auth['isAuthenticated'](),controller['show']);router['get'](_0xf46c('0xa'),auth[_0xf46c('0x6')](),controller[_0xf46c('0xb')]);router[_0xf46c('0x5')]('/:id/teams',auth[_0xf46c('0x6')](),controller['getTeams']);router['get'](_0xf46c('0xc'),auth[_0xf46c('0x6')](),controller[_0xf46c('0xd')]);router['post']('/',auth[_0xf46c('0x6')](),controller['create']);router['post'](_0xf46c('0xe'),auth[_0xf46c('0x6')](),controller[_0xf46c('0xf')]);router[_0xf46c('0x10')](_0xf46c('0xc'),auth['isAuthenticated'](),controller[_0xf46c('0x11')]);router[_0xf46c('0x12')](_0xf46c('0x9'),auth[_0xf46c('0x6')](),controller[_0xf46c('0x13')]);router['delete'](_0xf46c('0x9'),auth['isAuthenticated'](),controller[_0xf46c('0x14')]);router[_0xf46c('0x15')](_0xf46c('0xe'),auth[_0xf46c('0x6')](),controller[_0xf46c('0x16')]);router[_0xf46c('0x15')]('/:id/users',auth['isAuthenticated'](),controller['removeAgents']);module[_0xf46c('0x17')]=router;
\ No newline at end of file