Built motion from commit 953226e6.|2.6.32
[motion2.git] / server / api / whatsappMessage / index.js
index ffecdd0..d81080d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xef41=['status','put','update','/:id/accept','accept','/:id/reject','reject','delete','destroy','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','/describe','describe','/:id','show','tracked','whatsappmessage:create','create'];(function(_0x56d9a2,_0x2b2e9f){var _0x181e2e=function(_0x4b01ed){while(--_0x4b01ed){_0x56d9a2['push'](_0x56d9a2['shift']());}};_0x181e2e(++_0x2b2e9f);}(_0xef41,0x192));var _0x1ef4=function(_0xd7b0a4,_0x53c7d3){_0xd7b0a4=_0xd7b0a4-0x0;var _0x184e9e=_0xef41[_0xd7b0a4];return _0x184e9e;};'use strict';var multer=require(_0x1ef4('0x0'));var util=require('util');var path=require(_0x1ef4('0x1'));var timeout=require(_0x1ef4('0x2'));var express=require(_0x1ef4('0x3'));var router=express[_0x1ef4('0x4')]();var fs_extra=require(_0x1ef4('0x5'));var auth=require(_0x1ef4('0x6'));var interaction=require(_0x1ef4('0x7'));var config=require('../../config/environment');var controller=require('./whatsappMessage.controller');router[_0x1ef4('0x8')]('/',auth[_0x1ef4('0x9')](),controller[_0x1ef4('0xa')]);router[_0x1ef4('0x8')](_0x1ef4('0xb'),auth[_0x1ef4('0x9')](),controller[_0x1ef4('0xc')]);router[_0x1ef4('0x8')](_0x1ef4('0xd'),auth[_0x1ef4('0x9')](),controller[_0x1ef4('0xe')]);router['post']('/',auth['isAuthenticated'](),interaction[_0x1ef4('0xf')]('whatsapp',_0x1ef4('0x10')),controller[_0x1ef4('0x11')]);router['post']('/:id/status',controller[_0x1ef4('0x12')]);router[_0x1ef4('0x13')](_0x1ef4('0xd'),auth[_0x1ef4('0x9')](),controller[_0x1ef4('0x14')]);router[_0x1ef4('0x13')](_0x1ef4('0x15'),auth['isAuthenticated'](),controller[_0x1ef4('0x16')]);router['put'](_0x1ef4('0x17'),auth[_0x1ef4('0x9')](),controller[_0x1ef4('0x18')]);router[_0x1ef4('0x19')](_0x1ef4('0xd'),auth[_0x1ef4('0x9')](),controller[_0x1ef4('0x1a')]);module[_0x1ef4('0x1b')]=router;
\ No newline at end of file
+var _0x0ca9=['delete','destroy','exports','multer','util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','/describe','describe','show','tracked','whatsappmessage:create','post','/:id/status','put','/:id','update','/:id/accept','accept','/:id/reject','reject'];(function(_0x5a839d,_0x4c4ef7){var _0x1ca7ab=function(_0x400a86){while(--_0x400a86){_0x5a839d['push'](_0x5a839d['shift']());}};_0x1ca7ab(++_0x4c4ef7);}(_0x0ca9,0x1d7));var _0x90ca=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x0ca9[_0x20a584];return _0x4b41a8;};'use strict';var multer=require(_0x90ca('0x0'));var util=require(_0x90ca('0x1'));var path=require(_0x90ca('0x2'));var timeout=require(_0x90ca('0x3'));var express=require(_0x90ca('0x4'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x90ca('0x5'));var interaction=require(_0x90ca('0x6'));var config=require('../../config/environment');var controller=require('./whatsappMessage.controller');router[_0x90ca('0x7')]('/',auth[_0x90ca('0x8')](),controller['index']);router[_0x90ca('0x7')](_0x90ca('0x9'),auth[_0x90ca('0x8')](),controller[_0x90ca('0xa')]);router[_0x90ca('0x7')]('/:id',auth[_0x90ca('0x8')](),controller[_0x90ca('0xb')]);router['post']('/',auth[_0x90ca('0x8')](),interaction[_0x90ca('0xc')]('whatsapp',_0x90ca('0xd')),controller['create']);router[_0x90ca('0xe')](_0x90ca('0xf'),controller['status']);router[_0x90ca('0x10')](_0x90ca('0x11'),auth[_0x90ca('0x8')](),controller[_0x90ca('0x12')]);router['put'](_0x90ca('0x13'),auth['isAuthenticated'](),controller[_0x90ca('0x14')]);router['put'](_0x90ca('0x15'),auth[_0x90ca('0x8')](),controller[_0x90ca('0x16')]);router[_0x90ca('0x17')](_0x90ca('0x11'),auth[_0x90ca('0x8')](),controller[_0x90ca('0x18')]);module[_0x90ca('0x19')]=router;
\ No newline at end of file