Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / api / whatsappAccount / index.js
index e75bc39..6f2385f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb12e=['path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','describe','/:id','/:id/dispositions','getDispositions','/:id/canned_answers','getAnswers','/:id/users','getAgents','/:id/applications','getApplications','create','post','addDisposition','addAnswer','addAgents','addApplications','/:id/notify','notify','/:id/send','send','put','update','delete','destroy','removeDispositions','removeAnswers','removeAgents','exports','multer','util'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0xb12e,0x166));var _0xeb12=function(_0x36583c,_0x174803){_0x36583c=_0x36583c-0x0;var _0x574620=_0xb12e[_0x36583c];return _0x574620;};'use strict';var multer=require(_0xeb12('0x0'));var util=require(_0xeb12('0x1'));var path=require(_0xeb12('0x2'));var timeout=require(_0xeb12('0x3'));var express=require(_0xeb12('0x4'));var router=express[_0xeb12('0x5')]();var auth=require(_0xeb12('0x6'));var interaction=require(_0xeb12('0x7'));var config=require(_0xeb12('0x8'));var controller=require('./whatsappAccount.controller');router[_0xeb12('0x9')]('/',auth[_0xeb12('0xa')](),controller[_0xeb12('0xb')]);router['get']('/describe',auth[_0xeb12('0xa')](),controller[_0xeb12('0xc')]);router[_0xeb12('0x9')](_0xeb12('0xd'),auth['isAuthenticated'](),controller['show']);router[_0xeb12('0x9')](_0xeb12('0xe'),auth['isAuthenticated'](),controller[_0xeb12('0xf')]);router[_0xeb12('0x9')](_0xeb12('0x10'),auth[_0xeb12('0xa')](),controller[_0xeb12('0x11')]);router[_0xeb12('0x9')](_0xeb12('0x12'),auth[_0xeb12('0xa')](),controller[_0xeb12('0x13')]);router[_0xeb12('0x9')](_0xeb12('0x14'),auth['isAuthenticated'](),controller[_0xeb12('0x15')]);router['post']('/',auth['isAuthenticated'](),controller[_0xeb12('0x16')]);router[_0xeb12('0x17')](_0xeb12('0xe'),auth[_0xeb12('0xa')](),controller[_0xeb12('0x18')]);router['post'](_0xeb12('0x10'),auth[_0xeb12('0xa')](),controller[_0xeb12('0x19')]);router[_0xeb12('0x17')]('/:id/users',auth['isAuthenticated'](),controller[_0xeb12('0x1a')]);router['post'](_0xeb12('0x14'),auth[_0xeb12('0xa')](),controller[_0xeb12('0x1b')]);router['post'](_0xeb12('0x1c'),controller[_0xeb12('0x1d')]);router[_0xeb12('0x17')](_0xeb12('0x1e'),auth['isAuthenticated'](),controller[_0xeb12('0x1f')]);router[_0xeb12('0x20')]('/:id',auth[_0xeb12('0xa')](),controller[_0xeb12('0x21')]);router[_0xeb12('0x22')]('/:id',auth[_0xeb12('0xa')](),controller[_0xeb12('0x23')]);router['delete'](_0xeb12('0xe'),auth[_0xeb12('0xa')](),controller[_0xeb12('0x24')]);router[_0xeb12('0x22')](_0xeb12('0x10'),auth[_0xeb12('0xa')](),controller[_0xeb12('0x25')]);router['delete']('/:id/users',auth[_0xeb12('0xa')](),controller[_0xeb12('0x26')]);module[_0xeb12('0x27')]=router;
\ No newline at end of file
+var _0xa988=['path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','get','isAuthenticated','index','/:id','getDispositions','/:id/canned_answers','/:id/users','getAgents','/:id/applications','getApplications','post','create','/:id/dispositions','addAnswer','addAgents','addApplications','notify','/:id/send','send','update','destroy','delete','removeAnswers','removeAgents','exports','util'];(function(_0x39038a,_0x4e8677){var _0x5751bc=function(_0x5df779){while(--_0x5df779){_0x39038a['push'](_0x39038a['shift']());}};_0x5751bc(++_0x4e8677);}(_0xa988,0x19f));var _0x8a98=function(_0x36a7c3,_0x1c0348){_0x36a7c3=_0x36a7c3-0x0;var _0x31d6d4=_0xa988[_0x36a7c3];return _0x31d6d4;};'use strict';var multer=require('multer');var util=require(_0x8a98('0x0'));var path=require(_0x8a98('0x1'));var timeout=require(_0x8a98('0x2'));var express=require(_0x8a98('0x3'));var router=express[_0x8a98('0x4')]();var auth=require(_0x8a98('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x8a98('0x6'));var controller=require('./whatsappAccount.controller');router[_0x8a98('0x7')]('/',auth[_0x8a98('0x8')](),controller[_0x8a98('0x9')]);router[_0x8a98('0x7')]('/describe',auth[_0x8a98('0x8')](),controller['describe']);router[_0x8a98('0x7')](_0x8a98('0xa'),auth['isAuthenticated'](),controller['show']);router[_0x8a98('0x7')]('/:id/dispositions',auth[_0x8a98('0x8')](),controller[_0x8a98('0xb')]);router[_0x8a98('0x7')](_0x8a98('0xc'),auth['isAuthenticated'](),controller['getAnswers']);router[_0x8a98('0x7')](_0x8a98('0xd'),auth['isAuthenticated'](),controller[_0x8a98('0xe')]);router[_0x8a98('0x7')](_0x8a98('0xf'),auth['isAuthenticated'](),controller[_0x8a98('0x10')]);router[_0x8a98('0x11')]('/',auth[_0x8a98('0x8')](),controller[_0x8a98('0x12')]);router[_0x8a98('0x11')](_0x8a98('0x13'),auth[_0x8a98('0x8')](),controller['addDisposition']);router[_0x8a98('0x11')](_0x8a98('0xc'),auth[_0x8a98('0x8')](),controller[_0x8a98('0x14')]);router['post']('/:id/users',auth['isAuthenticated'](),controller[_0x8a98('0x15')]);router[_0x8a98('0x11')](_0x8a98('0xf'),auth[_0x8a98('0x8')](),controller[_0x8a98('0x16')]);router[_0x8a98('0x11')]('/:id/notify',controller[_0x8a98('0x17')]);router[_0x8a98('0x11')](_0x8a98('0x18'),auth[_0x8a98('0x8')](),controller[_0x8a98('0x19')]);router['put'](_0x8a98('0xa'),auth[_0x8a98('0x8')](),controller[_0x8a98('0x1a')]);router['delete'](_0x8a98('0xa'),auth[_0x8a98('0x8')](),controller[_0x8a98('0x1b')]);router['delete']('/:id/dispositions',auth[_0x8a98('0x8')](),controller['removeDispositions']);router[_0x8a98('0x1c')](_0x8a98('0xc'),auth['isAuthenticated'](),controller[_0x8a98('0x1d')]);router[_0x8a98('0x1c')]('/:id/users',auth[_0x8a98('0x8')](),controller[_0x8a98('0x1e')]);module[_0x8a98('0x1f')]=router;
\ No newline at end of file