Built motion from commit ffdca78c.|2.6.24
[motion2.git] / server / api / whatsappMessage / index.js
index 6662ad3..1401caf 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb074=['destroy','exports','multer','util','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappMessage.controller','get','isAuthenticated','/describe','describe','/:id','show','whatsappmessage:create','create','post','/:id/status','put','update','accept','/:id/reject','reject','delete'];(function(_0x3a07c1,_0x34d57f){var _0x2bbe15=function(_0x5a02fb){while(--_0x5a02fb){_0x3a07c1['push'](_0x3a07c1['shift']());}};_0x2bbe15(++_0x34d57f);}(_0xb074,0x1e8));var _0x4b07=function(_0x5e9d70,_0x37d7a1){_0x5e9d70=_0x5e9d70-0x0;var _0x415475=_0xb074[_0x5e9d70];return _0x415475;};'use strict';var multer=require(_0x4b07('0x0'));var util=require(_0x4b07('0x1'));var path=require('path');var timeout=require(_0x4b07('0x2'));var express=require('express');var router=express[_0x4b07('0x3')]();var fs_extra=require(_0x4b07('0x4'));var auth=require(_0x4b07('0x5'));var interaction=require(_0x4b07('0x6'));var config=require(_0x4b07('0x7'));var controller=require(_0x4b07('0x8'));router[_0x4b07('0x9')]('/',auth[_0x4b07('0xa')](),controller['index']);router['get'](_0x4b07('0xb'),auth[_0x4b07('0xa')](),controller[_0x4b07('0xc')]);router[_0x4b07('0x9')](_0x4b07('0xd'),auth[_0x4b07('0xa')](),controller[_0x4b07('0xe')]);router['post']('/',auth[_0x4b07('0xa')](),interaction['tracked']('whatsapp',_0x4b07('0xf')),controller[_0x4b07('0x10')]);router[_0x4b07('0x11')](_0x4b07('0x12'),controller['status']);router[_0x4b07('0x13')](_0x4b07('0xd'),auth[_0x4b07('0xa')](),controller[_0x4b07('0x14')]);router[_0x4b07('0x13')]('/:id/accept',auth[_0x4b07('0xa')](),controller[_0x4b07('0x15')]);router[_0x4b07('0x13')](_0x4b07('0x16'),auth['isAuthenticated'](),controller[_0x4b07('0x17')]);router[_0x4b07('0x18')](_0x4b07('0xd'),auth[_0x4b07('0xa')](),controller[_0x4b07('0x19')]);module[_0x4b07('0x1a')]=router;
\ No newline at end of file
+var _0x5d03=['put','update','/:id/accept','accept','/:id/reject','reject','delete','destroy','exports','multer','path','express','fs-extra','../../components/auth/service','../../components/interaction/service','./whatsappMessage.controller','get','isAuthenticated','/:id','post','tracked','whatsapp','whatsappmessage:create','create','/:id/status','status'];(function(_0x5573f4,_0x23118c){var _0x56c0ef=function(_0x2a8764){while(--_0x2a8764){_0x5573f4['push'](_0x5573f4['shift']());}};_0x56c0ef(++_0x23118c);}(_0x5d03,0x127));var _0x35d0=function(_0x40c482,_0x5259d2){_0x40c482=_0x40c482-0x0;var _0x17f5b7=_0x5d03[_0x40c482];return _0x17f5b7;};'use strict';var multer=require(_0x35d0('0x0'));var util=require('util');var path=require(_0x35d0('0x1'));var timeout=require('connect-timeout');var express=require(_0x35d0('0x2'));var router=express['Router']();var fs_extra=require(_0x35d0('0x3'));var auth=require(_0x35d0('0x4'));var interaction=require(_0x35d0('0x5'));var config=require('../../config/environment');var controller=require(_0x35d0('0x6'));router[_0x35d0('0x7')]('/',auth['isAuthenticated'](),controller['index']);router[_0x35d0('0x7')]('/describe',auth[_0x35d0('0x8')](),controller['describe']);router['get'](_0x35d0('0x9'),auth[_0x35d0('0x8')](),controller['show']);router[_0x35d0('0xa')]('/',auth['isAuthenticated'](),interaction[_0x35d0('0xb')](_0x35d0('0xc'),_0x35d0('0xd')),controller[_0x35d0('0xe')]);router['post'](_0x35d0('0xf'),controller[_0x35d0('0x10')]);router[_0x35d0('0x11')](_0x35d0('0x9'),auth[_0x35d0('0x8')](),controller[_0x35d0('0x12')]);router['put'](_0x35d0('0x13'),auth['isAuthenticated'](),controller[_0x35d0('0x14')]);router[_0x35d0('0x11')](_0x35d0('0x15'),auth[_0x35d0('0x8')](),controller[_0x35d0('0x16')]);router[_0x35d0('0x17')]('/:id',auth[_0x35d0('0x8')](),controller[_0x35d0('0x18')]);module[_0x35d0('0x19')]=router;
\ No newline at end of file