Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / api / whatsappQueue / index.js
index 9314f94..bbf053e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb119=['/describe','isAuthenticated','/:id','show','/:id/members','/:id/teams','getTeams','getAgents','create','post','addTeams','addAgents','put','update','removeTeams','delete','/:id/users','removeAgents','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./whatsappQueue.controller','get','index'];(function(_0x46a0e7,_0x3a82db){var _0xee5948=function(_0x50bf1f){while(--_0x50bf1f){_0x46a0e7['push'](_0x46a0e7['shift']());}};_0xee5948(++_0x3a82db);}(_0xb119,0xdd));var _0x9b11=function(_0x2bad37,_0x128f63){_0x2bad37=_0x2bad37-0x0;var _0x1fb1f1=_0xb119[_0x2bad37];return _0x1fb1f1;};'use strict';var multer=require(_0x9b11('0x0'));var util=require(_0x9b11('0x1'));var path=require('path');var timeout=require(_0x9b11('0x2'));var express=require(_0x9b11('0x3'));var router=express[_0x9b11('0x4')]();var fs_extra=require(_0x9b11('0x5'));var auth=require(_0x9b11('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x9b11('0x7'));var controller=require(_0x9b11('0x8'));router[_0x9b11('0x9')]('/',auth['isAuthenticated'](),controller[_0x9b11('0xa')]);router['get'](_0x9b11('0xb'),auth[_0x9b11('0xc')](),controller['describe']);router[_0x9b11('0x9')](_0x9b11('0xd'),auth[_0x9b11('0xc')](),controller[_0x9b11('0xe')]);router['get'](_0x9b11('0xf'),auth['isAuthenticated'](),controller['getMembers']);router['get'](_0x9b11('0x10'),auth[_0x9b11('0xc')](),controller[_0x9b11('0x11')]);router[_0x9b11('0x9')]('/:id/users',auth[_0x9b11('0xc')](),controller[_0x9b11('0x12')]);router['post']('/',auth['isAuthenticated'](),controller[_0x9b11('0x13')]);router[_0x9b11('0x14')]('/:id/teams',auth['isAuthenticated'](),controller[_0x9b11('0x15')]);router['post']('/:id/users',auth[_0x9b11('0xc')](),controller[_0x9b11('0x16')]);router[_0x9b11('0x17')](_0x9b11('0xd'),auth[_0x9b11('0xc')](),controller[_0x9b11('0x18')]);router['delete']('/:id',auth[_0x9b11('0xc')](),controller['destroy']);router['delete'](_0x9b11('0x10'),auth[_0x9b11('0xc')](),controller[_0x9b11('0x19')]);router[_0x9b11('0x1a')](_0x9b11('0x1b'),auth[_0x9b11('0xc')](),controller[_0x9b11('0x1c')]);module['exports']=router;
\ No newline at end of file
+var _0x07cb=['/describe','isAuthenticated','describe','/:id','/:id/members','getMembers','/:id/teams','getTeams','getAgents','post','create','addTeams','/:id/users','addAgents','put','delete','destroy','removeAgents','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappQueue.controller','get','index'];(function(_0x49b207,_0x408ade){var _0x2dc8fa=function(_0x150975){while(--_0x150975){_0x49b207['push'](_0x49b207['shift']());}};_0x2dc8fa(++_0x408ade);}(_0x07cb,0x149));var _0xb07c=function(_0x330ff0,_0x146528){_0x330ff0=_0x330ff0-0x0;var _0x215472=_0x07cb[_0x330ff0];return _0x215472;};'use strict';var multer=require(_0xb07c('0x0'));var util=require(_0xb07c('0x1'));var path=require('path');var timeout=require(_0xb07c('0x2'));var express=require(_0xb07c('0x3'));var router=express[_0xb07c('0x4')]();var fs_extra=require(_0xb07c('0x5'));var auth=require(_0xb07c('0x6'));var interaction=require(_0xb07c('0x7'));var config=require(_0xb07c('0x8'));var controller=require(_0xb07c('0x9'));router[_0xb07c('0xa')]('/',auth['isAuthenticated'](),controller[_0xb07c('0xb')]);router['get'](_0xb07c('0xc'),auth[_0xb07c('0xd')](),controller[_0xb07c('0xe')]);router['get'](_0xb07c('0xf'),auth[_0xb07c('0xd')](),controller['show']);router[_0xb07c('0xa')](_0xb07c('0x10'),auth[_0xb07c('0xd')](),controller[_0xb07c('0x11')]);router[_0xb07c('0xa')](_0xb07c('0x12'),auth[_0xb07c('0xd')](),controller[_0xb07c('0x13')]);router['get']('/:id/users',auth[_0xb07c('0xd')](),controller[_0xb07c('0x14')]);router[_0xb07c('0x15')]('/',auth[_0xb07c('0xd')](),controller[_0xb07c('0x16')]);router['post'](_0xb07c('0x12'),auth['isAuthenticated'](),controller[_0xb07c('0x17')]);router[_0xb07c('0x15')](_0xb07c('0x18'),auth['isAuthenticated'](),controller[_0xb07c('0x19')]);router[_0xb07c('0x1a')](_0xb07c('0xf'),auth[_0xb07c('0xd')](),controller['update']);router[_0xb07c('0x1b')](_0xb07c('0xf'),auth[_0xb07c('0xd')](),controller[_0xb07c('0x1c')]);router[_0xb07c('0x1b')](_0xb07c('0x12'),auth['isAuthenticated'](),controller['removeTeams']);router[_0xb07c('0x1b')](_0xb07c('0x18'),auth[_0xb07c('0xd')](),controller[_0xb07c('0x1d')]);module[_0xb07c('0x1e')]=router;
\ No newline at end of file