Built motion from commit 092f8824.|2.5.49
[motion2.git] / server / api / whatsappAccount / index.js
index 72bc5be..eb5a8ba 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xd4ea=['show','/:id/dispositions','getDispositions','/:id/canned_answers','getAnswers','/:id/users','getAgents','getApplications','post','addDisposition','addAnswer','addAgents','/:id/notify','notify','/:id/send','send','put','delete','destroy','removeAnswers','removeAgents','exports','multer','util','connect-timeout','express','../../components/auth/service','../../components/interaction/service','./whatsappAccount.controller','get','isAuthenticated','index','/describe','describe','/:id'];(function(_0x3d391b,_0x139db6){var _0x34adb6=function(_0x464b1e){while(--_0x464b1e){_0x3d391b['push'](_0x3d391b['shift']());}};_0x34adb6(++_0x139db6);}(_0xd4ea,0x12e));var _0xad4e=function(_0x307f86,_0x253aac){_0x307f86=_0x307f86-0x0;var _0x7249a=_0xd4ea[_0x307f86];return _0x7249a;};'use strict';var multer=require(_0xad4e('0x0'));var util=require(_0xad4e('0x1'));var path=require('path');var timeout=require(_0xad4e('0x2'));var express=require(_0xad4e('0x3'));var router=express['Router']();var auth=require(_0xad4e('0x4'));var interaction=require(_0xad4e('0x5'));var config=require('../../config/environment');var controller=require(_0xad4e('0x6'));router[_0xad4e('0x7')]('/',auth[_0xad4e('0x8')](),controller[_0xad4e('0x9')]);router[_0xad4e('0x7')](_0xad4e('0xa'),auth[_0xad4e('0x8')](),controller[_0xad4e('0xb')]);router['get'](_0xad4e('0xc'),auth[_0xad4e('0x8')](),controller[_0xad4e('0xd')]);router[_0xad4e('0x7')](_0xad4e('0xe'),auth[_0xad4e('0x8')](),controller[_0xad4e('0xf')]);router[_0xad4e('0x7')](_0xad4e('0x10'),auth[_0xad4e('0x8')](),controller[_0xad4e('0x11')]);router[_0xad4e('0x7')](_0xad4e('0x12'),auth[_0xad4e('0x8')](),controller[_0xad4e('0x13')]);router[_0xad4e('0x7')]('/:id/applications',auth['isAuthenticated'](),controller[_0xad4e('0x14')]);router[_0xad4e('0x15')]('/',auth[_0xad4e('0x8')](),controller['create']);router[_0xad4e('0x15')](_0xad4e('0xe'),auth[_0xad4e('0x8')](),controller[_0xad4e('0x16')]);router[_0xad4e('0x15')](_0xad4e('0x10'),auth[_0xad4e('0x8')](),controller[_0xad4e('0x17')]);router[_0xad4e('0x15')](_0xad4e('0x12'),auth[_0xad4e('0x8')](),controller[_0xad4e('0x18')]);router[_0xad4e('0x15')]('/:id/applications',auth[_0xad4e('0x8')](),controller['addApplications']);router[_0xad4e('0x15')](_0xad4e('0x19'),controller[_0xad4e('0x1a')]);router[_0xad4e('0x15')](_0xad4e('0x1b'),auth[_0xad4e('0x8')](),controller[_0xad4e('0x1c')]);router[_0xad4e('0x1d')](_0xad4e('0xc'),auth['isAuthenticated'](),controller['update']);router[_0xad4e('0x1e')](_0xad4e('0xc'),auth[_0xad4e('0x8')](),controller[_0xad4e('0x1f')]);router['delete'](_0xad4e('0xe'),auth[_0xad4e('0x8')](),controller['removeDispositions']);router['delete'](_0xad4e('0x10'),auth['isAuthenticated'](),controller[_0xad4e('0x20')]);router[_0xad4e('0x1e')](_0xad4e('0x12'),auth[_0xad4e('0x8')](),controller[_0xad4e('0x21')]);module[_0xad4e('0x22')]=router;
\ No newline at end of file
+var _0x524e=['index','/describe','describe','/:id','isAuthenticated','show','/:id/dispositions','getDispositions','/:id/canned_answers','getAnswers','/:id/users','/:id/applications','getApplications','post','addDisposition','addAnswer','addApplications','/:id/notify','notify','/:id/send','put','update','delete','destroy','removeAnswers','exports','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappAccount.controller','get'];(function(_0x140308,_0x3443fc){var _0xc1f132=function(_0x26c0e6){while(--_0x26c0e6){_0x140308['push'](_0x140308['shift']());}};_0xc1f132(++_0x3443fc);}(_0x524e,0x15e));var _0xe524=function(_0x1a9085,_0x4a10bc){_0x1a9085=_0x1a9085-0x0;var _0xb6c026=_0x524e[_0x1a9085];return _0xb6c026;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xe524('0x0'));var timeout=require(_0xe524('0x1'));var express=require(_0xe524('0x2'));var router=express[_0xe524('0x3')]();var fs_extra=require(_0xe524('0x4'));var auth=require(_0xe524('0x5'));var interaction=require(_0xe524('0x6'));var config=require(_0xe524('0x7'));var controller=require(_0xe524('0x8'));router[_0xe524('0x9')]('/',auth['isAuthenticated'](),controller[_0xe524('0xa')]);router[_0xe524('0x9')](_0xe524('0xb'),auth['isAuthenticated'](),controller[_0xe524('0xc')]);router[_0xe524('0x9')](_0xe524('0xd'),auth[_0xe524('0xe')](),controller[_0xe524('0xf')]);router[_0xe524('0x9')](_0xe524('0x10'),auth[_0xe524('0xe')](),controller[_0xe524('0x11')]);router[_0xe524('0x9')](_0xe524('0x12'),auth[_0xe524('0xe')](),controller[_0xe524('0x13')]);router[_0xe524('0x9')](_0xe524('0x14'),auth[_0xe524('0xe')](),controller['getAgents']);router['get'](_0xe524('0x15'),auth[_0xe524('0xe')](),controller[_0xe524('0x16')]);router[_0xe524('0x17')]('/',auth[_0xe524('0xe')](),controller['create']);router[_0xe524('0x17')]('/:id/dispositions',auth[_0xe524('0xe')](),controller[_0xe524('0x18')]);router['post'](_0xe524('0x12'),auth['isAuthenticated'](),controller[_0xe524('0x19')]);router['post'](_0xe524('0x14'),auth['isAuthenticated'](),controller['addAgents']);router['post'](_0xe524('0x15'),auth['isAuthenticated'](),controller[_0xe524('0x1a')]);router[_0xe524('0x17')](_0xe524('0x1b'),controller[_0xe524('0x1c')]);router['post'](_0xe524('0x1d'),auth[_0xe524('0xe')](),controller['send']);router[_0xe524('0x1e')](_0xe524('0xd'),auth[_0xe524('0xe')](),controller[_0xe524('0x1f')]);router[_0xe524('0x20')](_0xe524('0xd'),auth[_0xe524('0xe')](),controller[_0xe524('0x21')]);router[_0xe524('0x20')]('/:id/dispositions',auth[_0xe524('0xe')](),controller['removeDispositions']);router['delete'](_0xe524('0x12'),auth[_0xe524('0xe')](),controller[_0xe524('0x22')]);router[_0xe524('0x20')]('/:id/users',auth[_0xe524('0xe')](),controller['removeAgents']);module[_0xe524('0x23')]=router;
\ No newline at end of file