Built motion from commit 56a37f2a.|2.6.21
[motion2.git] / server / api / whatsappMessage / index.js
index bf1a220..f0ab0a1 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xed12=['/:id/reject','reject','delete','destroy','exports','multer','util','path','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappMessage.controller','isAuthenticated','index','get','/describe','describe','show','post','whatsapp','whatsappmessage:create','/:id/status','status','put','/:id','update','/:id/accept','accept'];(function(_0x3b380d,_0x4bf247){var _0x54502b=function(_0x35d207){while(--_0x35d207){_0x3b380d['push'](_0x3b380d['shift']());}};_0x54502b(++_0x4bf247);}(_0xed12,0x79));var _0x2ed1=function(_0x17d3aa,_0x3d15c5){_0x17d3aa=_0x17d3aa-0x0;var _0x4de364=_0xed12[_0x17d3aa];return _0x4de364;};'use strict';var multer=require(_0x2ed1('0x0'));var util=require(_0x2ed1('0x1'));var path=require(_0x2ed1('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x2ed1('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x2ed1('0x4'));var interaction=require(_0x2ed1('0x5'));var config=require(_0x2ed1('0x6'));var controller=require(_0x2ed1('0x7'));router['get']('/',auth[_0x2ed1('0x8')](),controller[_0x2ed1('0x9')]);router[_0x2ed1('0xa')](_0x2ed1('0xb'),auth[_0x2ed1('0x8')](),controller[_0x2ed1('0xc')]);router[_0x2ed1('0xa')]('/:id',auth[_0x2ed1('0x8')](),controller[_0x2ed1('0xd')]);router[_0x2ed1('0xe')]('/',auth[_0x2ed1('0x8')](),interaction['tracked'](_0x2ed1('0xf'),_0x2ed1('0x10')),controller['create']);router[_0x2ed1('0xe')](_0x2ed1('0x11'),controller[_0x2ed1('0x12')]);router[_0x2ed1('0x13')](_0x2ed1('0x14'),auth[_0x2ed1('0x8')](),controller[_0x2ed1('0x15')]);router[_0x2ed1('0x13')](_0x2ed1('0x16'),auth[_0x2ed1('0x8')](),controller[_0x2ed1('0x17')]);router[_0x2ed1('0x13')](_0x2ed1('0x18'),auth[_0x2ed1('0x8')](),controller[_0x2ed1('0x19')]);router[_0x2ed1('0x1a')](_0x2ed1('0x14'),auth[_0x2ed1('0x8')](),controller[_0x2ed1('0x1b')]);module[_0x2ed1('0x1c')]=router;
\ No newline at end of file
+var _0xb046=['../../components/interaction/service','../../config/environment','isAuthenticated','/describe','describe','get','/:id','show','post','whatsapp','whatsappmessage:create','create','/:id/status','status','put','/:id/accept','accept','/:id/reject','reject','delete','destroy','multer','util','path','connect-timeout','express','Router','fs-extra'];(function(_0x10224e,_0x46a037){var _0x57e372=function(_0x5b19bd){while(--_0x5b19bd){_0x10224e['push'](_0x10224e['shift']());}};_0x57e372(++_0x46a037);}(_0xb046,0xa1));var _0x6b04=function(_0x5c4f6b,_0x2cdfce){_0x5c4f6b=_0x5c4f6b-0x0;var _0x104c4e=_0xb046[_0x5c4f6b];return _0x104c4e;};'use strict';var multer=require(_0x6b04('0x0'));var util=require(_0x6b04('0x1'));var path=require(_0x6b04('0x2'));var timeout=require(_0x6b04('0x3'));var express=require(_0x6b04('0x4'));var router=express[_0x6b04('0x5')]();var fs_extra=require(_0x6b04('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0x6b04('0x7'));var config=require(_0x6b04('0x8'));var controller=require('./whatsappMessage.controller');router['get']('/',auth[_0x6b04('0x9')](),controller['index']);router['get'](_0x6b04('0xa'),auth['isAuthenticated'](),controller[_0x6b04('0xb')]);router[_0x6b04('0xc')](_0x6b04('0xd'),auth[_0x6b04('0x9')](),controller[_0x6b04('0xe')]);router[_0x6b04('0xf')]('/',auth[_0x6b04('0x9')](),interaction['tracked'](_0x6b04('0x10'),_0x6b04('0x11')),controller[_0x6b04('0x12')]);router['post'](_0x6b04('0x13'),controller[_0x6b04('0x14')]);router['put'](_0x6b04('0xd'),auth['isAuthenticated'](),controller['update']);router[_0x6b04('0x15')](_0x6b04('0x16'),auth[_0x6b04('0x9')](),controller[_0x6b04('0x17')]);router['put'](_0x6b04('0x18'),auth[_0x6b04('0x9')](),controller[_0x6b04('0x19')]);router[_0x6b04('0x1a')]('/:id',auth[_0x6b04('0x9')](),controller[_0x6b04('0x1b')]);module['exports']=router;
\ No newline at end of file