Built motion from commit (unavailable).|2.5.31
[motion2.git] / server / api / whatsappMessage / index.js
index b976feb..744d17a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xdbeb=['../../components/interaction/service','get','isAuthenticated','describe','show','post','tracked','whatsapp','create','/:id/status','status','put','/:id','update','/:id/reject','destroy','util','connect-timeout','express','Router','../../components/auth/service'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0xdbeb,0x1c9));var _0xbdbe=function(_0x2969fe,_0x4e6f0d){_0x2969fe=_0x2969fe-0x0;var _0x563e49=_0xdbeb[_0x2969fe];return _0x563e49;};'use strict';var multer=require('multer');var util=require(_0xbdbe('0x0'));var path=require('path');var timeout=require(_0xbdbe('0x1'));var express=require(_0xbdbe('0x2'));var router=express[_0xbdbe('0x3')]();var auth=require(_0xbdbe('0x4'));var interaction=require(_0xbdbe('0x5'));var config=require('../../config/environment');var controller=require('./whatsappMessage.controller');router[_0xbdbe('0x6')]('/',auth['isAuthenticated'](),controller['index']);router['get']('/describe',auth[_0xbdbe('0x7')](),controller[_0xbdbe('0x8')]);router['get']('/:id',auth[_0xbdbe('0x7')](),controller[_0xbdbe('0x9')]);router[_0xbdbe('0xa')]('/',auth['isAuthenticated'](),interaction[_0xbdbe('0xb')](_0xbdbe('0xc'),'whatsappmessage:create'),controller[_0xbdbe('0xd')]);router[_0xbdbe('0xa')](_0xbdbe('0xe'),controller[_0xbdbe('0xf')]);router[_0xbdbe('0x10')](_0xbdbe('0x11'),auth['isAuthenticated'](),controller[_0xbdbe('0x12')]);router[_0xbdbe('0x10')]('/:id/accept',auth[_0xbdbe('0x7')](),controller['accept']);router['put'](_0xbdbe('0x13'),auth[_0xbdbe('0x7')](),controller['reject']);router['delete'](_0xbdbe('0x11'),auth[_0xbdbe('0x7')](),controller[_0xbdbe('0x14')]);module['exports']=router;
\ No newline at end of file
+var _0x0a9a=['reject','delete','exports','util','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id','show','tracked','create','post','status','update','put','/:id/accept','accept','/:id/reject'];(function(_0x19d2a5,_0x344cc7){var _0x257a93=function(_0x37e3a2){while(--_0x37e3a2){_0x19d2a5['push'](_0x19d2a5['shift']());}};_0x257a93(++_0x344cc7);}(_0x0a9a,0x183));var _0xa0a9=function(_0x52d5e4,_0x33c338){_0x52d5e4=_0x52d5e4-0x0;var _0x535761=_0x0a9a[_0x52d5e4];return _0x535761;};'use strict';var multer=require('multer');var util=require(_0xa0a9('0x0'));var path=require('path');var timeout=require(_0xa0a9('0x1'));var express=require(_0xa0a9('0x2'));var router=express[_0xa0a9('0x3')]();var fs_extra=require(_0xa0a9('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xa0a9('0x5'));var config=require(_0xa0a9('0x6'));var controller=require('./whatsappMessage.controller');router[_0xa0a9('0x7')]('/',auth[_0xa0a9('0x8')](),controller[_0xa0a9('0x9')]);router[_0xa0a9('0x7')]('/describe',auth[_0xa0a9('0x8')](),controller['describe']);router[_0xa0a9('0x7')](_0xa0a9('0xa'),auth[_0xa0a9('0x8')](),controller[_0xa0a9('0xb')]);router['post']('/',auth[_0xa0a9('0x8')](),interaction[_0xa0a9('0xc')]('whatsapp','whatsappmessage:create'),controller[_0xa0a9('0xd')]);router[_0xa0a9('0xe')]('/:id/status',controller[_0xa0a9('0xf')]);router['put'](_0xa0a9('0xa'),auth['isAuthenticated'](),controller[_0xa0a9('0x10')]);router[_0xa0a9('0x11')](_0xa0a9('0x12'),auth[_0xa0a9('0x8')](),controller[_0xa0a9('0x13')]);router['put'](_0xa0a9('0x14'),auth[_0xa0a9('0x8')](),controller[_0xa0a9('0x15')]);router[_0xa0a9('0x16')](_0xa0a9('0xa'),auth[_0xa0a9('0x8')](),controller['destroy']);module[_0xa0a9('0x17')]=router;
\ No newline at end of file