Built motion from commit (unavailable).|2.5.23
[motion2.git] / server / api / whatsappAccount / index.js
index 332f441..3e939ab 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb557=['getAgents','/:id/applications','getApplications','post','create','/:id/dispositions','addDisposition','addAnswer','addAgents','addApplications','notify','/:id/send','send','put','/:id','update','destroy','delete','removeDispositions','removeAnswers','removeAgents','exports','multer','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./whatsappAccount.controller','index','/describe','isAuthenticated','describe','get','getDispositions','/:id/canned_answers','getAnswers','/:id/users'];(function(_0xbb244d,_0xac409){var _0x40f6b7=function(_0x2f2af7){while(--_0x2f2af7){_0xbb244d['push'](_0xbb244d['shift']());}};_0x40f6b7(++_0xac409);}(_0xb557,0x12e));var _0x7b55=function(_0x48b75c,_0x288eb5){_0x48b75c=_0x48b75c-0x0;var _0xe94338=_0xb557[_0x48b75c];return _0xe94338;};'use strict';var multer=require(_0x7b55('0x0'));var util=require(_0x7b55('0x1'));var path=require(_0x7b55('0x2'));var timeout=require(_0x7b55('0x3'));var express=require(_0x7b55('0x4'));var router=express[_0x7b55('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0x7b55('0x6'));var config=require(_0x7b55('0x7'));var controller=require(_0x7b55('0x8'));router['get']('/',auth['isAuthenticated'](),controller[_0x7b55('0x9')]);router['get'](_0x7b55('0xa'),auth[_0x7b55('0xb')](),controller[_0x7b55('0xc')]);router[_0x7b55('0xd')]('/:id',auth[_0x7b55('0xb')](),controller['show']);router[_0x7b55('0xd')]('/:id/dispositions',auth['isAuthenticated'](),controller[_0x7b55('0xe')]);router[_0x7b55('0xd')](_0x7b55('0xf'),auth['isAuthenticated'](),controller[_0x7b55('0x10')]);router[_0x7b55('0xd')](_0x7b55('0x11'),auth['isAuthenticated'](),controller[_0x7b55('0x12')]);router[_0x7b55('0xd')](_0x7b55('0x13'),auth[_0x7b55('0xb')](),controller[_0x7b55('0x14')]);router[_0x7b55('0x15')]('/',auth[_0x7b55('0xb')](),controller[_0x7b55('0x16')]);router[_0x7b55('0x15')](_0x7b55('0x17'),auth[_0x7b55('0xb')](),controller[_0x7b55('0x18')]);router['post'](_0x7b55('0xf'),auth[_0x7b55('0xb')](),controller[_0x7b55('0x19')]);router[_0x7b55('0x15')](_0x7b55('0x11'),auth['isAuthenticated'](),controller[_0x7b55('0x1a')]);router['post'](_0x7b55('0x13'),auth[_0x7b55('0xb')](),controller[_0x7b55('0x1b')]);router['post']('/:id/notify',controller[_0x7b55('0x1c')]);router['post'](_0x7b55('0x1d'),auth[_0x7b55('0xb')](),controller[_0x7b55('0x1e')]);router[_0x7b55('0x1f')](_0x7b55('0x20'),auth['isAuthenticated'](),controller[_0x7b55('0x21')]);router['delete'](_0x7b55('0x20'),auth[_0x7b55('0xb')](),controller[_0x7b55('0x22')]);router[_0x7b55('0x23')](_0x7b55('0x17'),auth['isAuthenticated'](),controller[_0x7b55('0x24')]);router[_0x7b55('0x23')](_0x7b55('0xf'),auth[_0x7b55('0xb')](),controller[_0x7b55('0x25')]);router[_0x7b55('0x23')]('/:id/users',auth[_0x7b55('0xb')](),controller[_0x7b55('0x26')]);module[_0x7b55('0x27')]=router;
\ No newline at end of file
+var _0xab40=['/:id','update','delete','destroy','removeAnswers','removeAgents','exports','multer','util','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappAccount.controller','index','/describe','isAuthenticated','describe','get','/:id/dispositions','getDispositions','/:id/canned_answers','getAnswers','/:id/applications','getApplications','post','create','addDisposition','addAnswer','/:id/users','addApplications','notify','/:id/send'];(function(_0xc8d433,_0x1317a9){var _0x1ccda3=function(_0x372381){while(--_0x372381){_0xc8d433['push'](_0xc8d433['shift']());}};_0x1ccda3(++_0x1317a9);}(_0xab40,0xcd));var _0x0ab4=function(_0x487eb6,_0x8efbaf){_0x487eb6=_0x487eb6-0x0;var _0x22891c=_0xab40[_0x487eb6];return _0x22891c;};'use strict';var multer=require(_0x0ab4('0x0'));var util=require(_0x0ab4('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0x0ab4('0x2')]();var auth=require(_0x0ab4('0x3'));var interaction=require(_0x0ab4('0x4'));var config=require(_0x0ab4('0x5'));var controller=require(_0x0ab4('0x6'));router['get']('/',auth['isAuthenticated'](),controller[_0x0ab4('0x7')]);router['get'](_0x0ab4('0x8'),auth[_0x0ab4('0x9')](),controller[_0x0ab4('0xa')]);router[_0x0ab4('0xb')]('/:id',auth['isAuthenticated'](),controller['show']);router[_0x0ab4('0xb')](_0x0ab4('0xc'),auth[_0x0ab4('0x9')](),controller[_0x0ab4('0xd')]);router[_0x0ab4('0xb')](_0x0ab4('0xe'),auth[_0x0ab4('0x9')](),controller[_0x0ab4('0xf')]);router['get']('/:id/users',auth[_0x0ab4('0x9')](),controller['getAgents']);router[_0x0ab4('0xb')](_0x0ab4('0x10'),auth[_0x0ab4('0x9')](),controller[_0x0ab4('0x11')]);router[_0x0ab4('0x12')]('/',auth[_0x0ab4('0x9')](),controller[_0x0ab4('0x13')]);router[_0x0ab4('0x12')](_0x0ab4('0xc'),auth[_0x0ab4('0x9')](),controller[_0x0ab4('0x14')]);router[_0x0ab4('0x12')](_0x0ab4('0xe'),auth[_0x0ab4('0x9')](),controller[_0x0ab4('0x15')]);router[_0x0ab4('0x12')](_0x0ab4('0x16'),auth[_0x0ab4('0x9')](),controller['addAgents']);router['post']('/:id/applications',auth[_0x0ab4('0x9')](),controller[_0x0ab4('0x17')]);router[_0x0ab4('0x12')]('/:id/notify',controller[_0x0ab4('0x18')]);router[_0x0ab4('0x12')](_0x0ab4('0x19'),auth[_0x0ab4('0x9')](),controller['send']);router['put'](_0x0ab4('0x1a'),auth['isAuthenticated'](),controller[_0x0ab4('0x1b')]);router[_0x0ab4('0x1c')]('/:id',auth[_0x0ab4('0x9')](),controller[_0x0ab4('0x1d')]);router[_0x0ab4('0x1c')](_0x0ab4('0xc'),auth[_0x0ab4('0x9')](),controller['removeDispositions']);router['delete'](_0x0ab4('0xe'),auth[_0x0ab4('0x9')](),controller[_0x0ab4('0x1e')]);router[_0x0ab4('0x1c')]('/:id/users',auth[_0x0ab4('0x9')](),controller[_0x0ab4('0x1f')]);module[_0x0ab4('0x20')]=router;
\ No newline at end of file