Built motion from commit (unavailable).|2.5.31
[motion2.git] / server / api / whatsappMessage / index.js
index b548d71..744d17a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xac31=['post','tracked','whatsapp','whatsappmessage:create','create','/:id/status','put','/:id','update','/:id/accept','accept','reject','destroy','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/describe','show'];(function(_0x50b651,_0x2ce0c5){var _0x1ec2b0=function(_0x468b6d){while(--_0x468b6d){_0x50b651['push'](_0x50b651['shift']());}};_0x1ec2b0(++_0x2ce0c5);}(_0xac31,0xca));var _0x1ac3=function(_0x5dff86,_0x716fed){_0x5dff86=_0x5dff86-0x0;var _0x787fe7=_0xac31[_0x5dff86];return _0x787fe7;};'use strict';var multer=require(_0x1ac3('0x0'));var util=require(_0x1ac3('0x1'));var path=require(_0x1ac3('0x2'));var timeout=require(_0x1ac3('0x3'));var express=require(_0x1ac3('0x4'));var router=express[_0x1ac3('0x5')]();var fs_extra=require(_0x1ac3('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0x1ac3('0x7'));var config=require(_0x1ac3('0x8'));var controller=require('./whatsappMessage.controller');router['get']('/',auth[_0x1ac3('0x9')](),controller[_0x1ac3('0xa')]);router[_0x1ac3('0xb')](_0x1ac3('0xc'),auth[_0x1ac3('0x9')](),controller['describe']);router[_0x1ac3('0xb')]('/:id',auth[_0x1ac3('0x9')](),controller[_0x1ac3('0xd')]);router[_0x1ac3('0xe')]('/',auth['isAuthenticated'](),interaction[_0x1ac3('0xf')](_0x1ac3('0x10'),_0x1ac3('0x11')),controller[_0x1ac3('0x12')]);router[_0x1ac3('0xe')](_0x1ac3('0x13'),controller['status']);router[_0x1ac3('0x14')](_0x1ac3('0x15'),auth[_0x1ac3('0x9')](),controller[_0x1ac3('0x16')]);router['put'](_0x1ac3('0x17'),auth[_0x1ac3('0x9')](),controller[_0x1ac3('0x18')]);router[_0x1ac3('0x14')]('/:id/reject',auth[_0x1ac3('0x9')](),controller[_0x1ac3('0x19')]);router['delete'](_0x1ac3('0x15'),auth[_0x1ac3('0x9')](),controller[_0x1ac3('0x1a')]);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